/* ==========================================================================
   Kutie Pye — Bold & Loud Adult Humor Gift Store
   Black backgrounds, neon accents, big type, zero apologies.
   ========================================================================== */

/* --- Google Fonts loaded in layout.ejs --- */

:root {
  --pink:       #FF2D87;
  --yellow:     #FFE600;
  --lime:       #39FF14;
  --cyan:       #00F0FF;
  --orange:     #FF6B2B;
  --bg:         #0A0A0A;
  --bg-card:    #151515;
  --bg-stripe:  #111111;
  --text:       #F5F5F5;
  --text-muted: #999999;
  --radius:     12px;
}

/* --- Reset & Base -------------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

/* --- Utility ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* --- NAV ----------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10,10,10,.85);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--pink);
  text-transform: uppercase;
}

.nav__logo span { color: var(--yellow); }

.nav__links { display: flex; gap: 32px; list-style: none; }

.nav__links a {
  font-size: .9rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1px;
  transition: color .2s;
}

.nav__links a:hover { color: var(--pink); }

.nav__cta {
  display: inline-flex; align-items: center;
  padding: 10px 24px;
  font-family: 'Bebas Neue', cursive;
  font-size: 1rem; letter-spacing: 1.5px;
  background: var(--pink); color: #000;
  border: none; border-radius: 6px; cursor: pointer;
  text-transform: uppercase;
  transition: transform .2s, box-shadow .2s;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255,45,135,.5);
}

/* mobile nav toggle */
.nav__toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; }

/* --- HERO ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* animated gradient bg */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,45,135,.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(255,230,0,.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(57,255,20,.08) 0%, transparent 50%);
  animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0%   { opacity: .7; transform: scale(1); }
  100% { opacity: 1;  transform: scale(1.05); }
}

/* noise texture overlay */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content { position: relative; z-index: 2; max-width: 900px; }

.hero__badge {
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: 24px;
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  border-radius: 100px;
  animation: badgePop .6s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes badgePop {
  0%   { opacity: 0; transform: scale(.8) translateY(10px); }
  100% { opacity: 1; transform: scale(1)  translateY(0); }
}

.hero__title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.hero__title .accent-pink   { color: var(--pink); }
.hero__title .accent-yellow { color: var(--yellow); }
.hero__title .accent-lime   { color: var(--lime); }

.hero__sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px;
  font-family: 'Bebas Neue', cursive;
  font-size: 1.2rem; letter-spacing: 2px;
  text-transform: uppercase;
  border: none; border-radius: 8px; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.btn:hover { transform: translateY(-3px); }

.btn--primary {
  background: var(--pink); color: #000;
  box-shadow: 0 0 30px rgba(255,45,135,.3);
}
.btn--primary:hover { box-shadow: 0 0 40px rgba(255,45,135,.6); }

.btn--outline {
  background: transparent; color: var(--text);
  border: 2px solid rgba(255,255,255,.2);
}
.btn--outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  box-shadow: 0 0 20px rgba(255,230,0,.15);
}

/* scroll indicator */
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll svg { width: 28px; height: 28px; stroke: var(--text-muted); }

@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(10px); }
}

/* --- MARQUEE ------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  background: var(--pink);
  padding: 14px 0;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  animation: marqueeScroll 25s linear infinite;
}

.marquee__item {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem; letter-spacing: 3px;
  text-transform: uppercase;
  color: #000;
  padding: 0 40px;
  flex-shrink: 0;
}

.marquee__item::after {
  content: '\2726';
  margin-left: 40px;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- PRODUCTS ------------------------------------------------------------ */
.products {
  padding: 100px 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
}

.section-title .accent-pink   { color: var(--pink); }
.section-title .accent-yellow { color: var(--yellow); }

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,45,135,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.product-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}

/* Each card gets a unique gradient bg */
.product-card:nth-child(1) .product-card__placeholder {
  background: linear-gradient(135deg, #1a0a1e 0%, #2d0a3e 50%, rgba(255,45,135,.15) 100%);
}
.product-card:nth-child(2) .product-card__placeholder {
  background: linear-gradient(135deg, #1a1500 0%, #2d2400 50%, rgba(255,230,0,.15) 100%);
}
.product-card:nth-child(3) .product-card__placeholder {
  background: linear-gradient(135deg, #001a0d 0%, #003320 50%, rgba(57,255,20,.15) 100%);
}

.product-card__badge {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 12px;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border-radius: 100px;
  background: var(--pink); color: #000;
}

.product-card__body { padding: 28px; }

.product-card__name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.product-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9rem;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--pink);
  transition: gap .2s;
}

.product-card__link:hover { gap: 12px; }

.product-card__link svg { width: 18px; height: 18px; }

/* --- WHY SECTION --------------------------------------------------------- */
.why {
  padding: 100px 0;
  background: var(--bg-stripe);
  position: relative;
}

/* diagonal stripe accent */
.why::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--pink) 0px,
    var(--pink) 40px,
    var(--yellow) 40px,
    var(--yellow) 80px,
    var(--lime) 80px,
    var(--lime) 120px,
    var(--cyan) 120px,
    var(--cyan) 160px
  );
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why__content { max-width: 520px; }

.why__title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 24px;
}

.why__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.why__features { display: flex; flex-direction: column; gap: 24px; }

.why-feature {
  display: flex; gap: 20px; align-items: flex-start;
}

.why-feature__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-size: 1.4rem;
}

.why-feature:nth-child(1) .why-feature__icon { background: rgba(255,45,135,.15); }
.why-feature:nth-child(2) .why-feature__icon { background: rgba(255,230,0,.15); }
.why-feature:nth-child(3) .why-feature__icon { background: rgba(57,255,20,.15); }

.why-feature__text h4 {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.why-feature__text p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Right side — big testimonial/quote card */
.why__card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.why__card::before {
  content: '\201C';
  position: absolute; top: -20px; left: 20px;
  font-family: 'Bebas Neue', cursive;
  font-size: 12rem;
  color: rgba(255,45,135,.08);
  line-height: 1;
}

.why__quote {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.why__quote-author {
  font-size: .9rem;
  color: var(--text-muted);
}

.why__quote-author strong { color: var(--yellow); }

/* --- CTA BANNER ---------------------------------------------------------- */
.cta-banner {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, rgba(255,45,135,.12) 0%, transparent 60%),
    var(--bg);
}

.cta-banner__title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3rem, 8vw, 6rem);
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 16px;
}

.cta-banner__sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- FOOTER -------------------------------------------------------------- */
.footer {
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  background: var(--bg);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__brand {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--pink);
}

.footer__brand span { color: var(--yellow); }

.footer__links {
  display: flex; gap: 24px; list-style: none;
}

.footer__links a {
  font-size: .85rem;
  color: var(--text-muted);
  transition: color .2s;
}

.footer__links a:hover { color: var(--text); }

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* --- ANIMATIONS (scroll-triggered via IntersectionObserver in JS) -------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.stagger-children .fade-up:nth-child(1) { transition-delay: .05s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: .15s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: .25s; }

/* --- RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 900px) {
  .products__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .why__grid      { grid-template-columns: 1fr; }
  .why__card      { order: -1; }
  .nav__links     { display: none; }
  .nav__toggle    { display: block; }
}

@media (max-width: 600px) {
  .hero { padding: 100px 16px 60px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .why__card { padding: 32px; }
  .why__quote { font-size: 1.2rem; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}
