/* ════════════════════════════════════════════════════════
   KONGRES PIJACKO RODZINNY — STYLE SYSTEM
   ════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  /* Colors */
  --bg-primary: #09090f;
  --bg-secondary: #0f0f1a;
  --bg-tertiary: #161625;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --bg-glass: rgba(22, 22, 37, 0.7);

  --accent: #c9a84c;
  --accent-light: #e8c96a;
  --accent-dark: #8f7530;
  --accent-glow: rgba(201, 168, 76, 0.25);
  --accent-gradient: linear-gradient(135deg, #c9a84c, #e8a838, #d4a843);

  --text-primary: #f0ece4;
  --text-secondary: #9a9590;
  --text-muted: #5a5650;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(201, 168, 76, 0.2);

  --success: #4caf50;
  --error: #ef5350;

  /* Typography */
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-serif: "Lora", Georgia, serif;

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

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;

  /* Layout */
  --nav-height: 64px;
  --container-max: 1100px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--accent);
}

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

input {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ════════════════════════════════════════════
   PASSWORD GATE
   ════════════════════════════════════════════ */
.gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  transition:
    opacity 0.6s var(--ease-out),
    visibility 0.6s;
}

.gate.gate--unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Floating particles */
.gate__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gate__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 8s infinite ease-in-out;
}

.gate__particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 7s;
}
.gate__particle:nth-child(2) {
  left: 80%;
  top: 30%;
  animation-delay: 1.5s;
  animation-duration: 9s;
}
.gate__particle:nth-child(3) {
  left: 30%;
  top: 70%;
  animation-delay: 3s;
  animation-duration: 6s;
}
.gate__particle:nth-child(4) {
  left: 60%;
  top: 80%;
  animation-delay: 2s;
  animation-duration: 10s;
}
.gate__particle:nth-child(5) {
  left: 90%;
  top: 60%;
  animation-delay: 4s;
  animation-duration: 8s;
}
.gate__particle:nth-child(6) {
  left: 50%;
  top: 10%;
  animation-delay: 5s;
  animation-duration: 7.5s;
}

@keyframes float-particle {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
  25% {
    transform: translate(30px, -40px) scale(1.5);
    opacity: 0.5;
  }
  50% {
    transform: translate(-20px, -80px) scale(1);
    opacity: 0.3;
  }
  75% {
    transform: translate(40px, -30px) scale(1.3);
    opacity: 0.4;
  }
}

.gate__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow), var(--shadow-elevated);
  width: min(90vw, 420px);
  animation: gate-appear 0.8s var(--ease-out);
}

@keyframes gate-appear {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gate__logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-lg);
  filter: drop-shadow(0 0 20px var(--accent-glow));
  animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 15px var(--accent-glow));
  }
  50% {
    filter: drop-shadow(0 0 30px var(--accent-glow));
  }
}

.gate__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 800;
  text-align: center;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.gate__subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
}

.gate__form {
  width: 100%;
}

.gate__input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-lg);
  transition:
    border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}

.gate__input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.gate__input {
  flex: 1;
  font-size: 1rem;
  padding: var(--space-sm) 0;
  color: var(--text-primary);
}

.gate__input::placeholder {
  color: var(--text-muted);
}

.gate__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: var(--bg-primary);
  flex-shrink: 0;
  transition:
    transform var(--duration-fast) var(--ease-bounce),
    box-shadow var(--duration-fast);
}

.gate__submit:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--accent-glow);
}

.gate__submit:active {
  transform: scale(0.95);
}

.gate__error {
  text-align: center;
  color: var(--error);
  font-size: 0.85rem;
  margin-top: var(--space-md);
  animation: shake 0.5s var(--ease-out);
}

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

/* ════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition:
    background var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.nav.nav--scrolled {
  background: rgba(9, 9, 15, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-subtle);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--text-primary);
}

.nav__logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.nav__hamburger,
.nav__hamburger::before,
.nav__hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav__hamburger {
  position: relative;
}

.nav__hamburger::before,
.nav__hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__hamburger::before {
  top: -7px;
}
.nav__hamburger::after {
  top: 7px;
}

.nav__toggle[aria-expanded="true"] .nav__hamburger {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
}

.nav__link {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition:
    color var(--duration-fast),
    background var(--duration-fast);
}

.nav__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav__link--accent {
  color: var(--accent) !important;
  font-weight: 600;
}

.nav__link--accent:hover {
  background: rgba(201, 168, 76, 0.1) !important;
}

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 50% 30%,
      rgba(201, 168, 76, 0.08) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 80% 50% at 20% 80%,
      rgba(232, 168, 56, 0.05) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 80% 50% at 80% 80%,
      rgba(201, 168, 76, 0.04) 0%,
      transparent 60%
    ),
    linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

/* Bokeh dots */
.hero__bokeh {
  position: absolute;
  inset: 0;
}

.bokeh-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  animation: bokeh-drift 12s ease-in-out infinite alternate;
}

.bokeh-dot:nth-child(1) {
  width: 200px;
  height: 200px;
  left: 5%;
  top: 10%;
  animation-delay: 0s;
  opacity: 0.4;
}
.bokeh-dot:nth-child(2) {
  width: 150px;
  height: 150px;
  right: 10%;
  top: 20%;
  animation-delay: 2s;
  opacity: 0.3;
}
.bokeh-dot:nth-child(3) {
  width: 250px;
  height: 250px;
  left: 50%;
  bottom: 10%;
  animation-delay: 4s;
  opacity: 0.2;
}
.bokeh-dot:nth-child(4) {
  width: 100px;
  height: 100px;
  left: 20%;
  bottom: 30%;
  animation-delay: 1s;
  opacity: 0.35;
}
.bokeh-dot:nth-child(5) {
  width: 180px;
  height: 180px;
  right: 5%;
  bottom: 20%;
  animation-delay: 3s;
  opacity: 0.25;
}
.bokeh-dot:nth-child(6) {
  width: 120px;
  height: 120px;
  left: 60%;
  top: 5%;
  animation-delay: 5s;
  opacity: 0.3;
}
.bokeh-dot:nth-child(7) {
  width: 160px;
  height: 160px;
  left: 40%;
  top: 60%;
  animation-delay: 2.5s;
  opacity: 0.2;
}
.bokeh-dot:nth-child(8) {
  width: 90px;
  height: 90px;
  right: 30%;
  top: 50%;
  animation-delay: 6s;
  opacity: 0.35;
}

@keyframes bokeh-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, -20px) scale(1.2);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-2xl);
}

.hero__logo {
  width: clamp(140px, 25vw, 220px);
  height: clamp(140px, 25vw, 220px);
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-xl);
  filter: drop-shadow(0 0 30px var(--accent-glow));
  animation: hero-logo-float 4s ease-in-out infinite;
}

@keyframes hero-logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.hero__edition {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.hero__date {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--accent-light);
  font-weight: 500;
  margin-bottom: var(--space-2xl);
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}

.countdown__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform var(--duration-fast) var(--ease-bounce);
}

.countdown__number.tick {
  transform: scale(1.15);
}

.countdown__label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-xs);
}

.countdown__sep {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--accent-dark);
  align-self: flex-start;
  margin-top: 0.15em;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Live indicator */
.countdown__live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-light);
}

.countdown__pulse {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(76, 175, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

/* Scroll CTA */
.hero__scroll-cta {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce-down 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes bounce-down {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ════════════════════════════════════════════
   SECTION COMMON
   ════════════════════════════════════════════ */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-secondary);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.section__subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.section__line {
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: var(--radius-full);
  margin: var(--space-lg) auto 0;
}

/* ════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

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

/* ════════════════════════════════════════════
   DIRECTOR SECTION
   ════════════════════════════════════════════ */
.director__card {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-2xl) var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}

.director__quote-mark {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-xl);
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
  user-select: none;
}

.director__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  color: var(--text-primary);
  white-space: pre-line;
  margin-bottom: var(--space-xl);
}

.director__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}

.director__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.director__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director__avatar-placeholder {
  font-size: 1.5rem;
}

.director__name {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-light);
}

/* ════════════════════════════════════════════
   SCHEDULE
   ════════════════════════════════════════════ */
.schedule__tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.schedule__tab {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
}

.schedule__tab:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.schedule__tab.active {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.schedule__tab.active .schedule__tab-emoji {
  /* Already visible */
}

.schedule__tab-emoji {
  font-size: 1.1rem;
}

.schedule__date {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.schedule__timeline {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.schedule__timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--accent),
    var(--accent-dark),
    transparent
  );
}

.schedule__event {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  animation: slide-in-event var(--duration-slow) var(--ease-out) forwards;
}

.schedule__event:nth-child(1) {
  animation-delay: 0.05s;
}
.schedule__event:nth-child(2) {
  animation-delay: 0.1s;
}
.schedule__event:nth-child(3) {
  animation-delay: 0.15s;
}
.schedule__event:nth-child(4) {
  animation-delay: 0.2s;
}
.schedule__event:nth-child(5) {
  animation-delay: 0.25s;
}
.schedule__event:nth-child(6) {
  animation-delay: 0.3s;
}
.schedule__event:nth-child(7) {
  animation-delay: 0.35s;
}
.schedule__event:nth-child(8) {
  animation-delay: 0.4s;
}

@keyframes slide-in-event {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.schedule__event-dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 60px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.schedule__event-dot::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.schedule__event-card {
  flex: 1;
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition:
    border-color var(--duration-fast),
    transform var(--duration-fast);
}

.schedule__event-card:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
}

.schedule__event-time {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.schedule__event-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.schedule__event-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ════════════════════════════════════════════
   ROOMS
   ════════════════════════════════════════════ */
.rooms__search {
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
}

.rooms__search-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition:
    border-color var(--duration-fast),
    box-shadow var(--duration-fast);
}

.rooms__search-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.rooms__search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.rooms__search-input {
  flex: 1;
  font-size: 1rem;
  padding: var(--space-xs) 0;
  color: var(--text-primary);
}

.rooms__search-input::placeholder {
  color: var(--text-muted);
}

.rooms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.room-card {
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
}

.room-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.room-card.room-card--highlight {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.room-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
}

.room-card__number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.room-card__name {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.room-card__guests {
  list-style: none;
}

.room-card__guest {
  padding: var(--space-xs) 0;
  font-size: 0.9rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.room-card__guest::before {
  content: "👤";
  font-size: 0.8rem;
}

.room-card__guest.room-card__guest--match {
  color: var(--accent-light);
  font-weight: 600;
}

.room-card__guest.room-card__guest--match::before {
  content: "⭐";
}

.rooms__empty {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  padding: var(--space-3xl) 0;
}

/* ════════════════════════════════════════════
   AFTERMOVIE
   ════════════════════════════════════════════ */
.aftermovie__player {
  max-width: 800px;
  margin: 0 auto;
}

.aftermovie__frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-elevated);
}

.aftermovie__frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.aftermovie__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) var(--space-xl);
  background: var(--bg-card);
  border: 1px dashed var(--border-accent);
  border-radius: var(--radius-lg);
  text-align: center;
}

.aftermovie__placeholder-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  opacity: 0.5;
}

.aftermovie__placeholder-text {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ════════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════════ */
.gallery__content {
  text-align: center;
}

.gallery__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-2xl);
  background: var(--accent-gradient);
  color: var(--bg-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition:
    transform var(--duration-fast) var(--ease-bounce),
    box-shadow var(--duration-fast);
  box-shadow: var(--shadow-card);
}

.gallery__cta:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  color: var(--bg-primary);
}

.gallery__cta:active {
  transform: scale(0.98);
}

.gallery__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4xl) var(--space-xl);
  background: var(--bg-card);
  border: 1px dashed var(--border-accent);
  border-radius: var(--radius-lg);
}

.gallery__placeholder-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  opacity: 0.5;
}

.gallery__placeholder-text {
  color: var(--text-secondary);
}

/* ════════════════════════════════════════════
   FEEDBACK
   ════════════════════════════════════════════ */
.feedback__content {
  max-width: 700px;
  margin: 0 auto;
}

.feedback__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  background: white;
}

.feedback__frame iframe {
  width: 100%;
  min-height: 470px;
  border: none;
}

.feedback__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4xl) var(--space-xl);
  background: var(--bg-card);
  border: 1px dashed var(--border-accent);
  border-radius: var(--radius-lg);
  text-align: center;
}

.feedback__placeholder-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  opacity: 0.5;
}

.feedback__placeholder-text {
  color: var(--text-secondary);
  max-width: 400px;
  line-height: 1.6;
}

/* ════════════════════════════════════════════
   TOAST GENERATOR
   ════════════════════════════════════════════ */
.toast__card {
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-3xl) var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}

.toast__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: var(--space-2xl);
  min-height: 3.2em;
  transition: opacity var(--duration-normal);
}

.toast__text.toast__text--changing {
  opacity: 0;
}

.toast__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  background: var(--accent-gradient);
  color: var(--bg-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius-full);
  transition:
    transform var(--duration-fast) var(--ease-bounce),
    box-shadow var(--duration-fast);
  box-shadow: var(--shadow-card);
}

.toast__btn:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.toast__btn:active {
  transform: scale(0.95);
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer {
  padding: var(--space-3xl) 0;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.footer__logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-lg);
  opacity: 0.6;
}

.footer__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.footer__edition {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(9, 9, 15, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-normal) var(--ease-out);
    overscroll-behavior: contain;
  }

  .nav__menu.nav__menu--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    font-size: 1.1rem;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
  }

  .schedule__tabs {
    flex-wrap: wrap;
  }

  .schedule__tab {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
  }

  .schedule__timeline::before {
    left: 16px;
  }

  .schedule__event-dot {
    width: 32px;
  }

  .rooms__grid {
    grid-template-columns: 1fr;
  }

  .director__card {
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
  }

  .director__quote-mark {
    font-size: 4rem;
    left: var(--space-md);
    top: var(--space-sm);
  }

  .countdown__item {
    min-width: 50px;
  }

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

  .gate__card {
    padding: var(--space-2xl) var(--space-lg);
  }
}

@media (max-width: 400px) {
  .schedule__tab-label {
    font-size: 0.75rem;
  }

  .countdown__number {
    font-size: 1.6rem;
  }

  .countdown__sep {
    font-size: 1.3rem;
  }
}

/* ════════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__logo,
  .gate__particle,
  .bokeh-dot,
  .hero__scroll-cta,
  .gate__logo {
    animation: none;
  }

  .countdown__sep {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
