/* ============================================================
   Circle House Guild — Soccer Star World: Football
   Main Stylesheet
   ============================================================

   TABLE OF CONTENTS
   1.  Variables & Reset
   2.  Fonts
   3.  Typography
   4.  Global Layout Utilities
   5.  Scrollbar
   6.  Skip Link
   7.  Buttons & CTAs
   8.  Header & Navigation        (Phase 3)
   9.  Mobile Menu                (Phase 3)
   10. Footer                     (Phase 3)
   11. Hero Section               (Phase 5.1)
   12. Gameplay Moment Section    (Phase 5.2)
   13. Free Kick Section          (Phase 5.3)
   14. Training Mode Section      (Phase 5.4)
   15. Match Action Section       (Phase 5.5)
   16. Goalkeeper Section         (Phase 5.6)
   17. Tournament Section         (Phase 5.7)
   18. Trophy Section             (Phase 5.8)
   19. Stadium Atmosphere Section (Phase 5.9)
   20. Modes / Cards Section      (Phase 5.10)
   21. Mobile-First Section       (Phase 5.11)
   22. Final CTA Section          (Phase 5.12)
   23. More About Game Page       (Phase 6)
   24. How To Play Page           (Phase 6)
   25. Contacts Page              (Phase 6)
   26. Legal Pages                (Phase 7)
   27. 404 Page                   (Phase 8)
   28. Cookie Consent Banner
   29. Animations & Keyframes
   30. Reduced Motion
   31. Media Queries
   ============================================================ */


/* ============================================================
   1. Variables & Reset
   ============================================================ */

:root {
  /* Brand */
  --blue-main:       #4353d2;
  --green-main:      #025e55;
  --lime-main:       #f1f706;

  /* Backgrounds */
  --bg-main:         #060813;
  --bg-soft:         #0b1024;
  --bg-card:         rgba(255, 255, 255, 0.07);
  --bg-card-hover:   rgba(255, 255, 255, 0.11);

  /* Text */
  --text-main:       #ffffff;
  --text-soft:       rgba(255, 255, 255, 0.86);
  --text-muted:      rgba(255, 255, 255, 0.68);

  /* Accents */
  --gold:            #f4c95d;
  --gold-deep:       #c98a1a;
  --red-ui:          #c51e3a;

  /* Borders / Shadows */
  --line-soft:       rgba(255, 255, 255, 0.14);
  --shadow-strong:   rgba(0, 0, 0, 0.45);

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;

  /* Border radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --header-height:         68px;
  --header-height-scrolled: 56px;
  --container-max:         1280px;
  --container-pad:         1.25rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 400;
  color: var(--text-main);
  background-color: var(--bg-main);
  background: #060813;
  background: -webkit-linear-gradient(135deg, #060813, #0b1024 45%, #025e55);
  background: linear-gradient(135deg, #060813, #0b1024 45%, #025e55);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

ul,
ol {
  list-style: none;
}

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

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Anchor offset for sticky header */
[id] {
  scroll-margin-top: var(--header-height);
}

::selection {
  background-color: var(--blue-main);
  color: var(--text-main);
}

:focus-visible {
  outline: 2px solid var(--lime-main);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ============================================================
   2. Fonts
   ============================================================ */

@font-face {
  font-family: 'Roboto Slab';
  src: url('../fonts/Roboto_Slab/RobotoSlab-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Slab';
  src: url('../fonts/Roboto_Slab/RobotoSlab-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ============================================================
   3. Typography
   ============================================================ */

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text-main);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

h4 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  color: var(--text-soft);
}

strong {
  font-weight: 700;
  color: var(--text-main);
}

small {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Text color utilities */
.text-accent { color: var(--lime-main); }
.text-gold   { color: var(--gold); }
.text-blue   { color: var(--blue-main); }
.text-muted  { color: var(--text-muted); }


/* ============================================================
   4. Global Layout Utilities
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--mid {
  max-width: 1024px;
}

.container--narrow {
  max-width: 760px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Standard section vertical padding */
.section-pad {
  padding-block: var(--space-xl);
}

.section-pad--lg {
  padding-block: var(--space-2xl);
}

/* Glassmorphism card — used in sections with image backgrounds */
.glass-panel {
  background: rgba(6, 8, 19, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}


/* ============================================================
   5. Scrollbar
   ============================================================ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--blue-main);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: #5465e8;
}


/* ============================================================
   6. Skip Link
   ============================================================ */

.skip-link {
  position: absolute;
  top: -120%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--lime-main);
  color: #000000;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
  white-space: nowrap;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid #000000;
  outline-offset: 2px;
}


/* ============================================================
   7. Buttons & CTAs
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.875rem 2rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast);
}

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

.btn:active {
  transform: translateY(0);
}

/* Primary — bold blue */
.btn--primary {
  background-color: var(--blue-main);
  color: var(--text-main);
  border-color: var(--blue-main);
}

.btn--primary:hover {
  background-color: #5465e8;
  border-color: #5465e8;
  box-shadow: 0 8px 28px rgba(67, 83, 210, 0.48);
}

/* Accent — lime high-visibility CTA */
.btn--accent {
  background-color: var(--lime-main);
  color: #000000;
  border-color: var(--lime-main);
}

.btn--accent:hover {
  background-color: #f6fc18;
  border-color: #f6fc18;
  box-shadow: 0 8px 28px rgba(241, 247, 6, 0.38);
}

/* Ghost — transparent with border */
.btn--ghost {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--line-soft);
}

.btn--ghost:hover {
  background-color: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Large size modifier */
.btn--lg {
  min-height: 60px;
  padding: 1rem 2.75rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

/* Google Play badge image link */
.badge-gplay {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  -webkit-tap-highlight-color: transparent;
}

.badge-gplay:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.badge-gplay:focus-visible {
  outline: 2px solid var(--lime-main);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

.badge-gplay img {
  display: block;
  height: 52px;
  width: auto;
}


/* ============================================================
   8. Header & Navigation
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(6, 8, 19, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    height var(--transition-base);
}

.header--scrolled {
  background: rgba(6, 8, 19, 0.98);
  border-bottom-color: var(--line-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

.header__logo img {
  height: 40px;
  width: auto;
}

/* Nav — hidden on mobile by default */
.site-nav {
  display: none;
}

.nav__list {
  display: flex;
  flex-direction: column;
}

.nav__link {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav__link:hover {
  color: var(--text-main);
  background-color: var(--bg-card);
}

.nav__link--active {
  color: var(--lime-main);
}

.nav__link--active:hover {
  color: var(--lime-main);
  background-color: rgba(241, 247, 6, 0.07);
}

/* CTA inside nav — shown in mobile nav and on desktop */
.nav__cta {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.nav__hamburger:hover {
  background-color: var(--bg-card);
}

.hamburger__bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}


/* ============================================================
   9. Mobile Menu
   ============================================================ */

body.menu-is-open {
  overflow: hidden;
}

/*
 * backdrop-filter on the header creates a containing block for position:fixed
 * children, breaking the full-screen overlay. Remove it while the menu is open
 * so the fixed nav positions correctly against the viewport.
 */
body.menu-is-open .site-header {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Hamburger → X when menu open */
.nav__hamburger[aria-expanded="true"] .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger[aria-expanded="true"] .hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger[aria-expanded="true"] .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav open — full-screen overlay below the sticky header */
@media (max-width: 1023px) {
  .site-nav.menu--open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    inset: 0;
    z-index: 98;
    padding-top: var(--header-height);
    padding-inline: var(--container-pad);
    padding-bottom: 2.5rem;
    background: rgba(6, 8, 19, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow-y: auto;
    animation: navFadeIn 0.22s ease forwards;
  }

  .site-nav.menu--open .nav__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line-soft);
    margin-top: 1rem;
  }

  .site-nav.menu--open .nav__list li {
    border-bottom: 1px solid var(--line-soft);
  }

  .site-nav.menu--open .nav__link {
    width: 100%;
    padding: 1.125rem 0.5rem;
    font-size: 1.1875rem;
    border-radius: 0;
  }

  .site-nav.menu--open .nav__cta {
    display: flex;
    justify-content: center;
    margin-top: var(--space-lg);
    width: 100%;
    min-height: 56px;
    font-size: 1.0625rem;
  }
}

@keyframes navFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================================================
   10. Footer
   ============================================================ */

.site-footer {
  background: rgba(11, 16, 36, 0.96);
  border-top: 1px solid var(--line-soft);
  padding-block: var(--space-2xl) var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__logo-link {
  display: inline-flex;
  border-radius: var(--radius-sm);
}

.footer__logo-link img {
  height: 48px;
  width: auto;
}

.footer__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 38ch;
}

.footer__nav-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__nav-link {
  font-size: 0.9375rem;
  color: var(--text-soft);
  transition: color var(--transition-fast);
}

.footer__nav-link:hover {
  color: var(--lime-main);
}

.footer__contact {
  margin-top: var(--space-md);
  font-style: normal;
}

.footer__email {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blue-main);
  transition: color var(--transition-fast);
}

.footer__email:hover {
  color: #5465e8;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-soft);
}

.footer__copyright,
.footer__company {
  font-size: 0.8125rem;
  color: var(--text-muted);
}


/* ============================================================
   Shared section utilities
   ============================================================ */

.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-main);
  margin-bottom: 0.75rem;
}

.feature-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-main);
  flex-shrink: 0;
}


/* ============================================================
   11. Hero Section
   ============================================================ */

.section-hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-xl) var(--space-2xl);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero__glow-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(67, 83, 210, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(2, 94, 85, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__headline {
  margin-bottom: var(--space-md);
}

.hero__lead {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--text-soft);
  max-width: 52ch;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: var(--space-md);
}

.hero__badge {
  margin-top: 0.5rem;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Gold light streak decorations */
.hero__streak {
  position: absolute;
  height: 1px;
  border-radius: 1px;
  pointer-events: none;
}

.hero__streak--1 {
  top: 25%;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(244, 201, 93, 0.55) 40%, rgba(244, 201, 93, 0.55) 60%, transparent 100%);
  animation: lightStreak 4s ease-in-out infinite 0.5s;
}

.hero__streak--2 {
  top: 55%;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(67, 83, 210, 0.4) 35%, rgba(67, 83, 210, 0.4) 65%, transparent 100%);
  animation: lightStreak 4s ease-in-out infinite 2s;
}

.hero__mockup {
  width: 100%;
  max-width: 580px;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5));
  animation: floatUp 7s ease-in-out infinite;
  position: relative;
  z-index: 1;
}


/* ============================================================
   12. Gameplay Moment Section
   ============================================================ */

.section-gameplay {
  position: relative;
  overflow: hidden;
}

/* Dark gradient overlay on top of bg image */
.section-gameplay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 8, 19, 0.92) 0%,
    rgba(6, 8, 19, 0.65) 50%,
    rgba(6, 8, 19, 0.2) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.gameplay__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gameplay__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gameplay__container {
  position: relative;
  z-index: 2;
  padding-block: var(--space-2xl);
  display: flex;
  align-items: center;
  min-height: 520px;
}

.gameplay__panel {
  width: 100%;
  max-width: 460px;
}

.gameplay__panel h2 {
  margin-block: 0.75rem var(--space-md);
}

.gameplay__panel p {
  margin-bottom: var(--space-lg);
}


/* ============================================================
   13. Free Kick Section
   ============================================================ */

.section-freekick {
  position: relative;
  overflow: hidden;
}

.section-freekick::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(2, 94, 85, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.freekick__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.freekick__content h2 {
  margin-block: 0.75rem var(--space-md);
}

.freekick__content > p {
  max-width: 48ch;
  margin-bottom: var(--space-lg);
}

.freekick__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-lg);
}

.freekick__feature-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-soft);
}

.freekick__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.freekick__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(67, 83, 210, 0.2) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: radialExpand 4s ease-in-out infinite;
}

.freekick__mockup {
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}


/* ============================================================
   14. Training Mode Section
   ============================================================ */

.section-training {
  position: relative;
  overflow: hidden;
}

.section-training::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(67, 83, 210, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.training__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(241, 247, 6, 0.07);
  pointer-events: none;
}

.training__ring--1 {
  width: 340px;
  height: 340px;
  top: 8%;
  right: -80px;
  animation: rotateSlow 22s linear infinite;
}

.training__ring--2 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  right: 8%;
  animation: rotateSlow 15s linear infinite reverse;
}

.training__header {
  max-width: 580px;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.training__header h2 {
  margin-block: 0.75rem var(--space-md);
}

.training__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.training__card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
}

.training__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.training__card:hover img {
  transform: scale(1.03);
}

.training__card--accent {
  position: relative;
  background: linear-gradient(135deg, rgba(67, 83, 210, 0.22), rgba(2, 94, 85, 0.18));
  border-color: rgba(67, 83, 210, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  min-height: 200px;
}

.training__card-text {
  position: relative;
  z-index: 1;
  text-align: center;
}

.training__card-text h3 {
  color: var(--lime-main);
  margin-bottom: 0.5rem;
}

.training__card-text p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.training__target {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(241, 247, 6, 0.08) 0%, transparent 60%);
  animation: radialExpand 4s ease-in-out infinite;
  pointer-events: none;
}


/* ============================================================
   15. Match Action Section
   ============================================================ */

.section-match {
  position: relative;
}

.match__header {
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

.match__header h2 {
  margin-block: 0.75rem var(--space-md);
}

.match__header p {
  max-width: 52ch;
}

.match__collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.match__panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(67, 83, 210, 0.25);
  box-shadow: 0 0 0 1px rgba(67, 83, 210, 0.12);
}

.match__panel img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.match__panel:hover img {
  transform: scale(1.04);
}

/* Glow border on hover */
.match__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(67, 83, 210, 0.6);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.match__panel:hover::after {
  opacity: 1;
}


/* ============================================================
   16. Goalkeeper Section
   ============================================================ */

.section-goalkeeper {
  position: relative;
  overflow: hidden;
}

/* Subtle top light beam */
.section-goalkeeper::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 55%;
  transform: translateX(-50%);
  width: 3px;
  height: 55%;
  background: linear-gradient(180deg, rgba(244, 201, 93, 0.5) 0%, transparent 100%);
  filter: blur(18px);
  pointer-events: none;
}

.goalkeeper__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.goalkeeper__content h2 {
  margin-block: 0.75rem var(--space-md);
}

.goalkeeper__content p {
  max-width: 48ch;
  margin-bottom: var(--space-lg);
}

.goalkeeper__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.goalkeeper__beam {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  pointer-events: none;
}

.goalkeeper__beam--1 {
  left: 5%;
  background: linear-gradient(180deg, rgba(244, 201, 93, 0.1) 0%, transparent 75%);
  transform: skewX(-8deg);
}

.goalkeeper__beam--2 {
  right: 5%;
  background: linear-gradient(180deg, rgba(67, 83, 210, 0.1) 0%, transparent 75%);
  transform: skewX(8deg);
}

.goalkeeper__img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.55));
  position: relative;
  z-index: 1;
}


/* ============================================================
   17. Tournament Section
   ============================================================ */

.section-tournament {
  position: relative;
  overflow: hidden;
}

.tournament__bracket-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tournament__bracket-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.09;
  filter: blur(1px);
}

.tournament__container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding-block: var(--space-2xl);
}

.tournament__panel {
  width: 100%;
  max-width: 480px;
}

.tournament__panel h2 {
  margin-block: 0.75rem var(--space-md);
}

.tournament__panel > p {
  margin-bottom: var(--space-lg);
}

.tournament__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-lg);
}

.tournament__feature {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--text-soft);
}


/* ============================================================
   18. Trophy Section
   ============================================================ */

.section-trophy {
  position: relative;
  overflow: hidden;
}

/* Subtle gold hairline top border */
.section-trophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
}

.trophy__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.trophy__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.trophy__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(244, 201, 93, 0.2) 0%, rgba(201, 138, 26, 0.07) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlowGold 4.5s ease-in-out infinite;
}

.trophy__bg-phone {
  position: absolute;
  top: 5%;
  left: 0;
  width: 38%;
  height: auto;
  opacity: 0.12;
  filter: blur(2px);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.trophy__img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5));
}

.trophy__content h2 {
  margin-block: 0.75rem var(--space-md);
}

.trophy__content p {
  max-width: 48ch;
  margin-bottom: var(--space-lg);
}


/* ============================================================
   19. Stadium Atmosphere Section
   ============================================================ */

.section-stadium {
  position: relative;
  overflow: hidden;
}

/* Multi-stop dark overlay */
.section-stadium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 8, 19, 0.72) 0%,
    rgba(6, 8, 19, 0.48) 45%,
    rgba(6, 8, 19, 0.82) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.stadium__layer-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stadium__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stadium__layer--back {
  opacity: 1;
}

.stadium__layer--front {
  opacity: 0.4;
  mix-blend-mode: screen;
}

.stadium__container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding-block: var(--space-2xl);
  text-align: center;
}

.stadium__content {
  max-width: 640px;
}

.stadium__content h2 {
  margin-block: 0.75rem var(--space-md);
}

.stadium__content p {
  max-width: 54ch;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}


/* ============================================================
   20. Modes / Cards Section
   ============================================================ */

.section-modes {
  position: relative;
}

.modes__header {
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

.modes__header h2 {
  margin-block: 0.75rem var(--space-md);
}

.modes__header p {
  max-width: 52ch;
}

.modes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.mode-card:hover {
  border-color: rgba(67, 83, 210, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.mode-card__img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.mode-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.mode-card:hover .mode-card__img-wrap img {
  transform: scale(1.05);
}

.mode-card__body {
  padding: var(--space-md);
}

.mode-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.mode-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}


/* ============================================================
   21. Mobile-First Section
   ============================================================ */

.section-mobile {
  position: relative;
  overflow: hidden;
}

.section-mobile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 100%;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(67, 83, 210, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.mobile-sec__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.mobile-sec__content h2 {
  margin-block: 0.75rem var(--space-md);
}

.mobile-sec__content > p {
  max-width: 48ch;
  margin-bottom: var(--space-lg);
}

.mobile-sec__perks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-sec__perks li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--text-soft);
}

.mobile-sec__perks li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-main);
  flex-shrink: 0;
}

.mobile-sec__visual {
  display: flex;
  justify-content: center;
  padding-inline: 2rem;
}

.mobile-sec__phone-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
}

.mobile-sec__phone {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 28px;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5));
}

/* UI callout bubbles */
.callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: rgba(11, 16, 36, 0.92);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.callout__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime-main);
  flex-shrink: 0;
}

.callout--top-right {
  top: 10%;
  right: -8px;
  animation: floatUp 4s ease-in-out infinite 0s;
}

.callout--mid-left {
  top: 46%;
  left: -8px;
  animation: floatUp 4s ease-in-out infinite 1.3s;
}

.callout--bottom-right {
  bottom: 14%;
  right: -8px;
  animation: floatUp 4s ease-in-out infinite 0.7s;
}


/* ============================================================
   22. Final CTA Section
   ============================================================ */

.section-final-cta {
  position: relative;
  overflow: hidden;
  background: #060813;
  background: -webkit-linear-gradient(135deg, #060813 0%, #0b1024 38%, rgba(2, 94, 85, 0.3) 68%, #060813 100%);
  background: linear-gradient(135deg, #060813 0%, #0b1024 38%, rgba(2, 94, 85, 0.3) 68%, #060813 100%);
  text-align: center;
}

/* Gold hairline top border */
.section-final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.final-cta__trails {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-trail {
  position: absolute;
  height: 1px;
  width: 45%;
  border-radius: 1px;
}

.cta-trail--1 {
  top: 22%;
  left: -45%;
  background: linear-gradient(90deg, transparent, rgba(241, 247, 6, 0.55), transparent);
  animation: lightStreak 5.5s ease-in-out infinite 0s;
}

.cta-trail--2 {
  top: 65%;
  left: -45%;
  background: linear-gradient(90deg, transparent, rgba(241, 247, 6, 0.4), transparent);
  animation: lightStreak 5.5s ease-in-out infinite 2s;
}

.cta-trail--3 {
  top: 44%;
  left: -45%;
  background: linear-gradient(90deg, transparent, rgba(67, 83, 210, 0.45), transparent);
  animation: lightStreak 5.5s ease-in-out infinite 3.5s;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-inline: auto;
}

.final-cta__headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-block: 0.75rem var(--space-md);
}

.final-cta__text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 44ch;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
}


/* ============================================================
   23. Page Hero (shared — more-about-game, how-to-play)
   ============================================================ */

.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(6, 8, 19, 0.55) 0%,
    rgba(6, 8, 19, 0.78) 60%,
    rgba(6, 8, 19, 0.95) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.page-hero__content h1 {
  margin-top: var(--space-xs);
  margin-bottom: var(--space-md);
}

.page-hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 0;
}


/* ============================================================
   24. About Game Page
   ============================================================ */

/* — About Intro — */
.about-intro__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.about-intro__img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  margin-inline: auto;
}

.about-intro__features {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-intro__feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.about-intro__feature strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: var(--space-2xs);
}

.about-intro__feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* — Pillars — */
.pillars__grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.pillar-card {
  padding: 0;
  overflow: hidden;
}

.pillar-card__img-wrap {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.pillar-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-card__img-wrap img {
  transform: scale(1.04);
}

.pillar-card__body {
  padding: var(--space-lg);
}

.pillar-card__body h3 {
  margin-bottom: var(--space-sm);
}

.pillar-card__body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* — About Tournament — */
.about-tournament__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.about-tournament__img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  margin-inline: auto;
}

.about-tournament__copy p {
  color: var(--text-secondary);
  max-width: 540px;
}

/* — About Stadium — */
.section-about-stadium {
  position: relative;
  overflow: hidden;
  min-height: 46vh;
  display: flex;
  align-items: center;
}

.section-about-stadium__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-about-stadium__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-about-stadium__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(6, 8, 19, 0.82) 0%,
    rgba(6, 8, 19, 0.65) 50%,
    rgba(6, 8, 19, 0.88) 100%
  );
}

.section-about-stadium__content {
  position: relative;
  z-index: 2;
}

.section-about-stadium__lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 0;
}

/* — About CTA — */
.about-cta p {
  max-width: 560px;
  margin-inline: auto;
  color: var(--text-secondary);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}


/* ============================================================
   25. How to Play Page
   ============================================================ */

/* — HTP Basics — */
.htp-basics__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.htp-basics__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.htp-basics__copy p {
  color: var(--text-secondary);
  max-width: 540px;
}

/* — HTP Free Kick — */
.htp-freekick__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.htp-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.htp-steps-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.htp-step-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-accent);
  line-height: 1;
  min-width: 3rem;
  font-variant-numeric: tabular-nums;
}

.htp-step h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.05rem;
}

.htp-step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.htp-freekick__img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  margin-inline: auto;
}

/* — HTP Training — */
.htp-training__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.htp-training__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.htp-training__copy p {
  color: var(--text-secondary);
  max-width: 540px;
}

/* — HTP Goalkeeper — */
.htp-goalkeeper__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.htp-goalkeeper__img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  margin-inline: auto;
}

.htp-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.htp-tip {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.htp-tip-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1;
  min-width: 3rem;
}

.htp-tip h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.05rem;
}

.htp-tip p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* — HTP Match — */
.section-htp-match {
  position: relative;
  overflow: hidden;
  min-height: 46vh;
  display: flex;
  align-items: center;
}

.section-htp-match__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-htp-match__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-htp-match__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(6, 8, 19, 0.85) 0%,
    rgba(6, 8, 19, 0.60) 50%,
    rgba(6, 8, 19, 0.90) 100%
  );
}

.section-htp-match__content {
  position: relative;
  z-index: 2;
}

.section-htp-match__lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 0;
}

/* — HTP CTA — */
.htp-cta p {
  max-width: 540px;
  margin-inline: auto;
  color: var(--text-secondary);
}


/* ============================================================
   26. Legal Pages (privacy-policy, terms, cookie-policy)
   ============================================================ */

.legal-page__header {
  max-width: 720px;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--line-soft);
}

.legal-page__header h1 {
  margin-top: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.legal-page__meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.legal-page__body {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.legal-section h2 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--line-soft);
}

.legal-section h3 {
  font-size: 1rem;
  color: var(--clr-accent);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  line-height: 1.7;
}

.legal-section a {
  color: var(--clr-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.legal-section a:hover,
.legal-section a:focus-visible {
  opacity: 0.75;
}

/* Cookies table */
.legal-table-wrap {
  overflow-x: auto;
  margin-block: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table code {
  font-family: monospace;
  font-size: 0.875rem;
  color: var(--clr-accent);
  background: rgba(0, 210, 180, 0.08);
  padding: 0.1em 0.4em;
  border-radius: 3px;
}

/* Contact box at bottom */
.legal-page__contact-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.legal-page__contact-box p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.legal-page__email {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-gold);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.legal-page__email:hover,
.legal-page__email:focus-visible {
  opacity: 0.8;
  text-decoration: underline;
}


/* ============================================================
   27. 404 Page
   ============================================================ */

.page-404 {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-404__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(0, 210, 180, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 60%, rgba(255, 193, 7, 0.05) 0%, transparent 60%);
}

.page-404__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.page-404__number {
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.9;
  user-select: none;
}

.page-404__heading {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  margin: 0;
}

.page-404__lead {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

.page-404__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  margin-top: var(--space-sm);
}

.page-404__badge {
  margin-top: var(--space-xs);
}

@media (min-width: 480px) {
  .page-404__actions {
    flex-direction: row;
    justify-content: center;
  }
}


/* ============================================================
   28. Contacts Page (was 27)
   ============================================================ */

/* — Contacts — */
.contacts-page__top {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.contacts-page__lead {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.contacts-page__card-wrap {
  display: flex;
  justify-content: center;
}

.contact-card {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-card__logo {
  display: flex;
  justify-content: center;
  padding-bottom: var(--space-sm);
}

.contact-card__divider {
  height: 1px;
  background: var(--line-soft);
  margin-block: var(--space-xs);
}

.contact-card__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-accent);
  margin: 0 0 var(--space-2xs);
}

.contact-card__value {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin: 0;
}

.contact-card__address {
  font-style: normal;
}

.contact-card__email {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-gold);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-card__email:hover,
.contact-card__email:focus-visible {
  opacity: 0.8;
  text-decoration: underline;
}

.contact-card__game {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-card__badge {
  align-self: flex-start;
}


/* ============================================================
   28. Cookie Consent Banner
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: var(--space-md) var(--space-md);
  background: rgba(6, 8, 19, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-soft);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner--visible {
  transform: translateY(0);
}

/* keep display:block so the slide-out transition plays before hidden takes effect */
.cookie-banner[hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cookie-banner__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.cookie-banner__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.cookie-banner__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.cookie-banner__link {
  color: var(--clr-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.cookie-banner__link:hover,
.cookie-banner__link:focus-visible {
  opacity: 0.75;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-banner__btn {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
  }

  .cookie-banner__actions {
    flex-direction: row;
    align-items: center;
  }
}


/* ============================================================
   29. Animations & Keyframes
   ============================================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(241, 247, 6, 0.3); }
  50%       { box-shadow: 0 0 48px rgba(241, 247, 6, 0.65), 0 0 90px rgba(241, 247, 6, 0.18); }
}

@keyframes pulseGlowGold {
  0%, 100% { box-shadow: 0 0 24px rgba(244, 201, 93, 0.3); }
  50%       { box-shadow: 0 0 56px rgba(244, 201, 93, 0.6), 0 0 100px rgba(244, 201, 93, 0.2); }
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes lightStreak {
  0%   { transform: translateX(-150%) skewX(-18deg); opacity: 0; }
  35%  { opacity: 0.8; }
  100% { transform: translateX(260%) skewX(-18deg); opacity: 0; }
}

@keyframes radialExpand {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(1.1); }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Scroll-reveal system */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.22s; }
.reveal--delay-3 { transition-delay: 0.38s; }

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   29. Reduced Motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal--delay-1,
  .reveal--delay-2,
  .reveal--delay-3 {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ============================================================
   30. Media Queries
   — Responsive overrides added here as sections are built.
   ============================================================ */

@media (min-width: 640px) {
  :root {
    --container-pad: 1.5rem;
  }

  /* Modes: 2-col */
  .modes__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Training: landscape + (portrait & accent) side by side */
  .training__cards {
    grid-template-columns: 1fr 1fr;
  }

  .training__card:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  :root {
    --container-pad: 2rem;
  }

  /* Footer: 3-column grid */
  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Match: 3-col staggered collage */
  .match__collage {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .match__panel img {
    height: 300px;
  }

  .match__panel--mid {
    transform: translateY(28px);
  }
}

@media (min-width: 1024px) {
  :root {
    --container-pad: 2.5rem;
    --header-height: 72px;
  }

  /* Header desktop: show nav, hide hamburger */
  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }

  .nav__link {
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem;
  }

  .nav__cta {
    display: inline-flex;
    margin-left: 0.75rem;
  }

  .header__actions {
    display: none;
  }

  .header__logo img {
    height: 46px;
  }

  /* Hero: 2-column */
  .section-hero {
    min-height: 90vh;
    padding-block: var(--space-2xl);
  }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .hero__mockup {
    max-width: 100%;
    animation-duration: 8s;
  }

  /* Free kick: 2-column split */
  .freekick__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .freekick__mockup {
    max-width: 340px;
  }

  /* Training: 3-col floating cards */
  .training__cards {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }

  .training__card:first-child {
    grid-column: auto;
    transform: rotate(-2deg) translateY(12px);
  }

  .training__card--portrait {
    transform: rotate(1.5deg) translateY(-16px);
    z-index: 1;
  }

  .training__card--accent {
    transform: rotate(-1deg) translateY(6px);
  }

  .training__card--accent:hover {
    transform: rotate(-1deg) translateY(2px);
  }

  /* Goalkeeper: 2-column, image breaks top/bottom frame */
  .goalkeeper__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .goalkeeper__img {
    max-width: 500px;
    margin-block: -60px;
  }

  /* Trophy: 2-column (visual left, content right) */
  .trophy__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .trophy__img {
    max-width: 420px;
  }

  /* Mobile-first: 2-column */
  .mobile-sec__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .mobile-sec__visual {
    padding-inline: 0;
  }

  .mobile-sec__phone {
    max-width: 300px;
  }

  /* Modes: 3-col */
  .modes__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Page hero: taller on desktop */
  .page-hero {
    min-height: 60vh;
  }

  /* About intro: 2-col */
  .about-intro__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-3xl);
  }

  .about-intro__media {
    flex: 0 0 auto;
  }

  .about-intro__img {
    max-width: 280px;
    margin-inline: 0;
  }

  /* Pillars: 3-col */
  .pillars__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* About Tournament: 2-col (text left, portrait right) */
  .about-tournament__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-3xl);
  }

  .about-tournament__copy {
    flex: 1;
  }

  .about-tournament__media {
    flex: 0 0 auto;
  }

  .about-tournament__img {
    max-width: 280px;
    margin-inline: 0;
  }

  /* CTA actions: row layout */
  .cta-actions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  /* HTP Basics: 2-col (text left, image right) */
  .htp-basics__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-3xl);
  }

  .htp-basics__copy {
    flex: 1;
  }

  .htp-basics__img {
    flex: 0 0 auto;
    max-width: 500px;
  }

  /* HTP Freekick: steps left, image right */
  .htp-freekick__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-3xl);
  }

  .htp-steps {
    flex: 1;
  }

  .htp-freekick__media {
    flex: 0 0 auto;
  }

  .htp-freekick__img {
    max-width: 280px;
    margin-inline: 0;
  }

  /* HTP Training: image left, text right */
  .htp-training__inner {
    flex-direction: row-reverse;
    align-items: center;
    gap: var(--space-3xl);
  }

  .htp-training__copy {
    flex: 1;
  }

  .htp-training__img {
    flex: 0 0 auto;
    max-width: 500px;
  }

  /* HTP Goalkeeper: image left, tips right */
  .htp-goalkeeper__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-3xl);
  }

  .htp-goalkeeper__media {
    flex: 0 0 auto;
  }

  .htp-goalkeeper__img {
    max-width: 260px;
    margin-inline: 0;
  }

  .htp-tips {
    flex: 1;
  }
}

@media (min-width: 1280px) {
  :root {
    --container-pad: 3rem;
  }
}
