:root {
  --bg-1: #060b14;
  --bg-2: #0e1622;
  --panel: #131f31;
  --panel-soft: #17263b;
  --text: #f4f7fb;
  --text-dim: #8ea1bd;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #ff6a00;
  --accent-2: #d94700;
  --ok: #3ddc97;
  --warn: #ffd166;
  --live: #ff4343;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 20px rgba(255, 106, 0, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: Manrope, Segoe UI, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 106, 0, 0.18), transparent 40%),
    radial-gradient(circle at 82% 0%, rgba(61, 220, 151, 0.15), transparent 38%),
    linear-gradient(170deg, var(--bg-1), var(--bg-2));
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scroll Lock Fix */
body.player-open {
  overflow: hidden;
  overscroll-behavior: contain;
}

.bg-lights,
.bg-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-lights {
  background: radial-gradient(circle at 50% 120%, rgba(255, 106, 0, 0.12), transparent 45%);
  z-index: 0;
}

.bg-pattern {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
  z-index: 0;
}

.container {
  width: min(1140px, 100% - 2rem);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(120%);
  background: rgba(6, 11, 20, 0.7);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.brand-mark {
  width: 2.5rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(255, 106, 0, 0.35);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-copy strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.05em;
  font-size: 1.9rem;
  line-height: 1;
}

.brand-copy small {
  color: var(--text-dim);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pill {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ok);
  border: 1px solid rgba(61, 220, 151, 0.4);
  background: rgba(61, 220, 151, 0.12);
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
}

.dot {
  width: 0.45rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background: currentColor;
  animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.ghost-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-main {
  padding-block: 1.5rem 2rem;
}

.hero {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 106, 0, 0.15), rgba(19, 31, 49, 0.65));
  padding: clamp(1.3rem, 4vw, 2.2rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.2rem;
}

.hero-kicker {
  color: var(--warn);
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin-top: 0.5rem;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.02;
  font-size: clamp(2rem, 7.5vw, 4.1rem);
}

.hero-subtitle {
  color: #d4dfef;
  margin-top: 0.55rem;
  max-width: 62ch;
}

.hero-chips {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
}

.hero-chips li {
  font-size: 0.82rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  background: rgba(0, 0, 0, 0.17);
}

/* Urgent live banner */
.urgent-banner {
  margin-bottom: 1.2rem;
  padding: 0.75rem 1.2rem;
  background: linear-gradient(90deg, rgba(255,67,67,0.2), rgba(255,106,0,0.15));
  border: 1px solid rgba(255,67,67,0.35);
  border-radius: 12px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: #f8d0d0;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(255,67,67,0.4);
  animation: livePulse 1.4s ease-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255,67,67,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(255,67,67,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,67,67,0); }
}
.banner-right { margin-left: auto; font-size: 0.8rem; color: var(--warn); font-weight: 700; }

.layout-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.panel {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(14, 22, 34, 0.8);
  box-shadow: var(--shadow-soft);
}

.panel-main {
  padding: clamp(1rem, 3vw, 1.45rem);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.panel-head h2 {
  font-size: clamp(1.1rem, 2.7vw, 1.6rem);
}

.panel-head p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.status-row {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.status-item {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.8rem;
  padding: 0.48rem 0.55rem;
  color: var(--text-dim);
  text-align: center;
}

.status-item.online { color: var(--ok); }
.status-item.warn { color: var(--warn); }

.section-title {
  margin-top: 1.1rem;
  margin-bottom: 0.62rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #cad6e8;
}

.tournament-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Match Badges */
.match-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.live-tag { background: rgba(255,67,67,0.2); color: var(--live); border: 1px solid rgba(255,67,67,0.4); }
.soon-tag { background: rgba(255,209,102,0.15); color: var(--warn); border: 1px solid rgba(255,209,102,0.3); }

.tournament-card {
  border: 2px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-align: left;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.tournament-card .icon {
  width: 1.45rem;
  height: 1.45rem;
  display: inline-grid;
  place-items: center;
}

.tournament-card .icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #cfe0f8;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tournament-card.selected .icon svg { stroke: #ffd6bd; }
.tournament-card .name { font-weight: 700; font-size: 0.93rem; }
.tournament-card .meta { color: var(--text-dim); font-size: 0.74rem; }

.tournament-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 0, 0.42);
}

.tournament-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.2);
  background: rgba(255, 106, 0, 0.11);
}

.stream-btn {
  width: 100%;
  margin-top: 0.95rem;
  border: 0;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  cursor: pointer;
  position: relative;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 32px rgba(217, 71, 0, 0.45);
}

.stream-btn:hover { filter: brightness(1.07); }

.cred-zone {
  margin-top: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.18);
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.cred-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.52rem;
  background: rgba(255, 255, 255, 0.03);
}

.cred-card h4 { font-size: 0.82rem; }
.cred-card p { color: var(--text-dim); margin-top: 0.2rem; font-size: 0.72rem; }

.mini-steps {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mini-steps span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.28rem 0.58rem;
  font-size: 0.72rem;
  color: #dce5f5;
}

.stream-btn-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(255, 175, 117, 0.9);
  animation: ring 1.8s ease-out infinite;
}

@keyframes ring {
  from { transform: scale(0.98); opacity: 0.8; }
  to { transform: scale(1.08); opacity: 0; }
}

.panel-side { padding: 1rem; }
.panel-side h3 { font-family: "Bebas Neue", sans-serif; letter-spacing: 0.04em; font-size: 1.45rem; }

.match-list {
  list-style: none;
  margin-top: 0.5rem;
  display: grid;
  gap: 0.48rem;
}

.match-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.52rem 0.58rem;
  background: rgba(0, 0, 0, 0.15);
}

.match-list strong { font-size: 0.85rem; }
.match-list span { color: var(--text-dim); font-size: 0.73rem; text-align: right; }
.match-info { display: flex; flex-direction: column; gap: 0.15rem; }
.score-line { font-size: 0.75rem; color: var(--ok); font-weight: 600; }

.ad-slot {
  margin-top: 0.75rem;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 13px;
  padding: 0.65rem;
  background: rgba(0, 0, 0, 0.2);
}

.slot-label { text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-dim); font-size: 0.68rem; }
.slot-body {
  margin-top: 0.38rem;
  border-radius: 10px;
  min-height: 82px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.75rem;
  color: #dce5f2;
  background: rgba(255, 255, 255, 0.03);
}

.slot-body iframe, .slot-body img, .slot-body video { max-width: 100%; border-radius: 8px; }
.slot-body a { color: #ffd18c; }

/* Custom Ad Card */
.custom-ad-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.75rem;
  padding: 1.2rem;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.12) 0%, rgba(20, 20, 20, 0.4) 100%);
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.custom-ad-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top left, rgba(255,106,0,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.custom-ad-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.18);
}

.custom-ad-card:hover::before { opacity: 1; }

.custom-ad-card .ad-icon {
  width: 34px;
  height: 34px;
  background: rgba(255, 106, 0, 0.2);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.custom-ad-card .ad-icon svg { width: 18px; height: 18px; }

.ad-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}
.ad-badge {
  background: #3ddc97;
  color: #0a1a0a;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.18rem 0.5rem;
  border-radius: 99px;
  letter-spacing: 0.06em;
}
.ad-users { font-size: 0.72rem; color: var(--text-dim); }

.custom-ad-card .ad-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: left;
}

.custom-ad-card .ad-content strong {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.custom-ad-card .ad-content span {
  font-size: 0.82rem;
  color: #aebfd6;
  line-height: 1.45;
}

.custom-ad-card .ad-cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.2rem;
  padding: 0.5rem 0.9rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s ease;
}

.custom-ad-card:hover .ad-cta {
  background: #ff7e2f;
}

/* New Trust Sections Style */
.trust-sections {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.trust-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}

.trust-item:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.05); }

.trust-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}

.trust-icon svg { width: 32px; height: 32px; }

.trust-item h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--text); }
.trust-item p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }

.coverage-banner {
  background: linear-gradient(90deg, rgba(61, 220, 151, 0.1), rgba(255, 106, 0, 0.1));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.coverage-content h4 { font-size: 1.1rem; color: var(--ok); margin-bottom: 0.25rem; }
.coverage-content p { color: var(--text-dim); font-size: 0.9rem; }

.coverage-nodes { display: flex; align-items: center; gap: 0.4rem; }
.node-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 1.5s infinite; }
.node-dot:nth-child(2) { animation-delay: 0.2s; }
.node-dot:nth-child(3) { animation-delay: 0.4s; }
.node-label { margin-left: 0.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ok); font-weight: 700; }

/* Player Overlay Styles */
.player-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  touch-action: none;
}

.player-overlay.active { display: flex; flex-direction: column; }

.player-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.player-main {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 100vh;
  background: #000;
  position: relative;
  box-shadow: 0 0 100px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* Landscape Prompt */
.landscape-prompt {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

@media (orientation: portrait) and (max-height: 600px), (max-width: 500px) and (orientation: portrait) {
  .player-overlay.active ~ .landscape-prompt { display: flex; }
}

.landscape-prompt svg { width: 64px; height: 64px; margin-bottom: 1rem; animation: rotateDevice 2s ease-in-out infinite; }
@keyframes rotateDevice {
  0% { transform: rotate(0deg); }
  50%, 100% { transform: rotate(90deg); }
}

.player-loading {
  position: absolute;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.75rem;
  background: #000;
}

.player-loading.fade { animation: hideLoading 0.4s ease 2.5s forwards; }

@keyframes hideLoading {
  to { opacity: 0; pointer-events: none; }
}

.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.player-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 105;
  padding: env(safe-area-inset-top, 0.8rem) calc(env(safe-area-inset-right, 0) + 1.2rem) 0.8rem calc(env(safe-area-inset-left, 0) + 1.2rem);
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: opacity 0.3s ease;
}

.player-live-info { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; font-weight: 500; }
.live-badge { background: var(--live); padding: 0.2rem 0.5rem; border-radius: 4px; font-weight: 800; font-size: 0.7rem; animation: blink 1s infinite; }

.player-close {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.player-close:hover { background: rgba(255,255,255,0.2); }

/* Critical Notification inside Modal */
.critical-notification {
  margin: 0.6rem 0;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 67, 67, 0.12);
  border: 1px solid rgba(255, 67, 67, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  text-align: left;
}

.notif-icon {
  color: var(--live);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.notif-icon svg { width: 22px; height: 22px; }

.notif-content {
  flex-grow: 1;
}
.notif-content strong {
  display: block;
  color: #ff9b9b;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.notif-content p {
  color: #d1d9e6;
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 0.55rem;
}
.notif-btn {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--live);
  color: #fff;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 67, 67, 0.2);
}
.notif-btn:hover { background: #e03535; transform: translateY(-1px); }

/* Speech bubble */
.speech-bubble {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(20% + 180px);
  transform: translateX(-50%);
  z-index: 300;
  background: #fff;
  color: #1a1a2e;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.75rem 1.1rem;
  border-radius: 16px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: bubblePop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.5) forwards;
  pointer-events: none;
}
.speech-bubble.visible { display: block; }
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
}
@keyframes bubblePop {
  from { opacity: 0; transform: translateX(-50%) scale(0.7); }
  to   { opacity: 1; transform: translateX(-50%) scale(1); }
}

/* Cricket Scene Base */
.cricket-scene {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #081226 0%, #13251a 40%, #0b180f 70%, #081226 100%);
}

.stars { position: absolute; inset: 0 0 32% 0; will-change: transform; }
.star { position: absolute; border-radius: 50%; background: #fff; animation: twinkle 3.1s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.94; } }

.moon {
  position: absolute;
  top: 10%;
  right: 15%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff9df, #ffd87a);
  box-shadow: 0 0 40px rgba(255, 216, 122, 0.4);
}

.grass { position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(180deg, #1b3d1e, #0d1a0e); }
.grass-blade { position: absolute; bottom: 0; width: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(to top, #142e16, #2d612f); transform-origin: bottom; animation: sway 3.8s ease-in-out infinite; will-change: transform; }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

.firefly { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #ffcf5c; box-shadow: 0 0 12px #ffcf5c; animation: drift 8s ease-in-out infinite; will-change: transform; }
@keyframes drift { 0%, 100% { opacity: 0; transform: translate(0, 0); } 20% { opacity: 1; } 60% { transform: translate(30px, -45px); opacity: 0.35; } 80% { opacity: 1; } }

.cricket-container { position: absolute; z-index: 5; left: 50%; bottom: 20%; transform: translateX(-50%); }
.cricket-svg { width: min(25vw, 240px); height: auto; filter: drop-shadow(0 15px 20px rgba(0,0,0,0.6)); animation: hop 2s ease-in-out infinite; will-change: transform; }
@keyframes hop { 0%, 100% { transform: translateY(0) rotate(-4deg); } 35% { transform: translateY(-35px) rotate(4deg); } 70% { transform: translateY(-15px) rotate(-2deg); } }

/* Chirp indicator — centered horizontally, above cricket */
.chirp-indicator {
  position: absolute;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}
.chirp-text {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.1rem, 3.5vw, 2rem);
  letter-spacing: 0.12em;
  color: var(--ok);
  text-shadow: 0 0 20px rgba(61, 220, 151, 0.6);
  animation: chirpPulse 1.2s ease-in-out infinite;
}
@keyframes chirpPulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
.chirp-bars { display: flex; gap: 3px; align-items: center; height: 24px; }
.chirp-bar { width: 4px; background: var(--ok); border-radius: 2px; animation: barBounce 0.6s ease-in-out infinite alternate; }
@keyframes barBounce { from { height: 4px; } to { height: 22px; } }

/* Reveal Card — compact, no scroll */
.reveal-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 200;
  width: min(440px, calc(100% - 1.5rem));
  max-height: none;
  overflow: visible;
  background: rgba(8, 16, 30, 0.97);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-card.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); animation: revealPulse 0.45s ease-out; }
@keyframes revealPulse { 0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

.reveal-emoji { font-size: 2rem; margin-bottom: 0.25rem; animation: bounce 1s ease-in-out infinite; display: block; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.reveal-card h2 { font-size: 1.4rem; margin-bottom: 0.2rem; }

.share-line { margin-top: 0.8rem; margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--text-dim); }
.share-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; align-items: center; }

.share-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.share-btn svg { width: 22px; height: 22px; transition: transform 0.2s; }
.share-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
.share-btn:hover svg { transform: scale(1.1); }

#shareWhatsapp:hover { color: #25D366; border-color: #25D366; box-shadow: 0 6px 15px rgba(37, 211, 102, 0.2); }
#shareTelegram:hover { color: #0088cc; border-color: #0088cc; box-shadow: 0 6px 15px rgba(0, 136, 204, 0.2); }
#shareFacebook:hover { color: #1877F2; border-color: #1877F2; box-shadow: 0 6px 15px rgba(24, 119, 242, 0.2); }
#shareX:hover { color: #fff; border-color: #fff; box-shadow: 0 6px 15px rgba(255, 255, 255, 0.15); }
#shareInstagram:hover { color: #E1306C; border-color: #E1306C; box-shadow: 0 6px 15px rgba(225, 48, 108, 0.2); }
#shareNativeBtn:hover { color: var(--accent); border-color: var(--accent); box-shadow: 0 6px 15px rgba(255, 106, 0, 0.2); }

/* Fake Controls Style */
.fake-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.5rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  z-index: 106;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.fake-controls:hover { opacity: 1; }

.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin-bottom: 1rem;
  position: relative;
  cursor: pointer;
}

.progress-fill {
  width: 60%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.progress-handle {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 60%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.control-row { display: flex; justify-content: space-between; align-items: center; }
.control-left, .control-right { display: flex; align-items: center; gap: 1rem; }

.icon-btn {
  background: none;
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}

.icon-btn:hover { background: rgba(255,255,255,0.1); }
.icon-btn svg { width: 24px; height: 24px; }

.vignette-time { font-family: monospace; font-size: 0.9rem; color: #ccc; }

/* Footer Design Improvements */
.site-footer {
  margin-top: 5rem;
  background: rgba(4, 10, 18, 0.8);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .brand-copy strong { font-size: 2.2rem; }
.footer-desc { margin-top: 1.5rem; color: var(--text-dim); max-width: 45ch; line-height: 1.6; }

.footer-links { display: flex; gap: 4rem; }
.footer-col h5 { font-size: 1rem; margin-bottom: 1.2rem; color: var(--text); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.8rem; }
.footer-col a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #647a96;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { gap: 2rem; }
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 720px) {
  /* Header — compact single row */
  .site-header { position: sticky; top: 0; }
  .header-inner { min-height: 56px; gap: 0.5rem; }
  .brand-mark { width: 2rem; }
  .brand-copy strong { font-size: 1.3rem; }
  .brand-copy small { display: none; }
  .pill { font-size: 0.68rem; padding: 0.35rem 0.55rem; gap: 0.3rem; }
  .pill span.dot { display: none; }
  .header-meta .ghost-btn { font-size: 0.78rem; padding: 0.4rem 0.7rem; }

  /* Hero — tighter */
  .hero { padding: 1rem; border-radius: 14px; margin-bottom: 0.8rem; }
  .hero h1 { font-size: 1.9rem; margin-top: 0.3rem; }
  .hero-subtitle { font-size: 0.85rem; }
  .hero-kicker { font-size: 0.7rem; }
  .hero-chips { gap: 0.4rem; margin-top: 0.6rem; }
  .hero-chips li { font-size: 0.75rem; padding: 0.28rem 0.6rem; }

  /* Urgent banner */
  .urgent-banner { flex-wrap: wrap; font-size: 0.78rem; padding: 0.6rem 0.9rem; gap: 0.5rem; }
  .banner-right { margin-left: 0; width: 100%; text-align: center; }

  /* Main layout — single column */
  .layout-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .panel-main { padding: 0.9rem; }
  .panel-head h2 { font-size: 1.1rem; }

  /* Tournament grid — 2 cols on mobile */
  .tournament-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .tournament-card { padding: 0.6rem; border-radius: 10px; }
  .tournament-card .name { font-size: 0.82rem; }
  .tournament-card .meta { font-size: 0.68rem; }

  /* Stream button */
  .stream-btn { font-size: 0.9rem; padding: 0.85rem; margin-top: 0.75rem; }

  /* Cred zone */
  .cred-grid { grid-template-columns: 1fr; gap: 0.4rem; }
  .cred-card { padding: 0.45rem 0.6rem; }
  .mini-steps { flex-direction: column; gap: 0.3rem; }

  /* Side panel */
  .panel-side { padding: 0.9rem; }
  .panel-side h3 { font-size: 1.2rem; }
  .match-list li { padding: 0.45rem 0.5rem; }

  /* Ad card */
  .custom-ad-card { padding: 0.9rem; }

  /* Trust section */
  .trust-sections { margin-top: 1.5rem; padding-top: 1.2rem; }
  .trust-grid { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
  .trust-item { padding: 1rem; }
  .trust-icon svg { width: 24px; height: 24px; }
  .trust-item h3 { font-size: 1rem; }
  .coverage-banner { padding: 1rem; }

  /* Footer */
  .site-footer { margin-top: 2rem; padding: 2rem 0 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
  .footer-links { gap: 2rem; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 0.6rem; text-align: center; font-size: 0.78rem; }
  .footer-brand .brand-copy strong { font-size: 1.5rem; }
  .footer-desc { font-size: 0.85rem; margin-top: 0.75rem; max-width: 100%; }

  /* Player overlay — fix fullscreen on mobile */
  .player-main { aspect-ratio: auto; height: 100svh; width: 100%; }
  .player-topbar { padding: 0.6rem 0.9rem; }
  .player-live-info { font-size: 0.8rem; gap: 0.5rem; }
  .live-badge { font-size: 0.65rem; padding: 0.18rem 0.45rem; }
  .player-close { width: 32px; height: 32px; font-size: 0.85rem; }

  /* Reveal card on mobile — nearly full width, centered */
  .reveal-card { width: calc(100% - 1rem); padding: 1rem 1rem; border-radius: 14px; }
  .reveal-card h2 { font-size: 1.2rem; }
  .reveal-emoji { font-size: 1.5rem; }
  .share-btn { width: 40px; height: 40px; }
  .share-btn svg { width: 18px; height: 18px; }
  .share-row { gap: 0.5rem; }
  .share-line { font-size: 0.8rem; margin-top: 0.6rem; margin-bottom: 0.4rem; }

  /* Speech bubble */
  .speech-bubble { font-size: 0.8rem; white-space: pre-wrap; max-width: 80vw; text-align: center; }

  /* Fake controls */
  .fake-controls { padding: 0.75rem 0.75rem 0.6rem; }
  .control-row { padding: 0; }
  .control-left, .control-right { gap: 0.5rem; }
  .icon-btn { width: 32px; height: 32px; }
  .icon-btn svg { width: 19px; height: 19px; }
  .vignette-time { font-size: 0.72rem; }
  .progress-bar { margin-bottom: 0.6rem; }
}

.modal { display: none; position: fixed; inset: 0; z-index: 5000; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); place-items: center; padding: 1.5rem; }
.modal.open { display: grid; }
.modal-card { width: min(480px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; }
.modal-card h4 { font-size: 1.5rem; margin-bottom: 1rem; font-family: "Bebas Neue", sans-serif; }
.modal-card p { color: var(--text-dim); margin-bottom: 1.5rem; line-height: 1.6; }
