/* NV Casino – Neon Dark PL | neomaks.pl | v1 */

:root {
  --bg-deep: #0B0B1A;
  --bg-mid: #120F2E;
  --bg-light: #1A1445;
  --cta-start: #FF2D7A;
  --cta-end: #FF6A9F;
  --purple: #6C3BFF;
  --purple-light: #7B61FF;
  --neon-start: #00CFFF;
  --gold: #FFC107;
  --gold-light: #FFD54F;
  --white: #FFFFFF;
  --text-secondary: #B0B3C7;
  --text-muted: #8A8FA3;
  --card-bg: #1C1F3A;
  --card-bg-alt: #23264A;
  --card-hover: #2E3270;
  --border: rgba(255,255,255,0.08);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: 'Poppins', Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(108,59,255,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(255,45,122,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 90%, rgba(0,207,255,0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,11,26,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.is-pinned {
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-img { height: 56px; width: auto; max-width: 220px; object-fit: contain; display: block; filter: brightness(1.08) drop-shadow(0 0 8px rgba(255,45,122,0.4)); }
.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, var(--neon-start), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header-buttons { display: flex; gap: 0.6rem; }

.btn-register, .btn-login, .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 14px;
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
  border: none;
}
.btn-register, .btn-cta {
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255,45,122,0.4);
}
.btn-register:hover, .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,45,122,0.55);
}
.btn-login {
  background: transparent;
  color: var(--purple-light);
  border: 1.5px solid var(--purple-light);
}
.btn-login:hover {
  background: rgba(123,97,255,0.12);
  transform: translateY(-2px);
}

/* ── BREADCRUMBS ── */
.breadcrumbs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--neon-start); }
.breadcrumbs .sep { margin: 0 0.4rem; opacity: 0.5; }
.breadcrumbs .current { color: var(--cta-start); }

/* ── HERO ── */
.hero {
  position: relative;
  text-align: center;
  padding: 4rem 1.5rem 3.5rem;
  z-index: 1;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,45,122,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.25;
}
.hero-highlight {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.hero .btn-cta {
  font-size: 1rem;
  padding: 0.85rem 2.5rem;
  border-radius: 16px;
}

/* ── CONTAINER & CARD ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  position: relative;
  z-index: 1;
}
.content-card {
  background: linear-gradient(135deg, var(--card-bg), var(--card-bg-alt));
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.content-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cta-start), var(--purple), var(--neon-start));
}
.prose h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, var(--cta-start), var(--neon-start)) 1;
  line-height: 1.3;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--neon-start);
  margin: 1.75rem 0 0.75rem;
}
.prose p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}
.prose ul, .prose ol {
  margin: 0.75rem 0 1rem 1.5rem;
  color: var(--text-secondary);
}
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--white); }
.prose a { color: var(--neon-start); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* ── APP BONUS BANNER ── */
.app-bonus {
  background: linear-gradient(135deg, rgba(255,193,7,0.08), rgba(255,45,122,0.08));
  border: 1.5px solid rgba(255,193,7,0.35);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.app-bonus .bonus-icon { font-size: 2rem; flex-shrink: 0; }
.app-bonus .bonus-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.app-bonus .bonus-text span { font-size: 0.9rem; color: var(--text-secondary); }

/* ── FEATURE GRID ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  align-items: start;
  grid-auto-rows: min-content;
}
.feature-card {
  background: linear-gradient(135deg, rgba(108,59,255,0.15), rgba(0,207,255,0.08));
  border: 1px solid rgba(108,59,255,0.3);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  align-self: start;
  height: auto;
  min-height: 0;
}
.feature-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0,207,255,0.25);
}
.feature-card .fc-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.feature-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin: 0 0 0.5rem;
}
.feature-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ── WIDGET PANEL ── */
.widget-panel {
  background: linear-gradient(135deg, rgba(28,31,58,0.95), rgba(35,38,74,0.95));
  border: 1px solid rgba(108,59,255,0.4);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
}
.widget-panel h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 1.25rem;
  padding-left: 0;
  border-left: none;
  border-image: none;
}
.widget-panel h2::before { display: none; }

/* Bonus Calc */
.calc-row { display: flex; gap: 1.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.calc-group { flex: 1; min-width: 180px; }
.calc-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.calc-group input[type="range"] {
  width: 100%;
  accent-color: var(--purple);
  cursor: pointer;
}
.calc-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 0.3rem;
}
.calc-result {
  background: rgba(108,59,255,0.15);
  border: 1px solid rgba(108,59,255,0.3);
  border-radius: 10px;
  padding: 1rem;
  font-size: 1.05rem;
  color: var(--white);
  text-align: center;
  margin-top: 0.75rem;
}
.calc-result span { color: var(--gold); font-weight: 700; }

/* Slot Lobby */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.slot-card {
  background: linear-gradient(135deg, rgba(108,59,255,0.2), rgba(0,207,255,0.1));
  border: 1px solid rgba(108,59,255,0.35);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.slot-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(108,59,255,0.3); }
.slot-icon { font-size: 2rem; margin-bottom: 0.4rem; }
.slot-name { font-size: 0.8rem; color: var(--white); font-weight: 600; margin-bottom: 0.3rem; }
.slot-rtp { font-size: 0.72rem; color: var(--text-muted); }
.slot-card .btn-demo {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--white);
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.demo-msg {
  text-align: center;
  padding: 0.75rem;
  background: rgba(0,207,255,0.08);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--neon-start);
  border: 1px solid rgba(0,207,255,0.2);
  display: none;
}

/* Quiz */
.quiz-options { display: flex; flex-direction: column; gap: 0.5rem; margin: 1rem 0; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(108,59,255,0.1);
  border: 1px solid rgba(108,59,255,0.25);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.quiz-option:hover { background: rgba(108,59,255,0.2); }
.quiz-option input[type="radio"] { accent-color: var(--purple); }
.btn-quiz {
  margin-top: 0.75rem;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}
.btn-quiz:hover { transform: translateY(-2px); }
.quiz-result {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}
.quiz-result.correct { background: rgba(0,207,255,0.1); color: var(--neon-start); border: 1px solid rgba(0,207,255,0.3); }
.quiz-result.wrong { background: rgba(255,45,122,0.1); color: var(--cta-end); border: 1px solid rgba(255,45,122,0.3); }

/* Roulette */
.roulette-display {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.roulette-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  min-height: 5rem;
  line-height: 5rem;
  transition: color 0.1s;
}
.roulette-color { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.25rem; }
.btn-spin {
  padding: 0.7rem 2rem;
  background: linear-gradient(135deg, var(--purple), var(--neon-start));
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-spin:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(108,59,255,0.4); }
.btn-spin:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── TABLES ── */
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  margin: 1.25rem 0;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.data-table thead tr {
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
}
.data-table thead th {
  color: var(--white);
  font-weight: 600;
  padding: 0.85rem 1rem;
  text-align: left;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.data-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.data-table tbody tr:hover { background: var(--card-hover); }
.data-table tbody td {
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
}
.data-table tbody td b { color: var(--gold); }
.data-table tbody tr:last-child { border-bottom: none; }

/* ── CTA BLOCK ── */
.cta-block {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, rgba(255,45,122,0.1), rgba(108,59,255,0.1));
  border-radius: 18px;
  border: 1px solid rgba(255,45,122,0.2);
  margin-top: 2rem;
}
.cta-block h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cta-block p { color: var(--text-secondary); margin-bottom: 1.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-block .btn-cta { font-size: 1.05rem; padding: 0.9rem 2.75rem; }
.disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ── FOOTER ── */
.site-footer {
  background: rgba(11,11,26,0.95);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.pay-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.pay-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-copy a { color: var(--text-muted); text-decoration: none; }
.footer-copy a:hover { color: var(--neon-start); }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,45,122,0.2);
  border: 1.5px solid var(--cta-start);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cta-start);
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  body { font-size: 0.875rem; line-height: 1.55; }

  .header-inner {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }
  .logo { justify-content: center; }
  .header-buttons { flex-direction: row; gap: 0.5rem; }
  .btn-register, .btn-login { flex: 1; min-height: 42px; font-size: 0.8rem; padding: 0.5rem 0.75rem; }

  :root { --header-h: 108px; }

  .hero { padding: 2.5rem 1rem 2rem; }
  .hero h1 { font-size: clamp(1.35rem, 5.5vw, 1.75rem); }
  .hero-lead { font-size: 0.875rem; }

  .content-card { padding: 1.5rem 1rem; border-radius: 14px; }
  .container { padding: 0 0.75rem 2rem; }

  .prose h2 { font-size: clamp(1.05rem, 4vw, 1.35rem); }
  .prose h3 { font-size: 0.95rem; }
  .prose p, .prose li { font-size: 0.875rem; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .slots-grid { grid-template-columns: repeat(2, 1fr); }

  .widget-panel { padding: 1.25rem 1rem; }
  .calc-row { flex-direction: column; gap: 1rem; }

  /* Table → card layout */
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td {
    display: block;
    width: 100%;
  }
  .data-table tbody tr {
    background: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border: 1px solid var(--border);
  }
  .data-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
  }
  .data-table tbody td:last-child { border-bottom: none; }
  .data-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    min-width: 100px;
    flex-shrink: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-top: 0.1rem;
  }

  .cta-block { padding: 2rem 1rem; }
}

@media (max-width: 380px) {
  body { font-size: 0.8125rem; }
  .prose h2 { font-size: clamp(0.95rem, 4.5vw, 1.15rem); }
}
