/* ============================================
   VAVADA CASINO - MAIN STYLESHEET
   Design System: Dark theme with pink accents
   ============================================ */

/* === CSS RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors from design system */
  --bg-primary: #0E0D24;
  --bg-secondary: #151433;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B4C2;
  --text-muted: #7A7F9A;
  --accent: #FF2E63;
  --accent-hover: #FF5E91;
  --border-base: #2E2B47;
  --border-light: #3A3758;
  
  /* Radius */
  --radius-small: 6px;
  --radius-medium: 12px;
  --radius-large: 20px;
  
  /* Shadows */
  --shadow-card: 0 4px 14px rgba(0,0,0,0.4);
  --shadow-button: 0 2px 8px rgba(255,46,99,0.35);
  --shadow-input-focus: 0 0 0 2px rgba(255,46,99,0.4);
  
  /* Typography */
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  font-family: var(--font-system);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip to content (Accessibility) */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--text-primary);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  border-radius: var(--radius-small);
}

.skip-to-content:focus {
  top: 10px;
  left: 10px;
}

/* Visually hidden (for screen readers) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--bg-secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Upper Header Level */
.header-upper {
  border-bottom: 1px solid var(--border-base);
  padding: 15px 0;
}

.header-upper .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

.header-cta {
  display: flex;
  gap: 12px;
}

/* Burger Menu (Mobile) */
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Lower Header Level (Navigation) */
.header-lower {
  padding: 12px 0;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Mobile CTA wrapper - hidden by default, shown only on mobile when menu is open */
.mobile-cta-wrapper {
  display: none;
}

/* Table of Contents (ToC) */
.toc-wrapper {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-base);
  padding: 10px 0;
  overflow: hidden;
}

.toc {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.toc::-webkit-scrollbar {
  display: none;
}

.toc a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: var(--radius-small);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.toc a:hover,
.toc a:focus {
  color: var(--accent);
  background: rgba(255,46,99,0.1);
}

.toc a.active {
  color: var(--text-primary);
  background: var(--accent);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-large);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 60px;
  font-family: var(--font-system);
}

.btn-primary {
  background: linear-gradient(90deg, #FF2E63 0%, #FF5E91 100%);
  color: var(--text-primary);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #FF4B78 0%, #FF6BA4 100%);
  box-shadow: 0 4px 14px rgba(255,46,99,0.55);
  transform: translateY(-2px);
}

.btn-primary:active {
  background: #E62558;
  transform: translateY(0);
}

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

.btn-secondary:hover,
.btn-secondary:focus {
  background: #24224C;
  border-color: var(--accent);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  padding: 20px 0;
  font-size: 14px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.breadcrumbs li:last-child {
  color: var(--text-muted);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  padding: 50px 0;
  background: linear-gradient(160deg, #1B193B 0%, #101024 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-text h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: center;
}

.hero-image {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.hero-image figure {
  width: 100%;
  max-width: 500px;
  margin: 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-medium);
  object-fit: contain;
  box-shadow: var(--shadow-card);
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-text-content p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  padding: 8px 16px;
  background: rgba(255,46,99,0.1);
  border-radius: var(--radius-small);
  width: fit-content;
}

.reading-time svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-left p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-right figure {
  width: 100%;
  margin: 0;
}

.hero-right img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-medium);
  object-fit: contain;
}

.fact-checked {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(46, 204, 113, 0.1);
  border-left: 3px solid #2ECC71;
  border-radius: var(--radius-small);
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 20px;
  grid-column: 1 / -1;
}

.fact-checked svg {
  width: 20px;
  height: 20px;
  fill: #2ECC71;
  flex-shrink: 0;
}

/* ============================================
   GAMES SECTION
   ============================================ */
#games {
  padding: 60px 0;
}

#games h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 30px;
  text-align: center;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.game-card {
  position: relative;
  background: linear-gradient(160deg, #1B193B 0%, #101024 100%);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-medium);
  overflow: hidden;
  transition: all 0.3s ease;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
}

.game-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(255,46,99,0.25);
  border-color: var(--accent);
}

.game-card a {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,13,36,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  0% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}

.game-card-overlay .btn {
  animation: fadeInUp 0.3s ease 0.1s both;
}

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

.game-card h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(14,13,36,0.95), transparent);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
section {
  padding: 50px 0;
}

section h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 25px;
  scroll-margin-top: 140px;
  text-align: center;
}

section h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 30px 0 15px;
  text-align: center;
}

/* Исключение для FAQ - заголовки по левому краю */
#faq h2,
#faq h3 {
  text-align: left;
}

section h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  margin: 20px 0 10px;
}

section p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.7;
}

section figure {
  margin: 30px 0;
  text-align: center;
}

section figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  object-fit: contain;
}

section figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* Lists */
section ul,
section ol {
  margin: 20px 0;
  padding-left: 25px;
  color: var(--text-secondary);
}

section li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: var(--bg-secondary);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

thead {
  background: linear-gradient(160deg, #1B193B 0%, #101024 100%);
}

th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-base);
}

td {
  padding: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-base);
}

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

tr:hover td {
  background: rgba(255,46,99,0.05);
}

/* ============================================
   AUTHOR SECTION
   ============================================ */
#author {
  background: linear-gradient(160deg, #1B193B 0%, #101024 100%);
  border-radius: var(--radius-medium);
  padding: 40px;
  margin: 40px 0;
}

.author-content {
  display: flex;
  gap: 25px;
  align-items: center;
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(255, 46, 99, 0.2);
}

.author-info h3 {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.author-info .author-role {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 15px;
}

.author-info p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.author-updated {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 15px;
}

.author-updated svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

/* ============================================
   FAQ SECTION
   ============================================ */
#faq {
  padding: 60px 0;
}

#faq h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-medium);
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  user-select: none;
  transition: all 0.3s ease;
  font-size: 16px;
  font-family: inherit;
}

.faq-question h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 25px 25px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Legacy support for details/summary */
details {
  background: var(--bg-secondary);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-medium);
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

details:hover {
  border-color: var(--border-light);
}

details[open] {
  border-color: var(--accent);
}

summary {
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: all 0.3s ease;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 2px solid var(--border-base);
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section a:hover,
.footer-section a:focus {
  color: var(--accent);
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
}

.footer-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

.payment-methods svg {
  width: 50px;
  height: 32px;
  fill: var(--text-secondary);
  transition: fill 0.3s ease;
}

.payment-methods svg:hover {
  fill: var(--text-primary);
}

.responsible-gaming {
  margin-top: 20px;
}

.responsible-gaming a {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid #2ECC71;
  border-radius: var(--radius-small);
  color: #2ECC71;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.responsible-gaming a:hover {
  background: rgba(46, 204, 113, 0.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-base);
  color: var(--text-muted);
  font-size: 14px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--text-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-button);
  z-index: 100;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

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

.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ============================================
   SPECIAL SECTIONS
   ============================================ */

/* Step-by-Step Section */
.steps,
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 30px 0;
  list-style: none;
  padding: 0;
}

.step-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  background: linear-gradient(160deg, #1B193B 0%, #101024 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-small);
  padding: 14px 18px;
  transition: all 0.3s ease;
  max-width: 700px;
  margin: 0;
  height: 80px;
}

.step-card:hover {
  border-color: rgba(255, 46, 99, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,46,99,0.1);
}

.step-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.step-index {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.step-card h4 {
  font-size: 14px;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  font-weight: 600;
  line-height: 1.4;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.step-body {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  align-items: center;
}

.step-body h3 {
  font-size: 14px;
  color: var(--text-primary);
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
}

.step-body p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Pros & Cons Section */
.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 30px 0;
}

.pros-col,
.cons-col {
  background: var(--bg-secondary);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-medium);
  padding: 25px;
}

.pros-col {
  border-top: 3px solid #2ECC71;
}

.cons-col {
  border-top: 3px solid #E74C3C;
}

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

.pros-list li,
.cons-list li {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

.pros-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: #2ECC71;
  margin-top: 2px;
}

.cons-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: #E74C3C;
  margin-top: 2px;
}

/* Bonus Slider Section */
.bonus-slider {
  position: relative;
  margin: 40px 0;
}

.bonus-cards {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
  list-style: none;
}

.bonus-cards::-webkit-scrollbar {
  display: none;
}

.bonus-card {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
  background: linear-gradient(160deg, #1B193B 0%, #101024 100%);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-medium);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bonus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FF2E63 0%, #FF5E91 100%);
}

.bonus-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255,46,99,0.25);
}

.bonus-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.bonus-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
  margin: 0;
}

.bonus-card .btn {
  width: 100%;
  margin-top: auto;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-button);
}

.slider-prev {
  left: -22px;
}

.slider-next {
  right: -22px;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--accent-hover);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev svg,
.slider-next svg {
  width: 20px;
  height: 20px;
  fill: var(--text-primary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .bonus-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  /* Disable smooth scroll on mobile */
  html {
    scroll-behavior: auto !important;
  }
  
  body {
    max-width: 100vw;
    width: 100%;
  }
  
  .toc {
    scroll-behavior: auto !important;
  }
  
  main, section {
    max-width: 100%;
    width: 100%;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  img, video, iframe {
    max-width: 100%;
    height: auto;
  }
  
  * {
    box-sizing: border-box;
  }
  
  /* Smooth scrolling on touch devices */
  html, body {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Header */
  .header-upper {
    padding: 15px 0;
  }
  
  .header-upper .container {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .header-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    gap: 10px;
    margin-top: 5px;
  }
  
  .header-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .burger-menu {
    display: flex;
    order: 2;
  }
  
  .logo {
    order: 1;
    flex: 1;
  }
  
  .header-lower {
    display: none;
  }
  
  .header-lower.mobile-open {
    display: block;
    padding: 20px 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .mobile-cta-wrapper {
    display: none !important;
  }
  
  /* Hero */
  .hero-text h1 {
    font-size: 24px;
    text-align: left;
  }
  
  .hero-image figure {
    max-width: 100%;
  }
  
  .hero-actions {
    justify-content: flex-start;
  }
  
  /* Games */
  .games-grid {
    grid-template-columns: 1fr;
    overflow-x: auto;
    display: flex;
    gap: 15px;
    scroll-snap-type: x mandatory;
  }
  
  .game-card {
    flex: 0 0 280px;
    max-width: calc(100vw - 60px);
    scroll-snap-align: start;
  }
  
  /* Steps */
  .steps,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .steps,
  .steps-grid {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  
  .step-card {
    padding: 12px 15px;
    height: auto;
    min-height: 70px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  .step-body {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  
  .step-body h3 {
    font-size: 13px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .step-body p {
    font-size: 12px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .step-number,
  .step-index {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  
  /* Pros & Cons */
  .pros-cons {
    grid-template-columns: 1fr;
  }
  
  /* Bonus Slider */
  .bonus-card {
    flex: 0 0 calc(100% - 20px);
  }
  
  .slider-prev,
  .slider-next {
    display: none;
  }
  
  /* Tables */
  table {
    font-size: 14px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  
  thead, tbody, tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  
  th, td {
    padding: 10px;
    word-wrap: break-word;
    white-space: normal;
  }
  
  /* Author */
  .author-content {
    flex-direction: column;
    text-align: center;
  }
  
  .author-avatar {
    align-self: center;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-logo {
    text-align: center;
  }
  
  .footer-logo img {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-section ul {
    padding-left: 0;
  }
  
  .payment-methods {
    justify-content: center;
  }
  
  .responsible-gaming {
    display: flex;
    justify-content: center;
  }
  
  .responsible-gaming a {
    display: inline-block;
  }
  
  /* Container padding */
  .container {
    padding: 0 15px;
  }
  
  /* Back to Top - Mobile styles */
  .back-to-top {
    bottom: 20px;
    right: 15px;
    width: 48px;
    height: 48px;
  }
  
  .back-to-top svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-text h1 {
    font-size: 22px;
  }
  
  section h2 {
    font-size: 20px;
  }
  
  section h3 {
    font-size: 17px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  table {
    font-size: 14px;
  }
  
  th,
  td {
    padding: 10px;
  }
  
  /* Back to Top - Small mobile styles */
  .back-to-top {
    bottom: 20px;
    right: 12px;
    width: 44px;
    height: 44px;
  }
  
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .btn,
  .toc-wrapper {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

