/* Wild Bandito - Exact Design Match */

:root {
  /* Exact colors from design */
  --bg-dark: #1a0e2e;
  --bg-purple: #2d1b4e;
  --orange: #ff8c42;
  --yellow: #ffd93d;
  --text-light: #e8e6f0;
  --text-muted: #a89cc5;
  --card-bg: rgba(20, 10, 40, 0.7);
  --border-color: rgba(255, 140, 66, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header - Exact Match */
header {
  position: sticky;
  top: 0;
  background: rgba(26, 14, 46, 0.98);
  backdrop-filter: blur(10px);
  padding: 1.2rem 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 140, 66, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo img {
  width: 35px;
  height: 35px;
  font-size: 2rem;
}

.logo span {
  background: linear-gradient(135deg, #ff8c42, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  color: #b8b2cc;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #ff8c42;
}

.btn-header {
  padding: 0.85rem 2rem !important;
  font-size: 1.05rem !important;
  white-space: nowrap;
}

/* Hero Section - Exact Match */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 3rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/wild-bandito-hero-2.webp') center/cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/wild-bandito-hero-character.webp') center/contain no-repeat;
  background-position: center center;
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(26, 14, 46, 0.4), rgba(26, 14, 46, 0.85));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* H1 - Exact Typography */
h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.wild-text {
  background: linear-gradient(135deg, #ff8c42, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bandito-text {
  background: linear-gradient(135deg, #ffd93d, #ffe066);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* H2 - Exact Typography */
.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Subtitle - Exact Match */
.hero-subtitle {
  font-size: 1.25rem;
  color: #d4d0e3;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-subtitle .highlight {
  color: #ffd93d;
  font-weight: 700;
}

/* Buttons - Exact Match */
.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, #ff8c42, #ffb347);
  color: #1a0e2e;
  box-shadow: 0 4px 20px rgba(255, 140, 66, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 140, 66, 0.6);
}

.btn-secondary {
  background: linear-gradient(135deg, #6a1b9a, #8e24aa) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(106, 27, 154, 0.4) !important;
  border: none !important;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #7b1fa2, #9c27b0) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(106, 27, 154, 0.6) !important;
}

.btn-tertiary {
  background: linear-gradient(135deg, #ffd93d, #ffe066);
  color: #1a0e2e;
  box-shadow: 0 4px 20px rgba(255, 217, 61, 0.4);
}

.btn-tertiary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 217, 61, 0.6);
}

/* Stats - Exact Match */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

.stat-item {
  text-align: center;
  background: rgba(20, 10, 40, 0.8);
  backdrop-filter: blur(10px);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 140, 66, 0.15);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 10px rgba(255, 140, 66, 0.3));
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #a89cc5;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Content Sections */
section {
  padding: 3rem 0;
}

h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  margin-top: 0;
  color: #ffffff;
}

h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 0;
  color: #ffffff;
}

p {
  margin-bottom: 1rem;
  color: #b8b2cc;
  font-size: 1.05rem;
  line-height: 1.7;
}

strong {
  color: #ffffff;
  font-weight: 600;
}

/* Cards */
.card {
  background: rgba(45, 27, 78, 0.6);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 140, 66, 0.15);
  transition: all 0.3s;
}

.card:hover {
  border-color: rgba(255, 140, 66, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Images */
.content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin: 2rem auto;
  display: block;
  border: 1px solid rgba(255, 140, 66, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Lists */
ul {
  list-style: none;
  padding-left: 1.5rem;
}

ul li {
  margin-bottom: 0.75rem;
  position: relative;
  color: #b8b2cc;
  font-size: 1.05rem;
}

ul li::before {
  content: '✓';
  position: absolute;
  left: -1.5rem;
  color: #ff8c42;
  font-weight: 700;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Table of Contents */
.toc-section {
  margin-bottom: 3rem;
}

.toc-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.toc-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.toc-nav a {
  color: var(--orange);
  text-decoration: none;
  padding: 0.5rem;
  border-left: 3px solid var(--orange);
  background: rgba(255, 140, 66, 0.05);
  transition: all 0.2s;
}

.toc-nav a:hover {
  background: rgba(255, 140, 66, 0.15);
  transform: translateX(4px);
}

/* Casino Cards */
.casino-card {
  background: rgba(45, 27, 78, 0.6);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 140, 66, 0.15);
  transition: all 0.3s;
}

.casino-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 140, 66, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* FAQ */
.faq-item {
  background: rgba(45, 27, 78, 0.6);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 140, 66, 0.15);
}

.faq-item h3 {
  color: #ff8c42;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Footer */
footer {
  background: rgba(20, 10, 40, 0.8);
  border-top: 1px solid rgba(255, 140, 66, 0.15);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.95rem;
  color: #a89cc5;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #b8b2cc;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1rem;
}

.footer-links a:hover {
  color: #ff8c42;
}

/* Review Cards */
.review-card {
  background: rgba(45, 27, 78, 0.6);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 140, 66, 0.15);
  transition: all 0.3s;
}

.review-card:hover {
  border-color: rgba(255, 140, 66, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.review-rating {
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff8c42, #ffb347);
  color: #1a0e2e;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255, 140, 66, 0.4);
  z-index: 999;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(255, 140, 66, 0.6);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: #ff8c42;
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Table of Contents Styles */
.sidebar__box {
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.08), rgba(106, 27, 154, 0.08));
  border: 1px solid rgba(255, 140, 66, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sidebar__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(255, 140, 66, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar__title::before {
  content: "📋";
  font-size: 1.25rem;
}

.table-of-contents__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}

.table-of-contents__list li {
  margin-bottom: 0.5rem;
  counter-increment: toc-counter;
}

.table-of-contents__list li:last-child {
  margin-bottom: 0;
}

.table-of-contents__list a {
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  transition: all 0.3s ease;
  font-size: 0.9375rem;
  border-radius: 8px;
  position: relative;
}

.table-of-contents__list a::before {
  content: counter(toc-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 140, 66, 0.15);
  color: var(--orange);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.table-of-contents__list a:hover {
  background: rgba(255, 140, 66, 0.12);
  color: var(--orange);
  transform: translateX(4px);
}

.table-of-contents__list a:hover::before {
  background: var(--orange);
  color: var(--bg-dark);
}

/* Responsive */
/* ==================== DEMO PAGE STYLES ==================== */
.content-section {
  padding: 3rem 0;
}

.info-box, .cta-box {
  background: rgba(255, 140, 66, 0.1);
  border: 2px solid rgba(255, 140, 66, 0.3);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.cta-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.15), rgba(255, 210, 79, 0.15));
  border: 2px solid rgba(255, 140, 66, 0.4);
}

.cta-box h3 {
  margin-bottom: 1rem;
  color: #FFD24F;
}

.feature-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 2rem auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.comparison-item {
  background: rgba(26, 14, 46, 0.6);
  border: 1px solid rgba(255, 140, 66, 0.2);
  border-radius: 12px;
  padding: 2rem;
}

.comparison-item h3 {
  margin-bottom: 1rem;
  color: #FFD24F;
}

.comparison-item ul {
  list-style: none;
  padding: 0;
}

.comparison-item li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 140, 66, 0.1);
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.casino-card {
  background: rgba(26, 14, 46, 0.6);
  border: 1px solid rgba(255, 140, 66, 0.2);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.casino-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 140, 66, 0.5);
}

.casino-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.casino-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.badge {
  background: linear-gradient(135deg, #FF8C42, #FFD24F);
  color: #1A0E2E;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.casino-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.casino-card li {
  padding: 0.5rem 0;
}

.casino-card .btn {
  width: 100%;
  margin-top: 1rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.05);
}

.cta-section {
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.1), rgba(255, 210, 79, 0.1));
  border: 2px solid rgba(255, 140, 66, 0.3);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-content h2 {
  margin-bottom: 1rem;
  color: #FFD24F;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }
  
  .casino-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  /* MOBILE IMAGES - FULL WIDTH */
  .content-image {
    max-width: 100% !important;
    width: 100% !important;
    margin: 1.5rem 0 !important;
    height: auto !important;
  }
  
  /* MOBILE HAMBURGER MENU */
  .mobile-menu-btn {
    display: flex !important;
    order: 2;
  }
  
  .btn-header {
    padding: 0.7rem 1.2rem !important;
    font-size: 0.85rem !important;
    order: 1;
    white-space: nowrap;
  }
  
  .header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
  }
  
  .header-content nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(26, 14, 46, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 2rem 2rem;
    gap: 1.5rem;
    border-left: 1px solid rgba(255, 140, 66, 0.2);
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  }
  
  .header-content nav.active {
    right: 0;
  }
  
  .header-content nav a {
    font-size: 1.2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 140, 66, 0.1);
  }
  
  .header-content {
    justify-content: space-between;
  }
  
  .hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-bg::after {
    background-position: center top;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-items: center;
  }
  
  .stat-item {
    padding: 1.5rem 1rem;
  }
  
  .stat-value {
    font-size: 1.75rem;
  }
  
  section {
    padding: 2rem 0;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 0;
  }
  
  /* Scroll to top button mobile */
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  .card {
    padding: 2rem 1.5rem;
  }
  
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Demo page mobile */
  .content-section {
    padding: 2rem 0;
  }
  
  .content-section h2 {
    font-size: 1.75rem;
  }
  
  .content-section h3 {
    font-size: 1.25rem;
  }
  
  .comparison-grid, .casino-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .image-grid img,
  .feature-image {
    max-width: 100%;
    height: auto;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}
