:root{
--bg:#050b18;
--bg2:#08172e;
--card:#0d1b38;
--primary:#1e88e5;
--secondary:#42a5f5;
--white:#ffffff;
--text:#d7e5ff;
--border:rgba(255,255,255,.08);
--shadow:0 10px 35px rgba(30,136,229,.25);
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:var(--bg);
color:var(--white);
overflow-x:hidden;
}

a{
text-decoration:none;
color:inherit;
}

img{
max-width:100%;
display:block;
}

.container{
width:100%;
max-width:1200px;
margin:auto;
padding:0 20px;
}

/* TOP BUTTON */

.top-action{
display:grid;
grid-template-columns:1fr 1fr;
position:sticky;
top:0;
z-index:9999;
}

.btn-login,
.btn-register{
padding:15px;
text-align:center;
font-weight:700;
}

.btn-login{
background:#0b1c3f;
color:#fff;
}

.btn-register{
background:linear-gradient(
135deg,
#1e88e5,
#42a5f5
);
color:#fff;
}

/* MARQUEE */

.marquee{
background:#0a1224;
overflow:hidden;
width:100%;
position:relative;
}

.marquee-content{
display:inline-block;
white-space:nowrap;
padding:10px 0;
min-width:100%;
animation:marquee 18s linear infinite;
color:#42a5f5;
font-weight:600;
}

@keyframes marquee{
0%{transform:translateX(100%);}
100%{transform:translateX(-100%);}
}

/* HEADER */

header{
background:rgba(5,11,24,.85);
backdrop-filter:blur(20px);
-webkit-backdrop-filter:blur(20px);
}

.header-wrap{
display:flex;
justify-content:space-between;
align-items:center;
height:85px;
}

.logo img{
height:80px;
width:auto;
}

nav{
display:flex;
gap:30px;
}

nav a{
font-weight:600;
transition:.3s;
}

nav a:hover{
color:#42a5f5;
}

.mobile-btn{
display:none;
font-size:25px;
cursor:pointer;
}

/* HERO */

.hero{
padding:40px 0 60px;
background:
radial-gradient(circle at top right,
rgba(30,136,229,.25),
transparent 40%),
linear-gradient(
180deg,
#08172e 0%,
#050b18 100%
);
}

.hero-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
}

.hero-left h1{
font-size:70px;
font-weight:800;
line-height:1;
margin-bottom:15px;
background:linear-gradient(
90deg,
#ffffff,
#42a5f5
);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.hero-left h2{
font-size:38px;
font-weight:700;
margin-bottom:20px;
}

.hero-left p{
color:var(--text);
font-size:17px;
line-height:1.8;
margin-bottom:30px;
}

.hero-buttons{
display:flex;
gap:15px;
}

.btn-primary,
.btn-secondary{
padding:15px 30px;
border-radius:12px;
font-weight:700;
transition:.3s;
}

.btn-primary{
background:linear-gradient(
135deg,
#1e88e5,
#42a5f5
);
box-shadow:var(--shadow);
}

.btn-secondary{
border:1px solid #42a5f5;
}

.btn-primary:hover,
.btn-secondary:hover{
transform:translateY(-3px);
}

.hero-right img{
max-width:500px;
border-radius:20px;
box-shadow:0 0 40px rgba(255,215,0,.25);
animation:float 5s ease infinite;
}

@keyframes float{
0%,100%{
transform:translateY(0px);
}
50%{
transform:translateY(-15px);
}
}

/* STATS */

.stats{
padding:30px 0 70px;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.stat-box{
background:var(--card);
padding:30px;
border-radius:18px;
text-align:center;
border:1px solid var(--border);
}

.stat-box h3{
font-size:34px;
color:#42a5f5;
margin-bottom:10px;
}

.stat-box span{
color:var(--text);
}

/* SECTION */

.section{
padding:80px 0;
}

.section-title{
font-size:38px;
font-weight:800;
text-align:center;
margin-bottom:40px;
}

/* LIVE SCORE */

#liveScoreContainer{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
gap:20px;
}

.match-card{
background:var(--card);
border:1px solid var(--border);
border-radius:18px;
padding:20px;
}

.match-header{
display:flex;
justify-content:space-between;
margin-bottom:15px;
font-size:14px;
color:#42a5f5;
}

.match-teams{
display:flex;
justify-content:space-between;
align-items:center;
font-weight:700;
}

.match-score{
font-size:28px;
color:#42a5f5;
}

/* LEAGUE TAB */

.league-tabs{
display:flex;
gap:10px;
flex-wrap:wrap;
justify-content:center;
margin-bottom:30px;
}

.league-tabs button{
background:#0d1b38;
border:1px solid var(--border);
color:#fff;
padding:12px 18px;
border-radius:10px;
cursor:pointer;
}

.league-tabs button.active{
background:#1e88e5;
}

/* TABLE */

.table-wrapper{
overflow:auto;
}

table{
width:100%;
border-collapse:collapse;
background:var(--card);
border-radius:18px;
overflow:hidden;
}

table th{
background:#10234a;
padding:15px;
}

table td{
padding:14px;
border-bottom:1px solid var(--border);
}

/* NEWS */

.news-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.news-card{
background:var(--card);
overflow:hidden;
border-radius:18px;
border:1px solid var(--border);
}

.news-card img{
height:220px;
width:100%;
object-fit:cover;
}

.news-card h3{
padding:20px 20px 10px;
font-size:20px;
}

.news-card p{
padding:0 20px 20px;
color:var(--text);
}

/* FAQ */

.faq{
padding:80px 0;
}

.faq-item{
background:var(--card);
border:1px solid var(--border);
border-radius:15px;
margin-bottom:15px;
overflow:hidden;
}

.faq-question{
padding:20px;
font-weight:700;
cursor:pointer;
}

.faq-answer{
display:none;
padding:0 20px 20px;
color:var(--text);
line-height:1.8;
}

/* FOOTER */

footer{
padding:50px 0 120px;
border-top:1px solid var(--border);
text-align:center;
}

.footer-logo{
height:60px;
margin:auto;
margin-bottom:20px;
}

/* BOTTOM MENU */

.bottom-menu{
position:fixed;
bottom:0;
left:0;
width:100%;
height:70px;
background:#08172e;
display:flex;
justify-content:space-around;
align-items:center;
border-top:1px solid var(--border);
z-index:9999;
}

.bottom-menu a{
display:flex;
flex-direction:column;
align-items:center;
font-size:12px;
gap:5px;
}

.bottom-menu i{
font-size:20px;
color:#42a5f5;
}

.loading{
text-align:center;
padding:40px;
color:#42a5f5;
font-weight:700;
}

.score-widget-wrapper{
background:#0d1b38;
padding:20px;
border-radius:20px;
border:1px solid rgba(255,255,255,.08);
overflow:hidden;
margin-top:20px;
}

.scoreaxis-widget{
width:100% !important;
max-width:100% !important;
}

/* WORLD CUP BANNER */

.worldcup-banner{
padding:40px 0;
}

.wc-box{
background:linear-gradient(135deg,#0b1f45,#133a7c);
border-radius:20px;
padding:40px;
text-align:center;
color:#fff;
border:1px solid rgba(255,255,255,.08);
}

.wc-box h2{
font-size:32px;
margin-bottom:15px;
}

.wc-box p{
opacity:.9;
max-width:700px;
margin:auto;
margin-bottom:20px;
}

/* JADWAL */

.schedule-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-top:25px;
}

.schedule-card{
background:#10244d;
padding:20px;
border-radius:15px;
color:#fff;
border:1px solid rgba(255,255,255,.08);
}

.schedule-card span{
font-size:12px;
color:#58a6ff;
}

.schedule-card h3{
margin:10px 0;
font-size:18px;
}

/* KOMPETISI */

.league-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:15px;
margin-top:25px;
}

.league-card{
background:#10244d;
padding:20px;
border-radius:15px;
text-align:center;
font-weight:600;
color:#fff;
border:1px solid rgba(255,255,255,.08);
transition:.3s;
}

.league-card:hover{
transform:translateY(-4px);
border-color:#42a5f5;
box-shadow:0 0 20px rgba(66,165,245,.2);
}

.match-card,
.schedule-card,
.stat-box,
.news-card,
.league-card{
transition:.3s ease;
}

.match-card:hover,
.schedule-card:hover,
.stat-box:hover,
.news-card:hover,
.league-card:hover{
transform:translateY(-5px);
box-shadow:0 10px 30px rgba(66,165,245,.25);
border-color:#42a5f5;
}

.status-live{
color:#00ff88;
font-weight:700;
}

.status-ft{
color:#58a6ff;
font-weight:700;
}

.hero-badge{
display:inline-block;
padding:8px 15px;
background:rgba(66,165,245,.15);
border:1px solid rgba(66,165,245,.3);
border-radius:50px;
margin-bottom:15px;
color:#58a6ff;
font-size:13px;
font-weight:600;
}

.hero-mini-stats{
display:flex;
gap:30px;
margin:25px 0;
}

.hero-mini-stats div{
display:flex;
flex-direction:column;
}

.hero-mini-stats strong{
font-size:24px;
color:#42a5f5;
font-weight:700;
}

.hero-mini-stats span{
font-size:13px;
color:#bcd2ff;
}

#backToTop{
position:fixed;
right:20px;
bottom:90px;
width:50px;
height:50px;
border:none;
border-radius:50%;
background:linear-gradient(
135deg,
#1e88e5,
#42a5f5
);
color:#fff;
font-size:18px;
cursor:pointer;
display:none;
z-index:9999;
box-shadow:0 5px 20px rgba(30,136,229,.4);
}

#backToTop:hover{
transform:translateY(-3px);
}