/* style.css */
/* Bold Sugar & Shadow look (based on your logo) */
:root{
  --paper: #f6efee;
  --paper-2: #f0e6e5;

  --ink: #141414;
  --muted: #5a5557;

  /* BOLDER pink */
  --sugar: #ff4f8a;
  --sugar-2: #ff7aa8;

  /* CLEAN, SOLID dark (no reflection / no glow) */
  --shadow: #0a0a0c;
  --shadow-2: #111115;

  --line: rgba(20,20,20,.12);
  --line-dark: rgba(255,255,255,.14);

  --radius: 18px;

  --shadow-soft: 0 18px 45px rgba(0,0,0,.10);
  --shadow-deep: 0 22px 60px rgba(0,0,0,.35);
}

/* Reset */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

/* Focus visibility */
:focus-visible{
  outline: 3px solid rgba(255,79,138,.85);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Accessibility */
.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:#fff;
  color:#000;
  padding:10px 12px;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}
.skip-link:focus{ left:10px; z-index:1000; }

.container{
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,239,238,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: var(--ink);
}
.brand-mark{
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--sugar) 0%, var(--shadow) 100%);
  box-shadow: 0 10px 25px rgba(0,0,0,.14);
}
.brand-name{
  font-weight: 800;
  letter-spacing: .2px;
}

.nav{
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content:center;
}
.nav a{
  text-decoration:none;
  color: var(--ink);
  font-size: .95rem;
  opacity: .9;
  font-weight: 700;
  transition: opacity .12s ease;
}
.nav a:hover{ opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

.header-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

.cta{
  text-decoration:none;
  font-weight: 800;
  font-size: .92rem;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(20,20,20,.18);
  color: var(--ink);
  background: #fff;
  transition: border-color .12s ease, transform .12s ease;
}
.cta:hover{ border-color: rgba(20,20,20,.35); transform: translateY(-1px); }

/* Hamburger */
.menu-btn{
  display:none;
  border: 1px solid rgba(20,20,20,.18);
  background: #fff;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: border-color .12s ease, transform .12s ease;
}
.menu-btn:hover{ border-color: rgba(20,20,20,.35); transform: translateY(-1px); }

.menu-bars{
  display:block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 99px;
  position: relative;
  margin: 0 auto;
}
.menu-bars::before,
.menu-bars::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 99px;
}
.menu-bars::before{ top:-6px; }
.menu-bars::after{ top:6px; }

/* Mobile dropdown */
.mobile-nav{
  border-bottom: 1px solid var(--line);
  background: rgba(246,239,238,.98);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.mobile-nav[hidden]{ display:none; }

.mobile-nav-inner{
  display:flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0 16px;
}
.mobile-nav a{
  text-decoration:none;
  color: var(--ink);
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(20,20,20,.12);
  transition: border-color .12s ease;
}
.mobile-nav a:hover{ border-color: rgba(20,20,20,.25); }

/* Buttons */
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration:none;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: .95rem;
  cursor: pointer;
  user-select:none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, opacity .12s ease;
}
.button.small{ padding: 10px 14px; font-size: .9rem; }

.button.primary{
  background: var(--sugar);
  color: #fff;
  border-color: rgba(255,255,255,.18);
  box-shadow: var(--shadow-soft);
}
.button.primary:hover{ transform: translateY(-1px); background: #ff3c7f; }

.button.ghost{
  background: rgba(255,255,255,.7);
  color: var(--ink);
  border-color: rgba(20,20,20,.18);
}
.button.ghost:hover{ border-color: rgba(20,20,20,.35); transform: translateY(-1px); }

/* Better ghost buttons on dark surfaces */
.section-shadow .button.ghost,
.game .button.ghost,
.contact-card .button.ghost{
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.18);
}
.section-shadow .button.ghost:hover,
.game .button.ghost:hover,
.contact-card .button.ghost:hover{
  border-color: rgba(255,255,255,.32);
}

/* Hero */
.hero{ padding: 34px 0 22px; }
.hero-inner{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap: 34px;
  align-items:center;
  padding: 22px 0 14px;
}
.hero-logo{
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 2px solid rgba(20,20,20,.10);
  background: #fff;
}
.kicker{
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(20,20,20,.65);
  margin: 0 0 10px;
  font-weight: 800;
}
.hero h1{
  font-weight: 900;
  line-height: 1.05;
  font-size: clamp(2.0rem, 4vw, 3.0rem);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.lead{
  margin: 0 0 18px;
  color: rgba(20,20,20,.80);
  max-width: 62ch;
  font-weight: 600;
  line-height: 1.45;
}
.muted{ color: rgba(20,20,20,.55); }

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 16px;
}
.hero-badges{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.badge{
  display:inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: .86rem;
  border: 1px solid rgba(20,20,20,.14);
  background: rgba(255,255,255,.65);
  font-weight: 800;
}
.badge.sugar{ border-color: rgba(255,79,138,.55); }
.badge.shadow{ border-color: rgba(20,20,20,.20); }

/* Sections */
.section{ padding: 60px 0; }
.section-head{ margin-bottom: 26px; }
.section-head h2{
  font-size: 2rem;
  line-height: 1.1;
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.section-head p{
  margin: 0;
  color: rgba(20,20,20,.70);
  max-width: 70ch;
  font-weight: 600;
}

/* Sugar section */
.section-sugar{
  background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.25) 100%);
}

/* Shadow section (solid black, no reflection/glow) */
.section-shadow{
  background: var(--shadow);
  color: #fff;
}
.section-shadow .section-head p{ color: rgba(255,255,255,.75); }
.muted-on-dark{ color: rgba(255,255,255,.70); }

/* Grids & cards */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(20,20,20,.12);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.card h3{ margin: 0 0 8px; font-weight: 900; }
.card p{ margin: 0; color: rgba(20,20,20,.75); font-weight: 600; }

.card-shadow{
  background: var(--shadow-2);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-deep);
}
.card-shadow h3{ color:#fff; }
.card-shadow p{ color: rgba(255,255,255,.75); }

/* Games */
.games-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.game{
  background: var(--shadow-2);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 20px 55px rgba(0,0,0,.40);
}
.game h3{ margin: 8px 0; font-size: 1.35rem; font-weight: 900; }
.game p{ margin: 0 0 12px; color: rgba(255,255,255,.80); font-weight: 600; }
.game .meta{ color: rgba(255,255,255,.70); font-size: .9rem; font-weight: 700; }

.game-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.pill{
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.25);
}
.pill.sugar{
  border-color: rgba(255,79,138,.70);
  background: rgba(255,79,138,.18);
}
.pill.shadow{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}

.bullets{
  margin: 0 0 14px;
  padding-left: 20px;
  color: rgba(255,255,255,.75);
  font-weight: 600;
}
.bullets li{ margin: 8px 0; }

.game-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.game-shadow{
  border-color: rgba(255,79,138,.22);
}

/* Callout */
.callout{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.callout p{ margin: 0; color: rgba(255,255,255,.80); font-weight: 700; }

/* Quotes */
.quote{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(20,20,20,.12);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.quote blockquote{
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: rgba(20,20,20,.85);
  font-weight: 800;
}
.quote figcaption{ color: rgba(20,20,20,.55); font-size: .92rem; font-weight: 700; }

.quote-shadow{
  background: var(--shadow-2);
  border-color: rgba(255,255,255,.14);
  box-shadow: var(--shadow-deep);
}
.quote-shadow blockquote{ color:#fff; }
.quote-shadow figcaption{ color: rgba(255,255,255,.72); }

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.contact-card{
  background: var(--shadow-2);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-deep);
}
.contact-card h3{ margin:0 0 6px; font-weight: 900; }

.contact-card-sugar{
  border-color: rgba(255,79,138,.26);
}

.link{
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,79,138,.75);
  transition: opacity .12s ease;
}
.link:hover{ opacity: .9; }

.sep{
  border: none;
  border-top: 1px solid rgba(255,255,255,.14);
  margin: 16px 0;
}

/* Footer */
.site-footer{
  margin-top: 26px;
  padding: 18px 0 8px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.70);
  font-size: .92rem;
  font-weight: 700;
}

/* Micro-lift (no glow) */
.card, .quote, .game, .contact-card{
  transition: transform .12s ease, border-color .12s ease;
}
.card:hover, .quote:hover, .game:hover, .contact-card:hover{
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-left{ display:flex; justify-content:center; }
  .hero-logo{ max-width: 520px; }

  .games-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .callout{ flex-direction: column; align-items: flex-start; }

  .nav{ display:none; }
  .menu-btn{ display:inline-flex; align-items:center; justify-content:center; }
}

/* Touch devices: avoid sticky hover */
@media (hover: none){
  .button:hover,
  .cta:hover,
  .nav a:hover,
  .mobile-nav a:hover{
    transform: none;
    text-decoration: none;
    opacity: 1;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .button, .cta, .nav a, .link,
  .card, .quote, .game, .contact-card{
    transition: none;
  }
  .button.primary:hover{ transform: none; }
  .card:hover, .quote:hover, .game:hover, .contact-card:hover{ transform: none; }
}
