/* ===== ATOM CASINO — MAIN STYLESHEET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark:       #0a0a18;
  --bg-card:       #13132a;
  --bg-card2:      #1a1a35;
  --gold:          #FFD700;
  --gold-dark:     #CC9900;
  --gold-light:    #FFE44D;
  --accent-red:    #e63b2e;
  --accent-blue:   #4a90e2;
  --accent-green:  #00c853;
  --text-white:    #ffffff;
  --text-muted:    #8892a4;
  --border:        rgba(255,215,0,0.15);
  --transition:    0.3s ease;
  --radius:        16px;
  --radius-sm:     10px;
  --shadow:        0 8px 32px rgba(0,0,0,0.5);
  --shadow-gold:   0 4px 24px rgba(255,215,0,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold), var(--gold-dark)); border-radius: 4px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--gold), #FFA500, var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, #FFD700, #FF8C00, #FFD700);
  background-size: 200% 200%;
  color: #1a0a00;
  box-shadow: 0 4px 20px rgba(255,215,0,0.4);
  animation: shimmer 3s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255,215,0,0.6);
}

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

.btn-outline:hover {
  background: rgba(255,215,0,0.1);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: #1a0a00;
  font-weight: 800;
}

.btn-white:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

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

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(10,10,24,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 10px var(--gold));
  animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.logo-text {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: 1px;
}

.logo-accent { color: var(--gold); }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-menu a:hover {
  color: var(--gold);
  background: rgba(255,215,0,0.08);
}

.nav-cta { flex-shrink: 0; padding: 12px 28px; font-size: 14px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, #2d0d6b 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, #0d2d6b 0%, transparent 60%),
              var(--bg-dark);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 140px 0 80px;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  animation: pulse-badge 2s ease infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(255,215,0,0); }
}

.hero-title {
  font-size: clamp(40px, 7vw, 80px);
  margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-feature {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ===== STATS ===== */
.stats {
  background: linear-gradient(135deg, #13132a, #1a1a35);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 24px 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.stat-item.visible { opacity: 1; transform: translateY(0); }

.stat-number {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

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

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }

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

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 52px;
}

/* ===== GAMES GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.game-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.game-card.visible { opacity: 1; transform: translateY(0); }

.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,215,0,0.4);
  box-shadow: var(--shadow-gold), var(--shadow);
}

.game-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

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

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}

.game-card:hover .game-overlay { opacity: 1; }

.game-info {
  padding: 24px;
}

.game-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-white);
}

.game-info p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.game-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.game-tag {
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.2);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}

/* ===== BONUSES ===== */
.bonuses { background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0f20 100%); }

.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.bonus-card.visible { opacity: 1; transform: translateY(0); }

.bonus-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,215,0,0.4);
  box-shadow: var(--shadow-gold);
}

.bonus-featured {
  border-color: rgba(255,215,0,0.5);
  background: linear-gradient(135deg, #1e1640 0%, #2a1860 100%);
  box-shadow: var(--shadow-gold);
}

.bonus-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--gold), #FFA500);
  color: #1a0a00;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.bonus-icon {
  font-size: 44px;
  margin-bottom: 18px;
}

.bonus-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.bonus-amount {
  font-size: 30px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.bonus-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.bonus-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bonus-features li {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

/* ===== FEATURES ===== */
.features { background: var(--bg-dark); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.visible { opacity: 1; transform: translateY(0); }

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,215,0,0.3);
  background: var(--bg-card2);
  box-shadow: var(--shadow-gold);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 18px;
  display: block;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--gold);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== ABOUT / SEO TEXT ===== */
.about {
  background: linear-gradient(180deg, #0f0f20 0%, var(--bg-dark) 100%);
}

.about-grid { max-width: 900px; margin: 0 auto; }

.about-content .section-title { margin-bottom: 40px; }

.seo-text {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  margin-bottom: 40px;
}

.seo-text p {
  color: #b0b8c8;
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 24px;
}

.seo-text p:last-child { margin-bottom: 0; }

.seo-text h3 {
  font-size: 22px;
  color: var(--gold);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,215,0,0.15);
}

.seo-text h3:first-child { margin-top: 0; }

.seo-text strong { color: var(--text-white); }

/* ===== PAYMENTS ===== */
.payments {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.payments-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.payment-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 12px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}

.payment-item:hover {
  border-color: rgba(255,215,0,0.4);
  background: var(--bg-card2);
  transform: translateY(-4px);
}

.payment-icon {
  font-size: 30px;
  margin-bottom: 8px;
}

.payment-item span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq { background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0f20 100%); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.active { border-color: rgba(255,215,0,0.4); }

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

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

.faq-item.active .faq-question { color: var(--gold); }

.faq-icon {
  font-size: 24px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
  font-weight: 300;
}

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

.faq-answer {
  display: none;
  padding: 0 28px 24px;
}

.faq-item.active .faq-answer { display: block; }

.faq-answer p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #1e0a5e 0%, #0a1a4e 50%, #1e0a5e 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFD700' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.cta-content h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: #06060f;
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

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

.footer-brand .nav-logo { margin-bottom: 20px; }

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition);
}

.footer-social a:hover {
  color: var(--gold);
  border-color: rgba(255,215,0,0.3);
}

.footer-links h4 {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-bottom a { color: var(--text-muted); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

.disclaimer {
  background: rgba(255,200,0,0.06);
  border: 1px solid rgba(255,200,0,0.15);
  border-radius: 8px;
  padding: 12px 20px;
  color: rgba(255,215,0,0.6) !important;
  font-size: 12px !important;
}

.footer-domain {
  color: rgba(255,215,0,0.4) !important;
  font-size: 12px !important;
  letter-spacing: 2px;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}

.gallery-title {
  font-size: clamp(22px, 3vw, 34px);
  text-align: center;
  margin-bottom: 36px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  display: block;
  aspect-ratio: 3/4;
  transition: all var(--transition);
  text-decoration: none;
}

.gallery-item:hover {
  border-color: rgba(255,215,0,0.5);
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255,215,0,0.25);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
  opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(3px);
}

.gallery-item:hover .gallery-hover { opacity: 1; }

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .payments-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10,10,24,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }

  .nav-menu.active { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 14px 20px; border-radius: 10px; }

  .menu-toggle { display: flex; }
  .nav-cta { display: none; }

  .hero-content { padding: 120px 0 60px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }

  .section { padding: 70px 0; }

  .games-grid { grid-template-columns: 1fr; }
  .bonuses-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .payments-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .seo-text { padding: 28px 24px; }
  .bonus-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .payments-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .btn-large { padding: 16px 32px; font-size: 15px; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
