/* ============================================================
   Zeilen — site styles
   ============================================================ */
:root {
  --felt-900: #0c1d14;
  --felt-800: #122a1d;
  --felt-700: #1b3a28;
  --felt-600: #27503a;
  --felt-hover: #2f5c43;
  --gold-500: #d9a545;
  --gold-400: #e6bd6a;
  --gold-200: #f3dfb0;
  --cream-100: #f6edda;
  --cream-300: #e2d3b4;
  --ink: #101a14;
  --muted: rgba(246, 237, 218, 0.72);
  --radius: 16px;
  --shadow: 0 18px 45px rgba(4, 12, 8, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--cream-100);
  background: var(--felt-900);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(217, 165, 69, .28);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(217, 165, 69, .4); }
.btn-ghost {
  border-color: rgba(246, 237, 218, .35);
  color: var(--cream-100);
  background: rgba(246, 237, 218, .06);
}
.btn-ghost:hover { background: rgba(246, 237, 218, .13); }
.btn-download { background: var(--felt-600); color: var(--cream-100); width: 100%; }
.btn-download:hover { background: var(--felt-hover); }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 29, 20, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(246, 237, 218, .09);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: .65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--cream-100);
}
.brand img { border-radius: 8px; }
.nav-links { margin-left: auto; display: flex; gap: 1.25rem; }
.nav-links a {
  text-decoration: none;
  color: var(--cream-300);
  font-size: .95rem;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover { color: var(--gold-200); border-color: var(--gold-500); }

.lang-toggle {
  display: inline-flex;
  background: rgba(246, 237, 218, .08);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--cream-300);
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  padding: .35rem .7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang-btn.active {
  background: var(--gold-500);
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 75% -10%, rgba(39, 80, 58, .9), transparent 60%),
              linear-gradient(180deg, #10251a, var(--felt-900));
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/table_background.png") center / cover no-repeat;
  opacity: .18;
  filter: saturate(0.9);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 29, 20, .82), rgba(12, 29, 20, .28) 40%, rgba(12, 29, 20, .85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 7rem 1.25rem 5rem;
  display: grid;
  grid-template-columns: 340px 1fr 120px;
  gap: 2rem;
  align-items: center;
}
.hero-text { text-align: center; }
.hero h1 {
  font-size: clamp(3.2rem, 9vw, 6rem);
  letter-spacing: .02em;
  margin-bottom: .05em;
  background: linear-gradient(180deg, var(--gold-200), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35));
}
.tagline {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: var(--gold-200);
  font-weight: 600;
  margin-bottom: .5rem;
}
.hero-sub {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 1.75rem;
}
.hero-cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-platforms {
  list-style: none;
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.hero-platforms li {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream-300);
  border: 1px solid rgba(246, 237, 218, .22);
  border-radius: 999px;
  padding: .25rem .7rem;
}

/* decorative cards fan (left) */
.hero-cards { position: relative; height: 320px; justify-self: center; width: 250px; }
.hero-cards .card {
  position: absolute;
  width: 118px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  animation: floaty 7s ease-in-out infinite;
}
.card.c-spade    { left: 4px;  top: 36px; transform: rotate(-28deg); z-index: 1; }
.card.c-clubs    { left: 28px; top: 20px; transform: rotate(-14deg); z-index: 2; animation-delay: -1.2s; }
.card.c-center   { left: 66px; top: 6px;  z-index: 3; animation-delay: -2.4s; }
.card.c-heart    { left: 112px; top: 24px; transform: rotate(16deg); z-index: 4; animation-delay: -3.6s; }
.card.c-diamond  { left: 138px; top: 44px; transform: rotate(30deg); z-index: 5; animation-delay: -4.8s; }

/* decorative 3D chip cascade (right) */
.hero-chips { position: relative; height: 340px; justify-self: center; width: 130px; }
.hero-chips img {
  position: absolute;
  width: 56px;
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35));
}
.hero-chips img:nth-child(1) { left: 30px; top: 250px; transform: rotate(-7deg); }
.hero-chips img:nth-child(2) { left: 6px;  top: 196px; transform: rotate(4deg); }
.hero-chips img:nth-child(3) { left: 34px; top: 142px; transform: rotate(-3deg); }
.hero-chips img:nth-child(4) { left: 4px;  top: 88px;  transform: rotate(6deg); }
.hero-chips img:nth-child(5) { left: 32px; top: 36px;  transform: rotate(-6deg); }
.hero-chips img:nth-child(6) { left: 12px; top: 0px;   transform: rotate(3deg); }

@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -9px; }
}

/* ---------- Sections ---------- */
.section { padding: 5.5rem 1.25rem; scroll-margin-top: 70px; }
.section-alt { background: var(--felt-800); }
.container { max-width: 1080px; margin: 0 auto; }
.eyebrow {
  color: var(--gold-400);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.section h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); color: var(--gold-200); margin-bottom: .5rem; }
.lede {
  color: var(--muted);
  max-width: 720px;
  font-size: 1.08rem;
  margin-bottom: 2.8rem;
}

/* feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid rgba(246, 237, 218, .09);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.feature:hover { border-color: rgba(217, 165, 69, .4); transform: translateY(-3px); }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--felt-700);
  border: 1px solid rgba(246, 237, 218, .12);
  margin-bottom: 1rem;
  overflow: hidden;
}
.feature-icon img { width: 34px; height: 34px; object-fit: contain; }
/* two-card hand stack (pairs / B&V / Vuile Was) */
.feature-icon.stack { position: relative; }
.feature-icon.stack img {
  position: absolute;
  width: 27px;
  height: auto;
  top: 50%;
  left: 50%;
  border-radius: 3px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .35);
  object-fit: contain;
}
.feature-icon.stack img.ci-a { transform: translate(-80%, -50%) rotate(-9deg); z-index: 2; }
.feature-icon.stack img.ci-b { transform: translate(-20%, -50%) rotate(9deg); }
.flag-icon { font-size: .95rem; font-weight: 800; letter-spacing: .04em; color: var(--gold-200); }
.feature h3 { font-size: 1.12rem; color: var(--cream-100); }
.feature p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }

/* rules list */
.rules-list {
  list-style: none;
  counter-reset: step;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.rules-list li {
  counter-increment: step;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(246, 237, 218, .09);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  position: relative;
}
.rules-list li::before {
  content: counter(step, decimal-leading-zero);
  font-size: .8rem;
  font-weight: 700;
  color: var(--felt-900);
  background: var(--gold-500);
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
}
.rules-list h3 { font-size: 1.05rem; color: var(--cream-100); }
.rules-list p { color: var(--muted); font-size: .95rem; margin: 0; }
.rules-note { color: var(--gold-200); font-style: italic; font-size: .98rem; }

/* ---------- Downloads ---------- */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-bottom: 1.8rem;
}
.dl-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid rgba(246, 237, 218, .12);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
}
.dl-card h3 { font-size: 1.3rem; color: var(--gold-200); margin-bottom: 0; }
.dl-icon { font-size: 2rem; line-height: 1; }
.dl-meta { color: var(--muted); font-size: .85rem; margin-bottom: 0; }
.version-chip {
  display: inline-block;
  background: var(--gold-500);
  color: var(--ink);
  font-weight: 800;
  font-size: .9rem;
  border-radius: 999px;
  padding: .05rem .6rem;
  margin: 0 .1rem;
}
.dl-size { color: var(--cream-300); font-size: .8rem; font-weight: 600; margin-bottom: .6rem; }
.dl-card .btn { margin-top: .7rem; }
.dl-card .badge {
  margin-top: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--cream-300);
  border: 1px dashed rgba(246, 237, 218, .3);
  border-radius: 999px;
  padding: .4rem .95rem;
}
.dl-note { color: var(--muted); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(246, 237, 218, .09);
  background: var(--felt-900);
  padding: 2.5rem 1.25rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; }
.footer-brand img { border-radius: 6px; }
.site-footer p { margin: 0; color: var(--muted); font-size: .9rem; }
.footer-credit { font-size: .78rem !important; opacity: .8; width: 100%; }
.footer-credit a { color: var(--gold-400); text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 5.5rem;
    gap: 1rem;
  }
  .hero-cards { display: none; }
  .hero-chips { display: none; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .section { padding: 3.5rem 1.1rem; }
  .hero { min-height: 84vh; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-cards .card { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .feature { transition: none; }
}
