:root {
  /* Colors from palette */
  --color-bg: #0B0B0E;
  --color-bg-secondary: #141418;
  --color-bg-tertiary: #1a1a20;

  --color-gold: #C9A44D;
  --color-gold-dark: #8F7A3A;
  --color-gold-light: #D4B566;

  --color-red: #C62828;
  --color-red-dark: #991f1f;
  --color-red-light: #d43d3d;

  --color-text: #F5F5F5;
  --color-text-muted: #B9B9B9;
  --color-text-dark: #808080;

  /* Semantic colors */
  --color-primary: var(--color-gold);
  --color-primary-dark: var(--color-gold-dark);
  --color-secondary: var(--color-red);
  --color-accent: var(--color-gold-light);
  --color-success: #22c55e;
  --color-warning: #eab308;
  --color-error: #ef4444;

  /* Typography - System fonts only */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font-main);

  /* Fluid font sizes */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3rem);

  /* Line heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Font weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Shortcuts */
  --space-xs: var(--space-1);
  --space-sm: var(--space-2);
  --space-md: var(--space-4);
  --space-lg: var(--space-6);
  --space-xl: var(--space-8);
  --space-2xl: var(--space-12);

  /* Border radius */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 20px rgba(201, 164, 77, 0.3);
  --shadow-red: 0 4px 20px rgba(198, 40, 40, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition: 250ms ease;
  --transition-slow: 350ms ease;

  /* Z-index scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;

  /* Container widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;

  /* Header height */
  --header-height: 90px;
}
/* CSS Reset - Normalize browser styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-text);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

/* Images */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Lists */
ul, ol {
  list-style: none;
}

/* Forms */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
  border: none;
  background: none;
}

button:disabled,
[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

input,
textarea,
select {
  background: transparent;
  border: 1px solid var(--color-text-dark);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(201, 164, 77, 0.2);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

th {
  text-align: left;
  font-weight: var(--font-semibold);
}

/* Misc */
hr {
  border: none;
  border-top: 1px solid var(--color-bg-tertiary);
  margin: var(--space-8) 0;
}

blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-4);
  font-style: italic;
  color: var(--color-text-muted);
}

code {
  font-family: "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
  background: var(--color-bg-secondary);
  padding: 0.2em 0.4em;
  border-radius: var(--radius-sm);
}

pre {
  overflow-x: auto;
  background: var(--color-bg-secondary);
  padding: var(--space-4);
  border-radius: var(--radius);
}

pre code {
  background: none;
  padding: 0;
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.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;
}

/* Selection */
::selection {
  background: var(--color-primary);
  color: var(--color-bg);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-text-dark);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}
/* Layout - Grid, containers, flexbox */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.container-sm {
  max-width: var(--container-sm);
}

.container-md {
  max-width: var(--container-md);
}

.container-lg {
  max-width: var(--container-lg);
}

/* Main layout */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  padding: var(--space-8) 0;
}

/* Grid system */
.grid {
  display: grid;
  gap: var(--space-4);
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

.grid-auto {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Gap utilities */
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Flexbox */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.flex-1 { flex: 1; }
.flex-auto { flex: auto; }
.flex-none { flex: none; }

/* Spacing utilities */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }

.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.ml-2 { margin-left: var(--space-2); }
.ml-4 { margin-left: var(--space-4); }
.mr-2 { margin-right: var(--space-2); }
.mr-4 { margin-right: var(--space-4); }

.p-0 { padding: 0; }
.p-2 { padding: var(--space-2); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.px-2 { padding-left: var(--space-2); padding-right: var(--space-2); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }

.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }

/* Width utilities */
.w-full { width: 100%; }
.w-auto { width: auto; }
.max-w-full { max-width: 100%; }

/* Text alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* Section spacing */
.section {
  padding: var(--space-12) 0;
}

.section-sm {
  padding: var(--space-8) 0;
}

.section-lg {
  padding: var(--space-16) 0;
}

/* Two column layout with sidebar */
.layout-sidebar {
  display: grid;
  gap: var(--space-8);
}

.layout-sidebar .content-main {
  min-width: 0;
}

.layout-sidebar .content-sidebar {
  min-width: 0;
}

/* Hero section */
.hero {
  padding: var(--space-16) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg) 100%);
}

.hero-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}
/* Components - Buttons, cards, forms, nav */

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  min-height: 44px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  min-height: 36px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  min-height: 52px;
  font-size: var(--text-base);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-bg);
}

.btn-secondary {
  background: var(--color-bg-tertiary);
  color: var(--color-text);
  border: 1px solid var(--color-text-dark);
}

.btn-secondary:hover {
  background: var(--color-bg-secondary);
  border-color: var(--color-primary);
}

.btn-cta {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  color: white;
  padding: var(--space-4) var(--space-8);
  box-shadow: var(--shadow-red);
  font-size: var(--text-base);
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--color-red-light) 0%, var(--color-red) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-bg);
}

.btn-icon {
  padding: var(--space-3);
  min-width: 44px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-bg-tertiary);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-tertiary);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: var(--space-4);
}

.card-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  line-height: var(--leading-tight);
}

.card-text {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-dark);
}

.card-footer {
  padding: var(--space-4);
  border-top: 1px solid var(--color-bg-tertiary);
}

/* Casino Card */
.casino-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-bg-tertiary);
  overflow: hidden;
  transition: all var(--transition);
}

.casino-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-gold);
}

.casino-card-rank {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: var(--color-bg);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
}

.casino-card-logo {
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-tertiary);
  min-height: 80px;
}

.casino-card-logo img {
  max-height: 50px;
  max-width: 150px;
  object-fit: contain;
}

.casino-card-body {
  padding: var(--space-4);
  flex: 1;
}

.casino-card-name {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.casino-card-bonus {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: var(--font-bold);
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
}

.casino-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.casino-card-feature {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-2);
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
}

.casino-card-rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-gold);
  font-weight: var(--font-semibold);
}

.casino-card-footer {
  padding: var(--space-4);
  border-top: 1px solid var(--color-bg-tertiary);
}

/* Category Card */
.category-card {
  position: relative;
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  border: 1px solid var(--color-bg-tertiary);
  transition: all var(--transition);
}

.category-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
}

.category-card-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.category-card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.category-card-count {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-bg-tertiary);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header .container {
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-text);
  text-decoration: none;
}

.logo:hover {
  color: var(--color-primary);
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  transition: color var(--transition-fast);
  padding: var(--space-3) 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Mobile menu */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Hamburger icon */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.hamburger-line:nth-child(1) {
  top: 5px;
}

.hamburger-line:nth-child(2) {
  top: 11px;
}

.hamburger-line:nth-child(3) {
  top: 17px;
}

/* Active state - X icon */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: var(--z-fixed);
  overflow-y: auto;
  padding: var(--space-4);
}

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

.mobile-nav-link {
  display: block;
  padding: var(--space-4);
  color: var(--color-text);
  font-size: var(--text-lg);
  border-bottom: 1px solid var(--color-bg-tertiary);
}

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

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs-separator {
  color: var(--color-text-dark);
}

.breadcrumbs-current {
  color: var(--color-text);
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: var(--font-medium);
  color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(201, 164, 77, 0.2);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-dark);
}

.form-error {
  color: var(--color-error);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

/* ==========================================================================
   TAGS
   ========================================================================== */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--color-bg-tertiary);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.tag:hover {
  background: var(--color-primary);
  color: var(--color-bg);
}

.tag-lg {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* Tags Cloud */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

.tags-cloud .tag {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
}

/* ==========================================================================
   CAROUSEL
   ========================================================================== */

.carousel-container {
  overflow: hidden;
  padding: var(--space-4) 0;
  background: transparent;
}

.carousel-row {
  display: flex;
  gap: var(--space-4);
  white-space: nowrap;
}

.carousel-row--1 {
  animation: scroll 240s linear infinite;
}

.carousel-row--2 {
  animation: scroll-rev 250s linear infinite;
}

.carousel-row--3 {
  animation: scroll 260s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scroll-rev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.carousel-item {
  flex-shrink: 0;
  width: 280px;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-tertiary);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  display: block;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.carousel-item-link:hover {
  background: var(--color-bg-secondary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.carousel-item img {
  max-height: 60px;
  margin: 0 auto var(--space-2);
}

.carousel-item-text {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  white-space: normal;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-item-link:hover .carousel-item-text {
  color: var(--color-primary);
}

/* ==========================================================================
   TABLE OF CONTENTS
   ========================================================================== */

.toc {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  border: 1px solid var(--color-bg-tertiary);
}

.toc-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.toc-list {
  list-style: decimal inside;
}

.toc-list li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-bg-tertiary);
}

.toc-list li:last-child {
  border-bottom: none;
}

.toc-list a {
  color: var(--color-text-muted);
}

.toc-list a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   PROS & CONS
   ========================================================================== */

.pros-cons {
  display: grid;
  gap: var(--space-4);
}

.pros-list,
.cons-list {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.pros-list {
  border-left: 4px solid var(--color-success);
}

.cons-list {
  border-left: 4px solid var(--color-error);
}

.pros-title,
.cons-title {
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
}

.pros-title { color: var(--color-success); }
.cons-title { color: var(--color-error); }

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

.pros-list li,
.cons-list li {
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
}

.pros-list li::before,
.cons-list li::before {
  position: absolute;
  left: 0;
  font-weight: bold;
}

.pros-list li::before {
  content: "+";
  color: var(--color-success);
}

.cons-list li::before {
  content: "-";
  color: var(--color-error);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  background: var(--color-bg-secondary);
  color: var(--color-text-muted);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.pagination-link:hover {
  background: var(--color-bg-tertiary);
  color: var(--color-text);
}

.pagination-link.active {
  background: var(--color-primary);
  color: var(--color-bg);
}

.pagination-ellipsis {
  color: var(--color-text-dark);
  padding: 0 var(--space-2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-bg-tertiary);
  padding: var(--space-12) 0 var(--space-8);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: var(--space-8);
}

.footer-section h4 {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

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

.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-bg-tertiary);
  text-align: center;
  color: var(--color-text-dark);
  font-size: var(--text-sm);
}

.footer-disclaimer {
  max-width: 800px;
  margin: 0 auto var(--space-4);
  line-height: var(--leading-relaxed);
}

/* ==========================================================================
   ARTICLE CONTENT
   ========================================================================== */

.article-content {
  line-height: var(--leading-relaxed);
}

.article-content h2 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-primary);
}

.article-content h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.article-content p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
}

.article-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.article-content a:hover {
  color: var(--color-accent);
}

.article-content figure {
  margin: var(--space-6) 0;
}

.article-content figcaption {
  font-size: var(--text-sm);
  color: var(--color-text-dark);
  text-align: center;
  margin-top: var(--space-2);
}

/* ==========================================================================
   TOP CASINOS SIDEBAR
   ========================================================================== */

.top-casinos-widget {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  border: 1px solid var(--color-bg-tertiary);
}

/* Sticky sidebar behavior - Desktop only */
@media (min-width: 768px) {
  .top-casinos-widget {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    max-height: calc(100vh - var(--header-height) - 32px);
    overflow-y: auto;
    z-index: var(--z-sticky);
  }

  /* Custom scrollbar for widget when content overflows */
  .top-casinos-widget::-webkit-scrollbar {
    width: 6px;
  }

  .top-casinos-widget::-webkit-scrollbar-track {
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-full);
  }

  .top-casinos-widget::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: var(--radius-full);
  }
}

/* Mobile: widget below content, no sticky */
@media (max-width: 767px) {
  .top-casinos-widget {
    position: static;
    max-height: none;
    overflow: visible;
    margin-top: var(--space-6);
  }
}

.top-casinos-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.top-casino-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-bg-tertiary);
}

.top-casino-item:last-child {
  border-bottom: none;
}

.top-casino-rank {
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: var(--color-bg);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.top-casino-info {
  flex: 1;
  min-width: 0;
}

.top-casino-name {
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-casino-bonus {
  font-size: var(--text-xs);
  color: var(--color-gold);
}

/* ==========================================================================
   RATING STARS
   ========================================================================== */

.rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.rating-star {
  color: var(--color-gold);
}

.rating-star.empty {
  color: var(--color-text-dark);
}

.rating-value {
  margin-left: var(--space-2);
  font-weight: var(--font-semibold);
}

/* ==========================================================================
   ALERTS / NOTICES
   ========================================================================== */

.alert {
  padding: var(--space-4);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
}

.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--color-success);
}

.alert-warning {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: var(--color-warning);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--color-error);
}

/* ==========================================================================
   SORTING
   ========================================================================== */

.sorting {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.sorting-label {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.sorting-options {
  display: flex;
  gap: var(--space-2);
}

.sorting-option {
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sorting-option:hover {
  border-color: var(--color-primary);
  color: var(--color-text);
}

.sorting-option.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-bg);
}

/* ==========================================================================
   ACCESSIBILITY UTILITIES
   ========================================================================== */

/* Screen reader only - visually hidden but accessible */
.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;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-bg);
  padding: var(--space-2) var(--space-4);
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Focus visible styles for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}
/* ==========================================================================
   PREMIUM CASINO DESIGN SYSTEM
   Luxury, conversion-focused styling
   ========================================================================== */

/* ==========================================================================
   DECORATIVE SIDE AREAS - Visible Luxury Casino Ambiance
   ========================================================================== */

/* Main wrapper for side decorations */
.site-wrapper {
  position: relative;
}

/* ========== VERTICAL GOLD FRAMING LINES ========== */
/* Left framing line */
.site-wrapper::before {
  content: '';
  position: fixed;
  top: 0;
  left: calc(50% - 680px);
  width: 3px;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(201, 164, 77, 0.1) 10%,
    rgba(201, 164, 77, 0.5) 30%,
    rgba(201, 164, 77, 0.7) 50%,
    rgba(201, 164, 77, 0.5) 70%,
    rgba(201, 164, 77, 0.1) 90%,
    transparent 100%
  );
  box-shadow:
    0 0 20px rgba(201, 164, 77, 0.3),
    0 0 40px rgba(201, 164, 77, 0.2),
    0 0 60px rgba(201, 164, 77, 0.1);
}

/* Right framing line */
.site-wrapper::after {
  content: '';
  position: fixed;
  top: 0;
  right: calc(50% - 680px);
  width: 3px;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(201, 164, 77, 0.1) 10%,
    rgba(201, 164, 77, 0.5) 30%,
    rgba(201, 164, 77, 0.7) 50%,
    rgba(201, 164, 77, 0.5) 70%,
    rgba(201, 164, 77, 0.1) 90%,
    transparent 100%
  );
  box-shadow:
    0 0 20px rgba(201, 164, 77, 0.3),
    0 0 40px rgba(201, 164, 77, 0.2),
    0 0 60px rgba(201, 164, 77, 0.1);
}

/* ========== SIDE BACKGROUND LAYERS ========== */
/* Left side decorative background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: calc(50% - 660px);
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background:
    /* Large blurred card - top */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 170'%3E%3Crect x='5' y='5' width='110' height='160' rx='10' fill='%23181820' stroke='%23C9A44D' stroke-width='3'/%3E%3Ctext x='20' y='45' font-family='Georgia,serif' font-size='36' font-weight='bold' fill='%23C9A44D'%3EA%3C/text%3E%3Ctext x='60' y='110' font-family='Georgia,serif' font-size='60' fill='%23C9A44D' text-anchor='middle'%3E%E2%99%A0%3C/text%3E%3Ctext x='100' y='155' font-family='Georgia,serif' font-size='36' font-weight='bold' fill='%23C9A44D' text-anchor='end'%3EA%3C/text%3E%3C/svg%3E") no-repeat 70% 15% / 140px auto,
    /* Large blurred card - bottom */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 170'%3E%3Crect x='5' y='5' width='110' height='160' rx='10' fill='%23181820' stroke='%23C9A44D' stroke-width='3'/%3E%3Ctext x='20' y='45' font-family='Georgia,serif' font-size='36' font-weight='bold' fill='%23C9A44D'%3EK%3C/text%3E%3Ctext x='60' y='110' font-family='Georgia,serif' font-size='60' fill='%23C9A44D' text-anchor='middle'%3E%E2%99%A6%3C/text%3E%3Ctext x='100' y='155' font-family='Georgia,serif' font-size='36' font-weight='bold' fill='%23C9A44D' text-anchor='end'%3EK%3C/text%3E%3C/svg%3E") no-repeat 50% 70% / 120px auto,
    /* Casino chip */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='%23181820' stroke='%23C9A44D' stroke-width='4'/%3E%3Ccircle cx='50' cy='50' r='35' fill='none' stroke='%23C9A44D' stroke-width='2'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='%23C9A44D' stroke-width='2'/%3E%3Ctext x='50' y='58' font-family='Georgia,serif' font-size='24' fill='%23C9A44D' text-anchor='middle'%3E100%3C/text%3E%3C/svg%3E") no-repeat 30% 45% / 100px auto,
    /* Large spade symbol */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext x='50' y='80' font-family='Georgia,serif' font-size='90' fill='%23C9A44D' text-anchor='middle'%3E%E2%99%A0%3C/text%3E%3C/svg%3E") no-repeat 80% 85% / 150px auto,
    /* Radial glow */
    radial-gradient(ellipse at 80% 30%, rgba(201, 164, 77, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 60% 70%, rgba(201, 164, 77, 0.1) 0%, transparent 50%),
    /* Dark gradient to center */
    linear-gradient(90deg, rgba(11, 11, 14, 0.5) 0%, rgba(11, 11, 14, 0.98) 100%);
  filter: blur(2px);
  opacity: 0.85;
}

/* Right side decorative background */
body::after {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  width: calc(50% - 660px);
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background:
    /* Large blurred card - top */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 170'%3E%3Crect x='5' y='5' width='110' height='160' rx='10' fill='%23181820' stroke='%23C9A44D' stroke-width='3'/%3E%3Ctext x='20' y='45' font-family='Georgia,serif' font-size='36' font-weight='bold' fill='%23C9A44D'%3EQ%3C/text%3E%3Ctext x='60' y='110' font-family='Georgia,serif' font-size='60' fill='%23C9A44D' text-anchor='middle'%3E%E2%99%A5%3C/text%3E%3Ctext x='100' y='155' font-family='Georgia,serif' font-size='36' font-weight='bold' fill='%23C9A44D' text-anchor='end'%3EQ%3C/text%3E%3C/svg%3E") no-repeat 30% 20% / 140px auto,
    /* Large blurred card - bottom */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 170'%3E%3Crect x='5' y='5' width='110' height='160' rx='10' fill='%23181820' stroke='%23C9A44D' stroke-width='3'/%3E%3Ctext x='20' y='45' font-family='Georgia,serif' font-size='36' font-weight='bold' fill='%23C9A44D'%3EJ%3C/text%3E%3Ctext x='60' y='110' font-family='Georgia,serif' font-size='60' fill='%23C9A44D' text-anchor='middle'%3E%E2%99%A3%3C/text%3E%3Ctext x='100' y='155' font-family='Georgia,serif' font-size='36' font-weight='bold' fill='%23C9A44D' text-anchor='end'%3EJ%3C/text%3E%3C/svg%3E") no-repeat 50% 65% / 120px auto,
    /* Casino chip */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='%23181820' stroke='%23C9A44D' stroke-width='4'/%3E%3Ccircle cx='50' cy='50' r='35' fill='none' stroke='%23C9A44D' stroke-width='2'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='%23C9A44D' stroke-width='2'/%3E%3Ctext x='50' y='58' font-family='Georgia,serif' font-size='24' fill='%23C9A44D' text-anchor='middle'%3E500%3C/text%3E%3C/svg%3E") no-repeat 70% 40% / 100px auto,
    /* Large heart symbol */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext x='50' y='80' font-family='Georgia,serif' font-size='90' fill='%23C9A44D' text-anchor='middle'%3E%E2%99%A5%3C/text%3E%3C/svg%3E") no-repeat 20% 90% / 150px auto,
    /* Radial glow */
    radial-gradient(ellipse at 20% 25%, rgba(201, 164, 77, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 40% 75%, rgba(201, 164, 77, 0.1) 0%, transparent 50%),
    /* Dark gradient to center */
    linear-gradient(270deg, rgba(11, 11, 14, 0.5) 0%, rgba(11, 11, 14, 0.98) 100%);
  filter: blur(2px);
  opacity: 0.85;
}

/* ========== FLOATING DECORATIVE ELEMENTS ========== */
.page-decorations {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Large animated spade - left side */
.page-decorations::before {
  content: '♠';
  position: absolute;
  left: 3%;
  top: 25%;
  font-family: Georgia, serif;
  font-size: 180px;
  color: var(--color-gold);
  opacity: 0.12;
  filter: blur(3px);
  text-shadow: 0 0 40px rgba(201, 164, 77, 0.4);
  animation: floatLeft 15s ease-in-out infinite;
}

/* Large animated heart - right side */
.page-decorations::after {
  content: '♥';
  position: absolute;
  right: 3%;
  top: 55%;
  font-family: Georgia, serif;
  font-size: 160px;
  color: var(--color-gold);
  opacity: 0.12;
  filter: blur(3px);
  text-shadow: 0 0 40px rgba(201, 164, 77, 0.4);
  animation: floatRight 18s ease-in-out infinite;
}

/* Left side floating animation */
@keyframes floatLeft {
  0%, 100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-50px) rotate(5deg);
  }
}

/* Right side floating animation */
@keyframes floatRight {
  0%, 100% {
    transform: translateY(0) rotate(5deg);
  }
  50% {
    transform: translateY(-40px) rotate(-5deg);
  }
}

/* ========== ADDITIONAL DECORATIVE LAYER ========== */
/* Extra floating symbols using box-shadows trick */
.page-decorations-extra {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.page-decorations-extra::before {
  content: '♦';
  position: absolute;
  left: 8%;
  top: 70%;
  font-family: Georgia, serif;
  font-size: 120px;
  color: var(--color-gold);
  opacity: 0.1;
  filter: blur(2px);
  animation: floatLeft 20s ease-in-out infinite reverse;
}

.page-decorations-extra::after {
  content: '♣';
  position: absolute;
  right: 8%;
  top: 15%;
  font-family: Georgia, serif;
  font-size: 140px;
  color: var(--color-gold);
  opacity: 0.1;
  filter: blur(2px);
  animation: floatRight 22s ease-in-out infinite reverse;
}

/* Ensure main content stays above decorations */
.main-content,
.header,
.footer {
  position: relative;
  z-index: 10;
}

/* ========== RESPONSIVE - Hide on smaller screens ========== */
@media (max-width: 1400px) {
  .site-wrapper::before {
    left: 20px;
  }
  .site-wrapper::after {
    right: 20px;
  }

  body::before,
  body::after {
    width: 150px;
  }
}

@media (max-width: 1200px) {
  .site-wrapper::before,
  .site-wrapper::after,
  body::before,
  body::after {
    display: none;
  }

  .page-decorations,
  .page-decorations-extra {
    display: none;
  }
}

/* ==========================================================================
   HERO SECTION - Premium with Background
   ========================================================================== */

.hero {
  position: relative;
  padding: var(--space-12) 0;
  text-align: center;
  overflow: visible;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

/* Hero Background - transparent to show page decorations */
.hero::before {
  display: none;
}

/* Decorative cards floating - disabled to show page background */
.hero::after {
  display: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(-3deg); }
}

/* Decorative chips on left */
.hero-decorative-left {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 200px;
  height: 200px;
  opacity: 0.12;
  z-index: 0;
  animation: float-reverse 8s ease-in-out infinite;
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50% { transform: translateY(-15px) rotate(8deg); }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: var(--space-5);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 50%, #B9B9B9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-2xl);
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
}

/* Trust Icons Bar */
.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(201, 164, 77, 0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.trust-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.trust-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  fill: none;
}

.trust-label {
  font-weight: var(--font-medium);
}

/* ==========================================================================
   ENHANCED BUTTONS
   ========================================================================== */

.btn-cta {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  color: white;
  padding: var(--space-4) var(--space-8);
  box-shadow:
    0 4px 15px rgba(198, 40, 40, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--color-red-light) 0%, var(--color-red) 100%);
  color: white;
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 25px rgba(198, 40, 40, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta .btn-icon-left {
  margin-right: var(--space-2);
}

/* Secondary outline button */
.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  padding: var(--space-3) var(--space-6);
  font-weight: var(--font-semibold);
  position: relative;
  overflow: hidden;
}

.btn-outline-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-outline-gold:hover {
  color: var(--color-bg);
  border-color: var(--color-gold);
}

.btn-outline-gold:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================================================
   CASINO CARDS - Premium Redesign
   ========================================================================== */

.casino-cards-section {
  padding: var(--space-16) 0;
  position: relative;
}

/* Section header with decorative elements */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
  position: relative;
}

.section-header::before,
.section-header::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.section-header::before {
  right: calc(50% + 200px);
}

.section-header::after {
  left: calc(50% + 200px);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  position: relative;
  display: inline-block;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

/* Casino card list */
.casino-cards-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 1000px;
  margin: 0 auto;
}

/* Individual casino card - Premium style */
.casino-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: var(--space-6);
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.9) 0%, rgba(26, 26, 32, 0.9) 100%);
  border: 1px solid rgba(201, 164, 77, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.casino-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(201, 164, 77, 0.3), transparent, rgba(201, 164, 77, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.casino-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 164, 77, 0.4);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(201, 164, 77, 0.1);
}

.casino-card:hover::before {
  opacity: 1;
}

/* Top Pick (first casino) */
.casino-card.is-top-pick {
  border-color: rgba(201, 164, 77, 0.4);
  background: linear-gradient(135deg, rgba(30, 28, 20, 0.95) 0%, rgba(26, 26, 32, 0.95) 100%);
}

.casino-card.is-top-pick::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* Rank badge */
.casino-rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.casino-rank-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  box-shadow: 0 4px 12px rgba(201, 164, 77, 0.3);
}

.casino-rank-number.is-top {
  background: linear-gradient(135deg, #FFD700 0%, var(--color-gold) 50%, #B8860B 100%);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

/* Crown for #1 */
.casino-crown {
  color: var(--color-gold);
  margin-bottom: -8px;
}

/* Casino logo area */
.casino-logo {
  width: 160px;
  height: 100px;
  background: linear-gradient(135deg, rgba(11, 11, 14, 0.8) 0%, rgba(20, 20, 24, 0.8) 100%);
  border: 1px solid rgba(201, 164, 77, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  position: relative;
  overflow: visible;
}

.casino-logo-text {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text);
  text-align: center;
}

/* Badge container */
.casino-badges {
  position: absolute;
  top: -10px;
  right: -10px;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.casino-badge {
  padding: var(--space-1) var(--space-2);
  font-size: 10px;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.badge-top-pick {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-bg);
  box-shadow: 0 2px 8px rgba(201, 164, 77, 0.4);
}

.badge-hot {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(198, 40, 40, 0.4);
}

.badge-editors-choice {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
}

/* Casino info */
.casino-info {
  flex: 1;
  min-width: 0;
}

.casino-name {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.casino-bonus {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3);
}

.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.casino-feature {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: rgba(201, 164, 77, 0.1);
  border: 1px solid rgba(201, 164, 77, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.casino-feature svg {
  width: 12px;
  height: 12px;
  color: var(--color-gold);
}

/* Rating badge */
.casino-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(201, 164, 77, 0.1);
  border: 1px solid rgba(201, 164, 77, 0.2);
  border-radius: var(--radius-md);
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
}

.rating-stars svg.empty {
  fill: var(--color-text-dark);
}

.rating-score {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-gold);
}

.rating-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* CTA area */
.casino-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 160px;
}

.casino-cta .btn-cta {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
}

.btn-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  color: var(--color-gold);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  background: transparent;
  border: 1px solid rgba(201, 164, 77, 0.3);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn-review:hover {
  background: rgba(201, 164, 77, 0.1);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.casino-disclaimer {
  font-size: 10px;
  color: var(--color-text-dark);
  text-align: center;
}

/* ==========================================================================
   ENHANCED CATEGORY CARDS
   ========================================================================== */

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
}

.categories-grid .card-link {
  flex: 0 1 320px;
  max-width: 350px;
}

.category-card {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.9) 0%, rgba(26, 26, 32, 0.9) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  border: 1px solid rgba(201, 164, 77, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(201, 164, 77, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card:hover {
  border-color: rgba(201, 164, 77, 0.4);
  transform: translateY(-8px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(201, 164, 77, 0.1);
}

.category-card:hover::before {
  opacity: 1;
}

.category-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, rgba(201, 164, 77, 0.2) 0%, rgba(201, 164, 77, 0.05) 100%);
  border: 1px solid rgba(201, 164, 77, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: all 0.4s ease;
}

.category-card:hover .category-card-icon {
  transform: scale(1.1);
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(201, 164, 77, 0.3);
}

.category-card-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.category-card-count {
  color: var(--color-gold);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

/* ==========================================================================
   SECTION DIVIDERS & DECORATIVE ELEMENTS
   ========================================================================== */

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 77, 0.3), transparent);
  margin: var(--space-16) 0;
}

/* Decorative chip SVG */
.decorative-chip {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
}

/* Section background patterns */
.section-pattern {
  position: relative;
}

.section-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A44D' fill-opacity='0.02'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2.5a2.5 2.5 0 015 0V16h15v2H25v2.5a2.5 2.5 0 01-5 0z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* ==========================================================================
   IMPROVED TAGS CLOUD
   ========================================================================== */

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.tags-cloud .tag {
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.9) 0%, rgba(26, 26, 32, 0.9) 100%);
  border: 1px solid rgba(201, 164, 77, 0.2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  transition: all 0.3s ease;
}

.tags-cloud .tag:hover {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-bg);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 164, 77, 0.3);
}

/* ==========================================================================
   CAROUSEL - Premium Constrained Design with Edge Fades
   ========================================================================== */

/* Section container */
.carousel-section {
  padding: var(--space-12) 0;
  background: transparent;
}

/* Carousel header with title and controls */
.carousel-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: var(--space-4);
}

.carousel-header h2 {
  margin-bottom: 0;
}

/* Play/Pause toggle button */
.carousel-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-bg-secondary);
}

.carousel-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.carousel-toggle-play {
  display: none;
}

.carousel-toggle-pause {
  display: block;
}

.carousel-toggle[aria-pressed="true"] .carousel-toggle-play {
  display: block;
}

.carousel-toggle[aria-pressed="true"] .carousel-toggle-pause {
  display: none;
}

/* Paused state for carousel */
.carousel-wrapper.is-paused .carousel-row {
  animation-play-state: paused !important;
}

/* Wrapper with relative positioning for fade overlays */
.carousel-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 15, 18, 0.6) 0%, rgba(20, 20, 24, 0.4) 100%);
  border: 1px solid rgba(201, 164, 77, 0.1);
  padding: var(--space-6) 0;
}

/* Viewport that clips the carousel content */
.carousel-viewport {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* ========== EDGE FADE EFFECTS ========== */
/* Left fade overlay */
.carousel-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 10;
  pointer-events: none;
}

.carousel-fade--left {
  left: 0;
  background: linear-gradient(90deg,
    rgba(11, 11, 14, 1) 0%,
    rgba(11, 11, 14, 0.95) 20%,
    rgba(11, 11, 14, 0.8) 40%,
    rgba(11, 11, 14, 0.5) 60%,
    rgba(11, 11, 14, 0.2) 80%,
    transparent 100%
  );
  /* Add blur effect layer */
  -webkit-mask-image: linear-gradient(90deg, black 0%, black 60%, transparent 100%);
  mask-image: linear-gradient(90deg, black 0%, black 60%, transparent 100%);
}

.carousel-fade--right {
  right: 0;
  background: linear-gradient(-90deg,
    rgba(11, 11, 14, 1) 0%,
    rgba(11, 11, 14, 0.95) 20%,
    rgba(11, 11, 14, 0.8) 40%,
    rgba(11, 11, 14, 0.5) 60%,
    rgba(11, 11, 14, 0.2) 80%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(-90deg, black 0%, black 60%, transparent 100%);
  mask-image: linear-gradient(-90deg, black 0%, black 60%, transparent 100%);
}

/* Add blur effect with pseudo-elements */
.carousel-fade--left::before,
.carousel-fade--right::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.carousel-fade--left::before {
  left: 0;
  -webkit-mask-image: linear-gradient(90deg, black 0%, transparent 100%);
  mask-image: linear-gradient(90deg, black 0%, transparent 100%);
}

.carousel-fade--right::before {
  right: 0;
  -webkit-mask-image: linear-gradient(-90deg, black 0%, transparent 100%);
  mask-image: linear-gradient(-90deg, black 0%, transparent 100%);
}

/* Gold accent glow at edges */
.carousel-fade--left::after,
.carousel-fade--right::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(201, 164, 77, 0.3) 20%,
    rgba(201, 164, 77, 0.5) 50%,
    rgba(201, 164, 77, 0.3) 80%,
    transparent 100%
  );
}

.carousel-fade--left::after {
  left: 0;
}

.carousel-fade--right::after {
  right: 0;
}

/* ========== CAROUSEL ROWS ========== */
.carousel-row {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-2) var(--space-4);
}

/* ========== CAROUSEL ITEMS ========== */
.carousel-item {
  flex-shrink: 0;
  width: 280px;
  padding: var(--space-4);
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.95) 0%, rgba(26, 26, 32, 0.95) 100%);
  border: 1px solid rgba(201, 164, 77, 0.2);
  border-radius: var(--radius-md);
  text-decoration: none;
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-item:hover {
  border-color: rgba(201, 164, 77, 0.5);
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(201, 164, 77, 0.15);
}

.carousel-item-text {
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
}

.carousel-item:hover .carousel-item-text {
  color: var(--color-gold);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .carousel-fade {
    width: 80px;
  }

  .carousel-fade--left::before,
  .carousel-fade--right::before {
    width: 50px;
    backdrop-filter: blur(4px);
  }
}

@media (max-width: 768px) {
  .carousel-wrapper {
    border-radius: var(--radius);
    padding: var(--space-4) 0;
  }

  .carousel-fade {
    width: 50px;
  }

  .carousel-fade--left::before,
  .carousel-fade--right::before {
    display: none;
  }

  .carousel-fade--left::after,
  .carousel-fade--right::after {
    display: none;
  }

  .carousel-item {
    width: 240px;
    padding: var(--space-3);
  }
}

@media (max-width: 480px) {
  .carousel-fade {
    width: 30px;
  }

  .carousel-item {
    width: 200px;
  }
}

/* ==========================================================================
   ARTICLE CONTENT ENHANCEMENTS
   ========================================================================== */

.content-section {
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.5) 0%, rgba(26, 26, 32, 0.5) 100%);
  border: 1px solid rgba(201, 164, 77, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-top: var(--space-8);
}

.content-section h2 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.content-section h2::before {
  content: '';
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  border-radius: 2px;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 1024px) {
  .casino-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .casino-rating {
    grid-column: span 2;
    flex-direction: row;
    justify-content: center;
  }

  .casino-cta {
    grid-column: span 2;
    flex-direction: row;
    justify-content: center;
  }
}

/* Mobile header - hidden on desktop */
.casino-mobile-header {
  display: none;
}

/* ==========================================================================
   PREMIUM TABLET CASINO CARDS (≤820px)
   ========================================================================== */

@media (max-width: 820px) {
  .hero {
    min-height: 500px;
    padding: var(--space-12) 0;
  }

  .hero-trust-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
  }

  .casino-cards-section {
    padding: var(--space-10) 0;
  }

  .section-header {
    margin-bottom: var(--space-8);
  }

  .casino-cards-list {
    gap: var(--space-4);
    padding-top: var(--space-3);
  }

  /* Card container - premium tablet layout */
  .casino-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: var(--space-4);
    padding: var(--space-5);
    overflow: visible;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  }

  .casino-card::after {
    display: none;
  }

  .casino-card.is-top-pick {
    border: 1px solid rgba(201, 164, 77, 0.4);
  }

  /* Hide desktop elements */
  .casino-card .casino-rank,
  .casino-card .casino-logo {
    display: none;
  }

  /* Show mobile header - spans full width */
  .casino-mobile-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    grid-column: 1 / -1;
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(135deg, rgba(11, 11, 14, 0.6) 0%, rgba(20, 20, 24, 0.6) 100%);
    border: 1px solid rgba(201, 164, 77, 0.15);
    border-radius: var(--radius-md);
  }

  /* Rank badge inline */
  .casino-rank-inline {
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }

  .casino-rank-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .casino-rank-num.is-top {
    background: linear-gradient(135deg, #FFD700 0%, var(--color-gold) 50%, #B8860B 100%);
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.4);
  }

  .casino-crown-inline {
    color: var(--color-gold);
  }

  .casino-crown-inline svg {
    width: 20px;
    height: 20px;
  }

  .casino-name-inline {
    flex: 1;
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-text);
    margin: 0;
  }

  /* Badge styling */
  .casino-badge-inline {
    padding: 6px 12px;
    font-size: 10px;
    font-weight: var(--font-bold);
    letter-spacing: 0.8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    white-space: nowrap;
  }

  .casino-badge-inline.badge-top-pick {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-bg);
  }

  .casino-badge-inline.badge-hot {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: white;
  }

  .casino-badge-inline.badge-editors-choice {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
  }

  /* Info section - left column */
  .casino-card .casino-info {
    grid-column: 1;
    grid-row: 2;
  }

  /* Hide duplicate name in info */
  .casino-card .casino-info .casino-name {
    display: none;
  }

  .casino-bonus {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3);
    line-height: 1.3;
  }

  .casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .casino-feature {
    font-size: 12px;
    padding: 6px 12px;
    background: rgba(201, 164, 77, 0.08);
    border: 1px solid rgba(201, 164, 77, 0.2);
    border-radius: var(--radius-full);
    white-space: nowrap;
  }

  .casino-feature svg {
    width: 12px;
    height: 12px;
    color: var(--color-gold);
  }

  /* Rating - right column top */
  .casino-card .casino-rating {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: rgba(201, 164, 77, 0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(201, 164, 77, 0.1);
  }

  .casino-rating .rating-stars {
    display: flex;
    gap: 3px;
  }

  .casino-rating .rating-stars svg {
    width: 18px;
    height: 18px;
  }

  .casino-rating .rating-score {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-gold);
  }

  .casino-rating .rating-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
  }

  /* CTA section - full width bottom */
  .casino-card .casino-cta {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(201, 164, 77, 0.1);
  }

  .casino-cta .btn-cta {
    flex: 1;
    min-height: 48px;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    justify-content: center;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.3);
  }

  .casino-cta .btn-review {
    flex: 1;
    min-height: 48px;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    justify-content: center;
    border-radius: var(--radius);
    background: transparent;
    border: 1px solid rgba(201, 164, 77, 0.4);
  }

  .casino-disclaimer {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--color-text-dark);
    white-space: nowrap;
  }

  .section-header::before,
  .section-header::after {
    display: none;
  }
}

/* ==========================================================================
   PREMIUM MOBILE CASINO CARDS (≤480px) - Override tablet styles
   ========================================================================== */

@media (max-width: 600px) {
  .hero-trust-bar {
    flex-direction: column;
    align-items: center;
  }

  /* Single column layout for phones */
  .casino-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
  }

  .casino-mobile-header {
    padding: var(--space-3);
    padding-left: var(--space-4);
  }

  .casino-rank-num {
    width: 32px;
    height: 32px;
    font-size: var(--text-sm);
  }

  .casino-crown-inline svg {
    width: 16px;
    height: 16px;
  }

  .casino-name-inline {
    font-size: var(--text-lg);
  }

  .casino-badge-inline {
    padding: 5px 10px;
    font-size: 9px;
  }

  .casino-card .casino-info {
    order: 1;
  }

  .casino-bonus {
    font-size: var(--text-base);
    text-align: center;
    margin-bottom: var(--space-2);
  }

  .casino-features {
    justify-content: center;
  }

  .casino-feature {
    font-size: 11px;
    padding: 5px 10px;
  }

  /* Rating - horizontal compact */
  .casino-card .casino-rating {
    order: 2;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-3);
    margin: var(--space-2) 0;
    border: none;
  }

  .casino-rating .rating-stars svg {
    width: 16px;
    height: 16px;
  }

  .casino-rating .rating-score {
    font-size: var(--text-xl);
  }

  .casino-rating .rating-label {
    font-size: 9px;
  }

  /* CTA - stacked on mobile */
  .casino-card .casino-cta {
    order: 3;
    flex-direction: column;
    gap: var(--space-2);
    padding-top: var(--space-3);
  }

  .casino-cta .btn-cta,
  .casino-cta .btn-review {
    width: 100%;
    min-height: 46px;
  }

  .casino-disclaimer {
    text-align: center;
    margin-top: var(--space-1);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }

  .trust-item {
    flex-direction: column;
    text-align: center;
  }

  /* ==========================================================================
     PREMIUM MOBILE CASINO CARDS (≤480px)
     ========================================================================== */

  .casino-cards-section {
    padding: var(--space-8) 0;
  }

  .section-header {
    margin-bottom: var(--space-6);
  }

  .section-title {
    font-size: var(--text-xl);
  }

  .section-subtitle {
    font-size: var(--text-sm);
  }

  .casino-cards-list {
    gap: var(--space-4);
    padding: 0 var(--space-2);
  }

  /* Card container */
  .casino-card {
    position: relative;
    padding: var(--space-5);
    gap: var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .casino-card.is-top-pick {
    border: 1px solid rgba(201, 164, 77, 0.4);
  }

  /* Rank badge - repositioned to top-left corner */
  .casino-mobile-header .casino-rank-inline {
    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 5;
  }

  .casino-rank-num {
    width: 28px;
    height: 28px;
    font-size: var(--text-sm);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  .casino-crown-inline {
    display: none;
  }

  /* Mobile header - logo area + badge */
  .casino-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3);
    padding-left: var(--space-6);
    background: linear-gradient(135deg, rgba(11, 11, 14, 0.6) 0%, rgba(20, 20, 24, 0.6) 100%);
    border: 1px solid rgba(201, 164, 77, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: 0;
    border-bottom: none;
  }

  /* Casino name in header acts as logo */
  .casino-name-inline {
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    color: var(--color-text);
    letter-spacing: 0.3px;
  }

  /* Badge aligned right */
  .casino-badge-inline {
    padding: 5px 10px;
    font-size: 8px;
    font-weight: var(--font-bold);
    letter-spacing: 0.8px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Info section */
  .casino-card .casino-info {
    order: 1;
    padding: 0;
  }

  /* Bonus - strong emphasis with wrapping */
  .casino-card .casino-bonus {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    line-height: 1.3;
    margin-bottom: var(--space-3);
    word-wrap: break-word;
    text-align: center;
  }

  /* Features - 2-row wrap layout */
  .casino-card .casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    margin-top: var(--space-2);
  }

  .casino-card .casino-feature {
    font-size: 11px;
    padding: 6px 10px;
    background: rgba(201, 164, 77, 0.08);
    border: 1px solid rgba(201, 164, 77, 0.2);
    border-radius: var(--radius-full);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .casino-card .casino-feature svg {
    width: 10px;
    height: 10px;
    color: var(--color-gold);
  }

  /* Rating block - compact single line */
  .casino-card .casino-rating {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: rgba(201, 164, 77, 0.05);
    border-radius: var(--radius);
    border: none;
    margin: var(--space-2) 0;
  }

  .casino-card .casino-rating .rating-stars {
    display: flex;
    gap: 2px;
  }

  .casino-card .casino-rating .rating-stars svg {
    width: 14px;
    height: 14px;
  }

  .casino-card .casino-rating .rating-score {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-gold);
  }

  .casino-card .casino-rating .rating-label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
  }

  /* CTA section - mobile optimized */
  .casino-card .casino-cta {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    width: 100%;
    margin-top: var(--space-2);
  }

  /* Primary CTA - full width, highly tappable */
  .casino-card .casino-cta .btn-cta {
    width: 100%;
    min-height: 48px;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    justify-content: center;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.3);
  }

  /* Secondary CTA - full width outline */
  .casino-card .casino-cta .btn-review {
    width: 100%;
    min-height: 44px;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    justify-content: center;
    border-radius: var(--radius);
    background: transparent;
    border: 1px solid rgba(201, 164, 77, 0.4);
  }

  /* Disclaimer - small, aligned */
  .casino-card .casino-disclaimer {
    display: block;
    text-align: center;
    font-size: 10px;
    color: var(--color-text-dark);
    margin-top: var(--space-2);
    padding-top: var(--space-2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* ==========================================================================
   LOADING ANIMATIONS
   ========================================================================== */

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.loading-shimmer {
  background: linear-gradient(90deg, var(--color-bg-secondary) 25%, var(--color-bg-tertiary) 50%, var(--color-bg-secondary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(201, 164, 77, 0.3);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
  box-shadow: 0 6px 25px rgba(201, 164, 77, 0.5);
  transform: translateY(-3px);
}

.scroll-to-top:active {
  transform: translateY(0);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}
/* Responsive - Mobile-first breakpoints */

/* ============================================================
   BREAKPOINTS:
   - sm: 640px
   - md: 768px
   - lg: 1024px
   - xl: 1280px
   ============================================================ */

/* Small screens and up (640px) */
@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-6);
  }

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

  .hero-title {
    font-size: var(--text-4xl);
  }

  .pros-cons {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* Utility classes for sm */
  .sm\:hidden { display: none; }
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:grid { display: grid; }
}

/* Medium screens and up (768px) */
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

  /* Casino card horizontal layout */
  .casino-card {
    flex-direction: row;
  }

  .casino-card-logo {
    width: 150px;
    flex-shrink: 0;
  }

  .casino-card-body {
    flex: 1;
  }

  .casino-card-footer {
    display: flex;
    align-items: center;
    border-top: none;
    border-left: 1px solid var(--color-bg-tertiary);
    flex-direction: column;
    justify-content: center;
    width: 180px;
    flex-shrink: 0;
  }

  .layout-sidebar {
    grid-template-columns: 1fr 300px;
  }

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

  /* Utility classes for md */
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:grid { display: grid; }
}

/* Large screens and up (1024px) */
@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

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

  /* Desktop navigation */
  .nav-desktop {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .layout-sidebar {
    grid-template-columns: 1fr 350px;
    gap: var(--space-12);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .section {
    padding: var(--space-16) 0;
  }

  .section-lg {
    padding: var(--space-20) 0;
  }

  /* Carousel hover pause */
  .carousel-container:hover .carousel-row {
    animation-play-state: paused;
  }

  /* Utility classes for lg */
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
  .lg\:grid { display: grid; }
}

/* Extra large screens and up (1280px) */
@media (min-width: 1280px) {
  .container {
    padding: 0 var(--space-8);
  }

  .layout-sidebar {
    grid-template-columns: 1fr 380px;
  }

  /* Utility classes for xl */
  .xl\:hidden { display: none; }
  .xl\:block { display: block; }
  .xl\:flex { display: flex; }
  .xl\:grid { display: grid; }
}

/* ============================================================
   MOBILE-ONLY STYLES
   ============================================================ */

@media (max-width: 639px) {
  /* Stack buttons on mobile */
  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  /* Condensed casino card features on mobile */
  .casino-card-features {
    gap: var(--space-1);
  }

  .casino-card-feature {
    font-size: 10px;
    padding: 2px 6px;
  }

  /* Only show first 2 features on very small screens */
  .casino-card-feature:nth-child(n+3) {
    display: none;
  }

  /* Pagination on mobile */
  .pagination {
    flex-wrap: wrap;
  }

  .pagination-link {
    min-width: 40px;
    min-height: 40px;
  }

  /* Header adjustments */
  .logo {
    font-size: var(--text-lg);
  }

  .logo img {
    height: 32px;
  }

  /* Table scroll on mobile */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================================ */

@media (hover: none) {
  /* Remove hover effects on touch devices */
  .card:hover {
    transform: none;
  }

  .casino-card:hover {
    transform: none;
  }

  .btn-cta:hover {
    transform: none;
  }

  /* Ensure touch targets are large enough */
  .nav-link {
    padding: var(--space-3) var(--space-2);
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
  .header,
  .footer,
  .mobile-menu,
  .btn-cta,
  .top-casinos-widget,
  .carousel-container,
  .pagination {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .article-content {
    max-width: 100%;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .carousel-row {
    animation: none !important;
  }
}

/* ============================================================
   DARK MODE ADJUSTMENTS (for system preference)
   ============================================================ */

@media (prefers-color-scheme: dark) {
  /* Already using dark theme, but ensure consistency */
  :root {
    color-scheme: dark;
  }
}

/* ============================================================
   HIGH CONTRAST MODE
   ============================================================ */

@media (prefers-contrast: high) {
  :root {
    --color-text: #ffffff;
    --color-text-muted: #e0e0e0;
    --color-bg-secondary: #1a1a1a;
    --color-bg-tertiary: #2a2a2a;
  }

  .btn {
    border: 2px solid currentColor;
  }

  .card {
    border-width: 2px;
  }
}

/* ============================================================
   CAROUSEL KEYWORD BUTTONS & ARTICLE MODALS
   ============================================================ */

.carousel-keyword {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 52px;
  padding: 12px 24px;
  background: var(--color-bg-secondary, #141418);
  border: 1px solid var(--color-text-dark, #808080);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted, #B9B9B9);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.carousel-keyword:hover {
  border-color: var(--color-primary, #C9A44D);
  color: var(--color-primary, #C9A44D);
  background: rgba(201, 164, 77, 0.1);
  box-shadow: 0 4px 16px rgba(201, 164, 77, 0.2);
  z-index: 10;
}

.carousel-section:hover .carousel-row,
.carousel-section:hover .carousel-track {
  animation-play-state: paused;
}

.article-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 20, 0.92);
  z-index: 9999;
  display: none;
  overflow-y: auto;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.article-modal.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.article-modal-content {
  background: var(--color-bg-secondary, #141418);
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  margin: 2rem auto;
  border: 1px solid var(--color-text-dark, #808080);
  box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}

.article-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-text-dark, #808080);
}

.article-modal-header h2 {
  font-size: 1.25rem;
  color: var(--color-primary, #C9A44D);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.modal-close:hover {
  color: var(--color-primary, #C9A44D);
}

.article-modal-body {
  padding: 2rem;
  color: var(--color-text, #F5F5F5);
  line-height: 1.8;
}

.article-modal-body h1,
.article-modal-body h2,
.article-modal-body h3 {
  color: var(--color-primary, #C9A44D);
  margin: 1.5rem 0 1rem;
}

.article-modal-body p {
  margin-bottom: 1rem;
}

body.modal-open {
  overflow: hidden;
}
