/* ===== Base Styles ===== */

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

:root {
  --accent: #660000;
  --text: #d4d4d4;
  --bg: #1a1a1a;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

/* ===== Hero Background ===== */

.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('assets/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  pointer-events: none;
}

/* ===== Header ===== */

.main-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 0;
}

.main-header nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.main-header nav ul li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.main-header nav ul li a:hover {
  color: var(--accent);
}

/* ===== Footer ===== */

/* ===== Features Section ===== */

.features {
  position: relative;
  background-color: var(--bg);
  padding: 6rem 2rem;
}

.features-inner {
  display: flex;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.features-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 0 0 280px;
}

.feature-card {
  background: transparent;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.feature-card:hover {
  border-color: #555;
  background: rgba(255, 255, 255, 0.03);
}

.feature-card.active {
  border-color: var(--accent);
  background: rgba(102, 0, 0, 0.15);
}

.feature-card-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.feature-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.features-text {
  flex: 1;
  position: relative;
  min-height: 200px;
}

.feature-detail {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.feature-detail.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

.feature-detail h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.feature-detail p {
  font-size: 1rem;
  line-height: 1.8;
  color: #aaa;
}

/* ===== Trailer Section ===== */

.trailer {
  position: relative;
  background-color: var(--bg);
  padding: 4rem 2rem;
}

.trailer-inner {
  display: flex;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.trailer-socials {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  max-width: 1200px;
  margin: 2rem auto 0;
}

.trailer-video {
  flex: 1 1 60%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #333;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  transform: scale(0.98);
  will-change: transform;
}

.trailer-video:hover {
  transform: scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(102, 0, 0, 0.3);
}

.trailer-thumbnail {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.trailer-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0%) brightness(0.8);
  transition: filter 0.4s ease;
}

.trailer-video:hover .trailer-thumbnail img {
  filter: saturate(30%) brightness(1);
}

.trailer-thumbnail .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.trailer-video:hover .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.trailer-thumbnail .play-button svg {
  width: 100%;
  height: 100%;
}

.trailer-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

.trailer-info {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trailer-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

.trailer-info p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #aaa;
}



.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid #333;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.social-btn:hover {
  border-color: var(--accent);
  background: rgba(102, 0, 0, 0.15);
  color: #fff;
}

.social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ===== Timeline Section ===== */

.timeline {
  position: relative;
  background-color: var(--bg);
  padding: 6rem 2rem;
}

.timeline-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
}

.timeline-intro h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.timeline-intro p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #aaa;
}

.timeline-cards {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1rem;
  justify-content: center;
  flex-wrap: nowrap;
  position: relative;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-card {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid #333;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  scroll-snap-align: center;
  background: #222;
  opacity: 0.7;
  transform: scale(0.95);
  contain: layout style;
}

.timeline-card:hover {
  opacity: 0.9;
  border-color: #555;
}

.timeline-card.active {
  opacity: 1;
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(102, 0, 0, 0.3);
}

.timeline-card-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.timeline-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0%) brightness(0.8);
  transition: filter 0.4s ease;
}

.timeline-card.active .timeline-card-img img {
  filter: saturate(30%) brightness(1); 
}

.timeline-card-content {
  padding: 1rem;
}

.timeline-card-content h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.timeline-card-content p {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #888;
}

/* ===== Timeline Expanded State ===== */

/* Inactive cards slide toward the active card and fade out */
.timeline-cards.expanded .timeline-card:not(.active) {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  /* translateX set per-card by JS to slide into active card */
}

/* Active card stays exactly as-is, just z-index bump */
.timeline-cards.expanded .timeline-card.active {
  z-index: 2;
}

/* ===== Timeline Detail Panel ===== */

.timeline-detail-panel {
  position: absolute;
  top: 0;
  z-index: 3;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  padding: 1.5rem 2rem;
}

.timeline-detail-panel.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.timeline-detail-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 10;
}

.timeline-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #444;
  border-radius: 6px;
  color: #aaa;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  padding: 0;
}

.timeline-nav-btn svg {
  width: 16px;
  height: 16px;
}

.timeline-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #666;
  color: #fff;
}

.timeline-detail-content {
  padding-top: 0.5rem;
}

.timeline-detail-tags {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.timeline-detail-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
}

.timeline-detail-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.06em;
}

.location-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #888;
}

.timeline-detail-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: #333;
  margin-bottom: 1.2rem;
}

.timeline-detail-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.timeline-detail-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #aaa;
}

/* ===== Timeline Note ===== */

.timeline-note {
  text-align: center;
  font-size: 0.7rem;
  color: #777;
  margin-bottom: 1.5rem;
}

/* ===== Footer ===== */

.main-footer {
  position: relative;
  padding: 2rem 1rem;
  background-color: var(--bg);
  font-size: 0.8rem;
  color: #999;
}

.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto 1.5rem;
}

.footer-legal a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

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

.footer-legal .divider {
  width: 1px;
  height: 12px;
  background: #555;
}

.main-footer .copyiright {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
  gap: 1rem;
}

.main-footer .copyright.links {
  text-align: left;
  justify-self: start;
}

.main-footer .copyright.mitte {
  text-align: center;
  font-size: 0.7rem;
  color: #777;
}

.main-footer .copyright.rechts {
  text-align: right;
  justify-self: end;
  font-size: 0.8rem;
  color: #999;
}

.main-footer .copyright.rechts a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.main-footer .copyright.rechts a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.6s ease;
}

.main-footer .copyright.rechts a:hover {
  color: var(--accent);
}

.main-footer .copyright.rechts a:hover::after {
  width: 100%;
}

.main-footer .copyright.rechts .mail-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
  fill: currentColor;
}

/* ===== Roadmap Page ===== */

.roadmap-page {
  background-color: var(--bg);
  padding: 6rem 2rem 4rem;
  min-height: calc(100vh - 200px);
}

.roadmap-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Intro — matches timeline-intro */

.roadmap-intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
}

.roadmap-intro h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.roadmap-intro p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #aaa;
}

/* Version Badge */

.roadmap-version-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.version-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.version-label {
  font-size: 0.8rem;
  color: #888;
  font-weight: 600;
  margin-left: 0.2rem;
}

/* Overview — ring + stats */

.roadmap-overview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
  padding: 2rem;
  border: 1px solid #333;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
}

/* SVG Ring */

.roadmap-ring {
  position: relative;
  width: 130px;
  height: 130px;
  flex-shrink: 0;
}

.roadmap-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: #2a2a2a;
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ring-percent {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.ring-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

/* Stats */

.roadmap-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stat-dot.done {
  background: #2ecc71;
  box-shadow: 0 0 6px rgba(46, 204, 113, 0.4);
}

.stat-dot.wip {
  background: #f39c12;
  box-shadow: 0 0 6px rgba(243, 156, 18, 0.4);
}

.stat-dot.todo {
  background: #555;
}

.stat-count {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  min-width: 1.4rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Features layout — matches .features-inner */

.roadmap-features {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.roadmap-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 0 0 280px;
}

/* Cards — matches .feature-card */

.roadmap-card {
  background: transparent;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.roadmap-card:hover {
  border-color: #555;
  background: rgba(255, 255, 255, 0.03);
}

.roadmap-card.active {
  border-color: var(--accent);
  background: rgba(102, 0, 0, 0.15);
  box-shadow: 0 0 30px rgba(102, 0, 0, 0.3);
}

.roadmap-card-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.roadmap-card-info {
  flex: 1;
}

.roadmap-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.roadmap-card-progress {
  font-size: 0.7rem;
  font-weight: 600;
  color: #666;
  display: block;
  margin-top: 0.2rem;
}

/* Detail area — matches .features-text */

.roadmap-details {
  flex: 1;
}

.roadmap-detail {
  display: none;
}

.roadmap-detail.active {
  display: block;
  animation: roadmapFadeIn 0.4s ease;
}

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

.roadmap-detail > h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* Items */

.roadmap-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: #222;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  transition: border-color 0.3s ease, background 0.3s ease;
  contain: layout style;
}

.roadmap-item:hover {
  border-color: #444;
  background: #262626;
}

/* Status Indicator */

.item-status {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 4px;
}

.roadmap-item[data-status="done"] .item-status {
  background: #2ecc71;
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.4);
}

.roadmap-item[data-status="wip"] .item-status {
  background: #f39c12;
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.45);
}

.roadmap-item[data-status="todo"] .item-status {
  background: #555;
  border: 2px solid #666;
  width: 8px;
  height: 8px;
  margin-top: 6px;
}

/* pulse-wip removed — static glow is GPU-friendly */

/* Text styling per status */

.roadmap-item[data-status="done"] .item-content h3 {
  color: #2ecc71;
}

.roadmap-item[data-status="wip"] .item-content h3 {
  color: #f39c12;
}

.roadmap-item[data-status="todo"] .item-content h3 {
  color: #777;
}

.roadmap-item[data-status="done"] {
  border-color: rgba(46, 204, 113, 0.15);
}

.roadmap-item[data-status="wip"] {
  border-color: rgba(243, 156, 18, 0.15);
}

.item-content h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  transition: color 0.3s ease;
}

.item-content p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #888;
}

/* ===== Legal Pages ===== */

.legal-header {
  background-color: var(--bg);
  border-bottom: 1px solid #2a2a2a;
}

.legal-page {
  background-color: var(--bg);
  padding: 6rem 2rem 4rem;
  min-height: calc(100vh - 200px);
}

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal-inner h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #333;
}

.legal-inner h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
}

.legal-inner h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #bbb;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-inner p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 0.8rem;
}

.legal-inner a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.legal-inner ul {
  list-style: none;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.legal-inner ul li {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #aaa;
  position: relative;
  padding-left: 1rem;
}

.legal-inner ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-date {
  margin-top: 2rem;
  font-size: 0.8rem !important;
  color: #666 !important;
  font-style: italic;
}

/* ===== Scroll Reveal Animations ===== */

/* Base hidden state for all reveal elements */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Fade up (default) */
[data-reveal="fade-up"] {
  transform: translateY(40px);
}

/* Fade down */
[data-reveal="fade-down"] {
  transform: translateY(-40px);
}

/* Slide from left */
[data-reveal="slide-left"] {
  transform: translateX(-60px);
}

/* Slide from right */
[data-reveal="slide-right"] {
  transform: translateX(60px);
}

/* Fade in (no movement, just opacity) */
[data-reveal="fade-in"] {
  transform: none;
}

/* Scale up */
[data-reveal="scale-up"] {
  transform: scale(0.9);
}

/* Visible / revealed state */
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays for child elements */
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
[data-reveal-delay="6"] { transition-delay: 0.6s; }
[data-reveal-delay="7"] { transition-delay: 0.7s; }
[data-reveal-delay="8"] { transition-delay: 0.8s; }

/* Longer animation for larger elements */
[data-reveal-duration="long"] {
  transition-duration: 1.2s;
}

/* Subtle accent glow on reveal for key elements */
@keyframes reveal-glow {
  0%   { box-shadow: 0 0 0 rgba(102, 0, 0, 0); }
  50%  { box-shadow: 0 0 25px rgba(102, 0, 0, 0.25); }
  100% { box-shadow: 0 0 0 rgba(102, 0, 0, 0); }
}

[data-reveal-glow].revealed {
  animation: reveal-glow 1.5s ease-out 0.3s;
}

/* ===== Film Grain Overlay ===== */
/* Static PNG noise — no SVG filter rendering cost */

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  background-image: url('assets/noise.png');
  background-repeat: repeat;
  background-size: 150px 150px;
}