:root {

  /* ========= TEXT ========= */

  --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  --font-size-root: 16px;

  --line-height-base: 1.6;



  --color-fg: #333333;           /* основной текст */

  --color-fg-muted: #6c757d;     /* подписи/метки */

  --color-fg-subtle: #555555;    /* параграфы */

  --color-bg: #f8f9fa;           /* фон страницы */

  --color-bg-elev: #ffffff;      /* карточки/хедер */

  --color-border: #dee2e6;       /* границы лёгкие */

  --color-border-soft: #eeeeee;  /* границы ещё мягче */



  /* ========= BRAND / ACCENTS ========= */

  --color-primary: #3aa63d;      /* главный акцент (кнопки/линки/hover) */

  --color-primary-ink: #ffffff;  /* текст на primary */

  --color-primary-shadow: rgba(220, 53, 69, 0.3);



  /* ========= HEADERS ========= */

  --color-h1: Red;

  --color-h2: var(--color-fg);

  --color-h3: var(--color-fg);

  --color-h4: var(--color-fg);

  --color-h5: var(--color-fg);

  --color-h6: var(--color-fg);

  --font-weight-h1: 700;

  --font-weight-h2: 700;

  --font-weight-h3: 600;

  --font-weight-h4: 600;

  --font-weight-h5: 600;

  --font-weight-h6: 600;

  --line-height-heading: 1.3;

  --margin-heading-top: 1.5rem;

  --margin-heading-bottom: 1rem;



  --color-success: #37c150;      /* звёзды/"exclusive"/success */

  --color-success-strong: #35eb56;



  --color-neutral-ink: #333333;  /* тёмный текст на светлом */

  --color-neutral-ink-weak: #cccccc;



  /* ========= HEADER / NAV ========= */

  --topbar-bg: var(--color-bg-elev);

  --topbar-ink: var(--color-fg);

  --subnav-bg: #333333;

  --subnav-link: #cccccc;

  --subnav-link-hover: #ffffff;

  --topnav-bg: #f8f9fa;



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

  --btn-radius: 6px;

  --btn-primary-bg: var(--color-primary);

  --btn-primary-fg: var(--color-primary-ink);

  --btn-primary-bg-hover: #db1414;     /* можно слегка затемнить при желании */

  --btn-secondary-bg: #6c757d;

  --btn-secondary-fg: #ffffff;

  --btn-secondary-bg-hover: #545b62;

  --btn-shadow: 0 4px 15px var(--color-primary-shadow);

  --btn-shadow-hover: 0 6px 20px rgba(220, 53, 69, 0.4);



  /* ========= TABLES ========= */

  --table-bg: #ffffff;

  --table-border: #e0e0e0;

  --table-head-bg: #f8f9fa;

  --table-head-accent: var(--color-primary);

  --table-row-hover: #fff8f8;         /* лёгкий красноватый */

  --table-col-separator: var(--color-primary);



  /* ========= CASINO BRANDS / CARDS ========= */

  --card-bg: #ffffff;

  --card-border: #eeeeee;

  --card-shadow: 0 4px 20px rgba(0,0,0,0.08);

  --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.12);



  --rating-star-empty: #dddddd;

  --rating-star-filled: var(--color-success);



  --exclusive-border: 2px solid var(--color-success-strong);

  --exclusive-badge-bg: #37c150;

  --exclusive-badge-fg: #000000;



  --badge-top1: #ffd034;  /* gold */

  --badge-top2: #a2a2a2;  /* silver */

  --badge-top3: #a2a2a2;  /* bronze-like (можешь заменить на бронзу #cd7f32) */



  /* ========= LOGO SIZES ========= */

  --logo-header-h: 100px;         /* .logo img */

  --logo-mobile-h: 15px;          /* .mobile-logo img */

  --logo-casino-card-h: 100px;    /* .casino-logo img */

  --logo-casino-large-h: 80px;    /* .casino-logo-large img */

  --logo-related-h: 40px;         /* .related-logo (height), ширину оставим авто/60px */

  --logo-footer-h: 50px;          /* .footer-logo */

  --logo-footer-bottom-h: 30px;   /* .footer-bottom-logo */



  /* ========= MISC / EFFECTS ========= */

  --shadow-soft: 0 2px 10px rgba(0,0,0,0.1);

  --shadow-strong: 0 4px 20px rgba(0,0,0,0.15);

  --focus-outline: 2px solid var(--color-primary);

  --focus-offset: 2px;



  /* ========= RADIUS ========= */

  --radius-card: 12px;

  --radius-pill: 20px;

  --radius-round: 50%;

}



/* (опционально) Тёмная тема через data-атрибут */

[data-theme="dark"] {

  --color-fg: #e6e6e6;

  --color-fg-muted: #b8c0cc;

  --color-fg-subtle: #c9c9c9;

  --color-bg: #121212;

  --color-bg-elev: #1c1c1c;

  --color-border: #2a2a2a;

  --color-border-soft: #262626;



  --subnav-bg: #1f1f1f;

  --subnav-link: #a9a9a9;

  --subnav-link-hover: #ffffff;



  --table-bg: #1a1a1a;

  --table-head-bg: #1e1e1e;

  --table-row-hover: rgba(219, 20, 20, 0.06);



  --card-bg: #1a1a1a;

  --card-border: #262626;



  --shadow-soft: 0 2px 10px rgba(0,0,0,0.6);

  --shadow-strong: 0 4px 20px rgba(0,0,0,0.6);



  /* ========= DARK THEME HEADERS ========= */

  --color-h1: var(--color-primary);

  --color-h2: var(--color-fg);

  --color-h3: var(--color-fg);

  --color-h4: var(--color-fg);

  --color-h5: var(--color-fg);

  --color-h6: var(--color-fg);

}



/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-root);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  line-height: var(--line-height-base);
  color: var(--color-fg);
  background: var(--color-bg);
}

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

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

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

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

/* Header Styles */
.topbar {
  background: var(--topbar-bg);
  color: var(--topbar-ink);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-soft);
}

.topbar,
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0.75rem 1rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: var(--logo-header-h);
  width: auto;
}

/* Navigation - Mobile First */
.main-nav {
  display: none;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.language-switcher {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.lang-current:hover {
  background: rgba(255,255,255,0.1);
}

.flag-icon {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  color: #333;
  min-width: 120px;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
}

.language-switcher.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.lang-option:hover {
  background: #f8f9fa;
}

.lang-option:last-child {
  border-bottom: none;
}

/* Mobile Navigation */
.mobile-nav {
  display: block;
  background: var(--subnav-bg);
  color: var(--subnav-link);
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.mobile-logo img {
  display: none;
  height: var(--logo-mobile-h);
}

.mobile-menu-toggle {
  font-size: 1.5rem;
  color: var(--subnav-link);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  color: var(--subnav-link-hover);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--subnav-bg);
}

.mobile-menu.active {
  max-height: 100vh;
}

.mobile-menu a {
  display: block;
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
  color: var(--subnav-link);
}

.mobile-menu a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--subnav-link-hover);
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  color: var(--subnav-link);
  transition: background 0.2s;
  text-decoration: none;
  cursor: pointer;
}

.mobile-dropdown-toggle:hover {
  background: rgba(255,255,255,0.1);
  color: var(--subnav-link-hover);
}

.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0,0,0,0.2);
}

.mobile-dropdown.active .mobile-dropdown-content {
  max-height: 500px;
}

.mobile-dropdown-content a {
  display: block;
  padding: 0.75rem 1rem 0.75rem 2rem;
  color: var(--subnav-link);
  transition: background 0.2s;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-dropdown-content a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--subnav-link-hover);
}

.mobile-dropdown-content a:last-child {
  border-bottom: none;
}

/* Sidebar Styles (for category pages) */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: var(--color-bg-elev);
  z-index: 999;
  transition: left 0.3s ease;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.sidebar.sidebar-open {
  left: 0;
}

.sidebar .logo {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--color-border-soft);
}

.sidebar .logo img {
  height: var(--logo-related-h);
}

.menu {
  flex: 1;
  padding: 1rem 0;
}

.menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--color-fg);
  transition: background 0.2s;
}

.menu a:hover {
  background: var(--color-bg);
}

.menu .icon {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.sidebar-bottom {
  padding: 1rem;
  border-top: 1px solid var(--color-border-soft);
}

.support-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: var(--color-primary);
  color: var(--color-primary-ink);
  border-radius: var(--btn-radius);
  text-align: center;
  margin-top: 1rem;
  transition: background 0.2s;
}

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

.support-icon {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Burger and subnav toggle */
.burger,
.subnav-toggle {
  font-size: 1.5rem;
  color: var(--color-fg);
  padding: 0.5rem;
}

/* Subnav (hidden on mobile by default) */
.subnav {
  display: none;
  gap: 2rem;
  padding: 0 1rem;
  background: var(--subnav-bg);
}

.subnav a {
  color: var(--subnav-link);
  padding: 0.75rem 0;
  transition: color 0.2s;
  white-space: nowrap;
}

.subnav a:hover {
  color: var(--subnav-link-hover);
}

/* Topnav (visible on mobile) */
.topnav {
  background: var(--topnav-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem;
}

.topnav-visible {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.topnav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-bg-elev);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-fg);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.2s;
}

.topnav a:hover {
  background: var(--color-primary);
  color: var(--color-primary-ink);
  border-color: var(--color-primary);
}

.topnav i {
  font-size: 1rem;
}

/* Main Content */
.main {
  min-height: calc(100vh - 60px);
}

/* Breadcrumbs */
.breadcrumbs-section {
  background: var(--color-bg-elev);
  border-bottom: 1px solid var(--color-border-soft);
  padding: 1rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumb-item.current span {
  color: var(--color-fg-muted);
}

.breadcrumb-separator {
  color: var(--color-fg-muted);
}

.breadcrumb-icon {
  font-size: 0.8rem;
}
/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  padding: 3rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(6px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.993),
               1px 2px 2px rgb(0, 0, 0),
               1px 2px 2px rgb(0, 0, 0),
               2px 2px 2px rgb(0, 0, 0);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 700;
  text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.993),
               1px 2px 2px rgb(0, 0, 0),
               1px 2px 2px rgb(0, 0, 0),
               2px 2px 2px rgb(0, 0, 0);
  opacity: 1;
}

.hero-btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-radius: var(--btn-radius);
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: var(--btn-shadow);
}

.hero-btn:hover {
  background: var(--btn-primary-bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}


/* Section Styles */
.casino-reviews-section,
.casino-info-section {
  padding: 3rem 0;
  background: var(--color-bg-elev);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: var(--font-weight-h1);
  color: var(--color-h1);
  margin-bottom: 1rem;
  line-height: var(--line-height-heading);
}

.section-description {
  font-size: 1.1rem;
  color: var(--color-fg-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Casino Grid */
.casino-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.casino-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
}

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

.casino-card.exclusive {
  border: var(--exclusive-border);
  position: relative;
}

/* Card style for grid layout */
.card-style-grid {
  /* Uses the default .casino-card styles defined above */
}

/* Container for horizontal cards */
.casino-grid.card-style-horizontal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  width: 100%;
}

/* Horizontal card styles are now in a separate file: horizontal-cards.css */

/* Additional helper classes for text truncation */
.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-truncate-multiline {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Ensure all text elements in horizontal cards respect height constraints */
.card-style-horizontal * {
  box-sizing: border-box;
}

.card-style-horizontal .casino-name,
.card-style-horizontal .bonus-text,
.card-style-horizontal .bonus-amount,
.card-style-horizontal .terms,
.card-style-horizontal .deposit-label,
.card-style-horizontal .deposit-amount {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Casino Grid */
.casino-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.casino-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.casino-card.exclusive {
  border: 2px solid #35eb56;
  position: relative;
}

.casino-logo {
  position: relative;
  padding: 1.5rem 1.5rem 1rem;
  text-align: center;
}

.casino-logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.exclusive-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #37c150;
  color: #000;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

.casino-info {
  padding: 0 1.5rem 1.5rem;
}

.casino-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #333;
}

.casino-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stars {
  display: flex;
  gap: 0.1rem;
}

.star {
  color: #ddd;
  font-size: 1rem;
}

.star.filled {
  color: #37c150;
}

.rating-value {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 600;
}

.casino-bonus {
  margin-bottom: 1rem;
}

.bonus-title {
  font-size: 0.8rem;
  color: #6c757d;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.bonus-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #19ba47;
}

.casino-deposits {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.deposit-info {
  flex: 1;
  min-width: 120px;
}

.deposit-label {
  display: block;
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.deposit-value {
  font-weight: 600;
  color: #333;
}

.casino-description {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.casino-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-review,
.btn-play {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.btn-review {
  background: #f8f9fa;
  color: #333;
  border: 1px solid #dee2e6;
}

.btn-review:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.btn-play {
  background: #19ba47;
  color: white;
}

.btn-play:hover {
  background: #19ba47;
}

/* Casino Info Card (for single pages) */
.casino-info-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 3rem;
}

.casino-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--color-bg) 0%, #e9ecef 100%);
  flex-wrap: wrap;
}

.casino-logo-large img {
  height: var(--logo-casino-large-h);
  width: auto;
}

.casino-meta h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--color-fg);
}

.casino-specs {
  padding: 2rem;
}

.spec-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.spec-item h4 {
  font-size: 0.9rem;
  color: var(--color-fg-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.spec-value {
  font-weight: 600;
  color: var(--color-fg);
}

.bonus-item .spec-value {
  font-size: 1.2rem;
  color: var(--color-primary);
}

.currencies .currency,
.payment-methods .payment-method,
.devices .device,
.support .support-method {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.8rem;
  margin: 0.25rem 0.25rem 0.25rem 0;
}

.languages {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.casino-cta {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-soft);
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--btn-radius);
  font-weight: 600;
  transition: all 0.2s;
  text-align: center;
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.1rem;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
}

.btn-large:hover {
  background: var(--btn-primary-bg-hover);
  transform: translateY(-2px);
}

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

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

/* Content Section */
.content-section,
.review-content-section {
  padding: 3rem 0;
  background: var(--color-bg-elev);
}

.review-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.review-content h1,
.review-content h2,
.review-content h3 {
  margin: var(--margin-heading-top) 0 var(--margin-heading-bottom);
  color: var(--color-fg);
  line-height: var(--line-height-heading);
}

.review-content h1 {
  font-size: 2rem;
  color: var(--color-h1);
  font-weight: var(--font-weight-h1);
}

.review-content h2 {
  font-size: 1.5rem;
  color: var(--color-h2);
  font-weight: var(--font-weight-h2);
}

.review-content h3 {
  font-size: 1.2rem;
  color: var(--color-h3);
  font-weight: var(--font-weight-h3);
}

.review-content p {
  margin-bottom: 1rem;
  color: var(--color-fg-subtle);
}

.review-content ul,
.review-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.review-content li {
  margin-bottom: 0.5rem;
}

.review-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--table-bg);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
  display: block;
  white-space: nowrap;
}

.review-content thead {
  background: var(--table-head-accent);
  color: var(--color-primary-ink);
}

.review-content th,
.review-content td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-soft);
}

.review-content tbody tr:hover {
  background: var(--table-row-hover);
}

/* Navigation */
.review-navigation {
  max-width: 800px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-soft);
}

.related-casinos {
  margin-top: 3rem;
}

.related-casinos h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: var(--color-h3);
  font-weight: var(--font-weight-h3);
  line-height: var(--line-height-heading);
}

.related-grid {
  display: grid;
  gap: 1rem;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-bg);
  border-radius: 6px;
  transition: background 0.2s;
}

.related-card:hover {
  background: #e9ecef;
}

.related-logo {
  height: var(--logo-related-h);
  width: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.related-card h4 {
  margin-bottom: 0.25rem;
}

.related-card h4 a {
  color: var(--color-primary);
}

.related-rating {
  font-size: 0.9rem;
  color: var(--color-success);
}

/* Load More */
.load-more-section {
  text-align: center;
  margin-top: 3rem;
}

.btn-load-more {
  padding: 0.875rem 2rem;
  background: var(--color-primary);
  color: var(--color-primary-ink);
  border-radius: var(--btn-radius);
  font-weight: 600;
  transition: background 0.2s;
}

.btn-load-more:hover {
  background: var(--btn-primary-bg-hover);
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  height: var(--logo-footer-h);
  background-color: white;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  transition: transform 0.2s;
}

.social-links a:hover {
  transform: scale(1.1);
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: white;
  font-size: 1.1rem;
  font-weight: var(--font-weight-h4);
  line-height: var(--line-height-heading);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #ccc;
  transition: color 0.2s;
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  color: #ccc;
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #333;
  text-align: center;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-logo {
  background-color: white;
  height: var(--logo-footer-bottom-h);
}

.footer-copyright {
  font-size: 0.9rem;
  color: #ccc;
}

.footer-disclaimer,
.age-verification {
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.5rem;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .casino-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .casino-deposits {
    flex-direction: row;
  }
  
  .deposit-info {
    min-width: auto;
  }
  
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .topnav {
    display: none;
  }
  
  .subnav {
    display: flex;
  }
  
  .review-content table {
    display: block;
    overflow-x: auto !important;
    white-space: normal;
  }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
  .mobile-nav {
    display: none;
  }
  
  .main-nav {
    display: flex;
    gap: 2rem;
  }
  
  .main-nav a {
    color: #6c757d;
    padding: 0.75rem 0;
    transition: color 0.2s;
    font-weight: 500;
  }
  
  .main-nav a:hover {
    color: #333;
  }
  
  .topbar {
    min-height: 70px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .casino-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .casino-header {
    flex-wrap: nowrap;
  }
  
  .spec-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-brand {
    text-align: left;
  }
  
  .social-links {
    justify-content: flex-start;
  }
  
  .footer-bottom-left {
    justify-content: flex-start;
  }
  
  .footer-bottom {
    text-align: left;
  }
  
  .sidebar {
    position: static;
    width: auto;
    height: auto;
    box-shadow: none;
    background: transparent;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .casino-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .spec-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

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

.justify-content-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Print Styles */
@media print {
  .topbar,
  .mobile-nav,
  .sidebar,
  .hero-section,
  .casino-actions,
  .casino-cta,
  .footer,
  .btn {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .casino-card,
  .casino-info-card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    page-break-insiat: avoid;
  }
  
  .casino-grid {
    grid-template-columns: 1fr !important;
  }
  
  .review-content {
    max-width: none !important;
  }
  
  .review-content h1,
  .review-content h2,
  .review-content h3 {
    page-break-after: avoid;
  }
  
  .review-content table {
    page-break-insiat: avoid;
  }
}

/* Loading States */
.casino-card.loading {
  opacity: 0.6;
  pointer-events: none;
}

.casino-card.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Error States */
.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #f5c6cb;
  margin: 1rem 0;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #c3e6cb;
  margin: 1rem 0;
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

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

::-moz-selection {
  background: var(--color-primary);
  color: var(--color-primary-ink);
}

/* Tooltip Styles */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  z-index: 1000;
  margin-bottom: 5px;
}

[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
  z-index: 1000;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.slide-up {
  animation: slideUp 0.5s ease-in-out;
}

.scale-in {
  animation: scaleIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

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

.skeleton-text {
  height: 16px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.skeleton-title {
  height: 24px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: 60%;
}

.skeleton-image {
  height: 60px;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* Filter and Sort Styles */
.filters-section {
  background: var(--color-bg-elev);
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border-soft);
}

.filters-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elev);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: var(--color-primary-ink);
  border-color: var(--color-primary);
}

.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
  background: var(--color-bg-elev);
  font-size: 0.9rem;
  cursor: pointer;
}

/* Results Info */
.results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #6c757d;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 0;
}

.pagination-item {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elev);
  color: var(--color-fg);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.pagination-item:hover,
.pagination-item.active {
  background: var(--color-primary);
  color: var(--color-primary-ink);
  border-color: var(--color-primary);
}

.pagination-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Mobile Table Wrapper */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

.table-wrapper table {
  min-width: 600px;
}

/* Sticky Elements */
.sticky {
  position: sticky;
  top: 60px;
  z-index: 100;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: var(--color-primary-ink);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--btn-primary-bg-hover);
  transform: translateY(-2px);
}

/* Content Section */
.content-section {
  padding: 40px 30px;
  color: var(--color-fg);
}

.content-section h2 {
  color: var(--color-h1);
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  font-weight: var(--font-weight-h1);
  line-height: var(--line-height-heading);
}

.content-section h3 {
  color: var(--color-h2);
  font-size: 1.3rem;
  margin: var(--margin-heading-top) 0 var(--margin-heading-bottom) 0;
  font-weight: var(--font-weight-h2);
  line-height: var(--line-height-heading);
}

.content-section p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.content-section ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.content-section li {
  margin-bottom: 8px;
}

/* Base Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--table-bg);
  margin: 0;
  border: 1px solid var(--table-border);
}

thead {
  background: var(--table-head-bg);
  border-bottom: 2px solid var(--table-head-accent);
}

th {
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  color: var(--color-fg);
}

td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--table-border);
}

/* Вертикальные разделители для колонок */
th:not(:last-child),
td:not(:last-child) {
  border-right: 1px solid var(--table-col-separator);
 /* Полупрозрачный красный */
}

/* Hover эффект для строк */
tbody tr:hover {
  background-color: var(--table-row-hover); /* Легкий красноватый оттенок при наведении */
}

/* Mobile Table Styles */
@media screen and (max-width: 768px) {
  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
    border-spacing: 0;
    border-collapse: collapse;
  }
  
  /* Ensure horizontal scroll works on iOS */
  table::-webkit-scrollbar {
    -webkit-appearance: none;
    height: 8px;
  }
  
  table::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .3);
  }
}

/* Listing Position Badge */
.listing-position-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-fg);
  border-radius: var(--radius-round);
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 2;
}

.listing-position-badge.top-position {
  background: var(--badge-top1); /* Gold color for #1 position */
  color: #000;
  font-weight: 800;
  width: 36px;
  height: 36px;
}

.listing-position-badge.second-position {
  background: var(--badge-top2); /* Silver color for #2 position */
  color: #ffffff;
  font-weight: 800;
  width: 34px;
  height: 34px;
}

.listing-position-badge.third-position {
  background: var(--badge-top3); /* Bronze color for #3 position */
  color: #fff;
  font-weight: 800;
  width: 34px;
  height: 34px;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #a73737;
  border-radius: var(--radius-card);
  background: #550000;
  box-shadow: 0 2px 6px rgba(76, 255, 76, 0.05);
  margin: 1.5rem 0;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-round);
  object-fit: cover;
  border: 2px solid #550000;
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: #e0e0e0;
  text-decoration: none;
}

.author-name:hover {
  text-decoration: underline;
}

.author-desc {
  font-size: 0.9rem;
  color: #999;
  margin-top: 0.25rem;
}



@media (prefers-color-scheme: dark) {
  :root {
  --author-fg: #f1eaea;
  --author-muted: #ffe6ed;
  --author-border: #550000;
  --author-link: #ffffff;
  --author-link-hover: #fff;
  --author-bg: #1a0000;

  }
}

/* author page container */
.author-page {
  color: var(--author-fg);
  background: var(--author-bg);
}

/* compact box (used in sidebar/bottom of article) */
.author-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--author-border);
  border-radius: var(--radius-card);
  background: color-mix(in oklab, var(--author-bg) 92%, transparent);
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-round);
  object-fit: cover;
  border: 1px solid var(--author-border);
  background: #003300;
}

.author-meta {
  min-width: 0;
}

.author-name {
  display: inline-block;
  font-weight: 600;
  line-height: 1.2;
  color: var(--author-fg);
  text-decoration: none;
}

.author-name:hover,
.author-name:focus-visible {
  color: var(--author-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.author-desc {
  margin-top: 4px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--author-muted);
}

/* large block on the author page */
.author-profile {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--author-border);
  border-radius: var(--radius-card);
  background: color-mix(in oklab, var(--author-bg) 96%, transparent);
}

.author-avatar-large {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-card);
  object-fit: cover;
  border: 1px solid var(--author-border);
  background: #003300;
}

.author-title {
  margin: 0 0 8px 0;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.author-bio {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--author-fg);
}

/* links inside bio */
.author-bio a {
  color: var(--author-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.author-bio a:hover,
.author-bio a:focus-visible {
  color: var(--author-link-hover);
}

/* social links list (if used) */
.author-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.author-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--author-border);
  border-radius: var(--radius-round);
  color: var(--author-fg);
  text-decoration: none;
}

.author-social a:hover {
  border-color: var(--author-link);
}

/* grid of author's posts */
.author-posts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.author-post-card {
  border: 1px solid var(--author-border);
  border-radius: 14px;
  padding: 16px;
  background: var(--author-bg);
}

.author-post-card h3 {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
}

.author-post-card a {
  color: var(--author-link);
  text-decoration: none;
}

.author-post-card a:hover {
  text-decoration: underline;
}

/* responsive */
@media (max-width: 900px) {
  .author-profile {
    grid-template-columns: 120px 1fr;
    gap: 18px;
    padding: 18px;
  }
  
  .author-avatar-large {
    width: 120px;
    height: 120px;
  }
  
  .author-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .author-profile {
    grid-template-columns: 1fr;
    text-align: left;
  }
  
  .author-avatar-large {
    width: 112px;
    height: 112px;
  }
  
  .author-posts {
    grid-template-columns: 1fr;
  }
}

/* small accessibility improvements */
.author-name:focus-visible,
.author-bio a:focus-visible,
.author-social a:focus-visible {
  outline: 2px solid var(--author-link);
  outline-offset: 2px;
  border-radius: var(--btn-radius);
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  color: var(--color-fg-muted);
  transition: color 0.2s;
  font-weight: 500;
}

.dropdown-toggle:hover {
  color: var(--color-fg);
}

.dropdown-toggle::after {
  content: "▼";
  font-size: 0.7rem;
  transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg-elev);
  border-radius: var(--btn-radius);
  box-shadow: var(--shadow-strong);
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-fg);
  transition: background 0.2s;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: var(--color-bg);
}
