/* ============================================
   O-FEST — Home page specific styles
   ============================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  height: 1200px;
  max-height: 1200px;
  display: flex;
  align-items: flex-end;
  padding: 60px 40px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse 900px 600px at 78% 22%, rgba(54,141,250,1) 0%, rgba(47,108,217,0.5) 30%, rgba(26,10,117,0.1) 60%, transparent 80%),
    radial-gradient(ellipse 900px 600px at 23% 78%, rgba(223,7,0,1) 0%, rgba(117,4,1,1) 28%, rgba(37,1,2,1) 45%, rgba(10,0,2,1) 65%),
    var(--color-bg);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.45) 30%, transparent 55%, transparent 70%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(56px, 10vw, 120px);
  line-height: 0.9;
  letter-spacing: -4.8px;
  text-transform: uppercase;
}

.hero-title .o { color: var(--color-whisper); }
.hero-title .fest { color: var(--color-red); text-shadow: 0 0 40px rgba(6,0,3,0.9), 0 2px 0 rgba(6,0,3,0.6); }

.hero-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 28.8px;
  color: var(--color-whisper-65);
  max-width: 560px;
}

.hero-meta {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 24px;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-meta-item label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-red);
}

.hero-meta-item span {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-whisper);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-red), transparent);
}

.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--color-whisper-30);
}

/* ---------- Marquee ---------- */
.marquee-wrap {
  position: relative;
  overflow: hidden;
  background: var(--color-red-04);
  border-top: 1px solid var(--color-red-20);
  border-bottom: 1px solid var(--color-red-20);
  padding: 21px 0;
  box-shadow: 0 4px 4px rgba(0,0,0,0.25);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2.34px;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 24px;
  color: var(--color-whisper-35);
}

.marquee-track span.dot {
  color: var(--color-red);
  padding: 0 12px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- About section ---------- */
.section-about {
  position: relative;
  padding: 120px 40px;
  overflow: hidden;
  background: linear-gradient(180deg,
    var(--color-blue-light) 0%,
    var(--color-blue-mid) 14%,
    rgba(54,141,250,0.68) 40%,
    rgba(6,0,3,0.5) 78%,
    rgba(229,10,0,0.83) 83%,
    var(--color-bg) 89%,
    rgba(54,141,250,0.42) 96%);
}

.about-grid {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.about-headline {
  flex: 1;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--color-whisper);
}

.about-headline .accent { color: var(--color-red); }

.about-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 520px;
}

.about-body p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 28px;
  color: var(--color-whisper-70);
}

.quote-box {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 56px auto 0;
  padding: 85px 57px 61px;
  border: 1px solid var(--color-red-15);
  background: var(--color-red-06);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.quote-box::before {
  content: '';
  position: absolute;
  inset: 24px 0 0 0;
  background: linear-gradient(135deg, rgba(229,10,0,0.08), rgba(255,255,255,0.03) 50%, rgba(26,10,117,0.06) 100%);
  pointer-events: none;
}

.quote-box::after {
  content: '';
  position: absolute;
  top: 24px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-white-30) 30%, var(--color-cyan-20) 60%, transparent 100%);
}

.quote-mark {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 120px;
  line-height: 96px;
  color: var(--color-red);
  opacity: 0.2;
}

.quote-text {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 42px;
  color: var(--color-whisper);
  position: relative;
  z-index: 1;
}

.quote-source {
  display: block;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.76px;
  text-transform: uppercase;
  color: var(--color-red);
  position: relative;
  z-index: 1;
}

/* ---------- Festival principles (3 parallel facts) ---------- */
.principles-grid {
  display: flex;
  flex-direction: column;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 40px 0;
  position: relative;
  z-index: 3;
}

/* ---------- Concept section ---------- */
.section-concept {
  position: relative;
  padding: 120px 40px;
  overflow: hidden;
  background: linear-gradient(180deg, #080001 5%, rgba(227,4,0,0.61) 50%, #199ae5 93%);
}

.concept-year {
  position: absolute;
  top: -40px;
  right: -32px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(120px, 20vw, 280px);
  line-height: 238px;
  letter-spacing: -11.2px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240,238,245,0.06);
  pointer-events: none;
  z-index: 0;
}

.concept-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.concept-theme {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.92px;
  text-transform: uppercase;
  color: var(--color-whisper);
}

.concept-theme .accent {
  display: block;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-red);
}

.concept-body {
  display: flex;
  gap: 60px;
}

.concept-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.concept-text p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 28px;
  color: var(--color-whisper-70);
}

.concept-tags {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

.concept-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--color-whisper-55);
  border: 1px solid var(--color-white-30);
  padding: 9px 17px;
  white-space: nowrap;
}

/* ---------- Submit section ---------- */
.section-submit {
  position: relative;
  padding: 120px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg,
    rgb(25,154,229) 0%,
    rgba(0,47,210,0.82) 24%,
    rgb(4,171,241) 57%,
    rgba(4,171,241,0.81) 73%,
    rgba(0,47,210,0.63) 89%,
    #000 100%);
}

.submit-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.submit-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-whisper);
}

.submit-title .accent { color: var(--color-red); }

.submit-body {
  max-width: 600px;
  text-align: center;
}

.submit-body p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 28px;
  color: var(--color-whisper-65);
}

.submit-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  padding-top: 24px;
}

.submit-detail-card {
  border: 1px solid var(--color-whisper-08);
  padding: 29px 25px 30px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.submit-detail-card .label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.98px;
  text-transform: uppercase;
  color: var(--color-red);
}

.submit-detail-card .value {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-whisper);
}

.submit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding-top: 32px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid,
  .concept-body {
    flex-direction: column;
    gap: 40px;
  }
  .principles-grid {
    padding: 60px 24px 0;
  }
  .submit-details {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 140px 24px 60px;
  }
  .section-about,
  .section-concept,
  .section-submit {
    padding: 80px 24px;
  }
}

@media (max-width: 640px) {
  .hero-bg::before {
    clip-path: polygon(0% 0%, 0.0% 59.5%, 7.1% 2.7%, 14.3% 64.8%, 21.4% 3.0%, 28.6% 75.0%, 35.7% 0.3%, 42.9% 50.5%, 50.0% 4.2%, 57.1% 60.4%, 64.3% 1.2%, 71.4% 89.8%, 78.6% 2.4%, 85.7% 83.5%, 92.9% 2.4%, 100.0% 75.6%, 100% 0%);
  }
  .hero-bg::after {
    clip-path: polygon(0% 100%, 0.0% 48.5%, 8.3% 96.8%, 16.7% 17.7%, 25.0% 97.4%, 33.3% 23.1%, 41.7% 96.6%, 50.0% 52.2%, 58.3% 96.2%, 66.7% 29.6%, 75.0% 98.5%, 83.3% 53.7%, 91.7% 95.7%, 100.0% 34.7%, 100% 100%);
  }
  .hero-meta {
    gap: 24px;
  }
  .submit-details {
    grid-template-columns: 1fr;
  }
  .quote-box {
    padding: 60px 24px 32px;
  }
  .quote-mark {
    left: 16px;
    font-size: 64px;
  }
  .about-body {
    max-width: 100%;
  }
  .principle-strip {
    flex-direction: column;
    gap: 12px;
    padding: 28px 0;
  }
  .principle-tag {
    width: 100%;
    padding-left: 20px;
  }
}
