/* ═══════════════════════════════════════════════════
   Kanny's Games — Site Styles
   Palette: deep green + gold + dark cream
═══════════════════════════════════════════════════ */

:root {
  --green-950: #0d2118;
  --green-900: #132d1f;
  --green-800: #1a3d2b;
  --green-700: #1e5b3a;
  --green-600: #2f7d4c;
  --green-100: #e8f4ee;
  --gold-500:  #d4af37;
  --gold-400:  #e2c050;
  --gold-200:  #f3e4a8;
  --cream:     #faf8f2;
  --gray-900:  #1a1a1a;
  --gray-600:  #5b6368;
  --gray-200:  #e5e7ea;
  --white:     #ffffff;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: var(--gray-900);
  background: var(--cream);
  line-height: 1.7;
}

a {
  color: var(--green-700);
  text-decoration: none;
}

a:hover, a:focus-visible { text-decoration: underline; }

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

h1, h2, h3 { margin: 0 0 0.5rem; line-height: 1.2; }

.container {
  width: min(100% - 2rem, 1060px);
  margin: 0 auto;
}

/* ── Buttons ── */
.button {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.button-gold {
  background: var(--gold-500);
  color: var(--green-950);
  border: 2px solid var(--gold-400);
}

.button-gold:hover, .button-gold:focus-visible {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35);
  text-decoration: none;
}

/* ── Google Play Badge ── */
.play-badge-link { display: inline-block; }

.play-badge {
  height: 72px;
  width: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.play-badge:hover { transform: translateY(-2px); filter: brightness(1.05); }

.play-badge-lg { height: 88px; }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-950);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold-500);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-logo:hover,
.nav-logo:focus-visible {
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.brand-logo-sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav-cta {
  padding: 0.45rem 1.25rem;
  background: var(--gold-500);
  color: var(--green-950);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--gold-400);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--green-950) 0%, var(--green-800) 60%, var(--green-700) 100%);
  padding: 4rem 0 4.5rem;
}

/* floating card suit decorations */
.hero-suits {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  pointer-events: none;
  overflow: hidden;
}

.hero-suits span {
  font-size: clamp(6rem, 14vw, 14rem);
  color: rgba(212, 175, 55, 0.06);
  user-select: none;
  line-height: 1;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-text { color: var(--white); }

.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-style: italic;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 1rem;
}

.hero-title::first-line { color: var(--gold-500); }

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin: 0 0 1.75rem;
  border-left: 3px solid var(--gold-500);
  padding-left: 1rem;
}

.hero-badges { margin-bottom: 1rem; }

.hero-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  margin: 0;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: min(100%, 420px);
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(212, 175, 55, 0.25);
}

/* ══════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════ */
.section { padding: 4.5rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.section-label-light { color: var(--gold-400); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.section-title-light { color: var(--white); }

.section-intro {
  max-width: 620px;
  color: var(--gray-600);
  font-size: 1.05rem;
  margin: 0 0 2.5rem;
}

/* ══════════════════════════════════════
   GAMES SECTION
══════════════════════════════════════ */
.section-games {
  background: var(--white);
  border-top: 4px solid var(--gold-500);
}

.games-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

.game-tile {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--gold-500);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.1);
}

.game-tile-soon {
  opacity: 0.6;
  border-top-color: var(--gray-200);
}

.game-tile-suit {
  font-size: 2.2rem;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.game-tile-soon .game-tile-suit { color: var(--gray-600); }

.game-tile h3 {
  font-size: 1.15rem;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.game-tile p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin: 0;
}

.games-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ══════════════════════════════════════
   MEET KANNY
══════════════════════════════════════ */
.section-kanny {
  background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 100%);
  color: var(--white);
}

.section-kanny p {
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 0 1.5rem;
}

.kanny-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.kanny-traits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.kanny-traits li {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.85);
}

.kanny-quote {
  margin: 0;
  padding: 2rem 2rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-left: 4px solid var(--gold-500);
  border-radius: 16px;
  backdrop-filter: blur(4px);
}

.kanny-quote p {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin: 0 0 1rem;
  max-width: unset;
}

.kanny-quote cite {
  display: block;
  font-size: 0.9rem;
  color: var(--gold-400);
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════
   FEATURES
══════════════════════════════════════ */
.section-features {
  background: var(--cream);
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--green-800);
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--gray-600);
  margin: 0;
}

/* ══════════════════════════════════════
   DOWNLOAD CTA
══════════════════════════════════════ */
.section-cta {
  background: linear-gradient(140deg, var(--green-950) 0%, var(--green-900) 100%);
  text-align: center;
  padding: 5rem 0;
}

.cta-inner { color: var(--white); }

.cta-suits {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold-400);
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
}

.section-cta h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.section-cta > .container > p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 2rem;
}

.cta-meta {
  margin-top: 1rem !important;
  font-size: 0.85rem !important;
  color: rgba(255,255,255,0.4) !important;
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--green-950);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-500);
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-400);
  text-decoration: none;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ══════════════════════════════════════
   RESPONSIVE — tablet+
══════════════════════════════════════ */
@media (min-width: 720px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
  }

  .kanny-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-image {
    width: 100%;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}


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

