/*
 * Exporia.quest - Candy Slot Theme CSS
 * Fresh design with rounded elements and vibrant candy colors
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  /* Candy Slot Colors */
  --primary-pink: #FF69B4;
  --secondary-purple: #9B59B6;
  --accent-orange: #FF8C42;
  --accent-yellow: #FFD93D;
  --accent-green: #6BCF7F;
  --accent-blue: #4ECDC4;
  --white: #FFFFFF;
  --dark: #2C3E50;
  --light-gray: #F8F9FA;
  --medium-gray: #6C757D;
  
  /* Gradients */
  --gradient-main: linear-gradient(135deg, var(--primary-pink) 0%, var(--secondary-purple) 100%);
  --gradient-warm: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
  --gradient-cool: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
  
  /* Typography */
  --font-heading: 'Fredoka', cursive;
  --font-body: 'Poppins', sans-serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --element-spacing: 2rem;
  
  /* Shadows */
  --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
  --shadow-medium: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-heavy: 0 20px 60px rgba(0,0,0,0.15);
  
  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 50px;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--dark);
  background: var(--light-gray);
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-main);
  border-radius: 10px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.7rem; }
}

p {
  margin-bottom: 1rem;
  font-weight: 400;
}

a {
  color: var(--primary-pink);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::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: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-pink);
  border: 3px solid var(--primary-pink);
  box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
  background: var(--primary-pink);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 20px 40px;
  font-size: 1.2rem;
}

/* ===== ANIMATIONS ===== */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--dark);
  text-decoration: none;
}

.navbar-brand .candy-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--dark);
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: var(--gradient-main);
  color: var(--white);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler-icon {
  background-image: none;
  width: 30px;
  height: 20px;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
  background: var(--primary-pink);
  height: 3px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
}

.navbar-toggler-icon::before { top: -8px; }
.navbar-toggler-icon::after { top: 8px; }

/* ===== HERO SECTION ===== */
.hero-section {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #FFE5F1 0%, #E8F4FD 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23FF69B4" opacity="0.1"/><circle cx="80" cy="40" r="3" fill="%239B59B6" opacity="0.1"/><circle cx="60" cy="80" r="2" fill="%23FF8C42" opacity="0.1"/></svg>') repeat;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-title .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--medium-gray);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-placeholder {
  width: 400px;
  height: 300px;
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
  border: 2px dashed var(--primary-pink);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--medium-gray);
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-placeholder {
    width: 100%;
    height: 200px;
    margin-top: 2rem;
  }
}

/* ===== GAME SECTION ===== */
.game-section {
  padding: var(--section-padding);
  background: var(--white);
}

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

.section-title h2 {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--medium-gray);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.game-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.game-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--primary);
}

.game-frame {
  width: 100%;
  height: 600px;
  min-height: 500px;
  border: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: #f8f9fa;
}

.game-info {
  padding: 1.5rem;
}

.game-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.game-description {
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

.game-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.game-tag {
  background: var(--gradient-warm);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 500;
}

.coming-soon {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  position: relative;
}

.coming-soon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="20" fill="none" stroke="%23FF69B4" stroke-width="2" opacity="0.3"/></svg>') center/80px no-repeat;
}

.coming-soon-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--medium-gray);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .game-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
  }
  
  .game-frame {
    height: 500px;
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .game-frame {
    height: 400px;
    min-height: 350px;
  }
  
  .game-info {
    padding: 1rem;
  }
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

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

.feature-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

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

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-description {
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ===== AGE VERIFICATION POPUP ===== */
.age-verification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 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-verification-content {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

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

.age-verification h2 {
  color: var(--dark);
  margin-bottom: 1rem;
}

.age-verification p {
  color: var(--medium-gray);
  margin-bottom: 1.5rem;
}

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

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0 2rem;
}

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

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-brand .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: #adb5bd;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

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

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

.footer-links ul li a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--primary-pink);
}

.footer-bottom {
  border-top: 1px solid #495057;
  padding-top: 2rem;
  text-align: center;
}

.footer-disclaimer {
  background: rgba(255, 105, 180, 0.1);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #adb5bd;
}

.footer-copyright {
  color: #6c757d;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .age-buttons {
    flex-direction: column;
  }
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-section {
  padding: var(--section-padding);
  background: var(--white);
}

.contact-form {
  background: var(--light-gray);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
}

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

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

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

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 0.75rem;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 0.75rem;
}

@media (max-width: 768px) {
  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}