/* RESET & BASE -------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: hsl(80, 60%, 97%);
  --fg: hsl(150, 30%, 15%);
  --card: #fff;
  --primary: hsl(322, 100%, 55%);
  --primary-fg: #fff;
  --secondary: hsl(145, 60%, 40%);
  --secondary-fg: #fff;
  --accent: hsl(197, 75%, 55%);
  --accent-fg: #fff;
  --highlight: hsl(45, 100%, 55%);
  --highlight-fg: hsl(30, 50%, 15%);
  --muted: hsl(80, 30%, 92%);
  --muted-fg: hsl(150, 10%, 40%);
  --border: rgba(255,255,255,0.5);
  --borderplaytest: rgba(0,0,0,0.07);
  --gradient-hero: linear-gradient(
    180deg,
    hsl(145, 60%, 45%) 0%,
    hsl(145, 50%, 35%) 100%
  );
  --gradient-pink: linear-gradient(
    135deg,
    hsl(322, 100%, 55%),
    hsl(340, 100%, 60%)
  );
  --shadow-playful: 0 8px 30px -8px hsla(322, 100%, 55%, 0.25);
  --shadow-card: 0 12px 40px -12px hsla(150, 30%, 15%, 0.15);
  --shadow-float: 0 20px 60px -15px hsla(150, 30%, 15%, 0.2);
  --font-display: "Roboto Condensed", sans-serif;
  --font-body: "Nunito", sans-serif;
  --radius: 1rem;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
button,
input,
select,
textarea {
  font: inherit;
}

/* NAV ----------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav-logo,.footer-logo {
  height: 2.5rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-fg);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: transform 0.2s;
  box-shadow: var(--shadow-playful);
}

.btn-primary:hover {
  transform: scale(1.05);
}
/* NAV MENU ------------------------------------------------------------ */
.nav {
  --nav-fg: #fff;
}

/* When nav is over a light section: switch to dark */
.nav.nav--on-light {
  --nav-fg: var(--fg); /* your site's dark text color */
}

/* Apply to links + anything else in the nav that needs contrast */
.nav .nav-link {
  color: var(--fg);
}
@media (min-width: 768px) {
  /* Apply to links + anything else in the nav that needs contrast */
  .nav .nav-link {
    color: var(--nav-fg);
    transition: 0.2s ease;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    font-weight: 400;
    font-size: 0.85rem;
  }
  .nav .nav-link:hover {
    color: var(--primary);
    text-decoration: none;
    background: rgba(255, 255, 255, 1);
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 0;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--accent-fg);
    font-size: 0.85rem;
}


.nav-toggle-bars::before {
  top: 0;
}

.nav-toggle-bars::after {
  bottom: 0;
}

/* Menu container */
.nav-menu {
  display: none;
}


/* Mobile open state */
.nav-menu.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  left: 0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  margin: 0 1rem;
  gap: 0; 
  padding: 0.5rem 1rem; 
}

/* Make each entry fill full width and get a divider */
.nav-menu.is-open > a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

/* No divider after the last entry */
.nav-menu.is-open > a:last-child {
  border-bottom: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--fg);
  font-weight: 700;
  font-family: var(--font-display);
  text-align: left;
}

.nav-link:hover {
  text-decoration: underline;
}

.nav-cta {
  text-align: center;
}

/* Desktop layout */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .nav-menu.is-open {
    position: static;
    flex-direction: row;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
}

/* Optional: nicer anchor scrolling with fixed header */
section {
  scroll-margin-top: 6rem;
}

/* HERO ---------------------------------------------------------------- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    flex-direction: column;
}


    
.hero-text {
  flex: 1 1 500px;
  text-align: center;
  order: 2;
}

.hero-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  order: 1;
  transform: scale(0.8);
}
.book-container {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 600px;
}

@keyframes initAnimation {
  0% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  100% {
    transform: rotateY(-30deg) rotateX(8deg);
  }
}

.book {
  width: 300px;
  height: 450px;
  position: relative;
  transform-style: preserve-3d;
  transition: 0.5s ease;
  animation: initAnimation 1s ease 0s 1;
  transform: rotateY(-30deg) rotateX(8deg);
}

.book-container {
  animation: bounce-slow 4s ease-in-out 1s infinite;
}

.book-container:hover .book,.book-container:focus .book {
  transform: rotateY(0deg) rotateX(0deg);
}

.book-container:hover .book .book-wire-ring,.book-container:focus .book .book-wire-ring {
    width: 10px;
    box-shadow: -3px 0px 0px 0px #1fa84f, -10px 0px 0px 0px rgba(255, 255, 255, 1);
}

.book-container:hover .book .book-wire-ring::before,.book-container:focus .book .book-wire-ring::before {
background: transparent;
}
.book-container:hover .book .book-wire-strip,.book-container:focus .book .book-wire-strip {
    position: absolute;
    left: 30px;
    right: 20px;
}

.book img {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 450px;
  transform: translateZ(20px);
  background-color: #1fa84f;
  border-radius: 10px;
  box-shadow: 5px 5px 20px #666;
}

.book::before {
  position: absolute;
  content: ' ';
  background-color: blue;
  left: 0;
  top: 0px;
  width: 38px;
  height: 440px;
  border-radius: 0 0 7px 0;
  transform: translateX(278px) rotateY(90deg);
  background: linear-gradient(90deg, 
    #fff 0%,
    #f9f9f9 5%,
    #fff 10%,
    #f9f9f9 15%,
    #fff 20%,
    #f9f9f9 25%,
    #fff 30%,
    #f9f9f9 35%,
    #fff 40%,
    #f9f9f9 45%,
    #fff 50%,
    #f9f9f9 55%,
    #fff 60%,
    #f9f9f9 65%,
    #fff 70%,
    #f9f9f9 75%,
    #fff 80%,
    #f9f9f9 85%,
    #fff 90%,
    #f9f9f9 95%,
    #fff 100%
    );
}

.book::after {
  position: absolute;
  top: 0;
  left: 0;
  content: ' ';
  width: 300px;
  height: 450px;
  transform: translateZ(-20px);
  background-color: #1fa84f;
  border-radius: 10px;
  box-shadow: -10px 0 50px 10px var(--highlight);
}

.book-wire {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 450px;
    pointer-events: none;
    transform-style: preserve-3d;
    z-index: 100;
}

.book-wire-strip {
    position: absolute;
    left: 16px;
    right: 10px;
    top: -12px;
    height: 28px;
    transition: 0.5s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform-origin: 50% 0;
    z-index: 1000;
    transform: translateZ(20px);
}

.book-wire-ring {
    position: relative;
    width: 61px;
  transition: 0.3s ease;
    height: 47px;
    border-radius: 999px;
    border: 5px solid rgba(255, 255, 255, 0.98);
    background: transparent;
    box-shadow: -3px -1px 0px 1px #1fa84f, -10px -2px 0px -1px rgba(255, 255, 255, 1);
    overflow: visible;
    transform: rotateY(299deg);
}

.book-wire-ring::before {
    content: "";
    position: absolute;
    top: 13px;
    bottom: -6px;
    transition: 0.3s ease;
    right: -6px;
    width: 9px;
    background: #1fa84f;
}


.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--primary-fg);
  line-height: 1.1;
  margin-top: 1rem;
  font-style: italic;
  transform: rotate(-9.84deg);
  margin-left: -6px;
  white-space: nowrap;
}

.hero h1 .hl {
  color: var(--highlight);
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-top: 1.5rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  transform: skew(0deg, -9.84deg);
}

.hero p strong {
  color: var(--highlight);
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  transform: skew(0deg, -9.84deg);
}

.hero-buttons .btn-secondary {  
  display: flex;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s;
  background: rgba(255, 255, 255, 0.2);
  color: var(--primary-fg);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-hero {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-fg);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.2s;
  box-shadow: var(--shadow-playful);  
  backdrop-filter: blur(4px);
}

.hero-buttons .btn-hero:hover {
  transform: scale(1.05);
}

.booklet-wrapper {
  position: relative;
}

.booklet-img {
  width: min(20rem, 80vw);
  animation: bounce-slow 4s ease-in-out infinite;
}

.booklet-badge {
  position: absolute;
  top: -2rem;
  right: -1.5rem;
  background: var(--highlight);
  color: var(--highlight-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: wiggle 2s ease-in-out infinite;
  z-index: 1;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
}
.hero-wave-transparent-in {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;  
  z-index: 2;
}
.hero-wave-transparent-out {
  position: absolute;
  bottom: -3%;
  left: 0;
  right: 0;
}

@media (min-width: 768px) {
  .hero-text {
    text-align: left;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero p {
    margin-left: 0;
  }
  .hero {
  padding-top: 2rem;
  }

  .hero .container {
      flex-direction: row;
  }

  .hero-text {
  order: 1;
  }

  .hero-image {
    order: 2;
    transform: scale(1);
  }
}

@media (min-width: 1024px) {
  .hero .container {
    gap: 5rem;
  }
  .hero {
  padding-top: 0rem;
  }
}

@media (min-width: 1200px) {
  .hero .container {
    gap: 9rem;
  }
}

/* FEATURES ------------------------------------------------------------ */

.features {
  padding: 0.5rem 0 5rem 0;
  background: var(--bg);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-top: 1rem;
}

.peek .section-header h2 {
  color: var(--accent-fg);    
  display: unset;
}

.section-header h2 .hl {
  color: var(--primary);
}


.peek .section-header p {
    color: var(--muted);
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 500px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  text-align: center;
  transition: transform 0.3s;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--secondary);
}

.feature-card:hover {
  transform: scale(1.05) translateY(-0.5rem);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 2.5rem;
  height: 2.5rem;
}
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.5;
}

/* FEATURES – GAMEPLAY GIF -------------------------------------------- */

.features-demo {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.features-demo-media {
  margin: 0 auto 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  background: #000;
  height: 480px;
  aspect-ratio: 2 / 3;
    position: relative;
    width: 100%;
  overflow: hidden;
}

.features-demo-media video {
      position: absolute;
  height: auto;
  width: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.features-demo-desc {
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
  color: var(--muted-fg);
}

/* HOW TO PLAY --------------------------------------------------------- */

.how-to-play {
  padding: 2rem 0 7rem 0;
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}

/* HOW TO PLAY – VIDEO VERSION -------------------------------------- */

.how-video {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* Responsive 16:9 wrapper */
.how-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  background: #000;
  margin-bottom: 1.5rem;
}

.how-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.how-video-desc {
  color: var(--secondary-fg);
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}


/* PEEK INSIDE – SIMPLE SECTIONS ------------------------------------- */

.peek {
    padding: 4rem 0;
    background: var(--accent);
    overflow: hidden;
    position: relative;
}

.peek-sections {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* One section = image on top, text below */
.peek-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#peek-inside .section-header h2 .hl {
  color: var(--highlight);
}
/* Image container */
.peek-media {
  margin-bottom: 1.5rem;
}

/* Image style – reuse “how image” look */
.peek-media img {
  width: 100%;
  /* border-radius: var(--radius);*/
  /* box-shadow: var(--shadow-float);*/
  transform: rotate(var(--peek-rot, 1deg));
  transition: transform 0.5s;
}

.peek-media img:hover {
  transform: rotate(0deg);
}
/* Per-section tilt (5 sections) */
.peek-section:nth-child(1) .peek-media img {
  --peek-rot: -1.5deg;
}

.peek-section:nth-child(2) .peek-media img {
  --peek-rot: 2deg;
}

.peek-section:nth-child(3) .peek-media img {
  --peek-rot: -0.8deg;
}

.peek-section:nth-child(4) .peek-media img {
  --peek-rot: 1.2deg;
}

.peek-section:nth-child(5) .peek-media img {
  --peek-rot: -2deg;
}

/* Text below */
.peek-info {
  max-width: 28rem;
  margin: 0 auto;
}

.peek-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--accent-fg);
}
.peek-info h3 span{
  color: var(--highlight);
}

.peek-info p {
  color: var(--muted);
  line-height: 1.6;
}
/* ─── Cards: shared ─── */
.card-fan {
  position: relative;
  width: 150%;
  height: 420px;
}

.card {
  position: absolute;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 6px 24px -6px rgba(0,0,0,0.18);
  border-radius: 1rem;    
}

.card img {
  overflow: hidden;
  height: 100%;
  object-fit: contain;
  display: block;
}

.card figcaption {
    padding: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-fg);
    text-align: center;
    white-space: normal;
    width: 100%;
    background: var(--secondary);
}

/* ───────────────────────────
   MOBILE: positions & dissolve cycle
   ─────────────────────────── */

.card[data-i="0"],
.card[data-i="1"],
.card[data-i="2"],
.card[data-i="3"] {
  left: 50%;
  top: 18px;
}

.card[data-i="0"] {
  z-index: 4; left: 50%; top: 18px;
  transform: translateX(-50%) rotate(-2.5deg);
  animation: mob-0 10s infinite;
}
.card[data-i="1"] {
  z-index: 3; left: 48%; top: 8px;
  transform: translateX(-50%) rotate(4deg);
  animation: mob-1 10s infinite;
}
.card[data-i="2"] {
  z-index: 2; left: 52%; top: 26px;
  transform: translateX(-50%) rotate(-5deg);
  animation: mob-2 10s infinite;
}
.card[data-i="3"] {
  z-index: 1; left: 51%; top: 4px;
  transform: translateX(-50%) rotate(7deg);
  opacity: 0;
  animation: mob-3 10s infinite;
}

/* ─── MOBILE dissolve cycle (unchanged) ─── */

@keyframes mob-0 {
  0%     { z-index: 4; opacity: 1; transform: translateX(-50%) rotate(-2.5deg) scale(1); }
  15%    { z-index: 4; opacity: 1; transform: translateX(-50%) rotate(-2.5deg) scale(1); }
  24.9%  { z-index: 4; opacity: 0; transform: translateX(-50%) rotate(0deg) scale(1.15); }
  25%    { z-index: 1; opacity: 0; transform: translateX(-50%) rotate(-2.5deg) scale(0.85); }
  40%    { z-index: 1; opacity: 0; transform: translateX(-50%) rotate(-2.5deg) scale(0.85); }
  49.9%  { z-index: 1; opacity: 1; transform: translateX(-50%) rotate(-2.5deg) scale(1); }
  50%    { z-index: 2; opacity: 1; transform: translateX(-50%) rotate(-2.5deg) scale(1); }
  74.9%  { z-index: 2; opacity: 1; transform: translateX(-50%) rotate(-2.5deg) scale(1); }
  75%    { z-index: 3; opacity: 1; transform: translateX(-50%) rotate(-2.5deg) scale(1); }
  99.9%  { z-index: 3; opacity: 1; transform: translateX(-50%) rotate(-2.5deg) scale(1); }
  100%   { z-index: 4; opacity: 1; transform: translateX(-50%) rotate(-2.5deg) scale(1); }
}

@keyframes mob-1 {
  0%     { z-index: 3; opacity: 1; transform: translateX(-50%) rotate(4deg) scale(1); }
  24.9%  { z-index: 3; opacity: 1; transform: translateX(-50%) rotate(4deg) scale(1); }
  25%    { z-index: 4; opacity: 1; transform: translateX(-50%) rotate(4deg) scale(1); }
  40%    { z-index: 4; opacity: 1; transform: translateX(-50%) rotate(4deg) scale(1); }
  49.9%  { z-index: 4; opacity: 0; transform: translateX(-50%) rotate(0deg) scale(1.15); }
  50%    { z-index: 1; opacity: 0; transform: translateX(-50%) rotate(4deg) scale(0.85); }
  65%    { z-index: 1; opacity: 0; transform: translateX(-50%) rotate(4deg) scale(0.85); }
  74.9%  { z-index: 1; opacity: 1; transform: translateX(-50%) rotate(4deg) scale(1); }
  75%    { z-index: 2; opacity: 1; transform: translateX(-50%) rotate(4deg) scale(1); }
  99.9%  { z-index: 2; opacity: 1; transform: translateX(-50%) rotate(4deg) scale(1); }
  100%   { z-index: 3; opacity: 1; transform: translateX(-50%) rotate(4deg) scale(1); }
}

@keyframes mob-2 {
  0%     { z-index: 2; opacity: 1; transform: translateX(-50%) rotate(-5deg) scale(1); }
  24.9%  { z-index: 2; opacity: 1; transform: translateX(-50%) rotate(-5deg) scale(1); }
  25%    { z-index: 3; opacity: 1; transform: translateX(-50%) rotate(-5deg) scale(1); }
  49.9%  { z-index: 3; opacity: 1; transform: translateX(-50%) rotate(-5deg) scale(1); }
  50%    { z-index: 4; opacity: 1; transform: translateX(-50%) rotate(-5deg) scale(1); }
  65%    { z-index: 4; opacity: 1; transform: translateX(-50%) rotate(-5deg) scale(1); }
  74.9%  { z-index: 4; opacity: 0; transform: translateX(-50%) rotate(0deg) scale(1.15); }
  75%    { z-index: 1; opacity: 0; transform: translateX(-50%) rotate(-5deg) scale(0.85); }
  90%    { z-index: 1; opacity: 0; transform: translateX(-50%) rotate(-5deg) scale(0.85); }
  99.9%  { z-index: 1; opacity: 1; transform: translateX(-50%) rotate(-5deg) scale(1); }
  100%   { z-index: 2; opacity: 1; transform: translateX(-50%) rotate(-5deg) scale(1); }
}

@keyframes mob-3 {
  0%     { z-index: 1; opacity: 0; transform: translateX(-50%) rotate(7deg) scale(0.85); }
  15%    { z-index: 1; opacity: 0; transform: translateX(-50%) rotate(7deg) scale(0.85); }
  24.9%  { z-index: 1; opacity: 1; transform: translateX(-50%) rotate(7deg) scale(1); }
  25%    { z-index: 2; opacity: 1; transform: translateX(-50%) rotate(7deg) scale(1); }
  49.9%  { z-index: 2; opacity: 1; transform: translateX(-50%) rotate(7deg) scale(1); }
  50%    { z-index: 3; opacity: 1; transform: translateX(-50%) rotate(7deg) scale(1); }
  74.9%  { z-index: 3; opacity: 1; transform: translateX(-50%) rotate(7deg) scale(1); }
  75%    { z-index: 4; opacity: 1; transform: translateX(-50%) rotate(7deg) scale(1); }
  90%    { z-index: 4; opacity: 1; transform: translateX(-50%) rotate(7deg) scale(1); }
  99.9%  { z-index: 4; opacity: 0; transform: translateX(-50%) rotate(0deg) scale(1.15); }
  100%   { z-index: 1; opacity: 0; transform: translateX(-50%) rotate(7deg) scale(0.85); }
}


/* ───────────────────────────
   TABLET
   ─────────────────────────── */
   
      
@media (min-width: 360px) {
  .card-fan {
    width: 130%;
    height: 440px;
  }
}   
      
@media (min-width: 440px) {
  .card-fan {
    width: 110%;
    height: 480px;
  }
}      
@media (min-width: 620px) {
  .card-fan {
    width: 100%;
    height: 520px;
  }
}
   
@media (min-width: 720px) {
  .card-fan {
    width: 100%;
    height: 350px;
  }
  .card {
    max-width: 24%;
  }

  .card figcaption {
    display: block;
  }

  .card[data-i="0"] { left: 0px;   top: 20px; transform: rotate(-2deg);   animation: thl-0 10s infinite; }
  .card[data-i="1"] { left: 25%;   top: 10px; transform: rotate(1.5deg);  animation: thl-1 10s 2.5s infinite; }
  .card[data-i="2"] { left: 50%;   top: 24px; transform: rotate(-1.5deg); animation: thl-2 10s 5.0s infinite; }
  .card[data-i="3"] { right: 0px; left: unset; top: 14px; transform: rotate(2deg); opacity: 1; animation: thl-3 10s 7.5s infinite; }

  @keyframes thl-0 {
    0%, 25%, 100% { transform: rotate(-2deg);  box-shadow: 0 6px 24px -6px rgba(0,0,0,0.18); z-index: 4; }
    4%, 21%       { transform: scale(1.06) translateY(-6px); box-shadow: 0 10px 32px -6px rgba(0,0,0,0.24); z-index: 10; }
  }
  @keyframes thl-1 {
    0%, 25%, 100% { transform: rotate(1.5deg); box-shadow: 0 6px 24px -6px rgba(0,0,0,0.18); z-index: 3; }
    4%, 21%       { transform: scale(1.06) translateY(-6px); box-shadow: 0 10px 32px -6px rgba(0,0,0,0.24); z-index: 10; }
  }
  @keyframes thl-2 {
    0%, 25%, 100% { transform: rotate(-1.5deg); box-shadow: 0 6px 24px -6px rgba(0,0,0,0.18); z-index: 2; }
    4%, 21%       { transform: scale(1.06) translateY(-6px); box-shadow: 0 10px 32px -6px rgba(0,0,0,0.24); z-index: 10; }
  }
  @keyframes thl-3 {
    0%, 25%, 100% { transform: rotate(2deg);  box-shadow: 0 6px 24px -6px rgba(0,0,0,0.18); z-index: 1; }
    4%, 21%       { transform: scale(1.06) translateY(-6px); box-shadow: 0 10px 32px -6px rgba(0,0,0,0.24); z-index: 10; }
  }
}

   
@media (min-width: 820px) {
  .card-fan {
    height: 450px;
  }
}
/* ───────────────────────────
   DESKTOP
   ─────────────────────────── */
@media (min-width: 1200px) {
  .card-fan {
    height: 520px;
  }

  .card figcaption {
    font-size: 1.1rem;
  }

  .card[data-i="0"] { animation: hl-0 10s infinite; }
  .card[data-i="1"] { animation: hl-1 10s 2.5s infinite; }
  .card[data-i="2"] { animation: hl-2 10s 5.0s infinite; }
  .card[data-i="3"] { opacity: 1; animation: hl-3 10s 7.5s infinite; }

  @keyframes hl-0 {
    0%, 25%, 100% { transform: rotate(-2deg);   box-shadow: 0 6px 24px -6px rgba(0,0,0,0.18); z-index: 4; }
    4%, 21%       { transform: scale(1.08) translateY(-8px); box-shadow: 0 10px 36px -6px rgba(0,0,0,0.25); z-index: 10; }
  }
  @keyframes hl-1 {
    0%, 25%, 100% { transform: rotate(1.5deg);  box-shadow: 0 6px 24px -6px rgba(0,0,0,0.18); z-index: 3; }
    4%, 21%       { transform: scale(1.08) translateY(-8px); box-shadow: 0 10px 36px -6px rgba(0,0,0,0.25); z-index: 10; }
  }
  @keyframes hl-2 {
    0%, 25%, 100% { transform: rotate(-1deg);   box-shadow: 0 6px 24px -6px rgba(0,0,0,0.18); z-index: 2; }
    4%, 21%       { transform: scale(1.08) translateY(-8px); box-shadow: 0 10px 36px -6px rgba(0,0,0,0.25); z-index: 10; }
  }
  @keyframes hl-3 {
    0%, 25%, 100% { transform: rotate(2.5deg);  box-shadow: 0 6px 24px -6px rgba(0,0,0,0.18); z-index: 1; }
    4%, 21%       { transform: scale(1.08) translateY(-8px); box-shadow: 0 10px 36px -6px rgba(0,0,0,0.25); z-index: 10; }
  }
}


/* ── CAROUSEL WRAPPER ────────────────────────────────────────── */
/* ── CAROUSEL WRAPPER ── */
.carousel {
    width: 100vw;
    display: flex;
    gap: 50px;
    flex-wrap: nowrap;
}

/* ── each slot: fixed width, animates from its natural position ── */
.carousel__slot {
  display: inline-flex;
  flex-shrink: 0;
  position: relative;
  width: 576px;
  height: 360px;
  will-change: transform;
  animation: 20s linear infinite;
}
.carousel__slot:nth-child(1) { animation-name: scroll-1; }
.carousel__slot:nth-child(2) { animation-name: scroll-2; }
.carousel__slot:nth-child(3) { animation-name: scroll-3; }
.carousel__slot:nth-child(4) { animation-name: scroll-4; }
.carousel__slot:nth-child(5) { margin-right: 50px;animation-name: scroll-5; }

/* slot width + gap = 576px + 50px, × 5 slots = full loop */
@keyframes scroll-1 {
  0%     { transform: translateX(0); opacity: 1; }
  19.9% { transform: translateX(calc(-1 * (576px + 50px))); opacity: 1; }
  19.95% { transform: translateX(calc(-1 * (576px + 50px))); opacity: 0; }
  20%    { transform: translateX(calc(4 * (576px + 50px))); opacity: 0; }
  20.05% { transform: translateX(calc(4 * (576px + 50px))); opacity: 1; }
  100%   { transform: translateX(0); opacity: 1; }
}

@keyframes scroll-2 {
  0%     { transform: translateX(0); opacity: 1; }
  39.9% { transform: translateX(calc(-2 * (576px + 50px))); opacity: 1; }
  39.95% { transform: translateX(calc(-2 * (576px + 50px))); opacity: 0; }
  40%    { transform: translateX(calc(3 * (576px + 50px))); opacity: 0; }
  40.05% { transform: translateX(calc(3 * (576px + 50px))); opacity: 1; }
  100%   { transform: translateX(0); opacity: 1; }
}

@keyframes scroll-3 {
  0%     { transform: translateX(0); opacity: 1; }
  59.9% { transform: translateX(calc(-3 * (576px + 50px))); opacity: 1; }
  59.95% { transform: translateX(calc(-3 * (576px + 50px))); opacity: 0; }
  60%    { transform: translateX(calc(2 * (576px + 50px))); opacity: 0; }
  60.05% { transform: translateX(calc(2 * (576px + 50px))); opacity: 1; }
  100%   { transform: translateX(0); opacity: 1; }
}

@keyframes scroll-4 {
  0%     { transform: translateX(0); opacity: 1; }
  79.9% { transform: translateX(calc(-4 * (576px + 50px))); opacity: 1; }
  79.95% { transform: translateX(calc(-4 * (576px + 50px))); opacity: 0; }
  80%    { transform: translateX(calc(1 * (576px + 50px))); opacity: 0; }
  80.05% { transform: translateX(calc(1 * (576px + 50px))); opacity: 1; }
  100%   { transform: translateX(0); opacity: 1; }
}

@keyframes scroll-5 {
  0%     { transform: translateX(0); opacity: 1; }
  99.9% { transform: translateX(calc(-5 * (576px + 50px))); opacity: 1; }
  99.95% { transform: translateX(calc(-5 * (576px + 50px))); opacity: 0; }
  100%   { transform: translateX(0); opacity: 0; }
}



.carousel__slot img {
  border-radius: 0.5rem;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.carousel__map {
  margin-left: -2rem;
  z-index: -1;
}

/* ── rotations: covers ── */
.carousel__slot:nth-child(1) .carousel__cover { transform: rotate(-2.4deg); }
.carousel__slot:nth-child(2) .carousel__cover { transform: rotate(1.1deg); }
.carousel__slot:nth-child(3) .carousel__cover { transform: rotate(-0.8deg); }
.carousel__slot:nth-child(4) .carousel__cover { transform: rotate(2.6deg); }
.carousel__slot:nth-child(5) .carousel__cover { transform: rotate(-1.5deg); }

/* ── rotations: maps ── */
.carousel__slot:nth-child(1) .carousel__map { transform: rotate(1.7deg); }
.carousel__slot:nth-child(2) .carousel__map { transform: rotate(-2.9deg); }
.carousel__slot:nth-child(3) .carousel__map { transform: rotate(2.2deg); }
.carousel__slot:nth-child(4) .carousel__map { transform: rotate(-0.6deg); }
.carousel__slot:nth-child(5) .carousel__map { transform: rotate(3.3deg); }

/* ── reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .carousel__slot { animation-play-state: paused; }
}


 
/* Container: sized responsively */
.duck-wrap{
  width: 50%;
  max-width: 300px;
  position: relative;
  margin: 0 auto;
  pointer-events: none;
}

/* Make sure SVGs scale to container and are positioned */
.duck-wrap img{
  position: relative;
  left: 50%;
  transform-origin: center bottom;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  display: block;
}

/* Feet: stay fixed in place and do not animate */
.duck-wrap img.duck-feet{
    bottom: 15px;
    z-index: 1;
    will-change: transform;
    position: absolute;
    width: 100%;
}

/* Body: placed slightly above feet; wobble left/right slowly */
.duck-wrap img.duck-body{
  bottom: 0;
  z-index: 2;
  will-change: transform;
  animation: body-wobble 4.5s ease-in-out infinite;
  margin-bottom: 40px;
}

/* Gentle left-right wobble with slight rotation to look natural */
@keyframes body-wobble{
  0%   { transform: translateX(-50%) translateY(0)    rotate(-2deg); }
  25%  { transform: translateX(calc(-50% + 6px)) translateY(-2px) rotate(1.2deg); }
  50%  { transform: translateX(-50%) translateY(0)    rotate(-1deg); }
  75%  { transform: translateX(calc(-50% - 6px)) translateY(2px)  rotate(0.8deg); }
  100% { transform: translateX(-50%) translateY(0)    rotate(-2deg); }
}

/* Accessibility / reduced motion: remove animation */
@media (prefers-reduced-motion: reduce){
  .duck-body{
    animation: none;
  }
}

 /* ─── Try Card ─── */
.try-card {
  background: hsl(0, 0%, 98%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  max-width: 380px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.try-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: hsl(150, 30%, 15%);
  margin: 0 0 0.5rem;
}

.try-card-desc {
  font-size: 1rem;
  color: hsl(150, 15%, 40%);
  line-height: 1.5;
  max-width: 280px;
  margin: 0 0 1.5rem;
}

.try-card-actions {
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-try {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  color: hsl(150, 30%, 15%);
  background: hsl(0, 0%, 98%);
  border: 2px solid hsl(0, 0%, 82%);
  border-radius: 2rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}

.btn-try:hover {
  background: hsl(0, 0%, 94%);
  border-color: hsl(0, 0%, 70%);
  transform: translateY(-1px);
}

/* ─── Duck inside card ─── */
.try-card .duck-wrap {
  width: 55%;
  max-width: 200px;
  position: relative;
  margin: 0 auto 1.5rem;
  pointer-events: none;
}

.try-card .duck-wrap img {
  position: relative;
  left: 50%;
  transform-origin: center bottom;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  display: block;
}

.try-card .duck-wrap img.duck-feet {
  bottom: 0;
  z-index: 1;
  position: absolute;
  width: 50%;
}

.try-card .duck-wrap img.duck-body {
  z-index: 2;
  animation: body-wobble 4.5s ease-in-out infinite;
  margin-bottom: 52px;
}

@keyframes body-wobble {
  0%   { transform: translateX(-50%) translateY(0)    rotate(-2deg); }
  25%  { transform: translateX(calc(-50% + 6px)) translateY(-2px) rotate(1.2deg); }
  50%  { transform: translateX(-50%) translateY(0)    rotate(-1deg); }
  75%  { transform: translateX(calc(-50% - 6px)) translateY(2px)  rotate(0.8deg); }
  100% { transform: translateX(-50%) translateY(0)    rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .try-card .duck-body {
    animation: none;
  }
}

/* CTA ----------------------------------------------------------------- */

.cta {
  padding: 5rem 1rem;
  background: var(--gradient-pink);
  position: relative;
  text-align: center;
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta-lede {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.75rem;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

/* TWO OPTION CARDS ----------------------------------------------------- */

.cta-grid {
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr; /* mobile: stacked */
  gap: 1.25rem;
  align-items: stretch; /* enables equal heights */
}

@media (min-width: 900px) {
  .cta-grid {
    /*grid-template-columns: 1fr 1fr; */
    gap: 1.5rem;
  }
}

/* Card base (this was missing / the main reason they didn't look right) */
.cta-card {
  height: 100%;
  display: flex;
  flex-direction: column;

  text-align: left; /* override .cta center */
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.5rem;
  padding: 2rem;

  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(10px);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px -22px rgba(0, 0, 0, 0.35);
}

/* Titles + text inside cards */
.cta-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 0.5rem 0;
  color: var(--fg);
}

/* Card text: do NOT inherit the CTA header paragraph layout */
.cta-card p {
  margin: 0;
  max-width: none;
  color: var(--muted-fg);
  line-height: 1.6;
}

.cta-card-desc {
  margin-top: 0;
  margin-bottom: 0; /* keep description tight; actions area adds spacing */
}

/* Push actions to the bottom so both cards align nicely */
.cta-card-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.cta-card-fine {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.4;
}

/* Smooth 360° rotating border (no snapping, no overlay) */

/* Register an animatable custom property (Chromium/Safari).
   Firefox will simply show a static border (still looks good). */
@property --kick-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.cta-card--kickstarter {
  /* you can keep 10px here; I made it a variable so you can tune per breakpoint */
  --kick-border: 10px;
  --kick-angle: 0deg;

  border: var(--kick-border) solid transparent;

  /* The first layer is the card fill (opaque so it won’t look “colorful”),
     the second layer is the animated gradient border */
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%) padding-box,
    conic-gradient(
      from var(--kick-angle),
      var(--highlight),
      var(--highlight),
      rgba(255, 255, 255, 0.95),
      var(--accent),
      var(--accent),
      rgba(255, 255, 255, 0.95),
      var(--highlight),
      var(--highlight)
    ) border-box;


  /* Make it stand out against the pink section */
  box-shadow:
    0 22px 70px -35px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 0 38px hsla(45, 100%, 55%, 0.18),
    0 0 55px hsla(197, 75%, 55%, 0.16);

  /* Two animations: constant rotation */
  animation: kickRotate 3s linear infinite;
}

@keyframes kickRotate {
  to {
    --kick-angle: 360deg;
  }
}

/* Optional: reduce border thickness on small screens so it doesn’t eat padding */
@media (max-width: 520px) {
  .cta-card--kickstarter {
    --kick-border: 7px;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cta-card--kickstarter {
    animation: none;
  }
}


/* CTA button (Kickstarter) */
.btn-cta {
  display: inline-block;
  margin-top: 2rem; 
  color: var(--primary-fg);
  background: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.2s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
  transform: scale(1.05);
}

/* Inside cards: remove the big top margin */
.cta-card .btn-cta {
  margin-top: 0.25rem;
  margin-top: 1rem;
}

/* Make primary actions full-width on small screens */
@media (max-width: 520px) {
  .cta-card .btn-cta {
    width: 100%;
    text-align: center;
  }
}

/* Newsletter form inside card */
.cta-newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center; /* looks better in a card */
  align-items: center;
}

.cta-newsletter-input {
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  font: inherit;
  width:100%;
}

.cta-newsletter-input:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}

.cta-newsletter-button {
  border: 0;
  cursor: pointer;
  width: 100%;
}

/* Stack newsletter form controls cleanly on very small screens */
@media (min-width: 480px) {
  .cta-newsletter-form {
    flex-direction: row;
    align-items: stretch;
  }
  .cta-newsletter-input {
    width:70%;
  }
}

/* ===== BREVO EMBEDDED FORM - MINIMAL CSS ===== */

    /* --- Reset & Base --- */
    .sib-form *,
    .sib-form ::after,
    .sib-form ::before {
        box-sizing: border-box;
    }

    .sib-form {
      display: flex;
      flex-direction: column;
    }

    /* --- Outer Container --- */
    #sib-container {
      height: 100%;
    }

    #sib-form {
    }

    /* --- Form Block (wraps each field/button section) --- */
    .sib-form-block {
    }

    .button-fine-print{
      display: flex;
      gap: 1rem;
      align-items: center;
      margin-top: 10px;
      flex-direction: column-reverse;
      justify-content: space-between;
    }
    
    @media (min-width: 500px) {
      .button-fine-print{
        flex-direction: row;
      }
    }    

    .sib-form-block p,
    .sib-form-block ol,
    .sib-form-block ul {
        text-align: inherit;
        margin: 0;
        line-height: 1.5em;
    }

    /* --- Submit Button --- */
    .sib-form-block__button {
      white-space: nowrap;
      width: auto;
    }

    .sib-form-block__button-disabled {
        opacity: 0.5;
    }

    .sib-form-block__button-with-loader {
        min-height: 40px;
        line-height: 23px;
    }

    /* --- Field Label --- */
    .entry__label {
        margin-bottom: 10px;
        width: 100%;
        font-weight: 500;
        word-break: break-word;
        word-wrap: break-word;
    }

    .entry__label::after {
        content: attr(data-required);
        font-size: 1em;
        color: #ff4949;
        text-decoration: none;
        display: inline;
    }
    .entry__specification {
        font-size: 0.85rem;
        display: inline-block;
        color: var(--muted-fg);
        line-height: 1.25rem;
    }
    .sib-form .entry__label {
        display: table;
        font-weight: 700;
        padding: 0;
        white-space: normal;
    }

    /* --- Field Wrapper --- */
    .sib-form .entry__field {
    }

    .sib-form .entry__field:focus-within {
        box-shadow: 0 0 0 2px #c9e1f4;
        border-radius: 9999px;
    }

    /* --- Input --- */
    .sib-form .input {
        width: 100%;
    }

    .sib-form .input--hidden {
        display: none !important;
    }

    .sib-form .input,
    .sib-form .input__affix {
    }

    .sib-form .input:first-child,
    .sib-form .input__affix:first-child {
    }

    .sib-form .input:last-child,
    .sib-form .input__affix:last-child {
    }

    .sib-form .input,
    .sib-form .input__button {
    }

    .sib-form .input:not(textarea),
    .sib-form .input__button {
    }

    .sib-form .input {
    }

    .sib-form .sib-entry_block .entry__field,
    .sib-form .form__row .entry__field,
    .sib-form .sib-form_block .entry__field {
    }

    .sib-form .sib-entry_block .input,
    .sib-form .form__row .input,
    .sib-form .sib-form_block .input {
    }

    /* --- Placeholder Colors --- */
    .sib-form ::-webkit-input-placeholder { color: #c0ccda; opacity: 1; }
    .sib-form ::-moz-placeholder          { color: #c0ccda; opacity: 1; }
    .sib-form :-ms-input-placeholder      { color: #c0ccda; opacity: 1; }
    .sib-form ::-ms-input-placeholder     { color: #c0ccda; opacity: 1; }
    .sib-form ::placeholder                { color: #c0ccda; opacity: 1; }

    /* --- Inline validation error --- */
    .entry__error {
        display: none;
        margin-top: 6px;
        margin-bottom: 6px;
        background: rgba(0, 0, 0, 0);
    }

    .sib-form .entry__error {
        display: none;
        color: #ff4949;
        font-size: 0.87055056rem;
        line-height: 1rem;
    }

    /* --- Success / Error Message Panels --- */
    .sib-form-message-panel {
        margin: 0 0 1.25rem 0;
        width: 100%;
        padding: 0.4375rem;
        border: 1px solid;
        display: none;
    }

    .sib-form-message-panel--active {
        display: inline-block;
    }

    .sib-form-message-panel__text {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0.5rem;
    }

    .sib-form-message-panel__text .sib-icon {
        contain: strict;
        display: inline-block;
        fill: currentColor;
    }

    .sib-form-message-panel__text .sib-notification__icon {
        height: 1.5em;
        width: 1.5em;
        flex-shrink: 0;
        margin-right: calc(1rem - 1px);
    }

    /* --- Loader (spinner shown during submit) --- */
    .sib-hide-loader-icon {
        display: none;
    }

    .sib-loader {
        display: inline-block;
        position: relative;
        width: 64px;
        height: 64px;
    }

    .sib-loader div {
        position: absolute;
        width: 5px;
        height: 5px;
        background: #fff;
        border-radius: 50%;
        animation: loader 1.2s linear infinite;
    }

    .sib-loader div:nth-child(1)  { animation-delay: 0s;    top: 29px; left: 53px; }
    .sib-loader div:nth-child(2)  { animation-delay: -0.1s; top: 18px; left: 50px; }
    .sib-loader div:nth-child(3)  { animation-delay: -0.2s; top: 9px;  left: 41px; }
    .sib-loader div:nth-child(4)  { animation-delay: -0.3s; top: 6px;  left: 29px; }
    .sib-loader div:nth-child(5)  { animation-delay: -0.4s; top: 9px;  left: 18px; }
    .sib-loader div:nth-child(6)  { animation-delay: -0.5s; top: 18px; left: 9px;  }
    .sib-loader div:nth-child(7)  { animation-delay: -0.6s; top: 29px; left: 6px;  }
    .sib-loader div:nth-child(8)  { animation-delay: -0.7s; top: 41px; left: 9px;  }
    .sib-loader div:nth-child(9)  { animation-delay: -0.8s; top: 50px; left: 18px; }
    .sib-loader div:nth-child(10) { animation-delay: -0.9s; top: 53px; left: 29px; }
    .sib-loader div:nth-child(11) { animation-delay: -1s;   top: 50px; left: 41px; }
    .sib-loader div:nth-child(12) { animation-delay: -1.1s; top: 41px; left: 50px; }

    @keyframes loader {
        0%, 20%, 80%, 100% { transform: scale(1); }
        50% { transform: scale(1.5); }
    }

    /* --- Links inside the form container --- */
     .sib-form-container {
        height: 100%;
    }
    .sib-form-container a {
        text-decoration: underline;
        color: #2bb2fc;
    }

    /* --- Form layout rows --- */
    .form__label-row {
      margin-top: 0.5rem;
    }

    /* --- Responsive --- */


    @media screen and (max-width: 375px) {
        .g-recaptcha.sib-visible-recaptcha {
            transform: scale(0.8);
            -webkit-transform: scale(0.8);
            transform-origin: 0 0;
            -webkit-transform-origin: 0 0;
        }
    }


/* Reddit button */
.btn-reddit {
  display: inline-block;
  background: #ff4500;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.2s;
  box-shadow: var(--shadow-playful);
}

.btn-reddit:hover {
  transform: scale(1.05);
}

/* ===================== COMMUNITY (REDDIT) ===================== */

.community-reddit {
  padding: 5rem 0 10rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* decorative blobs */
.community-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}
.community-blob--1 {
  width: 420px; height: 420px;
  background: hsla(322, 100%, 70%, 0.25);
  top: -80px; right: -120px;
}
.community-blob--2 {
  width: 320px; height: 320px;
  background: hsla(197, 75%, 65%, 0.2);
  bottom: 60px; left: -100px;
}

.community-reddit .section-header h2 .hl { color: #ff4500; }
.community-reddit .section-header h2 { display: unset; }

.community-lede {
  color: var(--muted-fg);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0.75rem auto 0;
  line-height: 1.6;
}


/* main card */
.community-card-reddit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: var(--card);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-float);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 69, 0, 0.12);
}
@media (min-width: 768px) {
  .community-card-reddit {
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
    gap: 3rem;
  }
}

/* left body */
.community-card-reddit__snoo {
  width: 3.5rem; height: 3.5rem;
  margin-bottom: 1rem;
  animation: bounce-slow 4s ease-in-out infinite;
}
.community-card-reddit__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}
.community-card-reddit__desc {
  color: var(--muted-fg);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* perks */
.community-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.community-perks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--fg);
}

/* CTA button */
.btn-reddit-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ff4500;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px -4px rgba(255, 69, 0, 0.45);
}
.btn-reddit-cta:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(255, 69, 0, 0.55);
}
.community-card-reddit__fine {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted-fg);
}

/* right preview */
.community-card-reddit__preview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reddit-post {
  display: flex;
  gap: 0.75rem;
  background: hsl(80, 60%, 97%);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.reddit-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -6px rgba(0,0,0,0.12);
}
.reddit-post--secondary { opacity: 0.8; }
.reddit-post__votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 2rem;
}
.reddit-vote-arrow { color: #ff4500; font-size: 0.85rem; }
.reddit-vote-count { font-size: 0.8rem; font-weight: 700; color: var(--fg); }
.reddit-post__meta { font-size: 0.7rem; color: var(--muted-fg); margin-bottom: 0.35rem; }
.reddit-post__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.reddit-post__img-placeholder {
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--accent);
  margin-bottom: 0.5rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.reddit-post__img-placeholder img { width: 100%; height: auto; display: block; }
.reddit-post__img-fallback { font-size: 0.8rem; color: var(--muted-fg); position: absolute; }
.reddit-post__actions {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-fg);
  flex-wrap: wrap;
}

a.reddit-post {
  display: flex;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}


/* FOOTER -------------------------------------------------------------- */

.footer {
  background: var(--fg);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-logo {
  height: 2.5rem;
  margin: 0 auto 1rem;
}

.footer p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer .tagline {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.5rem;
}

/* Footer language links */
.footer-lang {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.footer-lang-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-lang-link:hover {
  text-decoration: underline;
}

.footer-lang-link.is-active-lang {
  color: #fff;
  font-weight: 700;
}

.footer-lang-sep {
  margin: 0 0.25rem;
  color: rgba(255, 255, 255, 0.4);
}


/* ANIMATIONS ---------------------------------------------------------- */

@keyframes bounce-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-8px) rotate(1deg);
  }
  66% {
    transform: translateY(-4px) rotate(-1deg);
  }
}

.anim-bounce {
  animation: bounce-slow 3s ease-in-out infinite;
}

.anim-wiggle {
  animation: wiggle 2s ease-in-out infinite;
}

.anim-float {
  animation: float 4s ease-in-out infinite;
}

/* RESPONSIVE ---------------------------------------------------------- */



@media (max-width: 767px) {
  .peek-tabs {
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.5rem;
  }
}

@media (min-width: 1200px) {
.features {
  padding: 0.5rem 0 5rem 0;
  }
.peek {
  padding: 2rem 0 5rem 0;
  } 
.cta {
  padding: 10rem 0;
  }   
}

/* ═══════════════════════════════════════════════════════════════════
   PLAYTEST PAGE
   ═══════════════════════════════════════════════════════════════════ */


/* ── HERO ─────────────────────────────────────────────────── */

.hero-playtest {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem 7rem;
    position: relative;
    background: var(--gradient-hero);
    text-align: center;
    overflow: hidden;
}

.hero-playtest::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 35%, hsla(322, 100%, 55%, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 75% 60%, hsla(45, 100%, 60%, 0.08) 0%, transparent 50%);
    pointer-events: none;
}


.badge-fun-playtest {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--gradient-pink);
    color: var(--primary-fg);
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

.hero-playtest h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-playtest h1 .hl { color: var(--highlight); }

.hero-playtest p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 32rem;
    margin: 0 auto;
}

.hero-wave-playtest {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
}

/* ── PERKS ────────────────────────────────────────────────── */

.perks-playtest {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 0;
    padding: 0 1rem;
    position: relative;
    z-index: 3;
}

@media (max-width: 600px) { .perks-playtest { grid-template-columns: 1fr; } }

.perk-card-playtest {
    background: var(--card);
    border: 1px solid var(--borderplaytest);
    border-radius: 1.5rem;
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-card);
}

.perk-card-playtest:hover {
    transform: scale(1.05) translateY(-0.5rem);
    box-shadow: var(--shadow-float);
}

.perk-icon-playtest {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
}

.perk-icon--pink-playtest  { background: var(--gradient-pink); }
.perk-icon--green-playtest { background: var(--secondary); }
.perk-icon--gold-playtest  { background: var(--highlight); }

.perk-card-playtest h3 { font-size: 1.25rem; font-weight: 700; }
.perk-card-playtest p   { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.5; }

/* ── HOW IT WORKS — VERTICAL TIMELINE ─────────────────────── */

.how-section-playtest {
    max-width: 680px;
    margin: 4.5rem auto;
    padding: 0 1.5rem;
}

.how-section-playtest h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 2.75rem;
}

.how-section-playtest h2 .hl { color: var(--primary); }

.steps-playtest {
    position: relative;
    padding-left: 44px;
}

.steps-playtest::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-pink);
    border-radius: 3px;
}

.step-playtest {
    position: relative;
    margin-bottom: 2.25rem;
}

.step-playtest:last-child { margin-bottom: 0; }

.step-dot-playtest {
    position: absolute;
    left: -37px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px var(--primary);
}

.step-playtest h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 0.25rem;
}

.step-playtest p {
    font-size: 0.92rem;
    color: var(--muted-fg);
    line-height: 1.6;
}

/* ── VERSION BANNER ───────────────────────────────────────── */

.version-banner-playtest {
    max-width: 620px;
    margin: 3.5rem auto;
    padding: 0 1rem;
}

.version-inner-playtest {
    background: var(--card);
    border: 1px solid var(--borderplaytest);
    border-radius: 1.5rem;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-card);
}

.version-tag-playtest {
    display: inline-block;
    background: var(--highlight);
    color: var(--highlight-fg);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.version-inner-playtest p {
    font-size: 0.9rem;
    color: var(--muted-fg);
    flex: 1;
    min-width: 200px;
    line-height: 1.5;
}

/* ── FORM SECTION ─────────────────────────────────────────── */

.form-section-playtest {
    padding: 3rem 1rem 6rem;
    background: var(--bg);
}

.section-header-playtest {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header-playtest h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.section-header-playtest h2 .hl { color: var(--primary); }

.section-header-playtest p {
    color: var(--muted-fg);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.form-card-playtest {
    max-width: 580px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--borderplaytest);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.form-group-playtest { margin-bottom: 1.25rem; }

.form-group-playtest label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--fg);
    margin-bottom: 0.4rem;
}

.form-group-playtest label .req { color: var(--primary); }

.form-group-playtest input,
.form-group-playtest select,
.form-group-playtest textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    border: 2px solid var(--borderplaytest);
    background: var(--bg);
    color: var(--fg);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group-playtest textarea {
    border-radius: var(--radius);
    resize: vertical;
    min-height: 90px;
}

.form-group-playtest input::placeholder,
.form-group-playtest textarea::placeholder { color: var(--muted-fg); }

.form-group-playtest input:focus,
.form-group-playtest select:focus,
.form-group-playtest textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px hsla(322, 100%, 55%, 0.12);
}

.form-row-playtest {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 500px) { .form-row-playtest { grid-template-columns: 1fr; } }

.choice-group-playtest {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.choice-group-playtest label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    background: var(--muted);
    padding: 0.5rem 0.85rem;
    border-radius: 9999px;
    border: 2px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}

.choice-group-playtest label:hover { border-color: var(--primary); }

.choice-group-playtest input[type="checkbox"],
.choice-group-playtest input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.btn-submit-playtest {
    width: 100%;
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: var(--primary-fg);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: transform 0.2s;
    box-shadow: var(--shadow-playful);
}

.btn-submit-playtest:hover { transform: scale(1.03); }

.form-fine-playtest {
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted-fg);
    margin-top: 1rem;
}

.success-message-playtest {
    display: none;
    text-align: center;
    padding: 3rem 1.5rem;
}

.success-message-playtest.show { display: block; }
.success-icon-playtest { font-size: 3rem; margin-bottom: 1rem; }

.success-message-playtest h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--fg);
    margin-bottom: 0.5rem;
}

.success-message-playtest p {
    color: var(--muted-fg);
    font-size: 0.95rem;
    max-width: 28rem;
    margin: 0 auto;
}


.status-bar-playtest {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: var(--secondary-fg);
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-display);
    z-index: 50;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.status-bar-playtest.show { transform: translateY(0); }
.status-bar-playtest.error { background: #c0392b; }


/* ============================================================
   SECTION HEADER — unified base
   ============================================================ */

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

.section-header h2 .hl {
  color: var(--primary);
}

.section-header h2 img {
  width: clamp(2rem, 5vw, 3.5rem);
  height: auto;
}

/* ============================================================
   SECTION BADGE — one class, colors from parent section
   ============================================================ */

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
  /* default colors — works on light backgrounds */
  background: var(--gradient-pink);
  color: var(--primary-fg);
  white-space: nowrap;
}

/* ============================================================
   PER-SECTION color overrides
   ============================================================ */

/* Features — default badge (pink gradient) + default h2 color */
/* No overrides needed */

/* How to Play — green bg, light text */
.how-to-play .section-header h2 {
  color: var(--secondary-fg);
  display: unset;
}

.how-to-play .section-header h2 .hl {
  color: var(--highlight);
  display: inline-flex;
}

.how-to-play .section-badge {
  background: rgba(255, 255, 255, 0.2);
  color: var(--primary-fg);
}


.peek .section-badge {
  background: var(--gradient-pink);
  color: var(--primary-fg);
}

/* CTA — dark bg */
.cta .section-header h2 {
  color: var(--primary-fg);
}

.cta .section-badge {
  background: var(--highlight);
  color: var(--highlight-fg);
}

/* Community — light bg */
.community-reddit .section-badge {
  background: #ff4500;
  color: var(--primary-fg);
}

/* ============================================================
   HERO PHOTO — full-width fixed image
   ============================================================ */


.hero-photo img {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  object-fit: cover;
  z-index: -3;
}
.hero-photo {
  height: 90svh;
  position: relative;
  overflow: hidden;
  background: transparent;
  z-index: -2;
}

/* Make sure surrounding sections sit above the fixed image */
.features,
.how-to-play,
.peek,
.cta,
.community-reddit {
  position: relative;
  z-index: 1;
}

/* Second hero image scrolls naturally, not fixed */
.hero-photo--pocket img,
.hero-photo--pocket .hero-photo-landscape,
.hero-photo--pocket .hero-photo-portrait {
  position: relative;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 0;
  bottom: unset;
  left: unset;
}

.hero-photo--pocket {
  overflow: hidden;
  z-index: 1;
}

.hero-photo--pocket .hero-photo-landscape {
  display: none;
}

@media (min-width: 720px) {
  .hero-photo--pocket .hero-photo-landscape {
    display: block;
  }
  .hero-photo--pocket .hero-photo-portrait {
    display: none;
  }
}

.hero-photo--pocket {
  position: relative;
  overflow: hidden;
}

.hero-photo--pocket .hero-photo-landscape,
.hero-photo--pocket .hero-photo-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-photo--pocket .social-proof-overlay {
  position: absolute;
  inset: 0;
  background: hsla(150, 30%, 10%, 0.65);
  z-index: 1;
}

.hero-photo--pocket .social-proof-content {
  position: relative;
  z-index: 2;
  padding-block: 4rem;
}

.hero-photo--pocket .hero-wave-transparent-in,
.hero-photo--pocket .hero-wave-transparent-out {
  position: relative;
  z-index: 3;
}




/* SOCIAL PROOF SECTION -------------------------------------------------- */

.social-proof {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.social-proof-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.social-proof-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-proof-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 30, 0.8);
}

.social-proof .section-header .badge-fun,
.social-proof .section-header h2 {
  color: #fff;
}

.social-proof .section-header .hl {
  color: var(--highlight);
}

/* Testimonials */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem auto;
  max-width: 960px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.25rem;
  padding: 1.75rem;
  text-align: left;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
}

/* Social follow CTA */

.social-follow-text {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

/* Shared Social Icon Styles */

.social-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  max-width: 600px;
  margin: 2rem auto;
  padding: 0;
}

@media (min-width: 480px) {
  .social-icons {
    padding: 0 2rem;
  }
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
  text-decoration: none;  
  transform: scale(2);
}

.social-icons a:hover {
  transform: scale(2.4);
}

/* Large icons (Social Proof section) */

.social-icons--large a {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.social-icons--large a:hover {
  background: var(--primary);
  color: var(--primary-fg);
}

.social-icons--large svg {
  width: 1.4rem;
  height: 1.4rem;
}

/* Small icons (Footer) */


.social-icons--small a {
  width: 2rem;
  height: 2rem;
  color: rgba(255, 255, 255, 0.5);
}

.social-icons--small a:hover {
  color: #fff;
}

.social-icons--small svg {
  width: 1rem;
  height: 1rem;
}

/* Footer links (Impressum, Datenschutz) */

.footer-links {
  margin-top: 0.75rem;
  font-size: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}
/* ─── Social Proof Content ─── */
.social-proof-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.proof-cards {
  grid-template-columns: repeat(1, 1fr);
  gap: 0.75rem;
  display: grid;
  width: 100%;
}


.proof-stars svg {
  width: 0.9rem;
  height: 0.9rem;
}


.social-icons--large a {
  width: 2.5rem;
  height: 2.5rem;
}

.social-icons--large svg {
  width: 1.2rem;
  height: 1.2rem;
}


/* ─── Review cards ─── */
.proof-card--review {
  position: relative;
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  height: 300px;
  box-shadow: 0 6px 24px -6px rgba(0, 0, 0, 0.18);
}

.proof-card--review img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.proof-card--review:hover img {
  transform: scale(1.04);
}

.proof-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.75rem;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    hsla(0, 0%, 0%, 0.25) 55%,
    hsla(0, 0%, 0%, 0.7) 100%
  );
}

/* SVG Stars */

.proof-stars svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: var(--highlight);
  flex-shrink: 0;
}

.proof-quote {
    color: var(--accent-fg);
    font-size: 1rem;
    line-height: 1.4;
}

.proof-author {
  font-style: normal;
  font-weight: 600;
  color: var(--border);
  font-size: 0.8rem;
}

/* ─── Try Card (4th card, same height) ─── */
.proof-card--try {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem;
  gap: 0.6rem;
  border-radius: 1.25rem;
  background: var(--bg);
}

.proof-card--try .duck-wrap {
  position: relative;
  width: 50%;
  max-width: 120px;
}

.proof-card--try .duck-body {
  height: auto;
  object-fit: contain;
  animation: duckWobble 2.8s ease-in-out infinite;
  width: 180%;
  max-width: 180%;
}

.proof-card--try .duck-feet {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
}

.proof-card--try .try-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: var(--muted-fg);
}

.proof-card--try .try-card-desc {
  font-size: 0.85rem;
  margin: 0;
  color: var(--muted-fg);
  line-height: 1.4;
}

.proof-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
  gap: 1rem;
}

.proof-stars {
  display: flex;
  gap: 0.15rem;
  flex-shrink: 0;
}

.proof-stars svg {
  width: 1rem;
  height: 1rem;
}


.btn-try {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
  background: transparent;
  border: 1.5px solid hsla(0, 0%, 100%, 0.3);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-try:hover {
  background: hsla(0, 0%, 100%, 0.1);
  border-color: hsla(0, 0%, 100%, 0.5);
}

/* ─── Social Follow ─── */
.social-follow-text {
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.social-icons--large {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icons--large a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: hsla(0, 0%, 100%, 0.7);
  background: hsla(0, 0%, 100%, 0.08);
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.social-icons--large a:hover {
  color: #fff;
  background: hsla(0, 0%, 100%, 0.18);
  transform: scale(1.12);
}

.social-icons--large svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* ─── DESKTOP ─── */
@media (min-width: 480px) {
  .proof-cards {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
  }
  .proof-card--review {
    height: unset;
  }
  .proof-meta {
    flex-direction: column-reverse;
    margin-top: 0.5rem;
    gap: 0.2rem;
  }
}

/* ─── DESKTOP ─── */
@media (min-width: 830px) {
  .proof-meta {
    flex-direction: row-reverse;
    margin-top: 0.5rem;
    gap: 1rem;
  }
}

/* ─── DESKTOP ─── */
@media (min-width: 920px) {
  .proof-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .proof-meta {
    flex-direction: column-reverse;
    margin-top: 0.5rem;
    gap: 0.2rem;
  }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .proof-card--review img { transition: none; }
  .proof-card--review:hover img { transform: none; }
  .proof-card--try .duck-body { animation: none; }
  .btn-try { transition: none; }
  .social-icons--large a { transition: none; }
}
.legalstuff {
  max-width: 1200px;
  box-shadow: 1px 1px 10px #000;
  margin: 110px auto;
  padding: 20px;
  width: 100%;
}



/* THANK YOU PAGE ====================================================== */

.thankyou-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  background: var(--bg);
  text-align: center;
}

.thankyou-inner {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Celebration icon */
.thankyou-icon {
  font-size: 4rem;
  line-height: 1;
  opacity: 0;
  transform: scale(0.3);
}

/* Celebration icon – CSS-only animation (remove the JS pop class) */
.thankyou-icon {
  font-size: 4rem;
  line-height: 1;
  animation: icon-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             icon-bounce 2s ease-in-out 0.6s infinite;
}

@keyframes icon-pop {
  0%   { opacity: 0; transform: scale(0.3); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes icon-bounce {
  0%, 100% { transform: scale(1)    translateY(0); }
  50%      { transform: scale(1.12) translateY(-6px); }
}

/* ── Reduced motion ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .thankyou-icon {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Heading */
.thankyou-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  color: var(--fg);
}
.thankyou-hero h1 .hl {
  color: var(--highlight);
}

/* Subtitle */
.thankyou-subtitle {
  font-size: 1.1rem;
  color: var(--fg);
  opacity: 0.8;
  max-width: 480px;
  line-height: 1.6;
}

/* ── Kickstarter CTA card ──────────────────── */
.thankyou-cta-card {
  background: var(--card);
  border-radius: var(--radius, 1rem);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card, 0 2px 12px rgb(0 0 0 / .08));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 480px;
  margin-top: 0.5rem;
}

.thankyou-cta-icon svg {
  width: 48px;
  height: 48px;
  fill: #05ce78;          /* Kickstarter green */
}

.thankyou-cta-card h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--fg);
}

.thankyou-cta-card p {
  font-size: 0.95rem;
  color: var(--fg);
  opacity: 0.75;
  line-height: 1.5;
  max-width: 380px;
}

/* Kickstarter button */
.btn-kickstarter {
  background: #05ce78 !important;
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgb(5 206 120 / .35);
}
.btn-kickstarter:hover {
  background: #04b86b !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgb(5 206 120 / .45);
}

/* Back link */
.thankyou-home-link {
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.thankyou-home-link:hover {
  opacity: 0.7;
}

/* ── Reduced motion ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .thankyou-icon {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn-kickstarter { transition: none; }
}
