/* Brand variables: red & gold */
:root {
  --ff-primary: #970707; /* dunkelrot */
  --ff-primary-deep: #5e0404; /* dunkleres rot */
  --ff-accent: #d9a53f; /* gold */
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;

  --card-bg: rgba(16, 16, 16, 0.22);
  --card-border: rgba(255, 255, 255, 0.16);
  --glow: rgba(217, 165, 63, 0.35);
}

/*
  Local Roboto fonts

  Place the following files in `assets/fonts/`:
  - Roboto-Regular.woff2  (400)
  - Roboto-Medium.woff2   (500)
  - Roboto-Bold.woff2     (700)
  - Roboto-Black.woff2    (900)
*/
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/Roboto-Regular.woff2') format('woff2');
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+2074,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD,
    U+0100-024F,
    U+0259,
    U+1E00-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20CF,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/Roboto-Medium.woff2') format('woff2');
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+2074,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD,
    U+0100-024F,
    U+0259,
    U+1E00-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20CF,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/Roboto-Bold.woff2') format('woff2');
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+2074,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD,
    U+0100-024F,
    U+0259,
    U+1E00-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20CF,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('./assets/fonts/Roboto-Black.woff2') format('woff2');
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+2074,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD,
    U+0100-024F,
    U+0259,
    U+1E00-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20CF,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}

* { box-sizing: border-box; }
img, svg { max-width: 100%; height: auto; }
html, body { height: 100%; }

/* Prevent accidental horizontal scrolling on mobile (common with fixed layers and long links) */
html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: Roboto, system-ui, -apple-system, Segoe UI, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  min-height: 100dvh;
  background: transparent;
  color: #fff;
}

/* Robust background: fixed layer that always covers the viewport (prevents white area beyond 100%) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 640px at 50% 0%, rgba(217,165,63,0.22) 0%, transparent 58%),
    radial-gradient(900px 520px at 18% 72%, rgba(255,255,255,0.085) 0%, transparent 62%),
    radial-gradient(800px 480px at 85% 30%, rgba(217,165,63,0.10) 0%, transparent 62%),
    linear-gradient(180deg, #b10b0b 0%, #690606 100%);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.25rem);
  position: relative;
  overflow-x: clip;
}

.card {
  width: min(1100px, 100%);
  border-radius: 18px;
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(0,0,0,0.12));
  box-shadow:
    0 24px 70px rgba(0,0,0,0.45),
    0 0 0 1px rgba(0,0,0,0.25) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(1rem, 3vw, 2rem);
  display: grid;
  justify-items: center;
  gap: clamp(1rem, 2.2vw, 1.6rem);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(600px 220px at 20% 10%, rgba(217,165,63,0.22), transparent 65%),
    radial-gradient(520px 220px at 85% 55%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(520px 220px at 30% 90%, rgba(217,165,63,0.14), transparent 62%);
  filter: blur(1px);
  opacity: 0.9;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.card > * { position: relative; z-index: 1; }

.brand-block {
  text-align: center;
  margin-bottom: 0;
}


.coming-soon {
  margin: 0.35rem 0 0;
  font-size: clamp(2.3rem, 3.3vw + 1.2rem, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff, rgba(217,165,63,0.95), #fff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 26px rgba(0,0,0,0.35);
  animation: cs-shimmer 4.5s ease-in-out infinite;
}

@keyframes cs-shimmer {
  0% { background-position: 0% 50%; transform: translateY(0); }
  50% { background-position: 100% 50%; transform: translateY(-1px); }
  100% { background-position: 0% 50%; transform: translateY(0); }
}

.logo-wrap {
  display: grid;
  place-items: center;
  padding: 0.5rem;
}
.logo {
  width: min(520px, 78vw);
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.45));
}

.hidden { display: none !important; }

/* --- Minimal consent banner (DIY, no external CMP) --- */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 14px;
  display: none;
  max-width: 100vw;
}

.consent-banner.is-visible {
  display: block;
}

.consent-card {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 16px;
  padding: 14px 14px;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  width: 100%;
}

.consent-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.35;
}

.consent-text a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-decoration-color: rgba(255, 215, 120, 0.8);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.consent-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.consent-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.consent-btn.primary {
  border-color: rgba(255, 215, 120, 0.5);
  background: linear-gradient(135deg, rgba(255, 210, 120, 0.22), rgba(255, 80, 80, 0.14));
}

.consent-btn.primary:hover {
  background: linear-gradient(135deg, rgba(255, 210, 120, 0.28), rgba(255, 80, 80, 0.18));
}

.consent-btn.link {
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.55);
}

.consent-modal.is-visible {
  display: flex;
}

.consent-modal .modal-card {
  width: min(720px, 100%);
  border-radius: 16px;
  padding: 16px;
  background: rgba(10, 10, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  max-width: 100%;
}

.consent-modal h2 {
  margin: 0 0 6px;
}

.consent-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
}

.consent-toggle label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
}

.consent-toggle input[type='checkbox'] {
  width: 18px;
  height: 18px;
}

.consent-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.35;
}
.logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.title {
  font-size: clamp(2rem, 2.5vw + 1.5rem, 3rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0.75rem 0 0.25rem;
}
.subtitle {
  font-size: clamp(1rem, 1vw + 0.75rem, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  height: 14px;
}

.loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(217, 165, 63, 0.95);
  box-shadow: 0 6px 18px rgba(217,165,63,0.25);
  transform: translateY(0);
  animation: ff-dot-bounce 1.1s ease-in-out infinite;
}

.loading-dot:nth-child(2) { animation-delay: 0.14s; opacity: 0.92; }
.loading-dot:nth-child(3) { animation-delay: 0.28s; opacity: 0.84; }

@keyframes ff-dot-bounce {
  0%, 80%, 100% { transform: translateY(0) scale(0.98); filter: brightness(0.95); }
  40% { transform: translateY(-6px) scale(1.05); filter: brightness(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .loading-dot { animation: none; }
}

.event {
  width: 100%;
  max-width: 820px;
  text-align: center;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.12));
}

.event-title {
  margin: 0;
  font-size: clamp(1.35rem, 1.2vw + 1.1rem, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.event-meta {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}



.countdown {
  display: flex;
  gap: clamp(0.6rem, 1.8vw, 1rem);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.time-box {
  width: 138px;
  padding: 1.1rem 0.9rem;
  background: linear-gradient(135deg, rgba(217,165,63,0.14), rgba(0,0,0,0.12));
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  box-shadow:
    0 10px 28px rgba(0,0,0,0.28),
    0 0 0 1px rgba(0,0,0,0.12) inset;
  text-align: center;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
  will-change: transform;
}

.time-box:hover,
.time-box:focus-within {
  transform: translateY(-4px);
  border-color: rgba(217,165,63,0.55);
  background: linear-gradient(135deg, rgba(217,165,63,0.18), rgba(0,0,0,0.10));
  box-shadow:
    0 18px 42px rgba(0,0,0,0.34),
    0 0 0 1px rgba(217,165,63,0.18) inset,
    0 18px 55px rgba(217,165,63,0.10);
}

.time-box .number {
  transition: transform 220ms ease, text-shadow 220ms ease;
}

.time-box:hover .number,
.time-box:focus-within .number {
  transform: translateY(-1px);
  text-shadow: 0 4px 16px rgba(217,165,63,0.55);
}
.number {
  display: block;
  font-size: clamp(2.25rem, 3vw + 1rem, 3.75rem);
  font-weight: 900;
  line-height: 1;
  color: var(--ff-accent);
  text-shadow: 0 2px 10px rgba(217,165,63,0.5);
}
.label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.info {
  max-width: 800px;
  text-align: center;
  color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 1vw + 0.75rem, 1.25rem);
  line-height: 1.55;
  margin: 0;
}

.footer {
  height: 64px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.9);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 0 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 165, 63, 0.45);
}

.footer a:hover {
  color: #fff;
  border-bottom-color: rgba(217, 165, 63, 0.85);
}

.footer small {
  text-align: center;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-sep { margin: 0 0.35rem; opacity: 0.8; }

/* Legal pages */
.legal { max-width: 980px; }

.legal-content {
  width: 100%;
  max-width: 860px;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: clamp(1rem, 2.3vw, 1.5rem);
}

.legal-content h2 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.legal-content p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Gold animated email link (mailto) */
.legal-content a[href^="mailto:"] {
  font-weight: 700;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  background: linear-gradient(90deg, #fff, rgba(217,165,63,0.95), #fff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal-content a[href^="mailto:"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(217,165,63,0.15), rgba(217,165,63,0.95), rgba(217,165,63,0.15));
  transform: scaleX(0.55);
  transform-origin: center;
  opacity: 0.85;
  filter: drop-shadow(0 6px 16px rgba(217,165,63,0.22));
  transition: transform 220ms ease, opacity 220ms ease, filter 220ms ease;
}

.legal-content a[href^="mailto:"]:hover::after,
.legal-content a[href^="mailto:"]:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
  filter: drop-shadow(0 10px 22px rgba(217,165,63,0.32));
}

.legal-content a[href^="mailto:"]:hover,
.legal-content a[href^="mailto:"]:focus-visible {
  animation: ff-gold-shimmer 2.4s ease-in-out infinite;
}

@keyframes ff-gold-shimmer {
  0% { background-position: 0% 50%; }
  60% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .time-box,
  .time-box .number {
    transition: none;
  }
  .time-box:hover,
  .time-box:focus-within {
    transform: none;
  }
  .legal-content a[href^="mailto:"]:hover,
  .legal-content a[href^="mailto:"]:focus-visible {
    animation: none;
  }
}

.legal-content em { color: rgba(255, 255, 255, 0.82); }

.legal-note {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  border-left: 3px solid rgba(217, 165, 63, 0.7);
  padding-left: 0.9rem;
}

.legal-nav {
  width: 100%;
  text-align: center;
}

.legal-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 165, 63, 0.45);
}

.legal-nav a:hover {
  color: #fff;
  border-bottom-color: rgba(217, 165, 63, 0.85);
}

/* Accent underline like in the main theme */
.ff-heading-accent { position: relative; display: inline-block; }
.ff-heading-accent::after {
  content: "";
  position: absolute; left: 0; bottom: -6px; width: 60%; height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ff-accent), transparent);
}

/* Remove underline on legal pages */
.legal .ff-heading-accent::after { display: none; }

/* Disable accent underline for the Coming Soon headline */
.coming-soon::after { display: none !important; }

/* Sparkles */
.sparkle-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.card { position: relative; z-index: 1; }

.sparkle {
  position: absolute;
  width: var(--size, 10px);
  height: var(--size, 10px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.95), rgba(255,255,255,0.25) 38%, transparent 70%),
    radial-gradient(circle at 60% 60%, rgba(217,165,63,0.65), transparent 62%);
  filter: drop-shadow(0 0 14px rgba(217,165,63,0.45));
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.6);
  animation: sparkle-float var(--dur, 7s) linear infinite;
}

.sparkle::after {
  content: "";
  position: absolute;
  inset: -8px;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent),
    linear-gradient(0deg, transparent, rgba(255,255,255,0.75), transparent);
  opacity: 0.7;
  transform: rotate(45deg);
  mask: radial-gradient(circle at center, #000 0 36%, transparent 60%);
}

@keyframes sparkle-float {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.4) rotate(0deg);
  }
  12% {
    opacity: var(--alpha, 0.9);
  }
  55% {
    opacity: calc(var(--alpha, 0.9) * 0.7);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -90px, 0) scale(1.05) rotate(40deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sparkle { animation: none; opacity: 0; }
  .coming-soon { animation: none; }
}

@media (max-width: 480px) {
  .card {
    padding: 1rem;
    gap: 1rem;
  }
  .logo { width: min(460px, 86vw); }
  .countdown { gap: 0.55rem; }
  .time-box {
    width: calc(50% - 0.3rem);
    padding: 0.95rem 0.75rem;
    border-radius: 12px;
  }
}

@media (max-width: 360px) {
  .time-box { width: 100%; }
}
