/* ============================================================
   ArafSports — style6483.css
   iOS Liquid Glass UI • Orange / Red / Black theme
   Araf Studio
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --bg-0:#08070a;
  --bg-1:#0d0b10;
  --bg-2:#131015;

  --orange:#ff7a1a;
  --orange-2:#ff9a3c;
  --red:#ff2d3d;
  --red-2:#c2101f;
  --amber:#ffb347;

  --grad-primary: linear-gradient(135deg,#ff7a1a 0%,#ff3d3d 55%,#c2101f 100%);
  --grad-primary-soft: linear-gradient(135deg, rgba(255,122,26,.35), rgba(255,45,61,.28));
  --grad-radial-glow: radial-gradient(circle at 30% 20%, rgba(255,122,26,.25), transparent 60%);

  --text-0:#f7f2ee;
  --text-1:#c9c2c0;
  --text-2:#8b8489;

  --glass-bg: rgba(255,255,255,.045);
  --glass-bg-strong: rgba(255,255,255,.08);
  --glass-border: rgba(255,255,255,.12);
  --glass-border-hot: rgba(255,140,60,.45);

  --shadow-soft: 0 8px 32px rgba(0,0,0,.45);
  --shadow-glow: 0 0 40px rgba(255,90,40,.18);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --ease: cubic-bezier(.22,1,.36,1);
}

*{ box-sizing:border-box; margin:0; padding:0; -webkit-tap-highlight-color:transparent; }

html{ scroll-behavior:smooth; }

body{
  font-family:'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(255,80,30,.14), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(255,20,50,.10), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(255,120,30,.08), transparent 50%),
    var(--bg-0);
  color:var(--text-0);
  min-height:100vh;
  overflow-x:hidden;
  position:relative;
}

/* animated ambient blobs for the liquid glass backdrop */
.bg-orbs{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.bg-orbs span{
  position:absolute; border-radius:50%; filter:blur(70px); opacity:.55;
  animation: floaty 18s ease-in-out infinite;
}
.bg-orbs span:nth-child(1){ width:420px; height:420px; background:var(--orange); top:-120px; left:-100px; animation-delay:0s;}
.bg-orbs span:nth-child(2){ width:360px; height:360px; background:var(--red); bottom:-140px; right:-80px; animation-delay:3s;}
.bg-orbs span:nth-child(3){ width:260px; height:260px; background:var(--amber); top:40%; right:10%; opacity:.28; animation-delay:6s;}

@keyframes floaty{
  0%,100%{ transform:translate(0,0) scale(1); }
  33%{ transform:translate(30px,-40px) scale(1.08); }
  66%{ transform:translate(-25px,20px) scale(.95); }
}

a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }

.wrap{ max-width:1280px; margin:0 auto; padding:0 20px; position:relative; z-index:1; }

/* ---------- Glass primitive ---------- */
.glass{
  background:var(--glass-bg);
  border:1px solid var(--glass-border);
  border-radius:var(--radius-md);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.06);
  position:relative;
}
.glass::before{
  content:"";
  position:absolute; inset:0; border-radius:inherit;
  background:linear-gradient(150deg, rgba(255,255,255,.10), rgba(255,255,255,0) 40%);
  pointer-events:none;
}

/* ---------- Top nav ---------- */
.topnav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  background:rgba(10,8,10,.55);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topnav .wrap{ display:flex; align-items:center; justify-content:space-between; height:72px; gap:16px; }
.brand{ display:flex; align-items:center; gap:12px; font-family:'Syne',sans-serif; font-weight:800; letter-spacing:.3px; }
.brand img{ width:38px; height:38px; border-radius:11px; box-shadow:0 4px 18px rgba(255,90,30,.35); }
.brand .name{ font-size:19px; }
.brand .name span{ background:var(--grad-primary); -webkit-background-clip:text; background-clip:text; color:transparent; }
.brand .tag{ display:block; font-family:'Manrope',sans-serif; font-weight:600; font-size:10px; letter-spacing:2px; color:var(--text-2); text-transform:uppercase; margin-top:1px;}

.navlinks{ display:flex; align-items:center; gap:6px; }
.navlinks a{
  font-size:13px; font-weight:700; padding:9px 16px; border-radius:100px;
  color:var(--text-1); transition:.25s var(--ease);
  border:1px solid transparent;
}
.navlinks a:hover, .navlinks a.active{
  color:#fff;
  background:var(--glass-bg-strong);
  border-color:var(--glass-border-hot);
}
.live-badge{
  display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:800;
  padding:7px 12px; border-radius:100px; background:var(--grad-primary); color:#fff;
  letter-spacing:.5px; box-shadow:0 4px 16px rgba(255,60,30,.35);
}
.live-dot{ width:7px; height:7px; border-radius:50%; background:#fff; animation:pulse-dot 1.4s infinite; }
@keyframes pulse-dot{ 0%,100%{opacity:1; transform:scale(1);} 50%{opacity:.4; transform:scale(.7);} }

.menu-btn{ display:none; width:42px; height:42px; border-radius:12px; align-items:center; justify-content:center; background:var(--glass-bg-strong); border:1px solid var(--glass-border); color:#fff; font-size:18px;}

/* ---------- Hero ---------- */
.hero{ padding:64px 0 40px; position:relative; }
.hero .eyebrow{
  display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:800;
  letter-spacing:2px; text-transform:uppercase; color:var(--orange-2);
  padding:8px 16px; border-radius:100px; margin-bottom:22px;
}
.hero h1{
  font-family:'Syne',sans-serif; font-weight:800; font-size:clamp(2.2rem,5.6vw,4.2rem);
  line-height:1.05; letter-spacing:-1px; max-width:820px;
}
.hero h1 .grad{ background:var(--grad-primary); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p{ margin-top:20px; color:var(--text-1); font-size:16px; max-width:560px; line-height:1.7; }

.hero-stats{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.stat-chip{ padding:14px 20px; border-radius:var(--radius-sm); min-width:120px; }
.stat-chip .num{ font-family:'Syne',sans-serif; font-weight:800; font-size:22px; background:var(--grad-primary); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat-chip .lbl{ font-size:11px; color:var(--text-2); text-transform:uppercase; letter-spacing:1px; margin-top:2px; }

/* ---------- Section heads ---------- */
.section{ padding:36px 0; }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:26px; flex-wrap:wrap; }
.section-head h2{ font-family:'Syne',sans-serif; font-weight:800; font-size:clamp(1.4rem,3vw,2rem); }
.section-head p{ color:var(--text-2); font-size:13px; margin-top:6px; }

/* ---------- Sports grid (dashboard) ---------- */
.sports-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:18px; }

.sport-card{
  padding:26px 22px; cursor:pointer; overflow:hidden;
  transition:transform .45s var(--ease), border-color .3s, box-shadow .4s;
  min-height:190px; display:flex; flex-direction:column; justify-content:space-between;
}
.sport-card:hover{
  transform:translateY(-8px) scale(1.015);
  border-color:var(--glass-border-hot);
  box-shadow:var(--shadow-soft), var(--shadow-glow);
}
.sport-card .icon-wrap{
  width:54px; height:54px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:var(--grad-primary-soft); border:1px solid rgba(255,255,255,.1);
  font-size:26px; margin-bottom:18px; transition:transform .4s var(--ease);
}
.sport-card:hover .icon-wrap{ transform:rotate(-8deg) scale(1.08); }
.sport-card h3{ font-family:'Syne',sans-serif; font-weight:700; font-size:17px; margin-bottom:6px; }
.sport-card .cov{ font-size:12px; color:var(--text-2); line-height:1.5; }
.sport-card .foot{ display:flex; align-items:center; justify-content:space-between; margin-top:18px; }
.sport-card .count{ font-size:11px; font-weight:800; padding:5px 10px; border-radius:100px; background:rgba(255,255,255,.06); color:var(--text-1); }
.sport-card .count.live{ background:var(--grad-primary); color:#fff; }
.sport-card .arrow{ width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.06); transition:.35s var(--ease); }
.sport-card:hover .arrow{ background:var(--grad-primary); transform:translateX(4px) rotate(-45deg); }

/* ---------- Sport page header ---------- */
.sport-hero{
  padding:44px 0 26px; display:flex; align-items:center; gap:20px; flex-wrap:wrap; justify-content:space-between;
}
.sport-hero .title-block{ display:flex; align-items:center; gap:18px; }
.sport-hero .icon-lg{
  width:64px; height:64px; border-radius:20px; display:flex; align-items:center; justify-content:center;
  background:var(--grad-primary-soft); border:1px solid rgba(255,255,255,.12); font-size:32px;
}
.sport-hero h1{ font-family:'Syne',sans-serif; font-weight:800; font-size:clamp(1.6rem,4vw,2.4rem); }
.sport-hero .sub{ color:var(--text-2); font-size:13px; margin-top:4px; }

/* ---------- Controls bar ---------- */
.controls-bar{
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  padding:14px 18px; margin-bottom:24px;
}
.date-nav{ display:flex; align-items:center; gap:10px; }
.date-nav button{
  width:38px; height:38px; border-radius:12px; border:1px solid var(--glass-border);
  background:var(--glass-bg-strong); color:#fff; font-size:16px; transition:.25s;
}
.date-nav button:hover{ border-color:var(--glass-border-hot); background:var(--grad-primary-soft); }
.date-nav .date-label{ font-weight:700; font-size:14px; min-width:150px; text-align:center; }
.date-nav .date-label small{ display:block; color:var(--text-2); font-weight:500; font-size:11px; }

.tabs{ display:flex; gap:6px; background:rgba(255,255,255,.04); padding:5px; border-radius:100px; border:1px solid var(--glass-border); }
.tabs button{
  padding:8px 16px; border-radius:100px; border:none; background:transparent; color:var(--text-2);
  font-weight:700; font-size:12.5px; transition:.25s var(--ease);
}
.tabs button.active{ background:var(--grad-primary); color:#fff; box-shadow:0 4px 14px rgba(255,60,30,.3); }

.refresh-info{ display:flex; align-items:center; gap:8px; font-size:11.5px; color:var(--text-2); }
.refresh-info .dot{ width:6px; height:6px; border-radius:50%; background:var(--orange); animation:pulse-dot 2s infinite; }
.refresh-btn{
  width:38px; height:38px; border-radius:12px; border:1px solid var(--glass-border);
  background:var(--glass-bg-strong); color:#fff; display:flex; align-items:center; justify-content:center;
  transition:.3s var(--ease);
}
.refresh-btn:hover{ border-color:var(--glass-border-hot); transform:rotate(90deg); }

/* ---------- League groups & match cards ---------- */
.league-group{ margin-bottom:30px; }
.league-head{ display:flex; align-items:center; gap:10px; margin-bottom:12px; padding:0 4px; }
.league-head img{ width:22px; height:22px; border-radius:5px; object-fit:contain; background:#1a1418; }
.league-head span{ font-weight:800; font-size:13px; letter-spacing:.2px; color:var(--text-1); }
.league-head .line{ flex:1; height:1px; background:linear-gradient(90deg, rgba(255,255,255,.14), transparent); }

.matches-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:14px; }

.match-card{
  padding:18px; opacity:0; transform:translateY(14px);
  animation:cardIn .5s var(--ease) forwards;
  transition:border-color .3s, transform .35s var(--ease);
}
.match-card:hover{ border-color:var(--glass-border-hot); transform:translateY(-4px); }
@keyframes cardIn{ to{ opacity:1; transform:translateY(0); } }

.match-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.status-pill{
  font-size:10.5px; font-weight:800; padding:5px 10px; border-radius:100px; letter-spacing:.4px;
  background:rgba(255,255,255,.07); color:var(--text-2); text-transform:uppercase;
}
.status-pill.live{ background:var(--grad-primary); color:#fff; animation:glowpulse 1.8s infinite; }
.status-pill.finished{ background:rgba(255,255,255,.05); color:var(--text-2); }
.status-pill.upcoming{ color:var(--amber); background:rgba(255,179,71,.12); }
@keyframes glowpulse{ 0%,100%{ box-shadow:0 0 0 rgba(255,60,30,.5);} 50%{ box-shadow:0 0 16px rgba(255,60,30,.55);} }

.match-time{ font-size:11px; color:var(--text-2); font-weight:600; }

.teams-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.team{ display:flex; flex-direction:column; align-items:center; gap:8px; flex:1; min-width:0; }
.team img{ width:44px; height:44px; object-fit:contain; border-radius:10px; background:rgba(255,255,255,.04); padding:4px; }
.team .tname{ font-size:12.5px; font-weight:700; text-align:center; line-height:1.25; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }

.score-block{ display:flex; flex-direction:column; align-items:center; gap:4px; padding:0 6px; min-width:70px; }
.score-block .score{ font-family:'Syne',sans-serif; font-weight:800; font-size:22px; letter-spacing:1px; }
.score-block .vs{ font-size:13px; color:var(--text-2); font-weight:700; }
.score-block .clock{ font-size:10px; color:var(--orange-2); font-weight:700; }

.match-league-name{ margin-top:14px; padding-top:12px; border-top:1px solid rgba(255,255,255,.07); font-size:11px; color:var(--text-2); text-align:center; }

/* ---------- Empty / loading / error states ---------- */
.state-box{ text-align:center; padding:70px 20px; }
.state-box .emoji{ font-size:44px; margin-bottom:16px; }
.state-box h3{ font-family:'Syne',sans-serif; font-size:19px; margin-bottom:8px; }
.state-box p{ color:var(--text-2); font-size:13px; max-width:420px; margin:0 auto; }

.loader{ display:flex; justify-content:center; padding:60px 0; }
.spinner{
  width:44px; height:44px; border-radius:50%;
  border:3px solid rgba(255,255,255,.1); border-top-color:var(--orange);
  animation:spin .9s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

.skeleton{ position:relative; overflow:hidden; background:rgba(255,255,255,.05); border-radius:var(--radius-md); height:150px; }
.skeleton::after{
  content:""; position:absolute; inset:0; transform:translateX(-100%);
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  animation:shimmer 1.6s infinite;
}
@keyframes shimmer{ 100%{ transform:translateX(100%); } }

/* ---------- Footer ---------- */
.site-footer{ margin-top:70px; padding:46px 0 30px; border-top:1px solid rgba(255,255,255,.08); position:relative; z-index:1; }
.footer-top{ display:flex; justify-content:space-between; gap:30px; flex-wrap:wrap; margin-bottom:32px; }
.footer-brand .brand{ margin-bottom:12px; }
.footer-brand p{ color:var(--text-2); font-size:13px; max-width:320px; line-height:1.7; }
.footer-cols{ display:flex; gap:50px; flex-wrap:wrap; }
.footer-col h4{ font-size:12px; letter-spacing:1.5px; text-transform:uppercase; color:var(--text-2); margin-bottom:14px; }
.footer-col a{ display:block; font-size:13px; color:var(--text-1); margin-bottom:10px; transition:.2s; }
.footer-col a:hover{ color:var(--orange-2); transform:translateX(3px); }

.watermark{
  text-align:center; padding-top:26px; border-top:1px solid rgba(255,255,255,.06);
  font-size:12px; color:var(--text-2); line-height:2;
}
.watermark b{ color:var(--text-1); }
.watermark .brandline{ background:var(--grad-primary); -webkit-background-clip:text; background-clip:text; color:transparent; font-weight:800; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar{ width:9px; }
::-webkit-scrollbar-track{ background:var(--bg-0); }
::-webkit-scrollbar-thumb{ background:linear-gradient(var(--orange),var(--red)); border-radius:10px; }

/* ---------- Responsive ---------- */
@media (max-width:820px){
  .navlinks{ display:none; }
  .menu-btn{ display:flex; }
  .footer-top{ flex-direction:column; }
}
@media (max-width:520px){
  .matches-grid{ grid-template-columns:1fr; }
  .controls-bar{ flex-direction:column; align-items:stretch; }
  .tabs{ justify-content:center; }
}

/* mobile drawer */
.mobile-drawer{
  position:fixed; inset:0; z-index:100; display:none;
  background:rgba(6,5,7,.7); backdrop-filter:blur(10px);
}
.mobile-drawer.open{ display:block; }
.mobile-drawer .panel{
  position:absolute; top:0; right:0; height:100%; width:78%; max-width:320px;
  background:rgba(14,11,14,.92); border-left:1px solid var(--glass-border);
  padding:28px 22px; display:flex; flex-direction:column; gap:6px;
  transform:translateX(100%); animation:slideIn .35s var(--ease) forwards;
}
@keyframes slideIn{ to{ transform:translateX(0); } }
.mobile-drawer a{ padding:14px 10px; font-weight:700; border-bottom:1px solid rgba(255,255,255,.06); }
.mobile-drawer .close{ align-self:flex-end; width:36px; height:36px; border-radius:10px; background:var(--glass-bg-strong); display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
