:root {
  --ink: #14110d;
  --paper: #f6f0e4;
  --paper-2: #ece3d1;
  --muted: #6b6255;

  /* Atout! */
  --felt: #0f4a35;
  --felt-dark: #0a2a1f;
  --gold: #d9a441;
  --cream: #f4ecd8;

  /* Trick Mates */
  --sky: #0b3d5c;
  --sky-light: #1a6a96;
  --sun: #ffb52e;
  --coral: #e8553e;

  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Mulish", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.1; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-gold { background: var(--gold); color: var(--felt-dark); }
.btn-outline { border-color: rgba(244, 236, 216, 0.4); color: var(--cream); }
.btn-sun { background: var(--sun); color: #3a2400; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 240, 228, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 17, 13, 0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.25rem; }
.logo-mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: var(--gold); font-size: 1.1rem;
}
.nav-links { display: flex; gap: 2rem; font-weight: 600; }
.nav-links a:hover { color: var(--muted); }

/* Hero */
.hero { padding: 5.5rem 0 6rem; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; color: var(--muted); margin-bottom: 1.25rem; }
.hero h1 { font-family: "Fraunces", serif; font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 32rem; margin-bottom: 2.25rem; }

.hero-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.app-tile {
  border-radius: 28px;
  padding: 1rem 1rem 1.25rem;
  box-shadow: 0 20px 45px rgba(20, 17, 13, 0.16);
  transition: transform 0.25s ease;
}
.app-tile img { border-radius: 20px; margin-bottom: 1rem; }
.app-tile span { display: block; font-weight: 700; font-size: 1.1rem; padding-inline: 0.25rem; }
.app-tile small { display: block; font-weight: 600; font-size: 0.8rem; opacity: 0.75; }
.tile-atout { background: var(--felt-dark); color: var(--cream); transform: rotate(-3deg) translateY(12px); }
.tile-tm { background: var(--sky); color: #fff4dc; transform: rotate(3deg) translateY(-12px); }
.app-tile:hover { transform: rotate(0) translateY(-4px); }

/* Game sections */
.game { position: relative; padding: 6.5rem 0; overflow: hidden; }
.game-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: center; position: relative; }
.game-inner.reverse { grid-template-columns: 1.15fr 1fr; }
.game-inner.reverse .game-copy { order: 2; }
.game h2 { font-size: clamp(2.6rem, 5vw, 3.8rem); margin-bottom: 0.5rem; }
.game-tagline { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; }
.game-copy > p:not(.game-tagline) { opacity: 0.85; font-size: 1.05rem; margin-bottom: 1.5rem; }
.game-points { list-style: none; display: grid; gap: 0.55rem; margin-bottom: 2rem; }
.game-points li { display: flex; gap: 0.75rem; align-items: baseline; }
.game-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Atout! */
.game-atout {
  background: radial-gradient(ellipse at 30% 20%, #135c42 0%, var(--felt) 35%, var(--felt-dark) 85%);
  color: var(--cream);
}
.game-atout h2 { font-family: "Cinzel", serif; color: var(--gold); letter-spacing: 0.02em; }
.game-atout .game-tagline { font-family: "Cinzel", serif; font-size: 1.1rem; color: var(--cream); }
.game-atout .game-logo { width: 96px; border-radius: 22px; margin-bottom: 1.5rem; box-shadow: 0 0 0 2px rgba(217, 164, 65, 0.5); }
.game-atout .game-points li::before { content: "♦"; color: var(--gold); font-size: 0.8rem; }

.game-media { position: relative; }
.shot { border-radius: 16px; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45); }
.shot-main {
  width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; object-position: 100% 50%;
  border: 1px solid rgba(217, 164, 65, 0.35);
}
.shot-sub {
  position: absolute; width: 58%; right: -6%; bottom: -18%;
  border: 3px solid var(--gold);
}

/* Trick Mates */
.game-tm {
  background: linear-gradient(180deg, #7cc6ec 0%, #3f97c9 30%, var(--sky-light) 60%, var(--sky) 100%);
  color: #fff8e8;
}
.game-tm h2 {
  font-family: "Baloo 2", sans-serif; font-weight: 800;
  color: var(--sun);
  text-shadow: 0 4px 0 #b4580f, 0 8px 18px rgba(0, 0, 0, 0.25);
}
.game-tm .game-tagline { font-family: "Baloo 2", sans-serif; font-size: 1.4rem; }
.game-tm .game-points li::before { content: "★"; color: var(--sun); }
.road {
  position: absolute; left: 0; right: 0; bottom: 0; height: 48px;
  background:
    repeating-linear-gradient(90deg, var(--sun) 0 40px, transparent 40px 80px) center / 100% 4px no-repeat,
    #2b2b2b;
  opacity: 0.9;
}
.tm-media { display: grid; place-items: center; }
.tm-icon {
  width: min(420px, 100%);
  border-radius: 44px;
  box-shadow: 0 30px 60px rgba(4, 30, 48, 0.5);
  transform: rotate(-4deg);
}
.tm-suits { position: absolute; inset: 0; pointer-events: none; }
.tm-suits span {
  position: absolute;
  display: grid; place-items: center;
  width: 64px; height: 88px;
  background: #fff; color: var(--ink);
  border-radius: 10px; font-size: 2.2rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.tm-suits .r { color: var(--coral); }
.tm-suits span:nth-child(1) { top: -4%; left: 4%; transform: rotate(-14deg); }
.tm-suits span:nth-child(2) { top: 8%; right: 0; transform: rotate(12deg); }
.tm-suits span:nth-child(3) { bottom: 4%; left: 0; transform: rotate(10deg); }
.tm-suits span:nth-child(4) { bottom: -4%; right: 8%; transform: rotate(-8deg); }

/* Promise */
.promise { padding: 6rem 0; }
.promise h2, .contact h2 { font-family: "Fraunces", serif; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.01em; margin-bottom: 3rem; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.promise-icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--ink); color: var(--gold); font-size: 1.3rem;
  margin-bottom: 1rem;
}
.promise h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.promise p { color: var(--muted); }

/* Contact */
.contact { background: var(--paper-2); padding: 5.5rem 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact h2 { margin-bottom: 0.75rem; }
.contact-inner > div > p { color: var(--muted); font-size: 1.1rem; max-width: 28rem; }
.contact-links { display: grid; gap: 1rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--paper); border-radius: 16px; padding: 1rem 1.25rem;
  border: 1px solid rgba(20, 17, 13, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 17, 13, 0.1); }
.contact-card img { width: 48px; height: 48px; border-radius: 12px; }
.contact-card strong { display: block; }
.contact-card span { color: var(--muted); }
.contact-card strong { color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 2rem 0; font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-inner p { display: flex; align-items: center; gap: 0.6rem; }
.site-footer .logo-mark { width: 28px; height: 28px; background: #2a241c; font-size: 0.9rem; }
.site-footer a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 3.5rem 0 4.5rem; }
  .hero-inner, .game-inner, .game-inner.reverse, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .game-inner.reverse .game-copy { order: 0; }
  .game { padding: 4.5rem 0 5.5rem; }
  .shot-sub { position: static; width: 80%; margin: -12% 0 0 auto; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .nav-links { gap: 1.1rem; font-size: 0.9rem; }
  .logo span:last-child { display: none; }
  .hero-apps { gap: 0.9rem; }
  .app-tile { padding: 0.7rem 0.7rem 0.9rem; border-radius: 22px; }
  .app-tile span { font-size: 0.95rem; }
  .promise-grid { grid-template-columns: 1fr; }
  .tm-suits span { width: 48px; height: 66px; font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .app-tile, .contact-card { transition: none; }
}
