/*
Theme Name: CasinoBoni
Description: Premium Casino & Gaming WordPress Theme
Version: 1.0
Author: Elite Casino Themes
*/

/* CSS Variables */
:root {
  --primary-dark: #120e1a;
  --secondary-dark: #1a1a2e;
  --tertiary-dark: #0d0d0d;
  --gold-primary: #d4af37;
  --gold-secondary: #ffd700;
  --text-light: #ffffff;
  --text-gray: #cccccc;
  --text-muted: #999999;
  --gradient-primary: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
  --gradient-secondary: linear-gradient(135deg, #6a5acd 0%, #4169e1 100%);
  --gradient-hero: radial-gradient(ellipse at center, #1a1a2e 0%, #120e1a 70%, #0d0d0d 100%);
  --shadow-primary: 0 8px 32px rgba(212, 175, 55, 0.2);
  --shadow-secondary: 0 4px 16px rgba(0, 0, 0, 0.3);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

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

a:hover {
  color: var(--gold-secondary);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(18, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(18, 14, 26, 0.98);
  box-shadow: var(--shadow-secondary);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo a {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-navigation a {
  color: var(--text-light);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
}

.main-navigation a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
}

.header-cta {
  background: var(--gradient-primary);
  color: var(--primary-dark);
  padding: 0.7rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
  color: var(--primary-dark);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-50px, -50px) rotate(360deg); }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  z-index: 2;
  position: relative;
}

.hero-headline {
  margin-bottom: 1.5rem;
  animation: heroGlow 2s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { text-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
  to { text-shadow: 0 0 40px rgba(212, 175, 55, 0.6), 0 0 60px rgba(212, 175, 55, 0.3); }
}

.hero-subheadline {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--text-gray);
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-cta {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--primary-dark);
  padding: 1.2rem 3rem;
  border-radius: var(--border-radius);
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition);
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
  color: var(--primary-dark);
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.content-section {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-secondary);
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.page-content {
  padding-top: 120px;
}

/* Cards */
.card {
  background: rgba(26, 26, 46, 0.8);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-secondary);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 175, 55, 0.3);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-dark);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--text-light);
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background: var(--tertiary-dark);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 3rem 0 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: var(--gold-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-gray);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
}

.age-restriction {
  display: inline-flex;
  align-items: center;
  background: rgba(212, 175, 55, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--gold-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }
  
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .main-content {
    padding: 2rem 1rem;
  }
  
  .content-section {
    padding: 2rem 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .content-section {
    padding: 1.5rem 1rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

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

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* WordPress Specific */
.wp-block-group {
  margin-bottom: 2rem;
}

.wp-block-separator {
  border-color: rgba(212, 175, 55, 0.3);
}

.wp-block-quote {
  border-left: 4px solid var(--gold-primary);
  padding-left: 1rem;
  margin: 2rem 0;
  font-style: italic;
}

.wp-block-button__link {
  background: var(--gradient-primary) !important;
  color: var(--primary-dark) !important;
  border-radius: var(--border-radius) !important;
  padding: 0.8rem 2rem !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-primary) !important;
}