:root {
  --black: #080808;
  --black-2: #0e0e0e;
  --panel: #121212;
  --panel-2: #181818;
  --panel-border: rgba(255, 255, 255, 0.07);
  --white: #fdfdfd;
  --white-soft: #eaeaea;
  --muted: #9e9e9e;
  --muted-2: #666666;
  --line: rgba(255, 255, 255, 0.08);

  /* أصفر رياضي صريح وساطع بدون أي أثر للأخضر (Black & Sport Yellow) */
  --yellow: #FFC800;
  --yellow-hover: #FFD633;
  --yellow-dark: #E6B400;
  --yellow-soft: #FFAE00;
  --yellow-glow: rgba(255, 200, 0, 0.25);
  --yellow-subtle: rgba(255, 200, 0, 0.07);
  --yellow-border: rgba(255, 200, 0, 0.22);

  --red: #ff4747;
  --red-glow: rgba(255, 71, 71, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 200, 0, 0.07), transparent 35%),
    radial-gradient(circle at 10% 45%, rgba(255, 200, 0, 0.035), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(255, 200, 0, 0.04), transparent 40%),
    var(--black);
  font-family: "Cairo", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

a {
  text-decoration: none;
  color: inherit;
}

button, input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #080808;
  display: grid;
  place-items: center;
  box-shadow: 0 0 25px rgba(255, 200, 0, 0.25);
  border: 2px solid var(--yellow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.brand:hover .brand-logo {
  transform: scale(1.06);
  box-shadow: 0 0 32px rgba(255, 200, 0, 0.45);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.brand-logo.small {
  width: 34px;
  height: 34px;
  border-width: 1.5px;
}

.brand-logo.mini {
  width: 26px;
  height: 26px;
  border-width: 1.5px;
}

.card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-name b {
  color: var(--yellow);
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-right: auto;
}

.nav-links a {
  color: #a5a5a5;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.download-nav {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.download-nav:hover {
  background: var(--yellow);
  color: #050505;
  border-color: var(--yellow);
  box-shadow: 0 6px 20px rgba(255, 200, 0, 0.3);
  transform: translateY(-1px);
}

.download-nav span {
  font-size: 15px;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 0 20px 20px;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.mobile-menu a {
  color: #ccc;
  font-size: 14px;
  font-weight: 600;
}

.mobile-menu a:hover {
  color: var(--yellow);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-lines {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 200, 0, 0.03), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  padding: 80px 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 200, 0, 0.25);
  border-radius: 100px;
  background: rgba(255, 200, 0, 0.06);
  color: #ddd;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 24px;
}

.live-badge i, .live-mini i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  display: inline-block;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 14px var(--red); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

h1 {
  margin: 0;
  font-size: clamp(48px, 6.5vw, 82px);
  line-height: 1.05;
  letter-spacing: -2px;
  font-weight: 900;
}

h1 span, .about-grid h2 span, .download-copy h2 span {
  color: var(--yellow);
  background: linear-gradient(135deg, #FFD214 0%, #FFB800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy > p {
  color: #949494;
  max-width: 580px;
  font-size: 15px;
  line-height: 1.9;
  margin: 24px 0;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-yellow {
  background: linear-gradient(135deg, #FFD214 0%, #FFB800 100%);
  color: #070707;
  box-shadow: 0 10px 30px rgba(255, 200, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-yellow:hover {
  background: linear-gradient(135deg, #FFE043 0%, #FFC800 100%);
  box-shadow: 0 14px 38px rgba(255, 200, 0, 0.35);
}

.btn-outline {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #e5e5e5;
}

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

.stats {
  display: flex;
  gap: 36px;
  margin-top: 42px;
}

.stats div {
  display: flex;
  flex-direction: column;
}

.stats strong {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.stats small {
  color: #777;
  font-size: 11px;
  margin-top: 2px;
}

/* Hero Showcase Card */
.hero-card-wrap {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--yellow);
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
}

.hero-card {
  width: min(390px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: linear-gradient(150deg, #171717 0%, #0c0c0c 100%);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 200, 0, 0.06);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
}

.card-header b {
  color: var(--yellow);
}

.live-mini {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #ccc;
  font-size: 10px;
  font-weight: 700;
}

.featured-match {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.2s ease;
}

.featured-match:hover {
  border-color: rgba(255, 200, 0, 0.3);
  background: rgba(255, 200, 0, 0.03);
}

.featured-label {
  font-size: 11px;
  color: #888;
  margin-bottom: 18px;
  font-weight: 600;
}

.featured-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.featured-team-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  min-width: 80px;
}

.featured-team-item b {
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.team-crest {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
  transition: transform 0.25s ease;
}

.featured-match:hover .team-crest {
  transform: scale(1.12);
}

.featured-score {
  flex-direction: row !important;
  gap: 6px !important;
  align-items: center;
}

.featured-score strong {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
}

.featured-score em {
  font-style: normal;
  color: #666;
  font-size: 22px;
}

.fake-progress {
  height: 4px;
  background: #252525;
  border-radius: 4px;
  margin-top: 22px;
  overflow: hidden;
}

.fake-progress span {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, #FFB800, #FFD214);
}

.match-minute {
  display: flex;
  justify-content: space-between;
  color: #888;
  font-size: 10px;
  margin-top: 8px;
  font-weight: 600;
}

.hero-card-bottom {
  display: flex;
  justify-content: space-around;
  color: #777;
  font-size: 10px;
  padding-top: 18px;
  font-weight: 600;
}

/* Matches Section */
.matches-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--yellow);
  font-weight: 900;
  display: block;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 900;
  margin: 6px 0 0;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #777;
  font-size: 11px;
}

.refresh-btn {
  background: #141414;
  border: 1px solid var(--line);
  color: #bbb;
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.refresh-btn:hover {
  color: var(--yellow);
  border-color: rgba(255, 200, 0, 0.4);
  background: #1a1a1a;
}

/* Filter Toolbar */
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter {
  background: #141414;
  border: 1px solid var(--line);
  color: #888;
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.filter:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter.active {
  background: linear-gradient(135deg, #FFD214 0%, #FFB800 100%);
  color: #070707;
  border-color: var(--yellow);
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(255, 200, 0, 0.25);
}

.search {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #141414;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0 16px;
  color: #777;
  transition: border-color 0.2s ease;
}

.search:focus-within {
  border-color: rgba(255, 200, 0, 0.4);
}

.search input {
  width: 230px;
  height: 38px;
  background: none;
  border: 0;
  outline: 0;
  color: #fff;
  font-size: 12px;
}

.search input::placeholder {
  color: #666;
}

/* Live Banner */
.live-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 71, 71, 0.25);
  background: rgba(255, 71, 71, 0.05);
  padding: 13px 18px;
  border-radius: 14px;
  margin-bottom: 22px;
  font-size: 12px;
  color: #bbb;
}

.live-banner b {
  color: #fff;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red);
  animation: pulse 1.5s infinite;
}

/* League Section */
.league-section {
  margin-bottom: 32px;
}

.league-head {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 0 6px 12px;
  margin-bottom: 8px;
}

.league-head img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 6px;
}

.league-head .flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
}

.league-head h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
}

.league-country {
  color: #777;
  font-size: 11px;
}

.league-count {
  margin-right: auto;
  color: #888;
  background: #141414;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
}

/* Match Row - Grid for Desktop */
.match-row {
  display: grid;
  grid-template-columns: 85px 1fr 100px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 12px 18px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}

.match-row:hover {
  background: #161616;
  border-color: rgba(255, 200, 0, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.match-row.is-live {
  border-color: rgba(255, 71, 71, 0.35);
  background: rgba(255, 71, 71, 0.035);
}

.match-row.is-live:hover {
  border-color: rgba(255, 71, 71, 0.6);
  background: rgba(255, 71, 71, 0.07);
}

.kickoff {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.clock {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.status-tag {
  font-size: 9px;
  padding: 3px 7px;
  border-radius: 6px;
  background: #1a1a1a;
  color: #888;
  font-weight: 700;
}

.status-tag.live {
  color: #ff9b9b;
  background: rgba(255, 71, 71, 0.15);
  border: 1px solid rgba(255, 71, 71, 0.25);
}

.status-tag.finished {
  color: #aaa;
}

.team {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.team.away {
  flex-direction: row-reverse;
  text-align: right;
}

.team img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: none;
}

.team span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #161616;
  font-weight: 900;
  font-size: 19px;
}

.score .dash {
  color: #666;
  font-size: 13px;
  font-weight: 500;
}

.is-live .score {
  border-color: rgba(255, 71, 71, 0.4);
  color: #ff8e8e;
  box-shadow: 0 0 15px rgba(255, 71, 71, 0.12);
}

/* زر مشاهدة المباراة - ظاهر دائماً وبارز وواضح */
.watch-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  background: linear-gradient(135deg, #FFD214 0%, #FFB800 100%);
  color: #080808;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(255, 200, 0, 0.22);
  flex-shrink: 0;
}

.watch-btn .play-icon {
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  color: #000;
}

.watch-btn:hover {
  background: linear-gradient(135deg, #FFE043 0%, #FFC800 100%);
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(255, 200, 0, 0.4);
}

.watch-btn:active {
  transform: scale(0.97);
}

/* Loading & Empty States */
.loading, .empty {
  text-align: center;
  padding: 80px 20px;
  color: #777;
}

.loader {
  width: 42px;
  height: 42px;
  border: 3px solid #222;
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

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

/* About Section */
.about-section {
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-grid h2, .download-copy h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.2;
  margin: 8px 0 16px;
  font-weight: 900;
}

.about-grid p, .download-copy p {
  color: #888;
  font-size: 14px;
  line-height: 2;
  max-width: 570px;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.feature b {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.feature span {
  color: #bbb;
  font-weight: 600;
}

/* Download Section */
.download-section {
  padding: 30px 0 100px;
}

.download-box {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--yellow-border);
  background: radial-gradient(circle at 80% 50%, rgba(255, 200, 0, 0.08), transparent 40%), #0d0d0d;
  border-radius: 28px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transition: all 0.35s ease;
}

/* تأثير التوهج عند توجيه المستخدم لسكشن التحميل */
.highlight-pulse {
  animation: downloadPulse 1.8s ease-in-out;
}

@keyframes downloadPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 200, 0, 0.8), 0 0 50px rgba(255, 200, 0, 0.4);
    border-color: var(--yellow);
  }
  30% {
    box-shadow: 0 0 0 12px rgba(255, 200, 0, 0.25), 0 0 80px rgba(255, 200, 0, 0.6);
    border-color: var(--yellow);
    transform: scale(1.015);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(255, 200, 0, 0.1), 0 0 50px rgba(255, 200, 0, 0.3);
    border-color: var(--yellow);
  }
  100% {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border-color: var(--yellow-border);
    transform: scale(1);
  }
}

.download-box:after {
  content: "P";
  position: absolute;
  left: -45px;
  bottom: -180px;
  color: rgba(255, 255, 255, 0.015);
  font-size: 430px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.download-copy, .download-art {
  position: relative;
  z-index: 1;
}

.big-download {
  margin-top: 24px;
  min-width: 250px;
  justify-content: flex-start;
  padding: 14px 24px;
}

.download-symbol {
  font-size: 28px;
}

.big-download span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.35;
}

.big-download b {
  font-size: 14px;
}

.big-download small {
  font-size: 10px;
  opacity: 0.8;
  font-weight: 600;
}

.apk-note {
  display: block;
  color: #777;
  font-size: 10px;
  margin-top: 12px;
}

.download-art {
  text-align: center;
}

.qr {
  width: 160px;
  height: 160px;
  background: #141414;
  padding: 10px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--yellow-border);
}

.qr-inner {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 200, 0, 0.25);
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #080808;
  padding: 6px;
}

.qr-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.download-art:hover .qr-logo-img {
  transform: scale(1.06);
}

.download-art > span {
  display: block;
  color: #777;
  font-size: 10px;
  margin-top: 10px;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #777;
  font-size: 11px;
}

.footer-inner .brand-name {
  font-size: 14px;
}

.brand-logo.small {
  width: 32px;
  height: 32px;
}

.footer-inner > a:last-child {
  color: #aaa;
  font-weight: 600;
}

.footer-inner > a:last-child:hover {
  color: var(--yellow);
}

/* Toast */
.toast {
  position: fixed;
  z-index: 100;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 30px);
  background: #161616;
  color: #ffffff;
  border: 1px solid var(--yellow);
  border-radius: 14px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 200, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 40px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Responsive Media Queries */
@media (max-width: 880px) {
  .nav-links, .download-nav {
    display: none;
  }
  .menu-btn {
    display: block;
    margin-right: auto;
  }
  .mobile-menu.open {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 0;
    gap: 40px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-copy > p {
    max-width: 650px;
  }
  .stats {
    justify-content: center;
  }
  .hero-card-wrap {
    min-height: 380px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Mobile Screens: تحويل صف المباراة إلى كارت منظم وواضح لظهور زر المشاهدة بالكامل */
@media (max-width: 680px) {
  .container {
    width: calc(100% - 28px);
  }
  .nav {
    height: 66px;
  }
  h1 {
    font-size: 50px;
    letter-spacing: -2px;
  }
  .hero-buttons {
    width: 100%;
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-card {
    transform: none;
  }
  .section-head {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }
  .head-actions {
    width: 100%;
    justify-content: space-between;
  }
  .search {
    width: 100%;
    margin: 0;
  }
  .search input {
    flex: 1;
  }

  /* تنسيق كارت المباراة على الهواتف */
  .match-row {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px 8px;
    padding: 14px 14px 12px;
    border-radius: 16px;
  }

  .kickoff {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
  }

  .kickoff .clock {
    font-size: 12px;
    color: #bbb;
  }

  .team.home {
    grid-column: 1;
    justify-content: flex-start;
    gap: 8px;
  }

  .team img {
    width: 24px;
    height: 24px;
  }

  .team span {
    font-size: 11px;
  }

  .score {
    grid-column: 2;
    min-height: 36px;
    padding: 0 10px;
    font-size: 16px;
  }

  .team.away {
    grid-column: 3;
    justify-content: flex-end;
    gap: 8px;
  }

  /* زر المشاهدة على الهاتف يمتد بعرض الكارت ويكون واضحاً جداً */
  .watch-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 10px;
    margin-top: 4px;
  }

  .download-box {
    padding: 38px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }
  .download-art {
    align-self: center;
  }
  .footer-inner {
    flex-direction: column;
    gap: 14px;
  }
}
