/* Martin Casino Deutschland — main stylesheet */
:root {
  --bg: #0c0e17;
  --bg-header: #090b12;
  --bg-footer: #090b12;
  --bg-card: #141926;
  --bg-surf: #1b2234;
  --bg-surf2: #242e47;
  --accent: #ff9f00;
  --accent2: #3b51f1;
  --accent-gold: #ffcc00;
  --neon: #2b66ff;
  --success: #10b981;
  --text: #ffffff;
  --text-light: #ffffff;
  --text2: #8a94a6;
  --border: rgba(138, 148, 166, 0.15);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-gold); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.main-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.play-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
  color: #1a1000 !important;
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 4px 18px rgba(255,159,0,.35);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.play-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255,159,0,.55);
  color: #1a1000 !important;
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  width: 42px; height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.burger-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: block; }
.mobile-nav ul {
  list-style: none;
  padding: 8px 20px 16px;
}
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav li:last-child { border-bottom: none; }
.mobile-nav a {
  display: block;
  padding: 14px 4px;
  color: var(--text);
  font-weight: 500;
}

/* ===== HERO ===== */
.hero {
  padding: 48px 0 32px;
  background: radial-gradient(1000px 400px at 20% -10%, rgba(59,81,241,.18), transparent 60%),
              radial-gradient(800px 400px at 90% 10%, rgba(255,159,0,.14), transparent 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -.5px;
}
.hero h1 span { color: var(--accent); }
.hero-lead { color: var(--text2); font-size: 17px; margin-bottom: 24px; }
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
  color: #1a1000 !important;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 6px 22px rgba(255,159,0,.4);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,159,0,.55); color: #1a1000 !important; }
.btn-secondary {
  display: inline-block;
  background: var(--accent2);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background .2s, transform .2s;
}
.btn-secondary:hover { background: var(--neon); transform: translateY(-2px); color: #fff !important; }

.hero-img {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-img img { width: 100%; height: auto; }

/* ===== CONTENT ===== */
main { padding: 20px 0 60px; }
section { padding: 36px 0; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--text); }
h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 8px 0 18px;
  position: relative;
  padding-bottom: 12px;
}
h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
  border-radius: 3px;
}
h3 { font-size: clamp(19px, 2.2vw, 23px); margin: 22px 0 12px; color: var(--accent-gold); }
h4 { font-size: 18px; margin: 16px 0 8px; }

p { margin: 0 0 16px; color: var(--text); }
p strong { color: var(--accent-gold); }

ul, ol { margin: 0 0 18px 22px; }
li { margin-bottom: 8px; color: var(--text); }
li::marker { color: var(--accent); }

/* ===== TABLES ===== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
th {
  background: var(--bg-surf);
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-size: 13px;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(59,81,241,.05); }

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card h3 { margin-top: 0; color: var(--accent); font-size: 19px; }
.card p { color: var(--text2); font-size: 15px; margin-bottom: 0; }

/* ===== INFO PANEL / IMAGE + TEXT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin: 24px 0;
}
.split-img { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.split-img img { width: 100%; }

/* ===== FAQ ===== */
.faq {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 22px;
  margin: 20px 0;
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq details:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 24px;
  font-weight: 300;
  transition: transform .2s;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 4px; color: var(--text2); }

/* ===== CTA BLOCK ===== */
.cta-block {
  background: linear-gradient(135deg, rgba(59,81,241,.15), rgba(255,159,0,.12));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;
  margin: 40px 0 20px;
}
.cta-block h2 { display: inline-block; }
.cta-block h2::after { left: 50%; transform: translateX(-50%); }
.cta-block p { color: var(--text2); font-size: 17px; max-width: 640px; margin: 0 auto 22px; }

/* ===== INFO NOTE ===== */
.note {
  background: var(--bg-surf);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 8px;
  margin: 18px 0;
  color: var(--text2);
  font-size: 15px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
  margin-top: 40px;
  color: var(--text2);
  font-size: 14px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 26px;
}
.footer-brand p { color: var(--text2); font-size: 14px; margin-top: 12px; max-width: 340px; }
.footer-cols h4 {
  color: var(--accent-gold);
  font-size: 15px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 8px; }
.footer-cols a { color: var(--text2); font-size: 14px; }
.footer-cols a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-bottom .badges {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--accent);
  color: #1a1000;
  border-radius: 50%;
  font-weight: 800;
  font-size: 12px;
}

/* ===== 404 ===== */
.err-wrap {
  text-align: center;
  padding: 80px 20px;
}
.err-code {
  font-size: clamp(90px, 18vw, 180px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.err-wrap h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.err-wrap p { color: var(--text2); font-size: 17px; margin-bottom: 26px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger-btn { display: flex; }
  .header-inner { gap: 12px; }
  .play-btn { padding: 9px 18px; font-size: 13px; }
  .hero { padding: 30px 0 20px; }
  section { padding: 24px 0; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  .cta-block { padding: 28px 20px; }
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 26px; }
  .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 14px; }
  .play-btn { padding: 8px 14px; font-size: 12px; }
  .logo-img { height: 34px; }
}
