/* Snow Grove 247 CFD - Christmas Gaming Theme
   Modern festive design with card-based layouts */

/* CSS Variables */
:root {
  --christmas-red: #dc143c;
  --golden-yellow: #ffd700;
  --forest-green: #228b22;
  --snow-white: #ffffff;
  --cream-white: #fdf5e6;
  --dark-green: #006400;
  --light-red: #ff6b6b;
  --gray-dark: #2c3e50;
  --gray-light: #ecf0f1;
  --shadow-main: rgba(220, 20, 60, 0.2);
  --shadow-gold: rgba(255, 215, 0, 0.3);
  --border-radius: 15px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--gray-dark);
  background: linear-gradient(135deg, var(--cream-white) 0%, var(--snow-white) 100%);
  overflow-x: hidden;
}

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

/* Header Navigation */
.header {
  background: var(--snow-white);
  box-shadow: 0 2px 20px var(--shadow-main);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 3px solid var(--christmas-red);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--christmas-red);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, var(--christmas-red), var(--golden-yellow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-dark);
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--christmas-red);
  color: var(--snow-white);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--christmas-red) 0%, var(--dark-green) 100%);
  color: var(--snow-white);
  text-align: center;
  padding: 150px 0 100px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/hero.jpg') no-repeat center/cover;
}

/* @keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
} */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--golden-yellow);
  color: var(--gray-dark);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-image-space {
  width: 100%;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
}

.cta-button {
  display: inline-block;
  background: var(--golden-yellow);
  color: var(--gray-dark);
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 5px 15px var(--shadow-gold);
}

.cta-button:hover {
  background: var(--snow-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-gold);
}

/* Game Section */
.game-section {
  padding: 80px 0;
  background: var(--gray-light);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--gray-dark);
  opacity: 0.8;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.game-card {
  background: var(--snow-white);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow-main);
  overflow: hidden;
  transition: var(--transition);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-main);
}

.game-header {
  background: linear-gradient(45deg, var(--christmas-red), var(--golden-yellow));
  color: var(--snow-white);
  padding: 1.5rem;
  text-align: center;
}

.game-iframe-container {
  width: 100%;
  height: 400px;
  position: relative;
}

.game-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: var(--snow-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--cream-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  border: 3px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--christmas-red), var(--golden-yellow), var(--forest-green));
}

.feature-card:hover {
  border-color: var(--christmas-red);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-main);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--christmas-red), var(--golden-yellow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.feature-card h3 {
  color: var(--gray-dark);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--gray-dark);
  opacity: 0.8;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 80px 0;
  background: var(--gray-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--gray-dark);
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-image {
  width: 100%;
  height: 300px;
  background: rgba(220, 20, 60, 0.1);
  border: 2px dashed var(--christmas-red);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--christmas-red);
  font-size: 1.1rem;
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background: var(--snow-white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--cream-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--christmas-red);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-text {
  font-style: italic;
  color: var(--gray-dark);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.review-author {
  font-weight: bold;
  color: var(--christmas-red);
}

.review-rating {
  color: var(--golden-yellow);
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background: var(--gray-dark);
  color: var(--snow-white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

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

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--snow-white);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-brand {
  color: var(--snow-white);
}

.footer-brand h3 {
  color: var(--christmas-red);
  margin-bottom: 1rem;
}

.disclaimer-card {
  background: var(--christmas-red);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
  text-align: center;
}

.disclaimer-card h4 {
  color: var(--snow-white);
  margin-bottom: 0.5rem;
}

.disclaimer-card p {
  color: var(--snow-white);
  opacity: 0.9;
  font-size: 0.9rem;
}

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

/* Age Verification Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--snow-white);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  color: var(--christmas-red);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.modal-content p {
  color: var(--gray-dark);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-confirm,
.btn-reject {
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.btn-confirm {
  background: var(--forest-green);
  color: var(--snow-white);
}

.btn-confirm:hover {
  background: var(--dark-green);
}

.btn-reject {
  background: var(--light-red);
  color: var(--snow-white);
}

.btn-reject:hover {
  background: var(--christmas-red);
}

/* Contact Form Styles */
.contact-section {
  padding: 80px 0;
  background: var(--gray-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  background: var(--snow-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow-main);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gray-dark);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--christmas-red);
}

.submit-btn {
  background: var(--christmas-red);
  color: var(--snow-white);
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
  width: 100%;
}

.submit-btn:hover {
  background: var(--dark-green);
}

.contact-info {
  background: var(--snow-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px var(--shadow-main);
}

/* Legal Pages */
.legal-content {
  padding: 120px 0 80px;
  background: var(--snow-white);
}

.legal-content .container {
  max-width: 800px;
}

.legal-content h1 {
  color: var(--christmas-red);
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.legal-content h2 {
  color: var(--gray-dark);
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--gray-dark);
}

.legal-content ul {
  margin: 1rem 0 1rem 2rem;
  color: var(--gray-dark);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--snow-white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 5px 15px var(--shadow-main);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .game-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    padding: 2rem;
  }
  
  .modal-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 80px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .features-grid,
  .reviews-grid {
    gap: 1rem;
  }
  
  .feature-card,
  .review-card {
    padding: 1.5rem;
  }
}