/* ============================================================
   SARDINE QUEEN — sardinequeen.com
   Interactive Games for a Good Time & Bad Decisions
   ============================================================ */

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

:root {
  /* ── SQ neon + gold palette ── */
  --hot-pink:    #ff006e;
  --hot-pink-dk: #d9005f;
  --hot-pink-lt: #ff4d9d;
  --electric:    #00d4ff;
  --neon-green:  #00e676;
  --neon-orange: #ff6b00;
  --gold:        #d4a849;
  --gold-lt:     #ecc862;

  /* ── Light theme ── */
  --bg:          #ffffff;
  --bg-cream:    #fffaf3;
  --bg-section:  #faf5ee;
  --black:       #0a0a0a;
  --card-bg:     #ffffff;
  --border:      #ece6dc;
  --border-mid:  #d8d0c2;

  /* ── Text ── */
  --text:        #1a1a1a;
  --text-mid:    #4a4a4a;
  --text-light:  #888;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes card-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } }
@keyframes float-bg { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-15px) rotate(6deg); } }

/* ── Floating background emojis ── */
.float-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.float-emoji { position: absolute; font-size: 22px; opacity: 0.08; animation: float-bg 8s ease-in-out infinite; }

/* ── Ticker — hot pink ── */
.ticker-bar {
  background: linear-gradient(90deg, var(--hot-pink) 0%, var(--neon-orange) 50%, var(--hot-pink) 100%);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}
.ticker-track { display: flex; white-space: nowrap; animation: marquee 32s linear infinite; will-change: transform; }
.ticker-track span { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: white; padding: 0 2rem; }
.ticker-divider { color: rgba(255,255,255,0.7); padding: 0; font-size: 8px; }

/* ── Nav with horizontal logo ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 1.5rem;
  height: 64px;
  gap: 1rem;
}
.nav-logo-link { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 44px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  padding: 6px 12px;
  transition: color 0.12s;
  white-space: nowrap;
  display: none;
}
@media (min-width: 500px) { .nav-link { display: block; } }
.nav-link:hover { color: var(--hot-pink); }

/* ── Hero ── */
.hero {
  padding: 4rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(255,0,110,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 100%, rgba(0,212,255,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(212,168,73,0.06) 0%, transparent 55%),
    var(--bg);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,0,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,0,110,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; animation: fade-up 0.6s ease both; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,0,110,0.08);
  border: 1px solid rgba(255,0,110,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hot-pink);
  margin-bottom: 1.4rem;
}
.hero-tag-dot { width: 6px; height: 6px; background: var(--hot-pink); border-radius: 50%; box-shadow: 0 0 8px var(--hot-pink); animation: pulse-dot 2s ease-in-out infinite; }

.hero-title {
  font-family: 'Anybody', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.hero-title .t1 { color: var(--text); display: block; }
.hero-title .t2 { color: var(--hot-pink); display: block; }

.hero-script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  font-size: 0.55em;
  letter-spacing: 0;
  display: inline-block;
  transform: rotate(-3deg);
  vertical-align: middle;
  margin-left: 8px;
}

.hero-tagline {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-style: italic;
  color: var(--text-mid);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin: 0.5rem 0 1.5rem;
}

.hero-desc {
  font-size: clamp(0.92rem, 2.4vw, 1.05rem);
  font-weight: 400;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}
.hero-desc strong { color: var(--text); font-weight: 700; }

.hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-coral {
  background: var(--hot-pink); color: white;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 4px; text-decoration: none;
  border: none; cursor: pointer; transition: all 0.14s; display: inline-block;
}
.btn-coral:hover { background: var(--hot-pink-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,0,110,0.35); }

.btn-ghost {
  background: transparent; color: var(--text);
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 30px; border-radius: 4px; text-decoration: none;
  border: 1.5px solid var(--border-mid); cursor: pointer; transition: all 0.14s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--black); color: var(--black); transform: translateY(-2px); }

.btn-black {
  background: var(--black); color: white;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 4px; text-decoration: none;
  border: 1.5px solid var(--black); cursor: pointer; transition: all 0.14s; display: inline-block;
}
.btn-black:hover { background: transparent; color: var(--black); transform: translateY(-2px); }

/* ── Stats ── */
.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; max-width: 560px; margin: 0 auto; background: var(--bg-cream); }
.stat { flex: 1; min-width: 100px; padding: 1rem 0.8rem; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat:nth-child(1) .stat-num { color: var(--hot-pink); }
.stat:nth-child(2) .stat-num { color: var(--gold); }
.stat:nth-child(3) .stat-num { color: var(--neon-orange); }
.stat:nth-child(4) .stat-num { color: var(--neon-green); }
.stat-num { font-family: 'Anybody', sans-serif; font-weight: 900; font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1; margin-bottom: 3px; }
.stat-label { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mid); }

/* ── Section ── */
.section { max-width: 1120px; margin: 0 auto; padding: 4.5rem 1.5rem; position: relative; z-index: 1; }
.section-label { font-size: 10px; font-weight: 700; letter-spacing: 0.42em; text-transform: uppercase; color: var(--hot-pink); margin-bottom: 0.5rem; }
.section-title { font-family: 'Anybody', sans-serif; font-weight: 900; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1; color: var(--text); margin-bottom: 0.4rem; }
.section-title span { color: var(--hot-pink); }
.section-sub { font-size: 0.95rem; font-weight: 400; color: var(--text-mid); margin-bottom: 2.5rem; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-header.center { display: block; text-align: center; }
.section-header.center .section-sub { max-width: 540px; margin: 0 auto; }

/* ── Category Pill Header ── */
.category-header { display: flex; align-items: center; gap: 14px; margin: 2.5rem 0 1.2rem; }
.category-header:first-of-type { margin-top: 0; }
.category-pill {
  font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--hot-pink); background: rgba(255,0,110,0.08);
  border: 1px solid rgba(255,0,110,0.3); padding: 6px 14px; border-radius: 50px; white-space: nowrap;
}
.category-line { flex: 1; height: 1px; background: var(--border); }

/* ── Product Grid ── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.product-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
  opacity: 0; transform: translateY(16px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.product-card.visible { animation: card-rise 0.45s ease forwards; }
.product-card:hover {
  border-color: var(--card-color, var(--hot-pink));
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.1), 0 0 0 1px var(--card-color, var(--hot-pink));
}
.card-top-bar { height: 4px; background: var(--card-color, var(--hot-pink)); flex-shrink: 0; box-shadow: 0 0 12px var(--card-color, var(--hot-pink)); }
.card-content { padding: 1.2rem 1.2rem 1rem; flex: 1; display: flex; flex-direction: column; }
.card-top-row { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.6rem; gap: 10px; }
.card-emoji { font-size: 1.8rem; line-height: 1; }
.card-occasion-tag {
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--card-color, var(--hot-pink));
  background: rgba(0,0,0,0.025); border: 1px solid rgba(0,0,0,0.05);
  padding: 4px 10px; border-radius: 50px; white-space: nowrap;
  align-self: flex-start; margin-top: 4px;
}
.card-name { font-family: 'Anybody', sans-serif; font-weight: 900; font-size: 1.15rem; line-height: 1.1; color: var(--text); margin-bottom: 0.45rem; }
.card-desc { font-size: 0.78rem; font-weight: 400; color: var(--text-mid); line-height: 1.6; flex: 1; margin-bottom: 1rem; }

/* ── Card buttons — Play + Buy ── */
.card-btn-row { display: flex; gap: 6px; }
.card-play-btn {
  flex: 1; background: transparent; color: var(--card-color, var(--hot-pink));
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 11px 8px; border-radius: 4px; text-align: center; text-decoration: none;
  border: 1.5px solid var(--card-color, var(--hot-pink));
  cursor: pointer; transition: all 0.12s;
}
.card-play-btn:hover { background: var(--card-color, var(--hot-pink)); color: white; transform: translateY(-1px); }
.card-buy-btn {
  flex: 1; background: var(--card-color, var(--hot-pink)); color: white;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 11px 8px; border-radius: 4px; text-align: center; text-decoration: none;
  border: 1.5px solid var(--card-color, var(--hot-pink));
  cursor: pointer; transition: opacity 0.12s, transform 0.12s;
}
.card-buy-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.card-buy-btn[data-light="true"] { color: var(--text); }

/* ── Features Strip ── */
.features-strip { display: flex; flex-wrap: wrap; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; gap: 0; background: var(--bg-cream); }
.feature-item { flex: 1; min-width: 160px; padding: 1.4rem 1.2rem; display: flex; align-items: flex-start; gap: 10px; border-right: 1px solid var(--border); }
.feature-item:last-child { border-right: none; }
.fi-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.fi-title { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.fi-desc { font-size: 0.75rem; font-weight: 400; color: var(--text-mid); line-height: 1.5; }

/* ── Category Grid (platform homepage) ── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cat-card {
  background: var(--card-bg); border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.16s;
  opacity: 0; transform: translateY(16px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  position: relative;
  text-decoration: none;
  color: inherit;
}
.cat-card.visible { animation: card-rise 0.5s ease forwards; }
.cat-card:hover {
  border-color: var(--card-color, var(--hot-pink));
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.12), 0 0 0 1px var(--card-color, var(--hot-pink));
}
.cat-card.coming-soon { opacity: 0.85; }
.cat-card.coming-soon:hover { opacity: 1; }
.cat-top-bar { height: 5px; background: var(--card-color, var(--hot-pink)); box-shadow: 0 0 14px var(--card-color, var(--hot-pink)); }
.cat-content { padding: 1.8rem 1.6rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.cat-top-row { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; gap: 10px; }
.cat-emoji { font-size: 2.4rem; line-height: 1; }
.cat-status { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; white-space: nowrap; align-self: flex-start; margin-top: 8px; }
.cat-status.live { background: rgba(0,230,118,0.12); color: var(--neon-green); border: 1px solid rgba(0,230,118,0.4); }
.cat-status.live::before { content: '●'; margin-right: 4px; animation: pulse-dot 1.8s ease-in-out infinite; }
.cat-status.soon { background: rgba(0,0,0,0.04); color: var(--text-light); border: 1px solid var(--border); }
.cat-name { font-family: 'Anybody', sans-serif; font-weight: 900; font-size: 1.4rem; line-height: 1.1; color: var(--text); margin-bottom: 0.6rem; }
.cat-desc { font-size: 0.88rem; font-weight: 400; color: var(--text-mid); line-height: 1.65; flex: 1; margin-bottom: 1.5rem; }
.cat-stats { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--card-color, var(--hot-pink)); margin-bottom: 1.2rem; }
.cat-btn {
  background: var(--card-color, var(--hot-pink)); color: white;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 20px; border-radius: 4px; text-align: center; text-decoration: none;
  border: 1.5px solid var(--card-color, var(--hot-pink));
  cursor: pointer; transition: opacity 0.14s, transform 0.14s; display: block;
}
.cat-btn:hover { opacity: 0.92; transform: translateY(-1px); }
.cat-btn.disabled { background: transparent; color: var(--text-mid); border-color: var(--border-mid); cursor: not-allowed; }

/* ── How It Works ── */
.how-section { background: var(--bg-section); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--border); border-radius: 6px; overflow: hidden; }
.how-step { background: var(--bg); padding: 2rem 1.5rem; position: relative; }
.step-n { font-family: 'Anybody', sans-serif; font-weight: 900; font-size: 4rem; position: absolute; top: 0.8rem; right: 1rem; line-height: 1; pointer-events: none; }
.how-step:nth-child(1) .step-n { color: rgba(255,0,110,0.12); }
.how-step:nth-child(2) .step-n { color: rgba(212,168,73,0.18); }
.how-step:nth-child(3) .step-n { color: rgba(255,107,0,0.12); }
.how-step:nth-child(4) .step-n { color: rgba(0,230,118,0.12); }
.step-icon { font-size: 1.5rem; margin-bottom: 0.7rem; display: block; }
.step-title { font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 0.35rem; }
.step-desc { font-size: 0.82rem; font-weight: 400; color: var(--text-mid); line-height: 1.6; }

/* ── CTA section (dark with logo) ── */
.cta-section {
  background: var(--black);
  padding: 5rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--black);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255,0,110,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.cta-logo { height: 130px; width: auto; margin-bottom: 1rem; }
.cta-eyebrow { font-family: 'Caveat', cursive; font-weight: 700; font-style: italic; color: var(--hot-pink); font-size: 1.4rem; margin-bottom: 0.4rem; }
.cta-title { font-family: 'Anybody', sans-serif; font-weight: 900; font-size: clamp(1.6rem, 4.5vw, 2.4rem); line-height: 1.1; color: white; margin-bottom: 0.8rem; }
.cta-desc { font-size: 0.95rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 1.5rem; }
.cta-btn {
  background: var(--hot-pink); color: white;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 15px 36px; border-radius: 4px; text-decoration: none;
  display: inline-block; transition: all 0.14s;
}
.cta-btn:hover { background: var(--hot-pink-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,0,110,0.45); }

/* ── Footer ── */
.site-footer-wrap { border-top: 1px solid var(--border); background: var(--bg-cream); }
.site-footer { max-width: 1120px; margin: 0 auto; padding: 2.2rem 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem; }
.footer-left { display: flex; align-items: center; gap: 14px; }
.footer-logo-img { height: 40px; width: auto; }
.footer-tagline { font-family: 'Caveat', cursive; font-style: italic; font-size: 1rem; color: var(--text-mid); }
.footer-copy { font-size: 0.75rem; color: var(--text-light); line-height: 1.6; text-align: right; }
.footer-copy a { color: var(--hot-pink); text-decoration: none; font-weight: 700; }

.full-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Mobile ── */
@media (max-width: 700px) {
  .nav-logo-img { height: 36px; }
  .cta-logo { height: 100px; }
}
@media (max-width: 560px) {
  .hero { padding: 3rem 1rem 2.8rem; }
  .section { padding: 3rem 1rem; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-grid { grid-template-columns: 1fr; }
  .card-content { padding: 0.9rem; }
  .card-desc { display: none; }
  .card-name { font-size: 0.95rem; }
  .card-occasion-tag { font-size: 7.5px; padding: 3px 7px; }
  .features-strip { flex-direction: column; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-item:last-child { border-bottom: none; }
  .site-footer { flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; }
}
