
:root {
  --bg:#071426;
  --bg2:#0b1d33;
  --card:#10243d;
  --card2:#152e4c;
  --gold:#f5c451;
  --gold2:#ffdf91;
  --white:#fff;
  --text:#dce7f4;
  --muted:#8fa3ba;
  --green:#24d99a;
  --red:#ff6374;
  --border:rgba(255,255,255,.09);
  --shadow:0 16px 45px rgba(0,0,0,.24);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{
  background:var(--bg);
  color:var(--white);
  font-family:'DM Sans',Arial,sans-serif;
  line-height:1.6;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
button{cursor:pointer}

.brand{display:flex;align-items:center;gap:11px;flex-shrink:0}
.brand-mark{
  width:44px;height:44px;border-radius:12px;
  display:grid;place-items:center;
  color:#071426;font-family:'Outfit',sans-serif;
  font-size:18px;font-weight:900;
  background:linear-gradient(135deg,#ffe69d,#d99d2c);
  box-shadow:0 5px 20px #f5c45130;
}
.brand-name{font-family:'Outfit',sans-serif;font-size:18px;font-weight:900;letter-spacing:.7px;line-height:1.1}
.brand-name>span{color:var(--gold)}
.brand-name small{display:block;color:var(--muted);font:700 8px 'DM Sans',sans-serif;letter-spacing:2px;margin-top:5px}

/* HEADER */
.topbar{
  position:sticky;top:0;z-index:100;
  min-height:76px;padding:12px 7%;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  background:rgba(5,17,32,.94);
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(18px);
}
.main-nav{display:flex;align-items:center;gap:30px}
.main-nav a{font-size:13px;font-weight:700;color:var(--muted);transition:.2s}
.main-nav a:hover,.main-nav .nav-active{color:var(--gold)}
.header-right{display:flex;align-items:center;gap:13px}
.live-pill,.live-indicator{
  display:flex;align-items:center;gap:8px;
  color:var(--green);font-size:10px;font-weight:900;letter-spacing:1px;
  border:1px solid #24d99a45;border-radius:30px;padding:8px 13px;
}
.live-pill i,.live-indicator i{
  width:7px;height:7px;background:var(--green);border-radius:50%;
  box-shadow:0 0 10px var(--green);animation:pulse 1.5s infinite;
}
.refresh-btn{
  width:36px;height:36px;border:1px solid var(--border);
  border-radius:10px;background:var(--card);color:var(--gold);font-size:23px;
}
.refresh-btn:hover{background:var(--gold);color:#071426}
@keyframes pulse{50%{opacity:.35;box-shadow:0 0 2px var(--green)}}

/* HERO */
.hero{
  min-height:500px;padding:75px 10%;
  display:grid;grid-template-columns:1.1fr .9fr;
  align-items:center;gap:30px;overflow:hidden;
  background:
    radial-gradient(ellipse at 85% 40%,#d49d2920,transparent 32%),
    linear-gradient(115deg,#0a1c32,#102b49 65%,#09182c);
  border-bottom:1px solid var(--border);
}
.hero-kicker,.section-kicker{
  color:var(--gold);font-size:10px;font-weight:900;
  letter-spacing:2.5px;margin-bottom:14px;
}
.hero-kicker span{display:inline-block;width:22px;height:2px;background:var(--gold);vertical-align:middle;margin-right:7px}
.hero h1{
  font-family:'Outfit',sans-serif;
  font-size:clamp(50px,6vw,78px);font-weight:900;
  line-height:.99;letter-spacing:-3px;
}
.hero h1 span,.section-heading h2 span,.formats-heading h2 span{color:var(--gold)}
.hero-content>p{max-width:490px;color:var(--muted);font-size:14px;margin:22px 0 26px}
.hero-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.primary-btn{
  display:inline-flex;align-items:center;gap:22px;
  padding:13px 19px;border-radius:8px;
  color:#071426;background:linear-gradient(135deg,#ffe69d,#d99d2c);
  font-size:12px;font-weight:900;
  box-shadow:0 8px 25px #f5c45120;transition:.2s;
}
.primary-btn:hover{transform:translateY(-3px);box-shadow:0 12px 30px #f5c45140}
.secondary-btn{padding:12px 17px;border:1px solid #ffffff25;border-radius:8px;font-size:12px;font-weight:800}
.secondary-btn:hover{border-color:var(--gold);color:var(--gold)}
.hero-stats{display:flex;gap:35px;margin-top:40px}
.hero-stats div{display:flex;flex-direction:column}
.hero-stats strong{font-family:'Outfit',sans-serif;color:var(--gold);font-size:19px}
.hero-stats small{font-size:10px;color:var(--muted)}

.hero-visual{min-height:310px;position:relative;display:grid;place-items:center}
.visual-ring{position:absolute;border:1px solid #f5c45140;border-radius:50%;transform:rotate(-25deg)}
.ring-one{width:310px;height:140px}
.ring-two{width:365px;height:195px;transform:rotate(35deg)}
.visual-ball{
  width:150px;height:150px;border-radius:50%;position:relative;overflow:hidden;
  background:radial-gradient(circle at 32% 28%,#fff0bd,#e6b04c 45%,#8a5010);
  box-shadow:0 20px 55px #0008;animation:float 4s ease-in-out infinite;
}
.visual-ball span{
  position:absolute;width:185px;height:78px;left:-18px;top:35px;
  border:3px dashed #893b28;border-radius:50%;transform:rotate(-45deg);
}
.visual-label{position:absolute;right:3%;bottom:27px;color:#ffffff65;font-size:12px;letter-spacing:4px;text-align:center}
.visual-label b{font-size:19px;color:var(--gold)}
.visual-caption{position:absolute;top:5px;right:0;color:#ffffff45;font-size:9px;letter-spacing:3px}
@keyframes float{50%{transform:translateY(-13px) rotate(8deg)}}

/* TICKER */
.ticker{
  min-height:43px;padding:9px 7%;
  display:flex;align-items:center;justify-content:center;gap:27px;
  background:#0c2037;border-bottom:1px solid var(--border);
  color:var(--muted);font-size:9px;font-weight:900;letter-spacing:1.4px;
  white-space:nowrap;overflow:hidden;
}
.ticker-label{color:var(--gold)}
.ticker-label i{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;margin-right:6px}
.ticker b{color:var(--gold)}

/* SECTIONS */
.section{width:min(1160px,88%);margin:auto;padding:65px 0}
.section-alt{width:100%;padding:65px max(6%,calc((100% - 1160px)/2));background:#0a1b30;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}
.section-heading h2,.formats-heading h2{font:800 clamp(27px,4vw,37px) 'Outfit',sans-serif;line-height:1.2}
.section-desc{color:var(--muted);font-size:12px;margin-top:7px}
.section-tag{color:var(--gold);background:#f5c45112;border:1px solid #f5c45135;border-radius:30px;padding:7px 12px;font-size:9px;font-weight:900;letter-spacing:1px}

/* API STATUS */
.status-panel{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 15px;background:#10243b;border:1px solid var(--border);
  border-radius:9px;margin-bottom:19px;
}
.status-left{display:flex;align-items:center;gap:9px;color:var(--text);font-size:11px}
.status-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 9px var(--green)}
.status-dot.error{background:var(--red);box-shadow:0 0 9px var(--red)}
.updated-time{color:var(--muted);font-size:10px}

/* STATS */
.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:24px}
.stat-box{
  display:flex;align-items:center;gap:13px;padding:15px;
  background:linear-gradient(135deg,#122a46,#0d2036);
  border:1px solid var(--border);border-radius:11px;
}
.stat-icon{font-size:24px}
.stat-box div{display:flex;flex-direction:column}
.stat-box strong{font:800 23px 'Outfit',sans-serif;color:var(--gold)}
.stat-box small{font-size:10px;color:var(--muted)}

/* FILTER */
.match-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}
.filter-tabs{display:flex;gap:7px;flex-wrap:wrap}
.tab{
  border:1px solid var(--border);background:var(--card);
  color:var(--muted);border-radius:7px;padding:9px 15px;
  font-size:11px;font-weight:800;transition:.2s;
}
.tab:hover,.tab.active{background:var(--gold);color:#071426;border-color:var(--gold)}
.search-input{
  width:220px;min-width:0;padding:10px 13px;
  border:1px solid var(--border);border-radius:8px;
  background:var(--card);color:var(--white);outline:none;font-size:11px;
}
.search-input:focus{border-color:var(--gold)}
.search-input::placeholder{color:var(--muted)}

/* MATCH CARDS */
.match-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.match-card{
  min-width:0;overflow:hidden;position:relative;
  padding:19px;border-radius:13px;
  background:linear-gradient(145deg,#132b47,#0c1e33);
  border:1px solid var(--border);box-shadow:var(--shadow);
  transition:transform .22s,border-color .22s;
}
.match-card:hover{transform:translateY(-4px);border-color:#f5c45170}
.match-card.live-card{border-color:#24d99a45}
.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:17px}
.match-series{color:var(--muted);font-size:10px;font-weight:700;overflow-wrap:anywhere}
.match-type{display:block;color:#ffffff55;font-size:9px;margin-top:3px;text-transform:uppercase}
.match-status{
  flex-shrink:0;border-radius:30px;padding:5px 9px;
  background:#f5c45115;color:var(--gold);
  font-size:9px;font-weight:900;letter-spacing:.7px;
}
.match-status.live{background:#24d99a18;color:var(--green)}
.match-status.completed{background:#ffffff12;color:#b8c4d2}
.match-teams{display:grid;grid-template-columns:1fr 35px 1fr;align-items:center;gap:8px}
.team-block{min-width:0;display:flex;align-items:center;gap:9px}
.team-block:last-child{justify-content:flex-end;text-align:right}
.team-avatar{
  width:39px;height:39px;flex-shrink:0;display:grid;place-items:center;
  border-radius:50%;background:#f5c45117;border:1px solid #f5c45135;
  color:var(--gold);font:800 12px 'Outfit',sans-serif;
}
.team-name{font:800 13px 'Outfit',sans-serif;overflow-wrap:anywhere}
.team-score{display:block;color:var(--gold2);font-size:11px;font-weight:800;margin-top:3px}
.vs{color:#ffffff55;font:800 10px 'Outfit',sans-serif;text-align:center}
.match-divider{height:1px;background:var(--border);margin:15px 0 11px}
.match-detail{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px}
.match-result{color:var(--gold2);font-size:11px;font-weight:700;margin-top:11px;overflow-wrap:anywhere}
.match-countdown{color:var(--green);font-size:10px;font-weight:800;margin-top:8px}
.loading-card,.empty-state{
  grid-column:1/-1;padding:27px;text-align:center;
  background:var(--card);border:1px solid var(--border);
  border-radius:10px;color:var(--muted);font-size:12px;
}

/* FORMATS */
.formats-section{padding:60px 7%;background:linear-gradient(110deg,#0d2340,#102d4b);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.formats-heading{text-align:center;margin-bottom:30px}
.formats-grid{max-width:1050px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.format-card{
  padding:24px 12px;text-align:center;display:flex;flex-direction:column;
  align-items:center;background:#07182c;border:1px solid var(--border);
  border-radius:12px;transition:.2s;
}
.format-card:hover{transform:translateY(-5px);border-color:#f5c45170}
.format-card span{font-size:27px;margin-bottom:9px}
.format-card strong{font:800 19px 'Outfit',sans-serif;color:var(--gold)}
.format-card small{font-size:8px;color:var(--muted);letter-spacing:1px;margin-top:5px}

/* NEWS */
.news-section{padding-top:60px;padding-bottom:65px}
.news-card{
  position:relative;overflow:hidden;min-height:240px;
  padding:40px;border-radius:17px;
  background:linear-gradient(110deg,#132f4d,#0b1c32);
  border:1px solid var(--border);
}
.news-content{position:relative;z-index:2;max-width:550px}
.news-content h2{font:800 clamp(26px,4vw,38px) 'Outfit',sans-serif;line-height:1.2;margin-bottom:12px}
.news-content h2 span{color:var(--gold)}
.news-content p{font-size:12px;color:var(--muted);margin-bottom:20px;max-width:440px}
.news-decoration{
  position:absolute;right:8%;top:50%;transform:translateY(-50%) rotate(-12deg);
  font:900 170px 'Outfit',sans-serif;color:#f5c4510c;
}

/* FOOTER */
footer{
  padding:27px 7%;display:flex;align-items:center;justify-content:space-between;gap:20px;
  background:#040d19;border-top:1px solid var(--border);
}
footer p,.back-top{color:var(--muted);font-size:10px}
.back-top{color:var(--gold);font-weight:900;letter-spacing:1px}
.social-float{position:fixed;right:18px;bottom:20px;z-index:90;display:flex;flex-direction:column;gap:11px}
.social-btn{
  width:47px;height:47px;border-radius:50%;display:grid;place-items:center;
  color:white;box-shadow:0 6px 20px #0006;transition:.2s;
}
.social-btn:hover{transform:scale(1.1)}
.social-btn svg{width:24px;height:24px}
.whatsapp{background:#20c878}
.telegram{background:#229ed9}

/* TABLET */
@media(max-width:850px){
  .topbar{padding:12px 4%;gap:14px}
  .main-nav{gap:15px}
  .hero{padding:60px 6%;grid-template-columns:1fr .8fr}
  .visual-ring.ring-one{width:230px}
  .visual-ring.ring-two{width:275px}
  .visual-ball{width:120px;height:120px}
  .section{width:90%}
  .section-alt{padding-left:5%;padding-right:5%}
}

/* MOBILE */
@media(max-width:600px){
  .topbar{padding:11px 5%;flex-wrap:wrap;gap:11px}
  .brand-mark{width:38px;height:38px}
  .brand-name{font-size:16px}
  .main-nav{order:3;width:100%;justify-content:space-between;gap:10px}
  .main-nav a{font-size:11px}
  .live-pill{font-size:8px;padding:6px 9px}
  .refresh-btn{width:32px;height:32px}
  .hero{padding:49px 7% 30px;grid-template-columns:1fr;text-align:center}
  .hero h1{font-size:49px}
  .hero-content>p{font-size:12px;margin:18px auto 22px}
  .hero-actions{justify-content:center}
  .hero-stats{justify-content:center;gap:25px;margin-top:28px}
  .hero-visual{min-height:220px}
  .visual-ring.ring-one{width:210px;height:95px}
  .visual-ring.ring-two{width:250px;height:130px}
  .visual-ball{width:100px;height:100px}
  .visual-label{right:4%;bottom:4px}
  .visual-caption{right:3%}
  .ticker{justify-content:flex-start;gap:17px;padding-left:5%;font-size:8px}
  .section,.section-alt{padding-top:43px;padding-bottom:43px}
  .section-heading{align-items:flex-start}
  .section-heading h2{font-size:28px}
  .section-tag,.live-indicator{font-size:8px;padding:6px 8px}
  .stats-row{gap:7px}
  .stat-box{padding:10px 8px;gap:7px}
  .stat-icon{font-size:18px}
  .stat-box strong{font-size:19px}
  .stat-box small{font-size:8px}
  .match-toolbar{align-items:stretch;flex-direction:column}
  .filter-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
  .tab{padding:9px 4px;font-size:9px}
  .search-input{width:100%}
  .match-grid{grid-template-columns:1fr;gap:12px}
  .match-card{padding:16px}
  .team-name{font-size:12px}
  .team-avatar{width:35px;height:35px}
  .status-panel{align-items:flex-start;flex-direction:column;gap:5px}
  .formats-section{padding:43px 5%}
  .formats-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .format-card{padding:18px 8px}
  .news-card{padding:26px 21px;min-height:220px}
  .news-decoration{font-size:110px;right:0}
  footer{flex-direction:column;text-align:center;padding:26px 5%}
  .social-float{right:11px;bottom:12px}
  .social-btn{width:42px;height:42px}
}

@media(max-width:360px){
  .hero h1{font-size:41px}
  .brand-name{font-size:14px}
  .section-heading h2{font-size:24px}
  .team-avatar{width:30px;height:30px}
  .team-name{font-size:10px}
  .team-score{font-size:9px}
}
