﻿/* =========================================================
   CRICZONE
   GLOBAL STYLESHEET
   style.css
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  background: #05070b;
  color: #f7f9fc;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}


/* =========================================================
   GLOBAL BACKGROUND
========================================================= */

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(30, 120, 255, .13),
      transparent 30%
    ),
    radial-gradient(
      circle at 10% 55%,
      rgba(0, 198, 255, .07),
      transparent 28%
    ),
    #05070b;
}

.bg-image {
  position: absolute;
  inset: 0;
  opacity: .16;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(255,255,255,.05),
      transparent 35%
    );
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5,7,11,0) 0%,
      #05070b 92%
    );
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: .035;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}


/* =========================================================
   APP
========================================================= */

.app {
  position: relative;
  min-height: 100vh;
}


/* =========================================================
   HEADER
========================================================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(5,7,11,.76);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.topbar-inner {
  width: min(1440px, calc(100% - 48px));
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark,
.player-brand-mark {
  width: 38px;
  height: 38px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      #18b9ff,
      #1766ff
    );
  box-shadow:
    0 10px 35px rgba(24,139,255,.25);
}

.brand-mark::before,
.player-brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
}

.brand-ball {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0,0,0,.2);
}

.brand-ball::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 4px;
  left: -2px;
  top: 5px;
  border-top: 1.5px solid #1766ff;
  border-radius: 50%;
  transform: rotate(-35deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name,
.footer-brand-name,
.player-brand-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.7px;
}

.brand-name span,
.footer-brand-name span,
.player-brand-text span {
  color: #22baff;
}

.brand-text small {
  margin-top: 5px;
  font-size: 7px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.42);
}


/* =========================================================
   NAV
========================================================= */

.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 10px 15px;
  color: rgba(255,255,255,.56);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: .25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.06);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -17px;
  width: 20px;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: #25b9ff;
  box-shadow: 0 0 15px #25b9ff;
}

.nav-icon {
  margin-right: 4px;
}

.live-dot,
.filter-live-dot,
.section-live-dot,
.status-dot-mini,
.update-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #ff4646;
  box-shadow: 0 0 12px rgba(255,70,70,.7);
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-btn,
.player-top-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  transition: .25s ease;
}

.icon-btn:hover,
.player-top-btn:hover {
  color: #fff;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.09);
}

.icon-btn svg,
.player-top-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
}

.language-select {
  height: 40px;
  padding: 0 30px 0 12px;
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 11px;
  outline: none;
  background: rgba(255,255,255,.045);
  font-size: 12px;
  cursor: pointer;
}

.language-select option {
  color: #111;
}

.telegram-btn {
  height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  border-radius: 11px;
  background:
    linear-gradient(
      135deg,
      #25a8ff,
      #1877f2
    );
  box-shadow:
    0 9px 30px rgba(24,119,242,.18);
  font-size: 12px;
  font-weight: 700;
  transition: .25s ease;
}

.telegram-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 13px 35px rgba(24,119,242,.3);
}

.telegram-btn svg {
  width: 15px;
  height: 15px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  width: min(1440px, calc(100% - 48px));
  min-height: 610px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 30px;
  padding: 70px 0 65px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.hero-badge {
  width: max-content;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 20px;
  color: #8ddcff;
  border: 1px solid rgba(35,185,255,.18);
  border-radius: 999px;
  background: rgba(20,164,255,.07);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.hero-live-dot {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #ff4b55;
  box-shadow: 0 0 13px #ff4b55;
  animation: pulseDot 1.5s infinite;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(52px, 6.2vw, 92px);
  line-height: .93;
  letter-spacing: -4.5px;
  font-weight: 800;
}

.hero h1 span {
  color: #26b9ff;
  text-shadow: 0 0 40px rgba(38,185,255,.14);
}

.hero-content > p {
  max-width: 560px;
  margin-top: 25px;
  color: rgba(255,255,255,.56);
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-primary,
.hero-secondary {
  min-height: 48px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 750;
  transition: .25s ease;
}

.hero-primary {
  color: #00111a;
  background: #fff;
  box-shadow: 0 12px 35px rgba(255,255,255,.08);
}

.hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255,255,255,.15);
}

.hero-secondary {
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.035);
}

.hero-secondary:hover {
  color: #fff;
  background: rgba(255,255,255,.075);
}

.play-small {
  font-size: 11px;
}

.hero-stats {
  margin-top: 43px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat strong {
  font-size: 23px;
  font-weight: 800;
}

.hero-stat span {
  color: rgba(255,255,255,.4);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.hero-stat-divider {
  width: 1px;
  height: 29px;
  background: rgba(255,255,255,.1);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  width: 370px;
  height: 370px;
  border-radius: 50%;
  background: rgba(18,164,255,.13);
  filter: blur(70px);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(42,186,255,.14);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.orbit-one {
  width: 390px;
  height: 230px;
  animation: orbitFloat 8s ease-in-out infinite;
}

.orbit-two {
  width: 300px;
  height: 420px;
  animation: orbitFloat 10s ease-in-out infinite reverse;
}

.hero-ball {
  position: relative;
  z-index: 2;
  width: 205px;
  height: 205px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 30% 27%,
      #454b55,
      #10151d 43%,
      #05070a 75%
    );
  box-shadow:
    inset -20px -25px 45px rgba(0,0,0,.65),
    inset 12px 10px 30px rgba(255,255,255,.06),
    0 35px 90px rgba(0,0,0,.6),
    0 0 70px rgba(17,172,255,.12);
  animation: ballFloat 5s ease-in-out infinite;
}

.hero-ball::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.07);
}

.ball-seam {
  position: absolute;
  width: 245px;
  height: 55px;
  top: 75px;
  left: -20px;
  border-top: 2px solid rgba(255,255,255,.35);
  border-bottom: 2px solid rgba(255,255,255,.06);
  border-radius: 50%;
  transform: rotate(-35deg);
}

.floating-card {
  position: absolute;
  z-index: 4;
  padding: 14px;
  min-width: 170px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(12,16,23,.75);
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 60px rgba(0,0,0,.3);
}

.card-live {
  top: 80px;
  right: 4%;
  animation: cardFloat 5.5s ease-in-out infinite;
}

.card-score {
  bottom: 85px;
  left: 5%;
  animation: cardFloat 6s ease-in-out infinite reverse;
}

.floating-card-top {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.35);
  font-size: 8px;
  letter-spacing: 1px;
}

.mini-live {
  color: #ff5b63;
  font-weight: 800;
}

.mini-live i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: #ff5b63;
}

.floating-match {
  margin-top: 13px;
}

.floating-match strong {
  display: block;
  font-size: 17px;
}

.floating-match small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.4);
  font-size: 9px;
}

.score-label {
  color: rgba(255,255,255,.35);
  font-size: 8px;
  letter-spacing: 1px;
}

.card-score strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.score-arrow {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: #2bbaff;
}


/* =========================================================
   CONTENT
========================================================= */

.content-section,
.matches-section,
.telegram-section {
  width: min(1440px, calc(100% - 48px));
  margin: auto;
}

.content-section {
  padding: 25px 0 35px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 22px;
}

.section-kicker {
  color: rgba(255,255,255,.36);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.section-heading h2,
.matches-title h2 {
  margin-top: 6px;
  font-size: clamp(26px, 3vw, 39px);
  line-height: 1;
  letter-spacing: -1.5px;
}

.section-heading p {
  margin-top: 8px;
  color: rgba(255,255,255,.4);
  font-size: 12px;
}

.last-update-wrap {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,.32);
  font-size: 9px;
  letter-spacing: .8px;
}

.update-dot {
  width: 5px;
  height: 5px;
  background: #22bd7d;
  box-shadow: 0 0 10px rgba(34,189,125,.7);
}


/* =========================================================
   FEATURED LIVE
========================================================= */

.featured-live-card {
  position: relative;
  min-height: 255px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: #0b1017;
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
}

.featured-image {
  position: relative;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  min-height: 255px;
  display: block;
  object-fit: cover;
}

.featured-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      transparent 45%,
      #0b1017 100%
    );
}

.featured-live-content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 35px;
}

.featured-live-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ff5c62;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.featured-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff4c54;
  box-shadow: 0 0 12px #ff4c54;
  animation: pulseDot 1.3s infinite;
}

.featured-live-content h3 {
  margin-top: 13px;
  max-width: 450px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -1.3px;
}

.featured-live-content p {
  margin-top: 7px;
  color: rgba(255,255,255,.42);
  font-size: 12px;
}

.featured-meta {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  color: rgba(255,255,255,.42);
  font-size: 10px;
}

.featured-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.featured-meta svg {
  width: 11px;
  height: 11px;
}

.featured-watch-btn {
  margin-top: 21px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #001018;
  border-radius: 10px;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  transition: .25s ease;
}

.featured-watch-btn:hover {
  transform: translateY(-2px);
}

.no-live-card {
  min-height: 130px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 17px;
  background: rgba(255,255,255,.025);
}

.no-live-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  font-size: 22px;
}

.no-live-card strong {
  display: block;
  font-size: 15px;
}

.no-live-card span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.4);
  font-size: 11px;
}


/* =========================================================
   MATCHES
========================================================= */

.matches-section {
  padding: 60px 0;
}

.matches-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.toolbar-right {
  width: min(330px, 100%);
}

.search-wrap {
  height: 43px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  transition: .25s ease;
}

.search-wrap:focus-within {
  border-color: rgba(37,185,255,.4);
  box-shadow: 0 0 0 3px rgba(37,185,255,.05);
}

.search-wrap > svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: rgba(255,255,255,.35);
  stroke-width: 1.8;
}

.search-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 11px;
}

.search-wrap input::placeholder {
  color: rgba(255,255,255,.3);
}

.search-clear {
  color: rgba(255,255,255,.3);
  background: none;
  font-size: 18px;
}

.filter-row {
  display: flex;
  gap: 7px;
  margin-top: 22px;
  margin-bottom: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  height: 34px;
  padding: 0 13px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.43);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  font-size: 10px;
  font-weight: 700;
  transition: .2s ease;
}

.filter-btn:hover {
  color: #fff;
}

.filter-btn.active {
  color: #fff;
  border-color: rgba(35,185,255,.28);
  background: rgba(35,185,255,.1);
}

.filter-live-dot {
  width: 5px;
  height: 5px;
}


/* =========================================================
   MATCH GRID
========================================================= */

.matches-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.match-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 15px;
  background: rgba(12,16,22,.75);
  transition:
    transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.match-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.14);
  box-shadow:
    0 20px 45px rgba(0,0,0,.25);
}

.match-thumbnail {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #111722;
}

.match-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .5s ease;
}

.match-card:hover .match-thumbnail img {
  transform: scale(1.035);
}

.thumbnail-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.05),
      rgba(0,0,0,.55)
    );
}

.status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 22px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(4,7,11,.78);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .8px;
}

.status-badge.live {
  color: #ff646b;
}

.status-badge.upcoming {
  color: #ffbd55;
}

.status-badge.completed {
  color: rgba(255,255,255,.55);
}

.status-dot-mini {
  width: 4px;
  height: 4px;
}

.language-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: rgba(4,7,11,.72);
  backdrop-filter: blur(7px);
  font-size: 7px;
  font-weight: 700;
}

.language-badge svg {
  width: 9px;
  height: 9px;
}

.match-content {
  padding: 14px;
}

.match-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  min-height: 36px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}

.match-tournament {
  overflow: hidden;
  margin-top: 5px;
  color: rgba(255,255,255,.38);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 9px;
}

.match-time {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  color: rgba(255,255,255,.38);
  font-size: 9px;
}

.time-icon {
  color: rgba(255,255,255,.25);
}

.match-actions {
  margin-top: 12px;
}

.match-watch-btn,
.match-upcoming-btn,
.match-completed-btn {
  width: 100%;
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
  transition: .2s ease;
}

.match-watch-btn {
  color: #001018;
  background: #fff;
}

.match-watch-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255,255,255,.08);
}

.match-watch-btn.disabled {
  opacity: .35;
  cursor: not-allowed;
}

.watch-icon {
  font-size: 8px;
}

.match-upcoming-btn {
  flex-direction: column;
  color: #ffc55e;
  border: 1px solid rgba(255,189,85,.12);
  background: rgba(255,189,85,.05);
}

.match-upcoming-btn small {
  color: rgba(255,255,255,.35);
  font-size: 7px;
}

.match-completed-btn {
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
}


/* =========================================================
   WORLDWIDE STREAM
========================================================= */

.world-stream-btn {
  width: 100%;
  min-height: 30px;
  margin-top: 6px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.42);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .4px;
  transition: .2s ease;
}

.world-stream-btn:hover,
.world-stream-btn.open {
  color: #63caff;
  border-color: rgba(35,185,255,.18);
  background: rgba(35,185,255,.055);
}

.world-stream-btn svg {
  width: 11px;
  height: 11px;
}

.ww-chevron {
  margin-left: auto;
  transition: transform .2s ease;
}

.world-stream-btn.open .ww-chevron {
  transform: rotate(180deg);
}

.world-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: .25s ease;
}

.world-panel.open {
  grid-template-rows: 1fr;
}

.world-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.world-row {
  width: 100%;
  min-height: 29px;
  margin-top: 5px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.58);
  border-radius: 7px;
  background: rgba(255,255,255,.025);
  text-align: left;
  font-size: 8px;
}

.world-row:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
}

.world-flag {
  font-size: 12px;
}

.world-name {
  flex: 1;
}

.world-code {
  color: rgba(255,255,255,.25);
  font-size: 7px;
}


/* =========================================================
   LOADING / EMPTY
========================================================= */

.loading-state,
.empty-state {
  min-height: 250px;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: rgba(255,255,255,.4);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 17px;
  background: rgba(255,255,255,.018);
}

.loading-state strong,
.empty-state h3 {
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.loading-state span,
.empty-state p {
  font-size: 10px;
}

.loading-spinner {
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  border: 2px solid rgba(255,255,255,.08);
  border-top-color: #24b9ff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.empty-icon {
  margin-bottom: 5px;
  font-size: 25px;
}

.empty-retry {
  margin-top: 7px;
  padding: 9px 15px;
  color: #001018;
  border-radius: 8px;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}


/* =========================================================
   TELEGRAM SECTION
========================================================= */

.telegram-section {
  padding: 10px 0 80px;
}

.telegram-card {
  position: relative;
  min-height: 175px;
  padding: 32px 35px;
  display: flex;
  align-items: center;
  gap: 23px;
  overflow: hidden;
  border: 1px solid rgba(37,166,255,.12);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 90% 50%,
      rgba(30,158,255,.12),
      transparent 38%
    ),
    rgba(16,27,39,.7);
}

.telegram-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      #28b9ff,
      #1877f2
    );
  box-shadow:
    0 14px 40px rgba(24,119,242,.22);
}

.telegram-icon svg {
  width: 27px;
  height: 27px;
}

.telegram-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.telegram-content h2 {
  margin-top: 7px;
  font-size: clamp(20px, 3vw, 29px);
  letter-spacing: -1px;
}

.telegram-content p {
  max-width: 570px;
  margin-top: 7px;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  line-height: 1.6;
}

.telegram-cta {
  position: relative;
  z-index: 2;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  font-size: 10px;
  font-weight: 800;
  transition: .25s ease;
}

.telegram-cta:hover {
  background: rgba(255,255,255,.11);
  transform: translateX(2px);
}

.telegram-decoration {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(35,185,255,.08);
}

.telegram-decoration-one {
  width: 260px;
  height: 260px;
  right: 5%;
  top: -130px;
}

.telegram-decoration-two {
  width: 170px;
  height: 170px;
  right: 14%;
  bottom: -100px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  width: min(1440px, calc(100% - 48px));
  margin: auto;
  padding: 25px 0 35px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-size: 18px;
}

.footer-brand small {
  margin-top: 4px;
  color: rgba(255,255,255,.25);
  font-size: 7px;
  letter-spacing: 1.5px;
}

.footer-links {
  display: flex;
  gap: 19px;
}

.footer-links a {
  color: rgba(255,255,255,.35);
  font-size: 9px;
  transition: .2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 23px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.22);
  font-size: 8px;
}

.footer-separator {
  opacity: .4;
}


/* =========================================================
   POPUP
========================================================= */

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  opacity: 1;
  visibility: visible;
  transition: .25s ease;
}

.popup-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.popup-overlay:not(.hidden):has(.popup-box) {
  animation: popupFade .25s ease;
}

.popup-wrap {
  width: min(390px, 100%);
}

.popup-box {
  position: relative;
  padding: 31px 27px 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 21px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(35,185,255,.12),
      transparent 45%
    ),
    #0b1017;
  box-shadow: 0 35px 100px rgba(0,0,0,.55);
}

.popup-close {
  position: absolute;
  top: 11px;
  right: 13px;
  width: 30px;
  height: 30px;
  color: rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  font-size: 20px;
}

.popup-icon {
  width: 55px;
  height: 55px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background:
    linear-gradient(
      145deg,
      #25a8ff,
      #1877f2
    );
  box-shadow:
    0 15px 40px rgba(24,119,242,.22);
}

.popup-icon svg {
  width: 25px;
  height: 25px;
}

.popup-title {
  margin-top: 17px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.7px;
}

.popup-text {
  margin-top: 8px;
  color: rgba(255,255,255,.43);
  font-size: 11px;
  line-height: 1.65;
}

.popup-text strong {
  display: block;
  margin-top: 5px;
  color: #56c6ff;
}

.popup-join {
  width: 100%;
  height: 42px;
  margin-top: 21px;
  display: grid;
  place-items: center;
  color: #001018;
  border-radius: 10px;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  transition: .2s ease;
}

.popup-join:hover {
  transform: translateY(-1px);
}

.popup-skip {
  margin-top: 14px;
  color: rgba(255,255,255,.3);
  background: transparent;
  font-size: 9px;
}

.translate-indicator {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 500;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  background: rgba(10,14,20,.9);
  backdrop-filter: blur(15px);
  font-size: 9px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: .25s ease;
}

.translate-indicator.visible {
  opacity: 1;
  transform: translateY(0);
}

.translate-spinner {
  width: 11px;
  height: 11px;
  border: 1.5px solid rgba(255,255,255,.15);
  border-top-color: #2abaff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}


/* =========================================================
   PLAYER PAGE
========================================================= */

.player-page {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #000;
  color: #fff;
  isolation: isolate;
}

.player-page video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  transition: transform .25s ease;
}


/* =========================================================
   PLAYER TOPBAR
========================================================= */

.player-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 76px;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.8),
      transparent
    );
}

.player-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 8px 5px 5px;
  border-radius: 12px;
  background: rgba(0,0,0,.2);
  backdrop-filter: blur(8px);
}

.player-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.player-brand-mark span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
}

.player-brand-text {
  font-size: 17px;
}


/* =========================================================
   PLAYER OVERLAY
========================================================= */

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 17px;
  background:
    radial-gradient(
      circle,
      rgba(7,13,20,.45),
      rgba(0,0,0,.75)
    );
  transition: opacity .35s ease;
}

.player-overlay.gone {
  visibility: hidden;
  opacity: 0 !important;
}

.loading-ring {
  width: 45px;
  height: 45px;
  border: 2px solid rgba(255,255,255,.1);
  border-top-color: #26baff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.loading-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}

.loading-content strong {
  font-size: 13px;
}

.loading-content span {
  color: rgba(255,255,255,.35);
  font-size: 10px;
}


/* =========================================================
   BUFFER
========================================================= */

.buffer-spinner {
  position: absolute;
  z-index: 12;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none !important;
}

.buffer-spinner div {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.15);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}


/* =========================================================
   BIG PLAY
========================================================= */

.big-play {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: .25s ease;
}

.big-play.shown {
  opacity: 1;
}

.big-play.gone {
  opacity: 0;
}

.big-play-btn {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  color: #001018;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 55px rgba(0,0,0,.4);
  pointer-events: auto;
  transition: .2s ease;
}

.big-play-btn:hover {
  transform: scale(1.07);
}

.big-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}


/* =========================================================
   ERROR
========================================================= */

.error-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .25s ease;
}

.error-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.error-card {
  width: min(410px, 100%);
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 19px;
  background: #0c1118;
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
}

.error-icon {
  width: 52px;
  height: 52px;
  margin: auto;
  display: grid;
  place-items: center;
  color: #ff686f;
  border: 1px solid rgba(255,104,111,.18);
  border-radius: 15px;
  background: rgba(255,80,90,.07);
}

.error-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.7;
}

.error-card h2 {
  margin-top: 16px;
  font-size: 21px;
}

.error-card p {
  margin-top: 7px;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  line-height: 1.6;
}

.retry-status {
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: #ffb54d;
  font-size: 9px;
}

.retry-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffb54d;
  animation: pulseDot 1s infinite;
}

.error-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.error-retry-btn,
.support-btn {
  flex: 1;
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
}

.error-retry-btn {
  color: #001018;
  background: #fff;
}

.support-btn {
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}


/* =========================================================
   PLAYER CONTROLS
========================================================= */

.player-controls {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 30;
  padding: 0 13px 9px;
  border-radius: 13px;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0),
      rgba(0,0,0,.78)
    );
  transition:
    opacity .3s ease,
    transform .3s ease;
}

.player-controls.gone {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.progress-area {
  position: relative;
  height: 14px;
  padding: 5px 0;
  cursor: pointer;
}

.progress-track {
  position: relative;
  width: 100%;
  height: 3px;
  overflow: visible;
  border-radius: 5px;
  background: rgba(255,255,255,.18);
}

.buffer-progress,
.played-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: inherit;
}

.buffer-progress {
  width: 0;
  background: rgba(255,255,255,.24);
}

.played-progress {
  width: 0;
  background: #26baff;
}

.progress-thumb {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(38,186,255,.6);
  opacity: 0;
  transition: opacity .15s ease;
}

.progress-area:hover .progress-thumb,
.progress-area.drag .progress-thumb {
  opacity: 1;
}

.control-bar {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.control-btn {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: rgba(255,255,255,.76);
  border-radius: 8px;
  background: transparent;
  transition: .2s ease;
}

.control-btn:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.control-btn svg {
  display: block;
}

.controls-spacer {
  flex: 1;
}

.quality-btn {
  width: auto;
  padding: 0 8px;
  gap: 4px;
  font-size: 8px;
  font-weight: 800;
}

.live-pill {
  min-height: 23px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ff5a5a;
  border: 1px solid rgba(255,69,69,.32);
  border-radius: 6px;
  background: rgba(255,69,69,.13);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .7px;
}

.live-pill .live-dot,
.live-pill .ldot {
  width: 5px;
  height: 5px;
  margin: 0;
  background: #ff4545;
  border-radius: 50%;
  box-shadow: 0 0 9px #ff4545;
}


/* =========================================================
   PLAYER INFO
========================================================= */

.stream-info {
  position: absolute;
  left: 23px;
  top: 75px;
  z-index: 20;
  pointer-events: none;
}

.stream-info-inner {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(10px);
}

.stream-status {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ff5b61;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1px;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff4b55;
  box-shadow: 0 0 8px #ff4b55;
}

.stream-title {
  margin-top: 3px;
  max-width: 300px;
  color: rgba(255,255,255,.8);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 10px;
  font-weight: 700;
}


/* =========================================================
   PLAYER POPUP
========================================================= */

#popup {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#popup.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(.65);
    opacity: .55;
  }
}

@keyframes ballFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(4deg);
  }
}

@keyframes orbitFloat {
  0%,
  100% {
    transform:
      rotate(-20deg)
      scale(1);
  }

  50% {
    transform:
      rotate(-12deg)
      scale(1.05);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes popupFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


/* =========================================================
   RESPONSIVE — LARGE
========================================================= */

@media (max-width: 1200px) {

  .matches-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: clamp(
      50px,
      7vw,
      75px
    );
  }

  .hero-ball {
    width: 175px;
    height: 175px;
  }

  .orbit-one {
    width: 330px;
  }

  .orbit-two {
    height: 350px;
  }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {

  .topbar-inner,
  .hero,
  .content-section,
  .matches-section,
  .telegram-section,
  .footer {
    width: min(
      100% - 32px,
      760px
    );
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 65px;
  }

  .hero-content {
    max-width: 700px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .featured-live-card {
    grid-template-columns: 1fr;
  }

  .featured-image {
    height: 220px;
  }

  .featured-image img {
    min-height: 220px;
  }

  .featured-image-overlay {
    background:
      linear-gradient(
        180deg,
        transparent 20%,
        #0b1017 100%
      );
  }

  .featured-live-content {
    margin-top: -55px;
  }

  .matches-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 620px) {

  .topbar-inner {
    min-height: 66px;
    width: calc(100% - 22px);
    gap: 8px;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-text small {
    font-size: 6px;
  }

  .header-actions {
    margin-left: auto;
    gap: 5px;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
  }

  .language-select {
    width: 34px;
    padding: 0;
    color: transparent;
    background:
      rgba(255,255,255,.045)
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' fill='none' stroke='%23ffffff' stroke-width='1.5'%3E%3Ccircle cx='6.5' cy='6.5' r='5.5'/%3E%3Cpath d='M1 6.5h11M6.5 1c1.4 1.5 2 3.4 2 5.5s-.6 4-2 5.5c-1.4-1.5-2-3.4-2-5.5s.6-4 2-5.5Z'/%3E%3C/svg%3E")
      center / 14px no-repeat;
  }

  .telegram-btn {
    width: 34px;
    padding: 0;
    justify-content: center;
  }

  .telegram-btn span {
    display: none;
  }

  .hero {
    width: calc(100% - 28px);
    padding: 48px 0 35px;
  }

  .hero h1 {
    font-size: clamp(
      46px,
      14vw,
      68px
    );
    letter-spacing: -3px;
  }

  .hero-content > p {
    margin-top: 19px;
    font-size: 13px;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-primary,
  .hero-secondary {
    min-height: 44px;
    padding: 0 14px;
    font-size: 11px;
  }

  .hero-stats {
    margin-top: 29px;
    gap: 13px;
  }

  .hero-stat strong {
    font-size: 18px;
  }

  .hero-stat span {
    font-size: 7px;
  }

  .hero-visual {
    min-height: 290px;
  }

  .hero-ball {
    width: 135px;
    height: 135px;
  }

  .ball-seam {
    width: 170px;
    top: 50px;
    left: -17px;
  }

  .orbit-one {
    width: 250px;
    height: 155px;
  }

  .orbit-two {
    width: 200px;
    height: 280px;
  }

  .hero-glow {
    width: 250px;
    height: 250px;
  }

  .floating-card {
    min-width: 125px;
    padding: 10px;
    border-radius: 12px;
  }

  .card-live {
    top: 30px;
    right: 0;
  }

  .card-score {
    bottom: 30px;
    left: 0;
  }

  .floating-match {
    margin-top: 8px;
  }

  .floating-match strong {
    font-size: 13px;
  }

  .section-heading,
  .matches-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .last-update-wrap {
    align-self: flex-start;
  }

  .content-section,
  .matches-section,
  .telegram-section,
  .footer {
    width: calc(100% - 28px);
  }

  .content-section {
    padding-top: 15px;
  }

  .section-heading h2,
  .matches-title h2 {
    font-size: 27px;
  }

  .featured-live-card {
    min-height: 0;
  }

  .featured-image {
    height: 180px;
  }

  .featured-image img {
    min-height: 180px;
  }

  .featured-live-content {
    margin-top: -32px;
    padding: 21px;
  }

  .featured-live-content h3 {
    font-size: 23px;
  }

  .matches-section {
    padding: 42px 0;
  }

  .toolbar-right {
    width: 100%;
  }

  .search-wrap {
    width: 100%;
  }

  .matches-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .match-thumbnail {
    height: 185px;
  }

  .match-content {
    padding: 13px;
  }

  .telegram-section {
    padding-bottom: 55px;
  }

  .telegram-card {
    padding: 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .telegram-content p {
    font-size: 10px;
  }

  .telegram-cta {
    width: 100%;
    justify-content: center;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }


  /* Player mobile */

  .player-topbar {
    height: 62px;
    padding: 0 12px;
  }

  .player-brand-text {
    font-size: 15px;
  }

  .player-brand-mark {
    width: 30px;
    height: 30px;
  }

  .stream-info {
    left: 12px;
    top: 62px;
  }

  .stream-info-inner {
    max-width: 235px;
  }

  .player-controls {
    left: 7px;
    right: 7px;
    bottom: 5px;
    padding: 0 7px 6px;
  }

  .control-bar {
    gap: 1px;
  }

  .control-btn {
    width: 31px;
    height: 31px;
  }

  .quality-btn {
    padding: 0 6px;
  }

  .live-pill {
    padding: 0 6px;
    font-size: 7px;
  }

  .big-play-btn {
    width: 58px;
    height: 58px;
  }

  .error-card {
    padding: 24px 20px;
  }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

  .hero h1 {
    font-size: 43px;
  }

  .hero-secondary {
    display: none;
  }

  .hero-primary {
    width: 100%;
  }

  .hero-actions {
    display: block;
  }

  .hero-stats {
    gap: 9px;
  }

  .hero-stat-divider {
    height: 23px;
  }

  .player-controls {
    left: 3px;
    right: 3px;
  }

  .control-btn {
    width: 28px;
  }

  .quality-btn {
    padding: 0 4px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

}

/* =========================================
   PLAYER CLEANUP
   ========================================= */

/* Hide LIVE / match information box everywhere */
.stream-info {
    display: none !important;
}

/* =========================================
   PLAYER CLEANUP
   ========================================= */

/* Hide LIVE / match information box */
.stream-info {
    display: none !important;
}

/* =========================================
   PLAYER CLEANUP
   ========================================= */

/* Hide LIVE / match information */
.stream-info {
    display: none !important;
}


/* =========================================
   PHONE LANDSCAPE
   ========================================= */

@media screen and (max-width: 900px) and (orientation: landscape) {

    /* CRICZONE logo */
    .logo-btn {
        position: fixed !important;

        /* FANCODE ke LEFT side */
        top: 12px !important;
        left: auto !important;
        right: 115px !important;

        z-index: 9999 !important;

        transform: scale(0.55) !important;
        transform-origin: top right !important;
    }

    .logo-btn img {
        height: 36px !important;
        width: auto !important;
    }
}


/* =========================================
   SMALL PHONE LANDSCAPE
   ========================================= */

@media screen and (max-width: 600px) and (orientation: landscape) {

    .logo-btn {
        position: fixed !important;

        top: 9px !important;
        left: auto !important;
        right: 105px !important;

        z-index: 9999 !important;

        transform: scale(0.48) !important;
        transform-origin: top right !important;
    }

    .logo-btn img {
        height: 34px !important;
    }
}
/* =========================================================
   CRICZONE LOGO — FIXED LEFT
========================================================= */

.player-topbar {
    justify-content: flex-start !important;
}

.player-brand {
    position: absolute !important;
    left: 18px !important;
    top: 14px !important;

    margin: 0 !important;
    z-index: 999 !important;
}

/* Desktop */
.player-brand-mark {
    width: 34px !important;
    height: 34px !important;
}

.player-brand-text {
    font-size: 17px !important;
}

/* =========================================================
   PHONE LANDSCAPE
========================================================= */

@media (max-width: 900px) and (orientation: landscape) {

    .player-brand {
        left: 10px !important;
        top: 8px !important;
        gap: 5px !important;
        padding: 3px 6px 3px 3px !important;
    }

    .player-brand-mark {
        width: 25px !important;
        height: 25px !important;
        border-radius: 7px !important;
    }

    .player-brand-text {
        font-size: 12px !important;
        letter-spacing: -.3px !important;
    }
}
/* =========================================================
   CRICZONE PREMIUM QUALITY MENU
========================================================= */

.quality-menu {
  position: fixed;
  width: 190px;
  max-width: calc(100vw - 20px);

  padding: 8px;

  background:
    linear-gradient(
      145deg,
      rgba(25, 25, 28, .98),
      rgba(8, 8, 10, .98)
    );

  border: 1px solid rgba(255,255,255,.10);

  border-radius: 16px;

  box-shadow:
    0 18px 50px rgba(0,0,0,.55),
    0 5px 18px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.06);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  z-index: 99999;

  opacity: 0;

  transform:
    translateY(10px)
    scale(.96);

  transform-origin:
    bottom right;

  pointer-events: none;

  transition:
    opacity .18s ease,
    transform .18s cubic-bezier(.2,.8,.2,1);
}


.quality-menu.show {
  opacity: 1;

  transform:
    translateY(0)
    scale(1);

  pointer-events: auto;
}


/* Header */

.quality-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding:
    7px 9px 9px;

  margin-bottom: 3px;

  color: rgba(255,255,255,.62);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: .7px;

  text-transform: uppercase;
}


.quality-auto {
  font-size: 9px;

  padding:
    3px 6px;

  border-radius: 5px;

  color: rgba(255,255,255,.55);

  background:
    rgba(255,255,255,.07);

  border:
    1px solid rgba(255,255,255,.07);
}


/* Options */

.quality-options {
  display: flex;
  flex-direction: column;

  gap: 3px;
}


.quality-option {
  width: 100%;

  min-height: 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding:
    0 11px;

  border: 0;
  outline: none;

  border-radius: 10px;

  background:
    transparent;

  color:
    rgba(255,255,255,.82);

  font-family: inherit;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background .16s ease,
    color .16s ease,
    transform .12s ease;
}


.quality-option:hover {
  background:
    rgba(255,255,255,.09);

  color:
    #fff;

  transform:
    translateX(2px);
}


.quality-option:active {
  transform:
    scale(.97);
}


/* Selected quality */

.quality-option.active {
  color:
    #fff;

  background:
    rgba(255,255,255,.10);

  box-shadow:
    inset 2px 0 0 rgba(255,255,255,.85);
}


.quality-name {
  display: flex;
  align-items: center;
}


.quality-check {
  width: 20px;
  height: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    rgba(255,255,255,.12);

  color:
    #fff;

  font-size: 12px;
  font-weight: 800;
}


/* Quality button */

#bq {
  position: relative;

  min-width: 62px;

  height: 38px;

  padding:
    0 10px;

  gap: 5px;

  border-radius: 10px;

  transition:
    background .18s ease,
    border-color .18s ease,
    transform .12s ease;
}


#bq:hover {
  background:
    rgba(255,255,255,.10);

  border-color:
    rgba(255,255,255,.16);
}


#bq:active {
  transform:
    scale(.94);
}


#qlbl {
  font-size: 11px;
  font-weight: 800;

  letter-spacing: .25px;

  white-space: nowrap;
}


/* =========================================================
   MOBILE / LANDSCAPE
========================================================= */

@media (max-width: 700px) {

  .quality-menu {
    width: 165px;

    padding: 7px;

    border-radius: 14px;
  }

  .quality-menu-header {
    font-size: 10px;

    padding:
      6px 8px 8px;
  }

  .quality-option {
    min-height: 38px;

    padding:
      0 10px;

    font-size: 12px;

    border-radius: 9px;
  }

  #bq {
    min-width: 55px;

    height: 35px;

    padding:
      0 8px;
  }

  #qlbl {
    font-size: 10px;
  }

}


@media (max-width: 900px) and (orientation: landscape) {

  .quality-menu {
    width: 160px;

    border-radius: 13px;

    padding: 6px;
  }

  .quality-option {
    min-height: 35px;

    font-size: 11px;
  }

  .quality-menu-header {
    font-size: 9px;
  }

}
