/* === Book of Love Casino - Main Styles === */

/* CSS Variables */
:root {
  --color-dark-red: #8B0000;
  --color-red: #A00000;
  --color-bright-red: #FF1744;
  --color-pink: #FF69B4;
  --color-light-pink: #FFB6C1;
  --color-gold: #FFD700;
  --color-dark-bg: #0a0000;
  --color-darker-bg: #1a0505;
  --color-darkest-bg: #2d0a0a;
  --color-white: #ffffff;
  --color-cream: #FFF5E1;
  --color-gray: #cccccc;
  
  --font-primary: 'Arial', 'Helvetica', sans-serif;
  --font-secondary: 'Georgia', serif;
  
  --transition-smooth: all 0.3s ease;
  --transition-fast: all 0.2s ease;
  
  --shadow-soft: 0 4px 20px rgba(255, 23, 68, 0.2);
  --shadow-glow: 0 0 30px rgba(255, 105, 180, 0.4);
  --shadow-strong: 0 8px 40px rgba(139, 0, 0, 0.5);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: linear-gradient(135deg, var(--color-dark-bg) 0%, var(--color-darker-bg) 50%, var(--color-darkest-bg) 100%);
  background-attachment: fixed;
  color: var(--color-white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hearts-pattern.svg');
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  color: var(--color-gold);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

h2 {
  font-size: 2.5rem;
  color: var(--color-pink);
  text-shadow: 0 0 15px rgba(255, 105, 180, 0.4);
}

h3 {
  font-size: 1.8rem;
  color: var(--color-light-pink);
}

h4 {
  font-size: 1.4rem;
  color: var(--color-white);
}

p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--color-cream);
}

a {
  color: var(--color-pink);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--color-gold);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--color-dark-red);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(255, 23, 68, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 50px;
  height: 50px;
  transition: var(--transition-smooth);
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 10px var(--color-pink));
}

.site-name {
  font-size: 1.8rem;
  font-weight: bold;
  font-family: var(--font-secondary);
  color: var(--color-gold);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Navigation */
.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--color-cream);
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-pink), var(--color-gold));
  transition: var(--transition-smooth);
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: var(--color-pink);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: var(--color-pink);
  transition: var(--transition-smooth);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-bright-red), var(--color-pink));
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-gold), #FFA500);
  color: var(--color-darkest-bg);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(255, 215, 0, 0.5);
}

/* Banner Section */
.banner {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  background: url('../images/roses-bg.svg') center/cover no-repeat;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(10, 0, 0, 0.7) 100%);
  z-index: 0;
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

.banner h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: glowPulse 3s infinite;
}

.banner p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  color: var(--color-cream);
}

/* Sections */
section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '♥';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--color-bright-red);
  animation: heartBeat 1.5s infinite;
}

/* Cards */
.card {
  background: rgba(45, 10, 10, 0.6);
  backdrop-filter: blur(10px);
  border: 2px solid var(--color-dark-red);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--color-pink);
  box-shadow: var(--shadow-glow);
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  color: var(--color-gray);
}

/* Game Preview Card */
.game-preview {
  text-align: center;
  margin: 4rem 0;
}

.game-image {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  margin: 2rem auto;
  display: block;
  box-shadow: var(--shadow-strong);
  transition: var(--transition-smooth);
}

.game-image:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 60px rgba(255, 23, 68, 0.6);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

/* Footer */
.footer {
  background: var(--color-dark-bg);
  border-top: 2px solid var(--color-dark-red);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h4 {
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-gray);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-pink);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-dark-red);
  color: var(--color-gray);
  font-size: 0.9rem;
}

.disclaimer {
  background: rgba(139, 0, 0, 0.3);
  border: 2px solid var(--color-dark-red);
  border-radius: 15px;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.disclaimer strong {
  color: var(--color-gold);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 1rem;
}

/* Age Verification Popup */
.age-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  opacity: 0;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.3s ease;
}

.age-popup.show {
  display: flex;
  opacity: 1;
}

.age-popup-content {
  background: linear-gradient(135deg, var(--color-darkest-bg), var(--color-dark-red));
  border: 3px solid var(--color-gold);
  border-radius: 30px;
  padding: 3rem;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 60px rgba(255, 23, 68, 0.6);
  animation: scaleIn 0.5s ease;
}

.age-popup-content h2 {
  margin-bottom: 1.5rem;
  color: var(--color-gold);
}

.age-popup-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.age-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-buttons .btn {
  flex: 1;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 0, 0, 0.98);
  border-top: 3px solid var(--color-pink);
  padding: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 20px rgba(255, 23, 68, 0.4);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-text a {
  color: var(--color-gold);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  }
  50% {
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 105, 180, 0.4);
  }
}

@keyframes heartBeat {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.2);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
  display: none !important;
}


@media (max-width: 768px) {
  .legal-section h2 {
    font-size: 1.5rem !important;
  }
}