/* ============================================================
   ROOT THEME
============================================================ */
:root{
  --bg:#DA2128;
  --bg-alt:#b81b22;
  --panel:#0a0a0a;
  --panel-soft:#111;
  --accent:#c8102e;
  --accent-soft:#ff4d6a;
  --text:#f5f5f5;
  --muted:#9ca3af;
  --border:#1f1f1f;
  --radius:10px;
  --shadow:0 18px 45px rgba(0,0,0,0.55);
  --max-width:1200px;
}

*{box-sizing:border-box;margin:0;padding:0}

body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:radial-gradient(circle at top,#DA2128 0,#8A0F15 45%,#1a0004 100%);
  color:var(--text);
  min-height:100vh;
}

h1,h2,h3,h4,.hero-title{
  font-family:"Bebas Neue",system-ui,sans-serif;
  letter-spacing:0.06em;
}

a{text-decoration:none;color:inherit}

.page{
  max-width:var(--max-width);
  margin:0 auto;
  padding:20px 16px 40px;
}

/* ============================================================
   NAVIGATION
============================================================ */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0 20px;
}

.nav-left{
  display:flex;
  align-items:center;
  gap:24px;
}

.nav-logo img{
  width:90px;
  height:auto;
  object-fit:contain;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:22px;
  font-size:15px;
  text-transform:uppercase;
  color:var(--muted);
}

.nav-links a.active{
  color:#fff;
  position:relative;
}

.nav-links a.active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:100%;
  height:2px;
  background:var(--accent);
  border-radius:999px;
}

.nav-right{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropbtn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 160px;
  z-index: 999;
}

.nav-dropdown-content a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  border-bottom: 1px solid var(--border);
}

.nav-dropdown-content a:last-child {
  border-bottom: none;
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}


/* MOBILE MENU */
.mobile-menu-btn{
  display:none;
  font-size:32px;
  background:none;
  border:none;
  color:white;
  cursor:pointer;
  padding:6px 10px;
}

.mobile-menu{
  display:none;
  flex-direction:column;
  background:#0a0a0a;
  border:1px solid #1f1f1f;
  border-radius:10px;
  padding:12px;
  margin-bottom:20px;
}

.mobile-menu a{
  padding:10px 0;
  border-bottom:1px solid #1f1f1f;
  color:#f5f5f5;
  text-transform:uppercase;
  font-size:15px;
}

.mobile-menu a:last-child{
  border-bottom:none;
}

@media(max-width:720px){
  .nav-links,
  .nav-right{ display:none; }
  .mobile-menu-btn{ display:block; }
}

.mobile-account-group {
  width: 100%;
}

/* Submenu styling */
.mobile-account-submenu {
  display: none;
  flex-direction: column;
  background: #000;
}

.mobile-account-submenu a {
  padding: 12px 16px;
  border-top: 1px solid #222;
  display: block;
  color: #fff;
  text-decoration: none;
}

/* Force My Account to use the exact same spacing as other menu items */
.mobile-account-toggle {
  padding: 10px 0 !important;
  border-bottom: 1px solid #1f1f1f;
  color: #f5f5f5;
  text-transform: uppercase;
  font-size: 15px;
  display: block;
}




/* ============================================================
   BUTTONS
============================================================ */
.btn{
  padding:7px 14px;
  border-radius:999px;
  font-size:13px;
  border:1px solid transparent;
  cursor:pointer;
  text-transform:uppercase;
  transition:0.15s;
}

.btn-outline{
  background:transparent;
  border-color:var(--border);
  color:var(--muted);
}

.btn-outline:hover{
  border-color:var(--accent);
  color:#fff;
}

.btn-primary{
  background:linear-gradient(135deg,var(--accent),var(--accent-soft));
  color:#fff;
  box-shadow:0 0 18px rgba(200,16,46,0.45);
}

.btn-primary:hover{
  transform:translateY(-1px);
}

/* Locked state */
.btn-locked{
  background:#374151 !important;
  border-color:#4b5563 !important;
  color:#9ca3af !important;
  cursor:not-allowed !important;
  box-shadow:none !important;
}

/* ============================================================
   LAYOUT
============================================================ */
.layout{
  display:grid;
  grid-template-columns:2.1fr 1.1fr;
  gap:28px;
  align-items:flex-start;
  margin-top:10px;
}

@media(max-width:860px){
  .layout{ grid-template-columns:1fr; }
}

/* ============================================================
   HERO
============================================================ */
.hero{
  background:var(--panel);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
  border:1px solid var(--border);
  margin-bottom:24px;
  position:relative;
}

.hero-inner{
  display:flex;
  gap:18px;
}

.hero-left{ flex:1; }

.hero-crests-left{
  display:flex;
  gap:16px;
  align-items:center;
  margin-bottom:14px;
}

.hero-crests-left img{
  width:70px;
  height:auto;
  filter:drop-shadow(0 0 6px rgba(0,0,0,0.4));
}

.hero-meta{
  font-size:12px;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:4px;
}

.hero-title{
  font-size:30px;
  margin-bottom:4px;
}

.hero-venue,
.hero-time{
  font-size:13px;
  color:var(--muted);
  margin-bottom:6px;
}

.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

/* STREAM BADGES */
.stream-badges{
  display:flex;
  gap:8px;
  margin:8px 0 12px;
  flex-wrap:wrap;
}

.badge{
  padding:4px 10px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
  color:#fff;
}

.badge-sub{ background:#b91c1c; }
.badge-ppv{ background:#374151; }
.badge-audio{ background:#9ca3af; color:#000; }

/* LIVE STATES */
.hero-live-badge{
  position:absolute;
  top:12px;
  left:12px;
  background:#b91c1c;
  color:#fff;
  padding:6px 12px;
  border-radius:6px;
  font-size:13px;
  font-weight:700;
  animation:liveFlash 1.2s infinite ease-in-out;
}

@keyframes liveFlash{
  0%{ opacity:1; }
  50%{ opacity:0.45; }
  100%{ opacity:1; }
}

.hero-starting-soon{
  position:absolute;
  top:12px;
  right:12px;
  background:#1e3a8a;
  color:#fff;
  padding:6px 12px;
  border-radius:6px;
  font-size:13px;
  font-weight:600;
}

/* ============================================================
   LIVE LIST
============================================================ */
.section{
  margin-top:28px;
}

.section-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
}

.section-title{
  font-size:16px;
  text-transform:uppercase;
  letter-spacing:0.12em;
  color:#e5e7eb;
}

.live-list{
  border-radius:var(--radius);
  background:var(--panel-soft);
  border:1px solid var(--border);
  overflow:hidden;
  margin-bottom:24px;
}

.live-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 14px;
  font-size:13px;
  border-bottom:1px solid var(--border);
}

.live-row:last-child{ border-bottom:none; }

.live-row-left{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.live-row-title{ color:#e5e7eb; }
.live-row-meta{ color:var(--muted); font-size:12px; }

.live-row-tag{
  font-size:11px;
  text-transform:uppercase;
  padding:3px 8px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.5);
  color:var(--muted);
}

/* ============================================================
   REPLAYS GRID
============================================================ */
.replays-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}

@media(max-width:1024px){
  .replays-grid{ grid-template-columns:repeat(2,1fr); }
}

@media(max-width:520px){
  .replays-grid{ grid-template-columns:1fr; }
}

.replay-card{
  background:var(--panel-soft);
  border-radius:var(--radius);
  border:1px solid var(--border);
  overflow:hidden;
  transition:0.15s;
}

.replay-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:rgba(248,113,113,0.6);
}

.replay-thumb{
  position:relative;
  height:90px;
  background:#000;
  display:flex;
  align-items:center;
  justify-content:center;
}

.replay-thumb::after{
  content:"▶";
  font-size:22px;
  color:#fff;
  background:rgba(0,0,0,0.55);
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.replay-duration{
  position:absolute;
  bottom:6px;
  right:6px;
  font-size:11px;
  padding:2px 6px;
  border-radius:999px;
  background:rgba(15,23,42,0.9);
  color:#e5e7eb;
}

.replay-body{
  padding:8px 9px 10px;
}

.replay-title{
  color:#e5e7eb;
  margin-bottom:3px;
}

.replay-meta{
  color:var(--muted);
  font-size:11px;
}

/* ============================================================
   FIXTURES LIST
============================================================ */
/* ============================================================
   FIXTURES LIST (DESKTOP + MOBILE)
============================================================ */

.fixtures-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* FIXTURE ROW */
.fixture-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 8px;
  gap: 12px;
}

/* TEAM BLOCK (CRESTS + TITLE) */
.fixture-teams {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

/* CRESTS */
.fixture-crest {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

/* TITLE */
.fixture-title {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* RIGHT SIDE (TIME + TAG) */
.fixture-info {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 4px;
  min-width: 90px;
}

.fixture-time {
  font-size: 13px;
  color: var(--muted);
}

/* TAG */
.fixture-tag {
  background: #b30000;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: uppercase;
}

/* ============================================================
   MOBILE LAYOUT
============================================================ */

@media (max-width: 600px) {

  .fixture-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
  }

  .fixture-teams {
    justify-content: center;
    width: 100%;
    gap: 8px;
  }

  .fixture-title {
    white-space: normal;
    text-align: center;
    font-size: 15px;
  }

  .fixture-info {
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }

  .fixture-crest {
    width: 28px;
    height: 28px;
  }
}



/* ============================================================
   RIGHT COLUMN PANELS
============================================================ */
.side-column{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.panel{
  background:var(--panel);
  border-radius:var(--radius);
  border:1px solid var(--border);
  padding:18px 18px 20px;
  box-shadow:var(--shadow);
}

.panel h3{
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:0.12em;
  margin-bottom:8px;
}

.panel p{
  font-size:13px;
  color:var(--muted);
  line-height:1.5;
  margin-bottom:6px;
}

.access-intro{
  font-size:13px;
  color:var(--muted);
  margin-bottom:12px;
}

.geo-advice,
.region-block,
.user-access{
  padding:10px;
  border-radius:var(--radius);
  margin-bottom:14px;
  font-size:13px;
}

.geo-advice{
  background:#0f172a;
  border:1px solid #1e293b;
  color:#93c5fd;
}

.region-block{
  background:#3b0a0a;
  border:1px solid #7f1d1d;
  color:#fca5a5;
}

.user-access{
  background:#0f172a;
  border:1px solid #1e293b;
  color:#93c5fd;
}

.access-option{
  margin-top:18px;
  padding-top:12px;
  border-top:1px solid var(--border);
}

.access-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.access-option h4{
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:0.08em;
  margin-bottom:6px;
  color:#fff;
  display:flex;
  align-items:center;
  gap:6px;
}

.icon{ font-size:16px; }

.tooltip{
  cursor:pointer;
  font-size:14px;
  opacity:0.7;
  position:relative;
}

.tooltip:hover{ opacity:1; }

.tooltip[data-tip]:hover::after{
  content:attr(data-tip);
  position:absolute;
  background:#111;
  color:#fff;
  padding:6px 10px;
  border-radius:6px;
  font-size:12px;
  width:200px;
  transform:translate(-50%, -110%);
  left:50%;
  text-align:center;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  z-index:20;
}

.access-buttons{
  display:flex;
  gap:10px;
  margin-top:10px;
  flex-wrap:wrap;
}

/* ============================================================
   MODAL
============================================================ */
.modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.65);
  backdrop-filter:blur(4px);
  z-index:999;
  align-items:center;
  justify-content:center;
}

.modal-content{
  background:#0a0a0a;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  width:90%;
  max-width:420px;
  box-shadow:var(--shadow);
}

.modal-close{
  float:right;
  font-size:22px;
  cursor:pointer;
  color:#fff;
  opacity:0.7;
}

.modal-close:hover{ opacity:1; }

.replay-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.replay-modal-content {
  background: #0a0a0a;
  padding: 10px;
  border-radius: 10px;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.replay-modal video {
  width: 100%;
  border-radius: 8px;
}

.replay-close {
  float: right;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
  opacity: 0.7;
}

.replay-close:hover {
  opacity: 1;
}



/* ============================================================
   TOAST
============================================================ */
.toast{
  position:fixed;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  background:#111827;
  color:#fff;
  padding:12px 18px;
  border-radius:8px;
  border:1px solid #374151;
  box-shadow:0 0 12px rgba(0,0,0,0.4);
  opacity:0;
  pointer-events:none;
  transition:opacity 0.3s ease-out;
  z-index:9999;
}

.toast.show{ opacity:1; }

/* ============================================================
   ANIMATIONS & POLISH
============================================================ */
.btn-primary:hover:not(.btn-locked){
  box-shadow:0 0 12px rgba(248,113,113,0.45);
  transform:translateY(-2px);
}

.tooltip[data-tip]:hover::after{
  animation:tooltipFade 0.25s forwards ease-out;
}

@keyframes tooltipFade{
  from{ opacity:0; transform:translate(-50%, -120%); }
  to{ opacity:1; transform:translate(-50%, -110%); }
}

#countdownTimer{
  animation:pulse 1.4s infinite ease-in-out;
}

@keyframes pulse{
  0%{ opacity:1; }
  50%{ opacity:0.55; }
  100%{ opacity:1; }
}

.access-panel.highlight{
  animation:highlightPulse 1.4s ease-out;
}

@keyframes highlightPulse{
  0%{ box-shadow:0 0 0 rgba(248,113,113,0.4); }
  50%{ box-shadow:0 0 18px rgba(248,113,113,0.6); }
  100%{ box-shadow:0 0 0 rgba(248,113,113,0.4); }
}

.faq-item { margin-bottom: 12px; }

.faq-question {
  width: 100%;
  text-align: left;
  background: #111;
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
}

.faq-answer {
  display: none;
  padding: 12px;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 6px;
}

