/* ==========================================================
   Rocket Toons JV – custom styles (things awkward to do inline)
   ========================================================== */

html {
  scroll-behavior: smooth;
}

/* Hero background: banner/video is 16:9 with a cream sky, so it's pinned to the
   bottom at full width and the section's cream fills everything above it. */
.hero {
  background-color: #fbf7f2;
}

.hero-media {
  aspect-ratio: 16 / 9;
  background: url("../images/banner.png") center bottom / cover no-repeat;
}

/* Hide broken video element if the file is missing */
.hero-video.is-missing {
  display: none;
}

/* Headline: tight geometric look */
.hero-title {
  letter-spacing: -0.045em;
  line-height: 0.98;
}

/* Nav link underline hover */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover::after {
  transform: scaleX(1);
}

/* Frosted glass card around the video */
.glass-card {
  background: rgba(250, 243, 241, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 20px 60px -20px rgba(28, 36, 71, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.video-frame {
  box-shadow: inset 0 0 0 1px rgba(28, 36, 71, 0.06);
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Soft pulse on the play button */
.play-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: inherit;
  z-index: -1;
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .play-btn::before { animation: none; }
}

/* ==========================================================
   JV sections
   ========================================================== */

section[id] {
  scroll-margin-top: 1rem;
}

.section-title {
  letter-spacing: -0.04em;
  line-height: 1.02;
}

/* ---------- Launch ---------- */
.calendar-tile {
  box-shadow:
    0 24px 50px -18px rgba(28, 36, 71, 0.35),
    0 0 0 1px rgba(28, 36, 71, 0.06);
  transform: rotate(-3deg);
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.85rem 0.25rem;
  border-radius: 1.1rem;
  background: #1c2447;
  color: #fff;
}
.countdown-box span {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.countdown-box small {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.detail-row {
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(28, 36, 71, 0.06);
}
.detail-row dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(28, 36, 71, 0.55);
}
.detail-row dd {
  margin-top: 0.2rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---------- Funnel ---------- */
.product-card {
  --accent: #1c2447;
  --accent-soft: #eef0f6;
  padding: 2rem;
  border-radius: 1.75rem;
  background: #fff;
  border: 1px solid rgba(28, 36, 71, 0.06);
  box-shadow: 0 18px 45px -25px rgba(28, 36, 71, 0.3);
}

.product-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-name {
  margin-top: 1rem;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.product-price {
  margin-top: 0.3rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #c24a30;
}

/* Check-mark bullets tinted with the card's accent */
.feature-list,
.feature-group ul {
  display: grid;
  gap: 0.75rem;
}
.feature-list {
  margin-top: 1.5rem;
}
.feature-list li,
.feature-group h4,
.feature-group li {
  position: relative;
  padding-left: 2.1rem;
}
.feature-list li {
  font-weight: 500;
}
.feature-list li::before,
.feature-group h4::before,
.feature-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.35rem;
  height: 1.35rem;
  transform: translateY(-50%);
  border-radius: 9999px;
  background:
    var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 60% no-repeat;
  opacity: 0.9;
}

.feature-group + .feature-group {
  margin-top: 1.75rem;
}
.feature-group h4 {
  font-size: 1.05rem;
  font-weight: 700;
}
.feature-group ul {
  margin-top: 0.85rem;
  gap: 0.6rem;
  padding-left: 1.6rem;
}
.feature-group li {
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: rgba(28, 36, 71, 0.7);
}
.feature-group li::before {
  width: 1.1rem;
  height: 1.1rem;
  background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- Prizes ---------- */
.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 9999px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: status-pulse 1.8s ease-out infinite;
}
.status-dot.is-idle {
  background: #9ca3af;
  animation: none;
}
@keyframes status-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

/* Timeline rail on the left */
.phases {
  position: relative;
}
@media (min-width: 768px) {
  .phases {
    padding-left: 3.5rem;
  }
  .phases::before {
    content: "";
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: 0.6rem;
    border-left: 2px solid rgba(28, 36, 71, 0.1);
  }
  .phase::before {
    content: "";
    position: absolute;
    left: -3.3rem;
    top: 50%;
    width: 0.9rem;
    height: 0.9rem;
    transform: translateY(-50%);
    border-radius: 9999px;
    background: #d6d9e2;
    box-shadow: 0 0 0 5px #fbf7f2;
  }
  .phase.is-active::before {
    background: #f2361f;
  }
}
.phase {
  position: relative;
}

.phase-card {
  display: grid;
  gap: 2rem;
  padding: 1.75rem;
  border-radius: 1.75rem;
  background:
    radial-gradient(rgba(28, 36, 71, 0.07) 1px, transparent 1px) 0 0 / 18px 18px,
    #fff;
  border: 1px solid rgba(28, 36, 71, 0.06);
  box-shadow: 0 18px 45px -25px rgba(28, 36, 71, 0.3);
  transition: transform 0.3s ease;
}
@media (min-width: 900px) {
  .phase-card {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 2.5rem 3rem;
  }
  .phase-prizes {
    padding-left: 2.5rem;
    border-left: 1px dashed rgba(28, 36, 71, 0.12);
  }
}

.phase-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 0.5rem;
  background: rgba(28, 36, 71, 0.06);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(28, 36, 71, 0.65);
}
.phase-date {
  border-radius: 9999px;
  background: transparent;
  border: 1px solid rgba(28, 36, 71, 0.12);
  letter-spacing: 0.02em;
  text-transform: none;
}
.phase-date i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
}

.phase-title {
  margin-top: 1.1rem;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.phase-desc {
  margin-top: 0.75rem;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(28, 36, 71, 0.65);
}

.prize-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(28, 36, 71, 0.5);
}
.prize-top {
  margin-top: 0.25rem;
  font-size: clamp(3.5rem, 9vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.prize-top sup {
  top: -1.1em;
  margin-right: 0.1em;
  font-size: 0.35em;
  opacity: 0.45;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.prize-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.85rem 0.5rem;
  border-radius: 1rem;
  background: #f6f3ef;
}
.prize-tile span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(28, 36, 71, 0.5);
}
.prize-tile strong {
  margin-top: 0.2rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Current (or next) phase: dark navy card */
.phase.is-active .phase-card {
  background:
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 18px 18px,
    radial-gradient(70% 90% at 100% 0%, rgba(242, 54, 31, 0.25), transparent 60%),
    #1c2447;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 30px 60px -25px rgba(28, 36, 71, 0.6);
}
@media (min-width: 900px) {
  .phase.is-active .phase-card {
    transform: scale(1.02);
  }
}
.phase.is-active .phase-chip {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
}
.phase.is-active .phase-date {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.15);
}
.phase.is-active .phase-desc,
.phase.is-active .prize-kicker,
.phase.is-active .prize-tile span {
  color: rgba(255, 255, 255, 0.6);
}
.phase.is-active .phase-prizes {
  border-color: rgba(255, 255, 255, 0.12);
}
.phase.is-active .prize-top {
  background: linear-gradient(180deg, #ffe27a 0%, #f5b83d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.phase.is-active .prize-top sup {
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.phase.is-active .prize-tile {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Final CTA ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(242, 54, 31, 0.35), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(244, 162, 110, 0.3), transparent 60%),
    #1c2447;
}

/* ---------- Creators ---------- */
.creator-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem 2rem;
  border-radius: 1.75rem;
  text-align: center;
  background:
    radial-gradient(90% 45% at 50% 0%, #fdeadb 0%, transparent 70%),
    #fff;
  border: 1px solid rgba(28, 36, 71, 0.06);
  box-shadow: 0 18px 45px -25px rgba(28, 36, 71, 0.3);
}

/* Tilted "polaroid" photo, echoing the calendar tile */
.creator-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 8.5rem;
  height: 8.5rem;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 6px solid #fff;
  background: linear-gradient(135deg, #f4a26e, #f2361f);
  box-shadow:
    0 20px 40px -18px rgba(28, 36, 71, 0.45),
    0 0 0 1px rgba(28, 36, 71, 0.06);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  transform: rotate(-4deg);
  transition: transform 0.3s ease;
}
.creator-card:nth-child(even) .creator-photo {
  transform: rotate(4deg);
}
.creator-card:hover .creator-photo {
  transform: rotate(0) scale(1.03);
}
.creator-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-name {
  margin-top: 1.5rem;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 15rem;
  padding: 0.35rem 1rem 0.35rem 0.35rem;
  border-radius: 9999px;
  background: #f6f3ef;
  border: 1px solid rgba(28, 36, 71, 0.06);
  font-weight: 600;
  color: #1c2447;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.contact-pill:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(242, 54, 31, 0.35);
}
.contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 9999px;
  color: #fff;
}
.contact-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}
.contact-skype .contact-icon {
  background: #00aff0;
}
.contact-facebook .contact-icon {
  background: #1877f2;
}
