/* ========================================
   Reset & Base Styles
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --dark-bg: #0f172a;
  --dark-secondary: #1e293b;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-dark: #1e293b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --border-radius: 16px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 8px 30px rgba(37, 99, 235, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #f8fafc;
  overflow-x: hidden;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
}

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

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

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 48px;
  font-size: 18px;
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
  background: var(--dark-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.navbar {
  position: relative;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  position: relative;
}

.menu-toggle {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: var(--transition);
}

.menu-toggle:hover {
  opacity: 0.8;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: var(--transition);
}

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

.logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.nav-menu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  pointer-events: none;
}

.nav-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--dark-bg);
  flex-direction: column;
  padding: 100px 40px 40px;
  gap: 0;
  transition: left 0.3s ease;
  align-items: flex-start;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow-y: auto;
  display: flex;
  list-style: none;
  margin: 0;
  pointer-events: auto;
}

.nav-menu.active {
  left: 0;
}

.nav-menu li {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu a {
  color: var(--text-primary);
  font-weight: 500;
  padding: 18px 0;
  font-size: 18px;
  display: block;
  width: 100%;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--primary-color);
  padding-left: 10px;
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 100px 0;
  color: var(--text-primary);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85),
    rgba(30, 41, 59, 0.8)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-color);
  color: var(--text-dark);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 36px;
  color: var(--text-secondary);
}

/* ========================================
   Casinos Section
   ======================================== */

.casinos-section {
  padding: 100px 0;
  background: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header h2 {
  font-size: 44px;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   Casino Cards
   ======================================== */

.casino-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 35px;
  margin-bottom: 35px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.casino-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.casino-card:hover::before {
  transform: scaleX(1);
}

.casino-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
  border-color: var(--primary-color);
}

.casino-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f1f5f9;
}

.casino-logo-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
}

.casino-logo {
  max-width: 280px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.casino-logo-placeholder {
  background: linear-gradient(135deg, var(--dark-bg), var(--dark-secondary));
  color: var(--text-primary);
  padding: 22px 35px;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  max-width: 280px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.casino-title {
  margin-left: 20px;
  flex: 1;
}

.casino-title h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-bg);
  margin: 0;
}

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

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  justify-content: flex-end;
}

.star {
  color: #e2e8f0;
  font-size: 22px;
  transition: var(--transition);
}

.star.filled {
  color: var(--accent-color);
}

.star.half {
  background: linear-gradient(90deg, var(--accent-color) 50%, #e2e8f0 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-bg);
}

.casino-bonus {
  margin-bottom: 28px;
}

.casino-bonus h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.bonus-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 8px;
}

.casino-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.feature-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.feature-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 15px;
}

.feature-value {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 16px;
}

.casino-highlights {
  margin-bottom: 24px;
}

.casino-highlights ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.casino-highlights li {
  padding: 10px 0;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.casino-highlights li::before {
  content: "✓";
  color: var(--success-color);
  font-weight: 700;
  margin-right: 10px;
  font-size: 18px;
}

.casino-terms {
  background: #fef3c7;
  border-left: 4px solid var(--warning-color);
  padding: 18px;
  margin: 24px 0;
  border-radius: 8px;
  font-size: 14px;
  color: #92400e;
  line-height: 1.6;
}

.casino-actions {
  display: flex;
  gap: 18px;
  margin: 28px 0;
}

.casino-actions .btn {
  flex: 1;
}

.terms-toggle {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 0;
  text-decoration: underline;
  transition: var(--transition);
  width: 100%;
  text-align: left;
}

.terms-toggle:hover {
  color: var(--primary-dark);
}

.terms-full {
  margin-top: 18px;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.terms-full ul {
  list-style: disc;
  padding-left: 24px;
}

.terms-full li {
  margin-bottom: 10px;
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.7;
}

/* ========================================
   Guide Section
   ======================================== */

.guide-section {
  background: white;
  padding: 100px 0;
}

.guide-content {
  text-align: center;
  margin-bottom: 60px;
}

.guide-badge {
  display: inline-block;
  background: var(--secondary-color);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.guide-content h2 {
  font-size: 44px;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.guide-intro {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.8;
}

.guide-body {
  max-width: 950px;
  margin: 0 auto;
}

.guide-body h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-bg);
  margin: 50px 0 24px;
  letter-spacing: -0.3px;
}

.guide-body h4 {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-bg);
  margin-bottom: 12px;
  margin-top: 24px;
}

.guide-body p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.guide-list {
  margin: 24px 0;
  padding-left: 24px;
}

.guide-list li {
  margin-bottom: 18px;
  color: var(--text-dark);
  line-height: 1.9;
  font-size: 17px;
}

.guide-list li strong {
  color: var(--primary-color);
  font-weight: 600;
}

.info-box {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border-left: 4px solid var(--success-color);
  padding: 24px;
  margin: 30px 0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.1);
}

.info-box h4 {
  color: var(--success-color);
  margin-top: 0;
}

.warning-box {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-left: 4px solid var(--error-color);
  padding: 24px;
  margin: 30px 0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.1);
}

.warning-box h4 {
  color: var(--error-color);
  margin-top: 0;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-section {
  padding: 100px 0;
  background: #f8fafc;
}

.faq-section h2 {
  text-align: center;
  font-size: 44px;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 60px;
  letter-spacing: -0.5px;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  background: white;
  border: none;
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
  color: var(--dark-bg);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-icon {
  font-size: 28px;
  color: var(--primary-color);
  font-weight: 300;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 30px 24px;
  color: var(--text-dark);
  line-height: 1.9;
  font-size: 16px;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
  background: linear-gradient(135deg, var(--dark-bg), var(--dark-secondary));
  padding: 100px 0;
  text-align: center;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.cta-content p {
  font-size: 19px;
  line-height: 1.9;
  margin-bottom: 24px;
  color: var(--text-secondary);
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.cta-highlight {
  font-weight: 600;
  color: var(--accent-color) !important;
}

.cta-content .btn {
  margin-top: 36px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--dark-bg);
  color: var(--text-primary);
  padding: 70px 0 35px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 12px;
}

.footer-brand h3 {
  font-size: 26px;
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 19px;
  margin-bottom: 18px;
  color: var(--accent-color);
  font-weight: 600;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 15px;
}

.footer-column a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 35px;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

.disclaimer {
  font-size: 14px;
  color: var(--warning-color);
  font-weight: 600;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
  .logo {
    position: relative;
    left: auto;
    transform: none;
    margin: 0 auto;
  }

  .nav-wrapper {
    min-height: 100px;
    padding: 15px 0;
  }

  .menu-toggle {
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .logo img {
    width: 90px;
    height: 90px;
  }

  .hero {
    min-height: 550px;
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-description {
    font-size: 17px;
  }

  .section-header h2,
  .guide-content h2,
  .faq-section h2 {
    font-size: 32px;
  }

  .casino-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .casino-rating {
    text-align: left;
    width: 100%;
  }

  .stars {
    justify-content: flex-start;
  }

  .casino-actions {
    flex-direction: column;
  }

  .casino-features {
    grid-template-columns: 1fr;
  }

  .casino-highlights ul {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .guide-body h3 {
    font-size: 26px;
  }

  .cta-content h2 {
    font-size: 30px;
  }

  .casino-card {
    padding: 28px;
  }

  .casinos-section,
  .guide-section,
  .faq-section,
  .cta-section {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .btn-large {
    padding: 16px 36px;
    font-size: 16px;
  }

  .casino-logo {
    max-width: 100%;
    max-height: 60px;
  }

  .casino-logo-placeholder {
    font-size: 18px;
    padding: 18px 24px;
    max-width: 100%;
  }

  .casino-title {
    margin-left: 0;
    margin-top: 16px;
    text-align: center;
  }

  .casino-title h3 {
    font-size: 22px;
  }

  .casino-bonus h3 {
    font-size: 22px;
  }

  .section-header h2,
  .guide-content h2,
  .faq-section h2 {
    font-size: 28px;
  }

  .guide-body h3 {
    font-size: 22px;
  }
}

/* ========================================
   Animations
   ======================================== */

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

.casino-card {
  animation: fadeInUp 0.6s ease backwards;
}

.casino-card:nth-child(1) {
  animation-delay: 0.1s;
}
.casino-card:nth-child(2) {
  animation-delay: 0.2s;
}
.casino-card:nth-child(3) {
  animation-delay: 0.3s;
}
.casino-card:nth-child(4) {
  animation-delay: 0.4s;
}
.casino-card:nth-child(5) {
  animation-delay: 0.5s;
}
.casino-card:nth-child(6) {
  animation-delay: 0.6s;
}
.casino-card:nth-child(7) {
  animation-delay: 0.7s;
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}
