/* Jourix.live - Main CSS File */
/* Theme: Mixture of diamond, gem, and Dracula elements */

:root {
  /* Main Colors */
  --primary-color: #8e44ad;          /* Purple for mystical gem theme */
  --secondary-color: #1abc9c;        /* Teal for gem highlight */
  --accent-color: #f1c40f;           /* Gold for diamond accents */
  --dark-color: #2c3e50;             /* Dark background */
  --dracula-red: #e74c3c;            /* Dracula blood red */
  --light-color: #ecf0f1;            /* Light color for text on dark backgrounds */
  --light-bg: #f5f6fa;               /* Light background */
  
  /* Typography */
  --heading-font: 'Playfair Display', serif;   /* Elegant font for headings */
  --body-font: 'Raleway', sans-serif;          /* Clean, modern font for body */
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-padding: 2rem;
}

body {
  font-family: var(--body-font);
  color: #333;
  background-color: var(--light-bg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--primary-color);
  font-weight: 600;
}

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

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

/* Custom Navbar Styling */
.navbar {
  background: linear-gradient(135deg, var(--dark-color), #1a1a2e);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--heading-font);
  font-size: 1.6rem;
  color: var(--secondary-color) !important;
  font-weight: 700;
  letter-spacing: 1px;
}

.navbar-brand i {
  color: var(--accent-color);
}

.nav-link {
  color: var(--light-color) !important;
  font-weight: 500;
  margin: 0 8px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.9)), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-color);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(142, 68, 173, 0.2), transparent 60%);
}

.hero h1 {
  color: var(--light-color);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.btn-jourix {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 188, 156, 0.3);
  position: relative;
  display: inline-block;
  z-index: 10;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
}

.btn-jourix:hover {
  background-color: #16a085;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 188, 156, 0.4);
  color: #fff;
  text-decoration: none;
}

.btn-outline-jourix {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 10px 28px;
}

.btn-outline-jourix:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.btn-decline {
  background-color: #e74c3c;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 15px;
  transition: all 0.3s ease;
}

.btn-decline:hover {
  background-color: #c0392b;
  color: #fff;
}

/* About Section */
.about {
  padding: var(--section-padding);
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.about::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
  opacity: 0.3;
  z-index: 1;
  border-radius: 50%;
}

.about-img {
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(142, 68, 173, 0.2);
  position: relative;
  overflow: hidden;
}

.about-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(142, 68, 173, 0.4), rgba(26, 188, 156, 0.2));
}

.about-content h2 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

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

/* Features Section */
.features {
  background-color: var(--light-bg);
  padding: var(--section-padding);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--dracula-red) 0%, transparent 70%);
  opacity: 0.1;
  z-index: 1;
  border-radius: 50%;
}

.feature-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border-left: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(241, 196, 15, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(142, 68, 173, 0.1);
  border-left: 3px solid var(--secondary-color);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  font-size: 1.8rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(142, 68, 173, 0.2);
}

/* Games Section */
.games {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.game-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
}

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

.game-card .card-body {
  padding: 1.5rem;
  background-color: #fff;
}

.game-card .card-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.game-card .card-text {
  margin-bottom: 1.5rem;
}

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

.game-iframe-container {
  position: relative;
  padding-bottom: 56.25%; /* Default aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background-color: #2c3e50;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.game-iframe-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(142, 68, 173, 0.1), transparent 60%);
  z-index: 1;
}

.game-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Contact Section */
.contact {
  padding: var(--section-padding);
  background-color: #fff;
}

.contact-form .form-control {
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 12px 20px;
  height: auto;
  margin-bottom: 20px;
}

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

.contact-form textarea {
  min-height: 150px;
}

.contact-info {
  padding: 2rem;
  background-color: var(--light-bg);
  border-radius: 10px;
  height: 100%;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #2c3e50, #1a1a2e);
  color: var(--light-color);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26, 188, 156, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.footer h4 {
  color: var(--light-color);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.footer p {
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: var(--light-color);
  opacity: 0.8;
  transition: all 0.3s ease;
}

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

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--secondary-color);
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Age Verification Popup */
.age-verification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.age-verification-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

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

.age-verification h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .navbar-collapse {
    background-color: rgba(44, 62, 80, 0.95);
    padding: 20px;
    border-radius: 5px;
  }
  
  .navbar-nav {
    margin-top: 15px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 6rem 0;
    text-align: center;
  }
  
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-content {
    margin-top: 30px;
  }
  
  .about-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .about-content {
    text-align: center;
  }
  
  .game-frame {
    height: 300px;
  }
  
  .contact-info {
    margin-top: 30px;
  }
}

@media (max-width: 575px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .btn-jourix, .btn-decline {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
  
  .age-verification-content {
    padding: 30px 20px;
    margin: 0 15px;
  }
}