/* ══════════════════════════════════════════
           TOKENS
        ══════════════════════════════════════════ */
:root {
  --sun: #ffe195;
  --sky: #219ebc;
  --grass: #52b788;
  --coral: #ff6b6b;
  --lavender: #c77dff;
  --cream: #fffbf0;
  --dark: #1a1a2e;
  --text: #2d2d44;
  --muted: #7a7a99;
  --white: #ffffff;
  --r: 20px;
  --r-lg: 28px;
}

/* ══════════════════════════════════════════
           RESET + BASE
        ══════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

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

/* ══════════════════════════════════════════
           HEADER
        ══════════════════════════════════════════ */
header {
  background: var(--white);
  border-bottom: 3px solid var(--sun);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.logo {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--coral);
  line-height: 1;
  text-decoration: none;
}

.logo span {
  color: var(--sky);
}

.header-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-price .old {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: line-through;
}

.header-price .new {
  font-family: "Baloo 2", cursive;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--grass);
}

.btn-header {
  background: var(--coral);
  color: var(--white);
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.15s;
  white-space: nowrap;
}

.btn-header:hover {
  background: #e85555;
  transform: scale(1.04);
}

/* ══════════════════════════════════════════
           HERO
        ══════════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, #fff9e6 0%, #e8f7ff 100%);
  padding: 3rem 1.5rem .5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "☀️";
  font-size: 4rem;
  position: absolute;
  top: -1rem;
  right: -1rem;
  opacity: 0.18;
  animation: spin 20s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.hero-tag {
  display: inline-block;
  background: var(--sun);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  animation: fadeDown 0.6s ease both;
}
.hero h1 {
  font-family: "Baloo 2", cursive;
  font-size: clamp(2rem, 8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 0.75rem;
  animation: fadeDown 0.7s ease both;
}
.hero h1 em {
  font-style: normal;
  color: var(--coral);
}
.hero-sub {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 1.8rem;
  line-height: 1.6;
  animation: fadeDown 0.8s ease both;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
  animation: fadeDown 0.9s ease both;
}
.badge {
  background: var(--white);
  border: 2px solid currentColor;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.badge-sun {
  color: var(--sun);
  border-color: var(--sun);
}
.badge-sky {
  color: var(--sky);
  border-color: var(--sky);
}
.badge-grass {
  color: var(--grass);
  border-color: var(--grass);
}
.badge-coral {
  color: var(--coral);
  border-color: var(--coral);
}
.badge-purple {
  color: var(--lavender);
  border-color: var(--lavender);
}
.hero-cta {
  animation: fadeDown 1s ease both;
}

.hero-tag {
  display: inline-block;
  background: #ffe08a;
  color: #222;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: "Baloo 2", cursive;
  font-size: clamp(2.3rem, 8vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  color: #16162d;
  margin-bottom: 1rem;
}

.word-cycle-wrap {
  position: relative;
  display: inline-block;
  color: #ff6b6b;
}

.word-underline {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 7px;
  background: #ffd166;
  border-radius: 999px;
  z-index: -1;
}

.age-highlight {
  color: #ff6b6b;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.3rem;
    margin-bottom: 2rem;
}

.badge {
    background: white;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.72rem;
    font-weight: 400;
    border: 2px solid;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
}

.badge-sun {
  color: #f5b700;
}

.badge-sky {
  color: #20b7d7;
}

.badge-grass {
  color: #37b26c;
}

.badge-coral {
  color: #ff6b6b;
}

.badge-purple {
  color: #b86bff;
}

/* worksheet cards */
.hero-preview {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.0rem;
  padding: 0 0.5rem;
}

.sheet-card {
  width: 120px;
  height: 160px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 3px solid rgba(255, 255, 255, 0.8);
  position: relative;
  transition: 0.25s ease;
}

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

.active-card {
  z-index: 3;
}

.rotate-left {
  transform: rotate(-12deg) translateX(22px);
}

.rotate-right {
  transform: rotate(12deg) translateX(-22px);
}

.hero-note {
  font-size: 0.92rem;
  color: #70738c;
  line-height: 1.6;
  margin-bottom: 1.3rem;
}

.hero-cta {
  margin-top: 0.4rem;
}

.btn-main {
  border: none;
  background: linear-gradient(135deg, #ff7b7b, #ff5f8f);
  color: white;
  font-family: "Baloo 2", cursive;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 1rem 2rem;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.price-tag {
  background: rgba(255, 255, 255, 0.22);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

/* mobile optimization */
@media (max-width: 480px) {
  .hero {
    padding-top: 2rem;
  }

  .sheet-card {
    width: 105px;
    height: 145px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .badge {
    font-size: 0.78rem;
    padding: 0.5rem 0.85rem;
  }

  .btn-main {
    width: 100%;
    justify-content: center;
  }
}

.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--coral);
  color: var(--white);
  font-family: "Baloo 2", cursive;
  font-size: 1.2rem;
  font-weight: 800;
  border: none;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255, 107, 107, 0.35);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(255, 107, 107, 0.45);
}

.btn-main .price-tag {
  background: rgba(255, 255, 255, 0.25);
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font-size: 1rem;
}

.hero-note {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ══════════════════════════════════════════
           SECTION LABEL
        ══════════════════════════════════════════ */
.section-label {
  text-align: center;
  padding: 2rem 1.5rem 0.5rem;
}

.section-label h2 {
  font-family: "Baloo 2", cursive;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
}

.section-label p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

.divider {
  width: 60px;
  height: 5px;
  border-radius: 999px;
  background: var(--sun);
  margin: 0.6rem auto 0;
}

/* ══════════════════════════════════════════
           WORKSHEET GALLERY (main selling area)
        ══════════════════════════════════════════ */
.gallery {
  padding: 1.5rem 1rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* 2 columns on mobile, 3 on tablet, 4 on desktop */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.22s,
    box-shadow 0.22s;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #f0f4f8;
}

/* Placeholder shimmer when no real image */
.img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #f0f4f8 25%, #e4ecf4 50%, #f0f4f8 75%);
  background-size: 200% 200%;
  animation: shimmer 1.8s infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #b0bec5;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.img-placeholder .ph-icon {
  font-size: 2.5rem;
}
.img-placeholder .ph-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  padding: 0 0.5rem;
}

.gallery-card-label {
  padding: 0.6rem 0.75rem 0.8rem;
}

.gallery-card-label .tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sky);
}

.gallery-card-label .name {
  font-family: "Baloo 2", cursive;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

/* ══════════════════════════════════════════
           WHAT'S INCLUDED
        ══════════════════════════════════════════ */
.includes {
  background: linear-gradient(135deg, #e8f7ff, #fff9e6);
  padding: 2.5rem 1.5rem;
}

.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 1.5rem auto 0;
}

@media (min-width: 600px) {
  .includes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.include-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.include-icon {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.include-title {
  font-family: "Baloo 2", cursive;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

.include-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ══════════════════════════════════════════
           TRUST STRIP
        ══════════════════════════════════════════ */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 2rem;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-top: 2px dashed #e8e8f0;
  border-bottom: 2px dashed #e8e8f0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.trust-item span {
  font-size: 1.4rem;
}

/* ══════════════════════════════════════════
           PRICING CARD
        ══════════════════════════════════════════ */
.pricing-wrap {
  padding: 2.5rem 1.5rem 5rem;
  text-align: center;
}

.pricing-card {
  background: var(--white);
  border: 3px solid var(--sun);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  max-width: 420px;
  margin: 1.5rem auto 0;
  box-shadow: 0 8px 40px rgba(255, 183, 3, 0.15);
  position: relative;
}

.pricing-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.25rem 1.2rem;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.price-display {
  margin: 0.5rem 0 1.2rem;
}

.price-old {
  font-size: 1rem;
  color: var(--muted);
  text-decoration: line-through;
}

.price-new {
  font-family: "Baloo 2", cursive;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--grass);
  line-height: 1;
}

.price-new sup {
  font-size: 1.4rem;
  vertical-align: super;
}

.price-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.pricing-features {
  list-style: none;
  margin: 1rem 0 1.5rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px dashed #f0f0f0;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* ══════════════════════════════════════════
           MODAL
        ══════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 500;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 500px) {
  .modal-overlay {
    align-items: center;
    padding: 1rem;
  }
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--white);
  width: 100%;
  max-width: 460px;
  border-radius: 24px 24px 0 0;
  padding: 1.8rem 1.5rem 2.2rem;
  animation: slideUp 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@media (min-width: 500px) {
  .modal {
    border-radius: 24px;
  }
}

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

.modal-handle {
  width: 40px;
  height: 4px;
  background: #e0e0e0;
  border-radius: 999px;
  margin: 0 auto 1.2rem;
}

@media (min-width: 500px) {
  .modal-handle {
    display: none;
  }
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.modal-header h2 {
  font-family: "Baloo 2", cursive;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.modal-header .amount {
  font-family: "Baloo 2", cursive;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--grass);
  white-space: nowrap;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--muted);
  padding: 0.2rem;
}

.form-group {
  margin-bottom: 0.9rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.form-group input {
  width: 100%;
  background: #f7f8fc;
  border: 2px solid #e8e8f0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-family: "Nunito", sans-serif;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--sky);
  background: var(--white);
}

.btn-pay {
  width: 100%;
  background: var(--coral);
  color: var(--white);
  border: none;
  font-family: "Baloo 2", cursive;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 0.9rem;
  border-radius: 14px;
  cursor: pointer;
  margin-top: 0.5rem;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 107, 0.4);
}
.btn-pay:active {
  transform: scale(0.98);
}
.btn-pay:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* ══════════════════════════════════════════
           TOAST
        ══════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transition:
    opacity 0.3s,
    transform 0.3s;
  z-index: 999;
  white-space: nowrap;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.error {
  background: var(--coral);
}

/* ══════════════════════════════════════════
           WHATSAPP BUTTON
        ══════════════════════════════════════════ */
.whatsapp-btn {
  position: fixed;
  bottom: 120px;
  right: 1.2rem;
  z-index: 250;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  animation: none;
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow:
      0 4px 32px rgba(37, 211, 102, 0.75),
      0 0 0 8px rgba(37, 211, 102, 0.1);
  }
}

/* on desktop push it up since no fixed bottom bar */
@media (min-width: 769px) {
  .whatsapp-btn {
    bottom: 2rem;
  }
}

/* ══════════════════════════════════════════
           FOOTER
        ══════════════════════════════════════════ */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.82rem;
  padding-bottom: 8rem; /* space for fixed sticky bar on mobile */
}

@media (min-width: 769px) {
  footer {
    padding-bottom: 1.5rem;
  }
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

/* ══════════════════════════════════════════
           STICKY BUY BAR (replaces old bottom-bar)
        ══════════════════════════════════════════ */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--white);
  border-top: 3px solid var(--sun);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  padding: 0.7rem 1.1rem 0.8rem;
  display: none; /* shown only on mobile via JS */
  flex-direction: column;
  gap: 0;
}

@media (max-width: 768px) {
  .sticky-bar {
    display: flex;
  }
}

/* top row: offer badge left, timer right */
.sticky-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.offer-badge {
  background: #fff3cd;
  color: #92600a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid #ffd166;
}

.timer {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--coral);
}

.timer-icon {
  font-size: 0.9rem;
}

.timer-display {
  font-family: "Baloo 2", cursive;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  min-width: 44px;
}

/* bottom row: price left, button right */
.sticky-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.sticky-price .s-old {
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: line-through;
}

.sticky-price .s-new {
  font-family: "Baloo 2", cursive;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--grass);
}

.btn-sticky {
  flex: 1;
  background: var(--coral);
  color: var(--white);
  border: none;
  font-family: "Baloo 2", cursive;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.32);
  transition: transform 0.15s;
  white-space: nowrap;
}

.btn-sticky:active {
  transform: scale(0.97);
}

/* expired state */
.timer-display.expired {
  color: var(--grass);
}

/* ══════════════════════════════════════════
           ANIMATIONS
        ══════════════════════════════════════════ */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.word-cycle-wrap {
  display: inline-block;
  position: relative;
}

.word-cycle {
  display: inline-block;
  color: var(--coral);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease;
}

.word-cycle.exit {
  transform: translateY(-28px);
  opacity: 0;
}

.word-cycle.enter {
  transform: translateY(28px);
  opacity: 0;
}

.word-underline {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: -4px;

  background:
    linear-gradient(-45deg, transparent 75%, var(--coral) 75%) 0 50%/10px 10px repeat-x,
    linear-gradient(45deg, transparent 75%, var(--sun) 75%) 5px 50%/10px 10px repeat-x;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
