/* ===== Custom Properties ===== */
:root {
  --primary: #080c18;
  --primary-light: #0f1628;
  --card: #111a2e;
  --card-light: #182035;
  --accent: #f5a623;
  --accent-hover: #ffc940;
  --success: #22c55e;
  --gold-gradient: linear-gradient(135deg, #f5a623, #ffc940);
  --dark-gradient: linear-gradient(180deg, #080c18 0%, #0f1628 100%);
}

/* ===== Base ===== */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--primary);
  color: #e2e8f0;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(245, 166, 35, 0.3); }
  50% { box-shadow: 0 0 40px rgba(245, 166, 35, 0.6); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

.animate-fade-up { animation: fadeInUp 0.7s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-slide-left { animation: slideInLeft 0.7s ease-out forwards; }
.animate-slide-right { animation: slideInRight 0.7s ease-out forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Header ===== */
.site-header {
  background: rgba(8, 12, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 166, 35, 0.1);
  transition: all 0.3s ease;
  z-index: 1000;
}

.site-header.scrolled {
  background: rgba(8, 12, 24, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-link {
  position: relative;
  color: #94a3b8;
  transition: color 0.3s ease;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

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

/* ===== Hero ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,12,24,0.92) 0%, rgba(8,12,24,0.7) 50%, rgba(8,12,24,0.85) 100%);
}

.hero-photo {
  border-radius: 1rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(245, 166, 35, 0.15);
  border: 2px solid rgba(245, 166, 35, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 60px rgba(245, 166, 35, 0.25);
}

/* ===== CTA Button ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--gold-gradient);
  color: #080c18;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.4);
}

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

.cta-btn-outline:hover {
  background: var(--accent);
  color: #080c18;
}

/* ===== Casino Cards ===== */
.casino-card {
  background: var(--card);
  border: 1px solid rgba(245, 166, 35, 0.12);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.casino-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(245, 166, 35, 0.08);
  transform: translateY(-2px);
}

.casino-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.375rem 0.875rem;
  background: var(--gold-gradient);
  color: #080c18;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  z-index: 5;
}

.casino-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(245, 166, 35, 0.08);
}

.casino-logo-wrap img {
  max-width: 130px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.casino-bonus-title {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.3;
}

.casino-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.casino-feature svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--success);
}

.casino-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--gold-gradient);
  color: #080c18;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 0.625rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.casino-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 166, 35, 0.4);
}

.casino-stars {
  color: var(--accent);
  font-size: 0.85rem;
  text-align: center;
}

.casino-stars span {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* ===== Casino Details Toggle ===== */
.casino-details-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(245, 166, 35, 0.1);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
}

.casino-details-toggle:hover {
  background: rgba(245, 166, 35, 0.05);
}

.casino-details-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.casino-details-toggle.open svg {
  transform: rotate(180deg);
}

.casino-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  border-top: 1px solid rgba(245, 166, 35, 0.08);
}

.casino-details.open {
  max-height: 500px;
}

.casino-details table {
  width: 100%;
  border-collapse: collapse;
}

.casino-details td {
  padding: 0.625rem 1.25rem;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.casino-details td:first-child {
  color: #94a3b8;
  width: 40%;
  font-weight: 500;
}

.casino-details td:last-child {
  color: #e2e8f0;
}

/* ===== Content Sections ===== */
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.section-title .accent-text {
  color: var(--accent);
}

.content-text {
  color: #94a3b8;
  line-height: 1.8;
  font-size: 0.95rem;
}

.content-text + .content-text {
  margin-top: 1rem;
}

/* ===== Platform Table ===== */
.platform-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.platform-table th,
.platform-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.platform-table th {
  background: rgba(245, 166, 35, 0.1);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.platform-table td {
  color: #cbd5e1;
  font-size: 0.875rem;
}

.platform-table tr:hover td {
  background: rgba(245, 166, 35, 0.03);
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--card);
  border: 1px solid rgba(245, 166, 35, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(245, 166, 35, 0.2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 1.25rem;
  background: none;
  border: none;
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  gap: 1rem;
}

.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-question.open svg {
  transform: rotate(45deg);
}

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

.faq-answer.open {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== Footer ===== */
.site-footer {
  background: #060a14;
  border-top: 1px solid rgba(245, 166, 35, 0.1);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 1.5rem 0;
}

.responsible-gaming {
  background: rgba(245, 166, 35, 0.05);
  border: 1px solid rgba(245, 166, 35, 0.12);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

/* ===== Section Image ===== */
.section-image {
  border-radius: 0.75rem;
  border: 1px solid rgba(245, 166, 35, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.section-image:hover {
  transform: scale(1.02);
}

/* ===== Gradient Accent Line ===== */
.accent-line {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ===== Age Badge ===== */
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ef4444;
  color: #ef4444;
  font-weight: 800;
  font-size: 0.8rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .casino-logo-wrap {
    min-width: 100px;
    padding: 1rem;
  }
  .casino-logo-wrap img {
    max-width: 90px;
  }
}

@media (max-width: 768px) {
  .casino-card-inner {
    flex-direction: column !important;
  }

  .casino-logo-wrap {
    border-right: none;
    border-bottom: 1px solid rgba(245, 166, 35, 0.08);
    min-width: unset;
    padding: 1.25rem;
  }

  .casino-cta-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
  }

  .casino-cta {
    justify-content: center;
    width: 100%;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .hero-section {
    min-height: 100svh;
  }

  .platform-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .casino-bonus-title {
    font-size: 1rem;
  }

  .casino-details td {
    padding: 0.5rem 0.75rem;
    font-size: 0.775rem;
  }
}

/* ===== Print ===== */
@media print {
  .site-header, .mobile-menu, .cta-btn, .casino-cta { display: none !important; }
  body { background: #fff; color: #000; }
}
