/* Arctic Bloom Digital - Main Stylesheet
   A unique gaming website with cool arctic theme */

/* Base Styles and Variables */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #34d399;
  --accent-color: #c084fc;
  --text-color: #1f2937;
  --light-text: #f9fafb;
  --bg-color: #f0f9ff;
  --card-bg: #ffffff;
  --footer-bg: #0f172a;
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --pattern-opacity: 0.03;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  background-image: url('../img/arctic-pattern.svg');
  background-attachment: fixed;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--accent-color);
}

button, .btn {
  cursor: pointer;
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 50px;
  background: var(--primary-color);
  color: var(--light-text);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

button:hover, .btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(192, 132, 252, 0.4);
  color: #e0f2fe;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* Header & Navigation */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  padding: 5px;
  z-index: 1001;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.8), rgba(52, 211, 153, 0.5)), url('../img/arctic-hero.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}

.hero-title::before {
  content: '';
  position: absolute;
  width: 80px;
  height: 5px;
  background: var(--secondary-color);
  bottom: -10px;
  left: 0;
  border-radius: 5px;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary-color);
  font-size: 1.1rem;
  padding: 14px 32px;
}

.hero-cta:hover {
  background: var(--accent-color);
}

.hero-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
}

/* About Section */
.about {
  position: relative;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.3), rgba(52, 211, 153, 0.2));
  z-index: 1;
}

/* Features Section */
.features {
  background-color: #f8fafc;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.8;
}

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

.feature-card {
  background-color: var(--card-bg);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-size: 2rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-card p {
  opacity: 0.8;
}

/* Games Section */
.games {
  background-color: var(--bg-color);
  position: relative;
}

.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.game-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.game-frame {
  width: 100%;
  height: 600px;
  border: none;
}

.disclaimer-card {
  background-color: rgba(255, 247, 237, 0.9);
  border-left: 5px solid var(--secondary-color);
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 0.95rem;
}

/* Reviews Section */
.reviews {
  background-color: #f8fafc;
  position: relative;
}

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

.review-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.reviewer-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-info h4 {
  margin-bottom: 5px;
}

.reviewer-info span {
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.stars {
  color: #eab308;
  margin-top: 5px;
  font-size: 1rem;
}

.review-text {
  font-style: italic;
  opacity: 0.8;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.contact-info p {
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--light-text);
  padding: 60px 0 20px;
  position: relative;
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--primary-color));
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.footer-about p {
  margin: 20px 0;
  opacity: 0.7;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
  cursor: pointer;
}

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

.copyright {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Age Verification Modal */
.age-verification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.age-verification.show {
  opacity: 1;
  visibility: visible;
}

.age-modal {
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.age-verification.show .age-modal {
  transform: scale(1);
}

.age-icon {
  width: 80px;
  height: 80px;
  background-color: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin: 0 auto 20px;
}

.age-modal h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.age-modal p {
  margin-bottom: 25px;
  opacity: 0.8;
}

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

.btn-confirm {
  background-color: var(--secondary-color);
}

.btn-leave {
  background-color: #ef4444;
}

/* Legal Pages Styles */
.legal-content {
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.legal-content h2 {
  color: var(--primary-color);
  margin: 30px 0 15px;
}

.legal-content h3 {
  color: var(--text-color);
  margin: 25px 0 10px;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin-bottom: 15px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Footer Disclaimer Card */
.footer-disclaimer {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .features-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .about-wrapper,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    background: white;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    flex-direction: column;
    padding: 80px 30px;
    gap: 20px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .features-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-cta {
    width: 100%;
    justify-content: center;
  }
  
  .age-buttons {
    flex-direction: column;
  }
}

/* Custom cursor for interactive elements */
@media (min-width: 1025px) {
  a, button, .btn {
    cursor: none;
  }
  
  a:hover, button:hover, .btn:hover {
    cursor: none;
  }
}