/* ============================================
   KASYNO DEPOZYT 5 ZŁ — UNIFIED STYLESHEET
   All pages reference this single file.
   ============================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --background: 222 47% 6%;
  --foreground: 45 30% 90%;
  --card: 222 40% 10%;
  --card-foreground: 45 30% 90%;
  --popover: 222 40% 10%;
  --popover-foreground: 45 30% 90%;
  --primary: 43 80% 50%;
  --primary-foreground: 222 47% 6%;
  --secondary: 222 30% 15%;
  --secondary-foreground: 45 30% 90%;
  --muted: 222 25% 14%;
  --muted-foreground: 220 15% 55%;
  --accent: 43 70% 45%;
  --accent-foreground: 222 47% 6%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 210 40% 98%;
  --border: 222 25% 18%;
  --input: 222 25% 18%;
  --ring: 43 80% 50%;
  --radius: 0.5rem;
  --gold-start: 43 90% 55%;
  --gold-end: 35 85% 40%;
  --gold-glow: 43 80% 50%;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 1.25rem;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
}

/* ── Container ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.container-narrow {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ── Layout ── */
.min-h-screen {
  min-height: 100vh;
}

.flex-col-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.flex-1 {
  flex: 1;
}

/* ── Gradient Utilities ── */
.gradient-gold {
  background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
}

.gradient-gold-text {
  background: linear-gradient(135deg, hsl(43, 90%, 60%), hsl(35, 85%, 45%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-gold {
  box-shadow: 0 0 20px hsl(43, 80%, 50%, 0.3), 0 0 40px hsl(43, 80%, 50%, 0.1);
}

.glow-gold {
  box-shadow: 0 0 10px hsl(43, 80%, 50%, 0.4), inset 0 0 10px hsl(43, 80%, 50%, 0.1);
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-logo img,
.header-logo-icon {
  height: 2.25rem;
  width: auto;
  border-radius: 8px;
}

.header-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: hsl(var(--foreground));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  border-radius: 0.375rem;
  transition: color 0.2s, background-color 0.2s;
}

.header-nav a:hover {
  color: hsl(var(--foreground));
  background-color: hsl(var(--secondary));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Header Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn-sm {
  height: 2.5rem;
  padding: 0 0.75rem;
  font-size: 1rem;
}

.btn-lg {
  height: 3rem;
  padding: 0 2rem;
  border-radius: 0.375rem;
  font-size: 1.125rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid hsl(var(--primary) / 0.5);
  color: hsl(var(--primary));
}

.btn-outline:hover {
  background-color: hsl(var(--primary) / 0.1);
}

.btn-gold {
  background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
  color: hsl(var(--primary-foreground));
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  box-shadow: 0 0 20px hsl(43, 80%, 50%, 0.3), 0 0 40px hsl(43, 80%, 50%, 0.1);
  letter-spacing: 0.05em;
}

.btn-gold:hover {
  filter: brightness(1.1);
}

.btn-gold.glow {
  box-shadow: 0 0 10px hsl(43, 80%, 50%, 0.4), inset 0 0 10px hsl(43, 80%, 50%, 0.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
  border-radius: 0.375rem;
}

.mobile-menu-btn:hover {
  background-color: hsl(var(--secondary));
}

.mobile-menu-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  z-index: 60;
  background: hsl(var(--background));
  border-right: 1px solid hsl(var(--border));
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-logo {
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.mobile-menu-logo img {
  height: 2rem;
  width: auto;
}

.mobile-menu a.nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  border-radius: 0.5rem;
  transition: color 0.2s, background-color 0.2s;
  margin: 0 0.5rem;
}

.mobile-menu a.nav-link:hover {
  color: hsl(var(--primary));
  background-color: hsl(var(--secondary));
}

.mobile-menu-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  border-radius: 0.25rem;
  font-size: 1.25rem;
}

.mobile-menu-close:hover {
  color: hsl(var(--foreground));
  background-color: hsl(var(--secondary));
}

/* ── CONTENT MAIN ── */
.content-main {
  padding: 2rem 2rem 0;
  text-align: left;
}

.content-main h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.content-main .intro-text {
  font-size: 1.125rem;
  color: hsl(var(--foreground) / 0.85);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.content-main .breadcrumb {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.content-main .breadcrumb a {
  color: hsl(var(--primary));
}

.section-divider {
  border: none;
  border-top: 1px solid hsl(var(--border));
  margin: 2rem 0;
}

/* ── TABLE LIST CARDS ── */
.table-list {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
  max-width: 820px;
}

.table-list:hover {
  box-shadow: 0 0 20px hsl(43, 80%, 50%, 0.15);
}

.wrapper-flex { width: 100%; }
.item-flex { display: flex; align-items: stretch; }

.group-flex-background {
  position: relative;
  flex-shrink: 0;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  gap: 0.35rem;
}

.logo-count {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  color: #1a1a1a;
  text-align: center;
  white-space: nowrap;
}

.logo-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-flex img {
  max-height: 48px;
  width: auto;
  object-fit: scale-down;
}

.group-flex {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.75rem;
  border-left: 1px solid hsl(var(--border));
}

.reward { text-align: center; }

.reward-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.3;
}

.reward-small {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

.feature-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-items li {
  font-size: 0.9rem;
  color: hsl(var(--foreground) / 0.85);
  padding: 0.15rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.feature-items li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: hsl(142, 76%, 36%);
  font-weight: 700;
}

.stars-display {
  font-size: 1.125rem;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

.stars-display span {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-left: 0.25rem;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
  color: hsl(var(--primary-foreground)) !important;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0.375rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px hsl(43, 80%, 50%, 0.3), 0 0 40px hsl(43, 80%, 50%, 0.1);
  transition: filter 0.2s;
}

.play-btn:hover {
  filter: brightness(1.1);
}

.table-list-desc {
  padding: 0.75rem 1.25rem 1rem;
  font-size: 1rem;
  color: hsl(var(--foreground) / 0.7);
  line-height: 1.6;
  border-top: 1px solid hsl(var(--border));
}

/* ── CONTENT SECTIONS ── */
.content-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 5rem;
}

.content-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

/* Rich Content */
.rich-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rich-content p {
  font-size: 1.25rem;
  color: hsl(var(--foreground) / 0.85);
  line-height: 1.8;
}

.rich-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rich-content h3 .h3-bar {
  width: 4px;
  height: 1.25rem;
  background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
  border-radius: 9999px;
  display: inline-block;
  flex-shrink: 0;
}

.rich-content h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

/* Content Images */
.content-image,
.rich-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--primary) / 0.2);
  box-shadow: 0 4px 16px hsl(var(--primary) / 0.08);
  margin: 1.25rem 0;
}

@media (min-width: 768px) {
  .content-image,
  .rich-content img {
    width: 260px;
    max-width: 260px;
    float: right;
    margin: 0.25rem 0 1rem 1.5rem;
    clear: right;
    shape-outside: margin-box;
  }
  .content-image:nth-of-type(even),
  .rich-content img:nth-of-type(even) {
    float: left;
    margin: 0.25rem 1.5rem 1rem 0;
    clear: left;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .content-image,
  .rich-content img {
    width: 220px;
    max-width: 220px;
  }
}

.rich-content::after,
.content-section::after {
  content: "";
  display: table;
  clear: both;
}

/* Ordered Lists */
.rich-content ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rich-content ol li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.1rem;
  color: hsl(var(--foreground) / 0.85);
}

.rich-content ol .ol-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.rich-content ol li span.ol-text {
  line-height: 1.7;
}

/* Unordered Lists */
.rich-content ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.rich-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: hsl(var(--foreground) / 0.85);
}

.rich-content ul .ul-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  margin-top: 0.625rem;
  flex-shrink: 0;
}

.rich-content ul li span.ul-text {
  line-height: 1.7;
}

/* ── TABLE OF CONTENTS ── */
.toc {
  position: relative;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.toc-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
}

.toc-inner {
  padding: 1.25rem 1.5rem;
}

.toc-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-title svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.toc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.375rem;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.toc-link:hover {
  color: hsl(var(--primary));
}

.toc-link:hover .toc-num {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.toc-link:hover .toc-label {
  transform: translateX(2px);
}

.toc-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.toc-label {
  transition: transform 0.2s;
}

/* ── AUTHOR BLOCK ── */
.author-block {
  background: hsl(var(--secondary) / 0.5);
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid hsl(var(--border));
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-avatar span {
  font-size: 1.125rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: hsl(var(--primary));
}

.author-info { flex: 1; }

.author-name {
  font-weight: 600;
  font-size: 1rem;
  color: hsl(var(--foreground));
}

.author-bio {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

.author-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.author-dates span {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.author-dates .date-updated { color: hsl(var(--primary)); }
.author-dates .verified { color: hsl(142, 76%, 36%); }

/* ── FAQ ── */
.faq-block {
  margin: 2rem 0;
}

.faq-block h2 {
  font-size: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
}

.faq-question span {
  font-weight: 600;
  font-size: 1.25rem;
  padding-right: 1rem;
}

.faq-chevron {
  color: hsl(var(--muted-foreground));
  flex-shrink: 0;
  transition: transform 0.2s;
  font-size: 1rem;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 1.25rem;
  color: hsl(var(--foreground) / 0.8);
  line-height: 1.8;
  display: none;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.3);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-size: 1.375rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-copyright {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
}

.footer-email {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

.footer-email a {
  transition: color 0.2s;
}

.footer-email a:hover {
  color: hsl(var(--primary));
}

.footer-col-title {
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col nav a,
.footer-col nav span {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.footer-col nav a:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-bottom p + p {
  margin-top: 0.5rem;
  color: hsl(var(--muted-foreground) / 0.7);
}

/* ── SCROLL TO TOP ── */
.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
  color: hsl(var(--primary-foreground));
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: none;
  transition: opacity 0.3s, transform 0.3s;
  animation: fadeIn 0.5s ease-out;
}

.scroll-to-top.visible {
  display: flex;
}

.scroll-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ── DISCLAIMER ── */
.disclaimer {
  text-align: center;
  margin-top: 3rem;
}

.disclaimer p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.disclaimer p + p {
  margin-top: 0.25rem;
  color: hsl(var(--muted-foreground) / 0.7);
}

/* ── ANIMATIONS ── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── CONTENT BLOCKS ── */

/* Info Box */
.info-box {
  background: hsl(210 60% 15% / 0.5);
  border-left: 4px solid hsl(210 80% 55%);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 1.125rem;
  line-height: 1.7;
}

.info-box .info-label {
  display: block;
  font-weight: 700;
  color: hsl(210 80% 65%);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Warning Box */
.warning-box {
  background: hsl(30 60% 12% / 0.6);
  border-left: 4px solid hsl(38 90% 55%);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 1.125rem;
  line-height: 1.7;
}

.warning-box .warning-label {
  display: block;
  font-weight: 700;
  color: hsl(38 90% 60%);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Quote Block */
.quote-block {
  background: hsl(var(--card));
  border-left: 4px solid hsl(var(--primary));
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.7;
  color: hsl(var(--foreground) / 0.85);
}

.quote-block .quote-source {
  display: block;
  font-style: normal;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
}

/* Before / After */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.before-after .ba-col {
  padding: 1.25rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.before-after .ba-before {
  background: hsl(0 40% 12% / 0.5);
  border: 1px solid hsl(0 50% 30%);
}

.before-after .ba-after {
  background: hsl(142 40% 12% / 0.5);
  border: 1px solid hsl(142 50% 30%);
}

.before-after .ba-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ba-before .ba-label { color: hsl(0 70% 60%); }
.ba-after .ba-label { color: hsl(142 70% 55%); }

/* Checklist */
.checklist {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  list-style: none;
}

.checklist .checklist-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: hsl(var(--primary));
}

.checklist li {
  padding: 0.4rem 0 0.4rem 2rem;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.6;
}

.checklist li::before {
  content: '☐';
  position: absolute;
  left: 0;
  color: hsl(var(--primary));
  font-size: 1.2rem;
}

/* Stat Cards */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.25rem;
  text-align: center;
}

.stat-card .stat-value {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.25rem;
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CTA Block */
.cta-block {
  background: linear-gradient(135deg, hsl(222 40% 12%), hsl(222 35% 16%));
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 0.75rem;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.cta-block .cta-text {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: hsl(var(--foreground));
}

.cta-block .play-btn {
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
}

/* Mini Table */
.mini-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 1.1rem;
}

.mini-table th,
.mini-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid hsl(var(--border));
}

.mini-table th {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: hsl(var(--primary));
  background: hsl(var(--card));
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mini-table td {
  color: hsl(var(--foreground) / 0.85);
}

.mini-table tr:last-child td {
  border-bottom: none;
}

/* Casino Review Block */
.casino-review-block {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 0.5rem;
}

.casino-review-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsl(var(--border));
}

.casino-review-score {
  text-align: center;
  min-width: 70px;
}

.review-score-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, hsl(var(--gold-start)), hsl(var(--gold-end)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.review-score-max {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
}

.review-stars {
  font-size: 0.9rem;
  color: hsl(var(--gold-start));
  margin-top: 0.25rem;
  letter-spacing: 1px;
}

.casino-review-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.casino-review-text {
  font-size: 1.1rem;
  color: hsl(var(--foreground) / 0.8);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  white-space: pre-line;
}

.casino-review-text p {
  margin-bottom: 0.75rem;
}

/* Pros / Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pros-col, .cons-col {
  padding: 1.25rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
}

.pros-col {
  background: hsl(142 40% 12% / 0.4);
  border: 1px solid hsl(142 40% 25%);
}

.cons-col {
  background: hsl(0 40% 12% / 0.4);
  border: 1px solid hsl(0 40% 25%);
}

.pros-col .pc-title, .cons-col .pc-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pros-col .pc-title { color: hsl(142 70% 55%); }
.cons-col .pc-title { color: hsl(0 70% 60%); }

.pros-col ul, .cons-col ul {
  list-style: none;
  padding: 0;
}

.pros-col li, .cons-col li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  line-height: 1.6;
}

.pros-col li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: hsl(142 70% 55%);
  font-weight: 700;
}

.cons-col li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: hsl(0 70% 60%);
  font-weight: 700;
}

/* Footnote */
.footnote-text {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 2px solid hsl(var(--border));
}

/* Badge 18+ */
.badge-18plus {
  display: inline-block;
  background: hsl(0 84% 60%);
  color: #fff;
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 700;
  margin-top: 6px;
  font-size: 0.95rem;
}

/* Steps */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(43, 90%, 55%), hsl(35, 85%, 40%));
  color: hsl(var(--primary-foreground));
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.step p {
  font-size: 1.1rem;
  color: hsl(var(--foreground) / 0.85);
  line-height: 1.7;
}

/* ── Scroll margin for anchors ── */
[id] {
  scroll-margin-top: 5rem;
}

/* ── Hidden utility ── */
.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;
}

.hidden {
  display: none !important;
}

/* ── RESPONSIVE ── */

@media (min-width: 640px) {
  .author-block {
    flex-direction: row;
    align-items: flex-start;
  }
}

@media (min-width: 768px) {
  .header-logo img { height: 2.5rem; }

  .content-section h2 { font-size: 1.875rem; }

  .toc-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .content-main h1 { font-size: 3rem; }
  .content-section h2 { font-size: 2.125rem; }
  .rich-content p { font-size: 1.3rem; }
}

@media (max-width: 1023px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }
}

@media (max-width: 767px) {
  .header-actions { display: none; }
}

@media (max-width: 768px) {
  .item-flex { flex-direction: column; }
  .group-flex-background {
    width: 100%;
    padding: 1.25rem;
    flex-direction: row;
    gap: 1rem;
  }
  .logo-count { position: static; }
  .group-flex {
    border-left: none;
    border-top: 1px solid hsl(var(--border));
    padding: 0.75rem 1rem;
  }
  .content-main h1 { font-size: 1.75rem; }
}

@media (max-width: 640px) {
  .before-after { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
}

/* Sitemap Page */
.sitemap-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sitemap-link {
  display: block;
  padding: 1.25rem 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.sitemap-link:hover {
  border-color: hsl(var(--primary));
  transform: translateX(4px);
}

.sitemap-link-title {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.35rem;
}

.sitemap-link-desc {
  display: block;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}
