/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
:root {
  /* Colors */
  --bg-dark: #130b12;
  --bg-card: #111111;
  --gold-primary: #C9A84C;
  --gold-light: #E8D48B;
  --text-main: #F0EDE8;
  --text-muted: #8A8A8A;
  --border-gold: rgba(201, 168, 76, 0.2);
  --overlay-dark: rgba(10, 10, 10, 0.85);

  /* Gradients */
  --btn-gradient: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  
  /* Typography — headings: El Messiri, body: Tajawal */
  --font-heading: 'El Messiri', sans-serif;
  --font-body: 'Tajawal', sans-serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --topbar-height: 44px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Extended design tokens — Phase 1 */
  --glow-gold: 0 0 24px rgba(201, 168, 76, 0.2), 0 0 4px rgba(201, 168, 76, 0.12);
  --glow-gold-strong: 0 0 50px rgba(201, 168, 76, 0.3);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.4);
  --blur-glass: blur(20px);
  --duration-enter: 0.7s;
  --duration-micro: 0.22s;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-back: cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-primary);
}

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--btn-gradient);
  color: var(--bg-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(201, 168, 76, 0.2);
  color: var(--bg-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* Section Titles */
.section-title {
  font-size: clamp(1.55rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--gold-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: clamp(2rem, 6vw, 4rem);
  font-size: clamp(0.92rem, 2.4vw, 1.1rem);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color var(--transition-fast);
  will-change: transform;
  transform-style: preserve-3d;
}

.card:hover {
  box-shadow: var(--shadow-elevated);
  border-color: rgba(201, 168, 76, 0.5);
}

/* Tilt disabled on touch */
@media (pointer: coarse) {
  .card:hover { transform: translateY(-6px); }
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  color: var(--text-main);
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--glow-gold);
  transition: border-color var(--duration-micro), box-shadow var(--duration-micro), background var(--duration-micro);
}

.form-control.is-invalid {
  border-color: #e74c3c;
  animation: shake 0.4s ease;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ---- Focus-visible ring (Phase 1) ---- */
:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
  border-radius: 3px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 4px;
}

/* ---- Scroll Animations (Phase 3) ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-enter) var(--ease-out-expo),
              transform var(--duration-enter) var(--ease-out-expo);
  transition-delay: var(--stagger-delay, 0s);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Directional variants */
.animate-on-scroll[data-anim="fade-left"] { transform: translateX(-44px); }
.animate-on-scroll[data-anim="fade-right"] { transform: translateX(44px); }
.animate-on-scroll[data-anim="scale-in"]  { transform: scale(0.86); }
.animate-on-scroll[data-anim="clip-up"]   { clip-path: inset(0 0 100% 0); transform: none; }

.animate-on-scroll[data-anim="fade-left"].visible  { transform: translateX(0); }
.animate-on-scroll[data-anim="fade-right"].visible { transform: translateX(0); }
.animate-on-scroll[data-anim="scale-in"].visible   { transform: scale(1); }
.animate-on-scroll[data-anim="clip-up"].visible    { clip-path: inset(0 0 0% 0); }

/* Prevent horizontal overflow from slide animations on mobile */
@media (max-width: 768px) {
  .animate-on-scroll[data-anim="fade-left"],
  .animate-on-scroll[data-anim="fade-right"] {
    transform: translateY(24px);
  }
}

/* ---- Section Title Split Text (Phase 3c) ---- */
.section-title .title-word {
  display: inline-block;
  clip-path: inset(0 0 100% 0);
  transform: translateY(12px);
  opacity: 0;
  transition: clip-path 0.55s var(--ease-out-expo),
              transform 0.55s var(--ease-out-expo),
              opacity 0.4s ease;
  transition-delay: var(--word-delay, 0s);
}
.section-title.words-visible .title-word {
  clip-path: inset(0 0 0% 0);
  transform: translateY(0);
  opacity: 1;
}
/* Gold underline that grows from center */
.section-title .title-underline {
  display: none;
}

/* ==========================================================================
   Layout Sections (index.html)
   ========================================================================== */

/* Top bar (social + contact) — above main navbar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  min-height: var(--topbar-height);
  padding: 0.35rem 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: var(--bg-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}

.top-bar__social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.top-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.22);
  color: var(--gold-primary);
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), transform var(--transition-fast),
              box-shadow var(--transition-fast);
}

.top-bar__icon:hover {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--bg-dark);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(201, 168, 76, 0.35);
}

.top-bar__icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.top-bar__contact {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.top-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.top-bar__link:hover {
  color: var(--gold-light);
}

.top-bar__link svg {
  flex-shrink: 0;
}

.top-bar__icon--mail {
  color: var(--gold-primary);
}

.top-bar__icon--whatsapp {
  color: var(--gold-primary);
}

/* Top bar: hidden on mobile (contact remains in footer / page content) */
@media (max-width: 768px) {
  :root { --topbar-height: 0px; }

  .top-bar {
    display: none !important;
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all var(--transition-fast);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 15px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
  display: block;
}

.navbar.scrolled .logo-img {
  height: 40px;
}

.footer .logo-img {
  height: 52px;
  max-width: 240px;
}

.logo:hover .logo-img {
  opacity: 0.92;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Nav: participation + competition rules submenu */
.nav-item--dropdown {
  position: relative;
}

.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-submenu a {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
  color: rgba(240, 237, 232, 0.88);
}

.nav-submenu a:hover {
  color: var(--gold-primary);
}

@media (min-width: 769px) {
  .nav-item--dropdown .nav-submenu {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 260px;
    padding: 0.45rem 0;
    background: rgba(12, 8, 14, 0.97);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s var(--ease-out-expo), visibility 0.22s;
    z-index: 1002;
  }

  [dir="rtl"] .nav-item--dropdown .nav-submenu {
    left: auto;
    right: 50%;
    transform: translateX(50%) translateY(4px);
  }

  .nav-item--dropdown:hover .nav-submenu,
  .nav-item--dropdown:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  [dir="rtl"] .nav-item--dropdown:hover .nav-submenu,
  [dir="rtl"] .nav-item--dropdown:focus-within .nav-submenu {
    transform: translateX(50%) translateY(0);
  }

  .nav-submenu li {
    padding: 0.35rem 1rem;
    text-align: center;
  }
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  /* base reset — visual style applied via .lang-cta-btn */
}

/* Nav CTA button */
.nav-cta {
  padding: 9px 22px;
  font-size: 0.88rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.25);
}

/* CTA-style language switcher */
.lang-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--gold-primary);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15) 0%, rgba(201, 168, 76, 0.05) 100%);
  color: var(--gold-primary);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.15);
}

.lang-cta-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-dark);
  box-shadow: 0 4px 18px rgba(201, 168, 76, 0.4);
  transform: translateY(-1px);
}

.lang-cta-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lang-cta-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.lang-cta-text {
  line-height: 1;
}

/* Hamburger button (Phase 8) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.32s var(--ease-out-expo), opacity 0.2s ease, width 0.2s ease;
  transform-origin: center;
}

.mobile-menu-btn.is-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-btn.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  height: 85vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--bg-dark);
  background-image: url("../assets/hero-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Cursor-following glow (Phase 2b) */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 380px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(201, 168, 76, 0.08),
    transparent 65%
  );
  z-index: 2;
  pointer-events: none;
  transition: background 0.12s ease;
}
@media (pointer: coarse) {
  .hero::after { display: none; }
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  mix-blend-mode: screen;
  z-index: 1;
  animation: patternDrift 28s linear infinite;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 10, 0.35) 0%,
    rgba(10, 10, 10, 0.15) 45%,
    rgba(10, 10, 10, 0.30) 100%
  );
  z-index: 2;
  animation: heroOverlayReveal 1.6s ease forwards;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Phase 2: Hero cinematic entrance */
.hero-event-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-primary);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 100px;
  padding: 0.35rem 1.1rem;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease-out-expo) 0.2s forwards;
}

.hero-title {
  font-size: 4.2rem;
  margin-bottom: 0.9rem;
  color: var(--text-main);
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
  clip-path: inset(0 0 100% 0);
  animation: heroTitleReveal 0.9s var(--ease-out-expo) 0.5s forwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(240, 237, 232, 0.8);
  margin-bottom: 2.2rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 1.0s forwards;
}

/* ---- Hero Countdown (embedded) ---- */
.hero-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.4rem;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 1.2s forwards;
}

.hero-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 5.75rem;
  height: 5.75rem;
  min-width: 5.75rem;
  min-height: 5.75rem;
  padding: 0;
  flex-shrink: 0;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.32);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.hero-countdown__unit:hover {
  border-color: rgba(201, 168, 76, 0.6);
  background: rgba(201, 168, 76, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 36px rgba(201, 168, 76, 0.15);
}

.hero-countdown__value {
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-light);
  text-shadow: 0 2px 12px rgba(201, 168, 76, 0.35);
  min-width: 2.4ch;
  text-align: center;
}

.hero-countdown__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.8);
  line-height: 1.15;
  text-align: center;
  max-width: 4.2rem;
}

.hero-countdown__sep {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.5);
  line-height: 1;
  align-self: center;
  padding-top: 0;
  margin-bottom: 0;
}

.hero-cta {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

.hero-cta .btn {
  opacity: 0;
  transform: translateY(14px);
}

.hero-cta .btn:nth-child(1) {
  animation: heroFadeUp 0.7s var(--ease-out-expo) 1.7s forwards;
}

.hero-cta .btn:nth-child(2) {
  animation: heroFadeUp 0.7s var(--ease-out-expo) 1.85s forwards;
}

@media (max-width: 768px) {
  .hero-countdown__unit {
    width: 4.85rem;
    height: 4.85rem;
    min-width: 4.85rem;
    min-height: 4.85rem;
  }
  .hero-countdown__value { font-size: 1.65rem; }
  .hero-countdown__label { font-size: 0.58rem; max-width: 3.8rem; }
  .hero-countdown__sep { font-size: 1.45rem; }
}

@media (max-width: 480px) {
  .hero-countdown { gap: 0.35rem; }
  .hero-countdown__unit {
    width: 4.35rem;
    height: 4.35rem;
    min-width: 4.35rem;
    min-height: 4.35rem;
    gap: 0.12rem;
  }
  .hero-countdown__value { font-size: 1.45rem; }
  .hero-countdown__label { font-size: 0.52rem; letter-spacing: 0.05em; }
  .hero-countdown__sep { display: none; }
}

/* --------------------------------------------------------------------------
   Below hero: announcement banner + countdown
   -------------------------------------------------------------------------- */
.hero-after {
  position: relative;
  z-index: 5;
}

.announce-banner {
  position: relative;
  background:
    radial-gradient(ellipse 80% 120% at 50% -30%, rgba(201, 168, 76, 0.12), transparent 55%),
    linear-gradient(135deg, #1a1020 0%, #130b12 60%, #1a1020 100%);
  border-top: 1px solid rgba(201, 168, 76, 0.3);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  padding: 2rem 1.25rem;
  max-height: 400px;
  overflow: hidden;
  opacity: 1;
  transition: max-height 0.55s var(--ease-out-expo),
              opacity 0.4s ease,
              padding 0.45s ease;
}

.announce-banner--dismissed {
  max-height: 0 !important;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.announce-banner__close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.announce-banner__close:hover {
  color: var(--bg-dark);
  background: var(--gold-primary);
  border-color: var(--gold-primary);
}

.announce-banner__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline-end: 2.5rem;
}

.announce-banner__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.35);
}

.announce-banner__icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: var(--bg-dark);
}

.announce-banner__content {
  flex: 1;
  min-width: 0;
}

.announce-banner__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin: 0 0 0.4rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.announce-banner__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.announce-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--bg-dark);
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  padding: 0.45rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.3);
}

.announce-banner__link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.45);
}

@media (max-width: 640px) {
  .announce-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .announce-banner__icon { display: none; }
}

.countdown-strip {
  background: var(--bg-dark);
  padding: 1.25rem 0 1.5rem;
  border-bottom: 1px solid var(--border-gold);
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.countdown__unit {
  flex: 0 0 auto;
  min-width: 5.5rem;
  padding: 0.85rem 1.25rem;
  background: var(--gold-primary);
  color: #fff;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.countdown__value {
  display: inline-block;
  position: relative;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  min-width: 2.4ch;
  text-align: center;
}

.countdown__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.95;
  margin-top: 0.25rem;
}

@media (max-width: 576px) {
  .announce-banner {
    padding-top: 2.75rem;
  }

  .countdown__unit {
    min-width: calc(50% - 1.5rem);
  }
}

/* About Section */
.about {
  padding: var(--section-padding);
  background-color: var(--bg-dark);
  overflow: hidden;
}

.about-text__title {
  text-align: start;
}

.about-text__title .title-underline {
  transform-origin: inline-start center;
}

.about-organizer {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 1.5rem;
}

.about-organizer__text {
  margin: 0;
  flex: 1 1 220px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.55;
}

.about-organizer__logo {
  flex-shrink: 0;
  max-height: 88px;
  width: auto;
  max-width: min(200px, 100%);
  object-fit: contain;
}

.about-readmore {
  margin-top: 1.25rem;
}

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

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.about-image::after {
  content: '';
  display: block;
  padding-bottom: 100%; /* 1:1 aspect ratio */
}

.about-image svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  opacity: 0.5;
  color: var(--gold-primary);
}

.about-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Festival days programme (below About) */
.festival-program {
  padding: calc(var(--section-padding) * 0.85) var(--section-padding);
  background: var(--bg-dark);
}

.festival-program__inner {
  max-width: 820px;
  margin-inline: auto;
}

.festival-program__eyebrow {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  font-weight: 600;
  color: #fff3bf;
  text-align: center;
  line-height: 1.55;
  max-width: 52rem;
  margin: 0 auto 0.6rem;
}

.festival-program__title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.festival-program__prose p {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-muted);
  text-align: start;
}

.festival-program__prose p:last-child {
  margin-bottom: 0;
}

/* Highlights Section — solid brand background */
.highlights {
  padding: var(--section-padding);
  background-color: var(--bg-dark);
  overflow: hidden;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.highlight-card {
  text-align: center;
}

.highlight-card--media {
  text-align: start;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.highlight-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border-gold);
}

.highlight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s var(--ease-out-expo);
}

.highlight-card--media:hover .highlight-card__media img {
  transform: scale(1.04);
}

.highlight-card__body {
  padding: 1.35rem 1.5rem 1.65rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.highlight-card__body h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--gold-primary);
  text-align: start;
}

.highlight-card__body p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: start;
}

.highlight-icon {
  font-size: 3rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

/* Artists Section */
.artists {
  padding: var(--section-padding);
}

.artists-scroll {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) var(--bg-card);
}

.artists-scroll::-webkit-scrollbar {
  height: 6px;
}

.artists-scroll::-webkit-scrollbar-track {
  background: var(--bg-card);
  border-radius: 10px;
}

.artists-scroll::-webkit-scrollbar-thumb {
  background-color: var(--gold-primary);
  border-radius: 10px;
}

.artist-card {
  flex: 0 0 300px;
  text-align: center;
}

.artist-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: var(--bg-card);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.artist-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.artist-country {
  color: var(--gold-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.artists--jury .artist-card {
  flex: 0 0 min(300px, 85vw);
}

.artists--jury .artist-name {
  font-size: 1.12rem;
  line-height: 1.45;
  font-weight: 600;
}

.artists--jury .artist-country {
  text-transform: none;
  letter-spacing: 0;
}

.artists--jury .artist-photo--jury {
  padding: 0;
  overflow: hidden;
  display: block;
}

.artists--jury .artist-photo--jury img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Schedule Section */
.schedule {
  padding: var(--section-padding);
  background: #0f0f0f;
}

.schedule--sponsors {
  background: var(--bg-dark);
}

.schedule--sponsors .sponsor-form,
.sponsor-page .sponsor-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 2.25rem 2.25rem;
  text-align: start;
}

.schedule-cta {
  max-width: 520px;
  margin: 2rem auto 0;
  padding: 2rem 1.75rem;
  text-align: center;
}

.schedule-cta__btn {
  min-width: min(100%, 280px);
}

/* Sponsor CTA: no dark card fill — sits on section background */
.schedule-cta.card {
  background: transparent;
  box-shadow: none;
}

.schedule-cta.card:hover {
  box-shadow: var(--glow-gold);
}

.sponsor-page__intro {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.sponsor-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.sponsor-form__full {
  grid-column: 1 / -1;
}

.sponsor-form select.form-control {
  cursor: pointer;
  appearance: auto;
  background: #0a0a0a;
  color: var(--text-main);
  color-scheme: dark;
}

.sponsor-form select.form-control:focus {
  background: #0d0d0d;
}

.sponsor-form select.form-control option {
  background-color: #0a0a0a;
  color: var(--text-main);
}

.sponsor-form__note {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.sponsor-form__submit {
  min-width: 200px;
}

@media (max-width: 768px) {
  .schedule--sponsors .sponsor-form,
  .sponsor-page .sponsor-form {
    padding: 1.5rem 1.25rem;
  }

  .sponsor-form__grid {
    grid-template-columns: 1fr;
  }
}

.schedule-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  padding: 12px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-dark);
  border-color: var(--gold-primary);
}

.tab-panel {
  display: none;
  max-width: 800px;
  margin: 0 auto;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.schedule-item {
  display: flex;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-gold);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-time {
  width: 150px;
  font-size: 1.2rem;
  color: var(--gold-primary);
  font-weight: 600;
}

.schedule-info h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.schedule-info p {
  color: var(--text-muted);
}

/* Gallery Section */
.gallery {
  padding: var(--section-padding);
  overflow: hidden;
}

.gallery-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  position: relative;
}

.gallery-item::before {
  content: '';
  display: block;
  padding-bottom: 75%; /* Default aspect ratio */
}

.gallery-item:nth-child(even)::before {
  padding-bottom: 125%; /* Varied aspect ratio for masonry effect */
}

.gallery-item--photo::before {
  display: none;
}

.gallery-item--photo {
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item--photo:nth-child(even) {
  aspect-ratio: 3 / 4;
}

.gallery-item--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s var(--ease-out-expo);
}

.gallery-item--photo:hover img {
  transform: scale(1.03);
}

.gallery-item:not(.gallery-item--photo) svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-muted);
  opacity: 0.3;
  width: 40px;
  height: 40px;
}

/* Tickets Section */
.tickets {
  padding: var(--section-padding);
  background: var(--bg-dark);
  overflow: hidden;
}

.tickets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.tickets-grid--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}

.ticket-card {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.ticket-card .ticket-features {
  flex: 1;
}

.ticket-card__badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-primary);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.ticket-card__badge--gold {
  background: var(--gold-primary);
  color: var(--bg-dark);
  border-color: var(--gold-primary);
}

.ticket-card__desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.ticket-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: auto;
}

.ticket-card.featured {
  border-color: var(--gold-primary);
  transform: scale(1.04);
  z-index: 1;
}

.ticket-card.featured::before {
  display: none;
}

.ticket-price {
  font-size: 3rem;
  color: var(--gold-primary);
  font-family: var(--font-heading);
  margin: 1.5rem 0;
}

.ticket-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.ticket-features {
  margin-bottom: 2rem;
}

.ticket-features li {
  padding: 10px 0;
  color: var(--text-muted);
}

/* Nomination stages (before artist CTA) */
.nomination-stages {
  position: relative;
  padding: var(--section-padding);
  overflow: hidden;
  background: var(--bg-dark);
}

/* Top ornamental divider */
.nomination-stages__ornament {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(320px, 80vw);
  line-height: 0;
  opacity: 0.85;
}

.nomination-stages__ornament svg {
  width: 100%;
  height: auto;
}

/* Process track — horizontal row */
.nomination-stages__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2rem;
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 0.5rem;
}

/* Connecting line removed per design */
.nomination-stages__connector {
  display: none;
}

/* Individual step */
.nomination-stages__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  padding: 0 1rem 2rem;
  animation-delay: var(--step-delay, 0s);
}

/* Large ghost number */
.nomination-stages__num {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, rgba(232, 212, 139, 0.18) 0%, rgba(201, 168, 76, 0.08) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: -1.2rem;
  pointer-events: none;
  user-select: none;
}

/* Icon circle */
.nomination-stages__icon-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.75rem;
  height: 5.75rem;
  border-radius: 50%;
  color: var(--gold-light);
  background: #161016;
  border: 1.5px solid rgba(201, 168, 76, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 6px rgba(201, 168, 76, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease-out-expo);
  margin-bottom: 1.5rem;
}

.nomination-stages__step:hover .nomination-stages__icon-wrap {
  border-color: rgba(201, 168, 76, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 8px rgba(201, 168, 76, 0.1),
    var(--glow-gold),
    0 14px 36px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

/* Gold ring for the last (winner) step */
.nomination-stages__icon-wrap--gold {
  background: linear-gradient(145deg, rgba(201, 168, 76, 0.15), rgba(232, 212, 139, 0.08));
  border-color: rgba(201, 168, 76, 0.6);
}

.nomination-stages__icon {
  width: 2.4rem;
  height: 2.4rem;
}

/* Text block */
.nomination-stages__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.nomination-stages__label {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

.nomination-stages__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 18rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nomination-stages__track {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 0.5rem 0;
  }

  .nomination-stages__step {
    flex-direction: row;
    text-align: start;
    align-items: flex-start;
    padding: 1.35rem 0.5rem;
    gap: 1.25rem;
  }

  .nomination-stages__num {
    font-size: 3rem;
    margin-bottom: 0;
    min-width: 2.2rem;
    display: none;
  }

  .nomination-stages__icon-wrap {
    flex-shrink: 0;
    width: 4.25rem;
    height: 4.25rem;
    margin-bottom: 0;
  }

  .nomination-stages__body {
    padding-top: 0.2rem;
  }
}

/* Artist CTA Section */
.artist-cta {
  position: relative;
  padding: clamp(5rem, 12vw, 8.5rem) 0;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.28);
  border-bottom: 1px solid rgba(201, 168, 76, 0.28);
  background-color: var(--bg-dark);
  background-image: url("../images/artist-cta-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.artist-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 20%, rgba(201, 168, 76, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 90% 60% at 50% 120%, rgba(80, 50, 110, 0.2) 0%, transparent 42%),
    linear-gradient(
      185deg,
      rgba(4, 2, 8, 0.92) 0%,
      rgba(14, 10, 22, 0.78) 42%,
      rgba(8, 5, 14, 0.85) 72%,
      rgba(3, 2, 6, 0.94) 100%
    );
  pointer-events: none;
}

.artist-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(circle at 18% 35%, rgba(255, 255, 255, 0.07) 0%, transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(201, 168, 76, 0.1) 0%, transparent 24%),
    radial-gradient(circle at 50% 88%, rgba(255, 255, 255, 0.05) 0%, transparent 32%);
  pointer-events: none;
}

.artist-cta__wrap {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-inline: auto;
}

.artist-cta__rim {
  padding: 2px;
  border-radius: 28px;
  background: linear-gradient(
    125deg,
    rgba(232, 212, 139, 0.95),
    rgba(201, 168, 76, 0.75),
    rgba(120, 75, 140, 0.55),
    rgba(201, 168, 76, 0.85),
    rgba(160, 110, 180, 0.45),
    rgba(201, 168, 76, 0.9),
    rgba(232, 212, 139, 0.8)
  );
  background-size: 380% 380%;
  animation: artistCtaRim 12s ease-in-out infinite;
  box-shadow:
    0 0 0 1px rgba(201, 168, 76, 0.15),
    0 36px 100px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(201, 168, 76, 0.1);
}

@keyframes artistCtaRim {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

.artist-cta__inner {
  position: relative;
  border-radius: 26px;
  padding: clamp(2.1rem, 5vw, 3rem) clamp(1.6rem, 4vw, 2.6rem) clamp(2.25rem, 5vw, 3.1rem);
  text-align: center;
  background: linear-gradient(168deg, #1c1624 0%, #100c14 38%, #0a080e 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.artist-cta__inner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 55%;
  background: radial-gradient(ellipse, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.artist-cta__kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 0.65rem;
  color: var(--gold-primary);
  filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.35));
}

.artist-cta__kicker-icon {
  display: block;
  width: 2.1rem;
  height: 2.1rem;
  margin-inline: auto;
  opacity: 0.92;
}

.artist-cta__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.9rem;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  color: var(--text-main);
  text-shadow: 0 0 56px rgba(201, 168, 76, 0.22), 0 4px 32px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.03em;
}

.artist-cta__title::after {
  content: '';
  display: block;
  width: 4.5rem;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), var(--gold-light), var(--gold-primary), transparent);
  opacity: 0.85;
}

.artist-cta__subtitle {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem !important;
  max-width: 30em;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
  color: rgba(240, 237, 232, 0.9);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
  line-height: 1.7;
}

.artist-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
}

.artist-cta__fee {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding-inline: 2.5rem;
  padding-block: 1rem;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  color: var(--bg-dark);
  border-radius: 999px;
  border: none;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.3), 0 14px 44px rgba(0, 0, 0, 0.25);
}

.artist-cta__fee:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.artist-cta__actions .artist-cta__btn {
  flex: 1 1 12rem;
  width: auto;
  margin: 0;
  box-sizing: border-box;
}

.artist-cta__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 2.5rem;
  padding-block: 1rem;
  font-size: 1.08rem;
  border-radius: 999px;
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.3), 0 14px 44px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}

.artist-cta__btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 40px rgba(201, 168, 76, 0.42), 0 18px 52px rgba(0, 0, 0, 0.45);
}

@media (max-width: 576px) {
  .artist-cta__wrap {
    margin-inline: 0.75rem;
  }

  .artist-cta__actions {
    flex-wrap: wrap;
    max-width: 22rem;
  }

  .artist-cta__fee,
  .artist-cta__actions .artist-cta__btn {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .artist-cta__rim {
    animation: none;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.85), rgba(140, 95, 160, 0.5), rgba(201, 168, 76, 0.8));
    background-size: 100% 100%;
  }

  .artist-cta__btn:hover {
    transform: none;
  }
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  background: var(--bg-dark);
}

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

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

.footer-about p {
  color: var(--text-muted);
  margin-top: 1.5rem;
  max-width: 400px;
}

.footer-title {
  font-size: 1.2rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201, 168, 76, 0.15);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.social-icons a:hover {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-gold);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   Subpages (tickets.html, artist-registration.html)
   ========================================================================== */
.page-header {
  padding: calc(110px + var(--topbar-height)) 0 80px;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-card), var(--bg-dark));
  border-bottom: 1px solid var(--border-gold);
}

.page-content {
  padding: var(--section-padding);
}

/* Competition rules page */
.rules-page {
  background: var(--bg-dark);
}

.rules-container {
  max-width: 820px;
  margin: 0 auto;
}

.rules-article {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.rules-header {
  text-align: center;
}

.rules-header .rules-title {
  margin-bottom: 0.65rem;
}

.rules-lead {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  line-height: 1.75;
  color: rgba(240, 237, 232, 0.92);
}

.rules-options-heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.rules-block {
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.rules-block .rules-h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--text-main);
}

.rules-block .rules-h4 {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
}

.rules-ol {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  line-height: 1.75;
}

.rules-ol li {
  margin-bottom: 0.85rem;
}

.rules-ol li:last-child {
  margin-bottom: 0;
}

.rules-ol a {
  color: var(--gold-primary);
  word-break: break-all;
}

.rules-ol a:hover {
  text-decoration: underline;
}

.rules-example-title {
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.rules-example {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  border: 1px solid var(--border-gold);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
  white-space: pre-line;
}

.rules-footnote {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.rules-fee,
.rules-pay {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-primary);
}

.rules-pay {
  margin-top: 0.35rem;
}

/* CTA inside each rules card */
.rules-cta {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 168, 76, 0.18);
}

.rules-cta__btn {
  min-width: 200px;
}

/* Full-width CTA banner below all rules */
.rules-cta-banner {
  padding: 4rem 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201, 168, 76, 0.1), transparent 60%),
    var(--bg-dark);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.rules-cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3rem;
  flex-wrap: wrap;
}

.rules-cta-banner__text {
  flex: 1 1 0;
  min-width: 0;
}

.rules-cta-banner__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.rules-cta-banner__sub {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 52ch;
}

.rules-cta-banner__btn {
  flex-shrink: 0;
  min-width: 180px;
  padding-inline: 2.5rem;
}

@media (max-width: 640px) {
  .rules-cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }
  .rules-cta-banner__sub { max-width: 100%; }
  .rules-cta-banner__btn { width: 100%; }
}

.rules-presenter {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-primary);
  line-height: 1.55;
}

.benefits-ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits-ul li {
  position: relative;
  margin-bottom: 1rem;
  padding-inline-start: 1rem;
  border-inline-start: 3px solid rgba(201, 168, 76, 0.55);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.benefits-ul li:last-child {
  margin-bottom: 0;
}

/* Contact page */
.contact-page .contact-container {
  max-width: 900px;
  margin: 0 auto;
}

.contact-lead {
  margin: 0 auto 2rem;
  max-width: 42rem;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(240, 237, 232, 0.9);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.65rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform 0.25s var(--ease-out-expo);
}

.contact-card:hover {
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow: var(--glow-gold);
  transform: translateY(-3px);
}

.contact-card--wide {
  grid-column: 1 / -1;
}

.contact-card--plain:hover {
  transform: none;
}

.contact-card__label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 0.35rem;
}

.contact-card__hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.contact-card__value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  word-break: break-all;
}

.contact-card__address {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.contact-organizer {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 576px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Artist registration form */
.register-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 2.25rem 2.5rem;
  text-align: start;
  position: relative;
  overflow: hidden;
}

.register-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(201, 168, 76, 0.12), transparent 55%);
  pointer-events: none;
}

.register-form > * {
  position: relative;
  z-index: 1;
}

.register-form__intro {
  margin-bottom: 2rem;
}

.register-form__progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.register-form__progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-primary), #e8d4a0);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.45);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.register-form__progress-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.register-form__section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.register-form__section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1.5rem;
}

.register-form__section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
}

.register-form__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bg-dark);
  background: linear-gradient(145deg, var(--gold-primary), #b8923a);
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.35);
  flex-shrink: 0;
}

.register-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

.register-form .form-group {
  margin-bottom: 1.25rem;
}

.register-form__grid .form-group {
  margin-bottom: 0;
}

.register-form select.form-control {
  cursor: pointer;
  appearance: auto;
  background: #0a0a0a;
  color: var(--text-main);
  color-scheme: dark;
}

.register-form select.form-control:focus {
  background: #0d0d0d;
}

.register-form select.form-control option {
  background-color: #0a0a0a;
  color: var(--text-main);
}

.register-form__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.register-form__label-row .form-label {
  margin-bottom: 0;
}

.register-form__bio-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.register-form__bio-count.is-near-limit {
  color: var(--gold-primary);
}

.register-form__fee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.75rem 0 1.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.02));
}

.register-form__fee-icon {
  display: flex;
  color: var(--gold-primary);
  opacity: 0.95;
}

.register-form__fee-text {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-primary);
}

.register-form__submit {
  margin-top: 0.25rem;
}

.register-form__error {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
  color: #ffb4b4;
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.35);
}

.register-form__error.is-visible {
  display: block;
  animation: register-form-error-in 0.35s ease;
}

@keyframes register-form-error-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .register-form {
    padding: 1.5rem 1.25rem 2rem;
  }

  .register-form__grid {
    grid-template-columns: 1fr;
  }
}

.ticket-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ticket-radio {
  display: none;
}

.ticket-option {
  display: block;
  padding: 1.5rem;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.ticket-radio:checked + .ticket-option {
  border-color: var(--gold-primary);
  background: rgba(201, 168, 76, 0.05);
}

.ticket-option h4 {
  margin-bottom: 0.5rem;
}

.ticket-option .price {
  font-size: 1.5rem;
  color: var(--gold-primary);
}

.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: transparent;
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.qty-input {
  width: 60px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 600;
}

/* Success Page */
.success-container {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 100px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 2rem;
  border: 2px solid var(--gold-primary);
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */

@keyframes patternDrift {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-5%, -3%); }
  100% { transform: translate(0, 0); }
}

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

@keyframes heroTitleReveal {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0% 0); }
}

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

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-7px); }
  40%      { transform: translateX(7px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

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

@keyframes stroke {
  to { stroke-dashoffset: 0; }
}

@keyframes particleBurst {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--tx, 0px), var(--ty, -50px)) scale(0); opacity: 0; }
}

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

@keyframes lightboxScale {
  from { transform: scale(0.82); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

@keyframes digitFlipIn {
  from { transform: translateY(60%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

@keyframes digitFlipOut {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(-60%); opacity: 0; }
}

/* ==========================================================================
   Scroll Progress Bar (Phase 5)
   ========================================================================== */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
  z-index: 1003;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ==========================================================================
   Language Switch Transition (Phase 4e)
   ========================================================================== */
[data-i18n] {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

body.lang-switching [data-i18n] {
  opacity: 0;
  transform: translateY(4px);
}

/* ==========================================================================
   Countdown Digit Flip (Phase 4c)
   ========================================================================== */
.countdown__digit-inner {
  display: block;
}

.countdown__digit-inner.flip-out {
  animation: digitFlipOut 0.28s var(--ease-out-expo) forwards;
}

.countdown__digit-inner.flip-in {
  animation: digitFlipIn 0.28s var(--ease-out-expo) forwards;
}

/* ==========================================================================
   Magnetic Buttons + Loading State (Phase 4a + Phase 7)
   ========================================================================== */
.btn {
  will-change: transform;
}

.btn .btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  flex-shrink: 0;
  margin-inline-end: 8px;
}

.btn.is-loading .btn-spinner { display: block; }
.btn.is-loading .btn-text    { opacity: 0.75; }
.btn.is-loading              { cursor: wait; pointer-events: none; }

/* ==========================================================================
   Gallery Lightbox (Phase 6)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  animation: lightboxFadeIn 0.35s ease;
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 88vw;
  max-height: 82vh;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  overflow: hidden;
  animation: lightboxScale 0.4s var(--ease-out-expo);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 180px;
}

.lightbox__content svg,
.lightbox__content img {
  width: auto;
  height: auto;
  max-width: 80vw;
  max-height: 75vh;
  display: block;
  padding: 2rem;
  color: var(--gold-primary);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(10, 10, 10, 0.8);
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-micro), color var(--duration-micro);
  line-height: 1;
}

.lightbox__close:hover {
  background: var(--gold-primary);
  color: var(--bg-dark);
}

/* Make gallery items interactive */
.gallery-item {
  cursor: pointer;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--glow-gold);
}

/* ==========================================================================
   Success Page Checkmark + Particles (Phase 7)
   ========================================================================== */
.success-checkmark-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
}

.success-checkmark {
  width: 72px;
  height: 72px;
}

.success-checkmark__circle {
  stroke: var(--gold-primary);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  fill: none;
  animation: stroke 0.65s var(--ease-out-expo) forwards;
}

.success-checkmark__check {
  stroke: var(--gold-primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  fill: none;
  animation: stroke 0.45s var(--ease-out-expo) 0.7s forwards;
}

.success-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.success-particles .particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  opacity: 0;
  animation: particleBurst 0.8s var(--ease-out-expo) forwards;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1200px) {
  .hero-title { font-size: 3.5rem; }
}

@media (max-width: 992px) {
  :root { --section-padding: 72px 0; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; max-width: 500px; margin: 0 auto; }
  .highlights-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .gallery-grid { column-count: 2; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-links-grid { grid-template-columns: 1fr; }

  .page-header { padding: calc(90px + var(--topbar-height)) 0 56px; }
}

/* ---- Tablet breakpoint ---- */
@media (max-width: 900px) {
  .hero-title { font-size: 2.8rem; }
  .tickets-grid--three { grid-template-columns: repeat(2, 1fr); }
  .tickets-grid--three .ticket-card:last-child { grid-column: 1 / -1; max-width: 420px; margin-inline: auto; }
}

@media (max-width: 768px) {
  :root { --section-padding: 56px 0; }

  /* Navbar */
  .logo-img { height: 36px; }
  .navbar.scrolled .logo-img { height: 32px; }

  .mobile-menu-btn {
    display: flex;
    z-index: 999;
    position: relative;
    width: 44px;
    height: 44px;
  }

  .nav-controls { gap: 0.5rem; }

  .nav-cta {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .lang-cta-btn {
    padding: 7px 12px;
    font-size: 0.8rem;
    gap: 5px;
  }

  /* Phase 8: Fullscreen mobile nav overlay */
  .nav-links {
    position: fixed;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    transition: opacity 0.38s ease;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    transform: translateY(22px);
    opacity: 0;
    transition: transform 0.4s var(--ease-out-expo), opacity 0.35s ease;
  }

  .nav-links.active li:nth-child(1) { transform: translateY(0); opacity: 1; transition-delay: 0.10s; }
  .nav-links.active li:nth-child(2) { transform: translateY(0); opacity: 1; transition-delay: 0.17s; }
  .nav-links.active li:nth-child(3) { transform: translateY(0); opacity: 1; transition-delay: 0.24s; }
  .nav-links.active li:nth-child(4) { transform: translateY(0); opacity: 1; transition-delay: 0.31s; }
  .nav-links.active li:nth-child(5) { transform: translateY(0); opacity: 1; transition-delay: 0.38s; }
  .nav-links.active li:nth-child(6) { transform: translateY(0); opacity: 1; transition-delay: 0.45s; }
  .nav-links.active li:nth-child(7) { transform: translateY(0); opacity: 1; transition-delay: 0.52s; }
  .nav-links.active li:nth-child(8) { transform: translateY(0); opacity: 1; transition-delay: 0.59s; }

  .nav-links a {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }

  .nav-item--dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }

  .nav-item--dropdown .nav-submenu {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
  }

  .nav-submenu li {
    padding: 0;
  }

  .nav-submenu a {
    font-size: 1.05rem !important;
    color: var(--gold-primary);
    letter-spacing: 0.04em;
  }

  /* Hero */
  .hero {
    height: 68vh;
    min-height: 400px;
    background-position: center center;
  }

  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.15rem; }
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
    min-height: 44px;
    justify-content: center;
  }

  /* Schedule */
  .schedule-item { flex-direction: column; gap: 1rem; }
  .schedule-time { width: 100%; }

  /* Tickets */
  .tickets-grid--three { grid-template-columns: 1fr; }
  .tickets-grid { grid-template-columns: 1fr; }
  .ticket-card.featured { transform: scale(1); }

  /* Artist CTA — fix fee wrapping on tablet */
  .artist-cta__actions {
    flex-wrap: wrap;
    max-width: 28rem;
  }
  .artist-cta__fee,
  .artist-cta__actions .artist-cta__btn {
    flex: 1 1 auto;
    width: 100%;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .social-icons { justify-content: center; }
  .footer-about p { margin: 1.5rem auto 0; }
  .footer-links-col { text-align: center; }
  .footer-links-col ul { padding: 0; }

  /* Subpages */
  .ticket-selection { grid-template-columns: 1fr; }
  .page-header { padding: calc(80px + var(--topbar-height)) 0 44px; }
  .page-header .hero-title { font-size: clamp(1.5rem, 6vw, 2.4rem); }
}

/* ---- Artist CTA: mid-tablet ---- */
@media (max-width: 640px) {
  .artist-cta__wrap { margin-inline: 0.75rem; }
  .artist-cta__actions { max-width: 22rem; }
}

@media (max-width: 576px) {
  :root { --section-padding: 44px 0; }

  .gallery-grid { column-count: 1; }
  .schedule-tabs { flex-direction: column; }

  /* Announcement banner */
  .announce-banner { padding: 2.25rem 1rem 1.5rem; }
  .announce-banner__title { font-size: 1rem; }
  .announce-banner__text { font-size: 0.88rem; }
  .announce-banner__link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Tickets */
  .ticket-card { padding: 1.75rem 1.25rem; }
  .ticket-price { font-size: 2.4rem; }

  /* Nomination */
  .nomination-stages__step { padding: 1rem; }
  .nomination-stages__icon-wrap {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }

  /* Footer */
  .footer-grid { gap: 2rem; }
  .footer .logo-img { height: 44px; }
  .social-icons { gap: 0.5rem; }
  .social-icons a { width: 34px; height: 34px; }

  /* Page header */
  .page-header { padding: calc(70px + var(--topbar-height)) 0 36px; }
}

/* ---- Small phones: hide nav CTA, keep only hamburger + lang ---- */
@media (max-width: 400px) {
  .nav-cta { display: none; }
  .lang-cta-btn {
    padding: 6px 10px;
    font-size: 0.76rem;
  }
  .logo-img { height: 32px; }
}

/* ---- Very small phones (320-480px) ---- */
@media (max-width: 480px) {
  .hero { height: 62vh; min-height: 360px; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-cta .btn { max-width: 100%; }
  .hero-countdown { gap: 0.5rem; }

  .nav-links a { font-size: 1.25rem; }
  .nav-links { gap: 1.5rem; }

  .about-grid { gap: 1.5rem; }
  .highlights-grid { max-width: 100%; }
  .highlight-card { padding: 1.5rem 1rem; }

  .tickets-grid { gap: 1rem; }
  .ticket-card { padding: 1.5rem 1rem; }
  .ticket-price { font-size: 2rem; }

  .nomination-stages__track { gap: 1rem; }
  .nomination-stages__icon-wrap { width: 44px; height: 44px; font-size: 1.1rem; }

  .artist-cta__inner { padding: 1.75rem 1rem 2rem; }
  .artist-cta__title { font-size: 1.6rem; }

  .footer-grid { gap: 1.75rem; }
  .footer-bottom { padding: 1.25rem 0; font-size: 0.82rem; }

  .page-header { padding: calc(64px + var(--topbar-height)) 0 28px; }
  .page-header .hero-title { font-size: 1.5rem; }
}

/* ==========================================================================
   Touch / Pointer Enhancements
   ========================================================================== */
@media (hover: none) and (pointer: coarse) {
  /* Active states for touch devices */
  .btn:active {
    opacity: 0.82;
    transform: scale(0.98);
  }
  .social-icons a:active {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--bg-dark);
  }
  .top-bar__icon:active {
    background: var(--gold-primary);
    color: var(--bg-dark);
  }
  .nav-links a:active {
    color: var(--gold-primary);
  }
  .ticket-card:active {
    transform: scale(0.99);
  }
  .announce-banner__link:active {
    opacity: 0.85;
  }
  /* Ensure min touch target size */
  .btn {
    min-height: 44px;
  }
  .top-bar__link {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  .nav-cta {
    min-height: 44px;
  }
}

/* ==========================================================================
   Reduced Motion (Phase 1) — global override
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.12s !important;
  }
  .hero-title, .hero-subtitle, .hero-cta .btn, .hero-event-date, .hero-countdown {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .hero-pattern {
    animation: none;
  }
}
