/* MySkandyr.click - Diamond Slot Theme - Gems & Jewelry Style */

:root {
  /* Gem-inspired color palette */
  --primary-color: #4e1c81; /* Deep amethyst purple */
  --secondary-color: #1e90ff; /* Sapphire blue */
  --accent-color: #e91e63; /* Ruby red */
  --diamond-color: #b9f2ff; /* Diamond light blue */
  --emerald-color: #50c878; /* Emerald green */
  --gold-color: #ffd700; /* Gold */
  --silver-color: #c0c0c0; /* Silver */
  --dark-color: #212529; /* Dark background */
  --light-color: #f8f9fa; /* Light background */
  --text-color: #343a40; /* Text color */
  --light-text: #f8f9fa; /* Light text color */
}

/* Global Styles */
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background-color: #f5f5f5;
  overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent-color), var(--emerald-color));
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--light-text);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--emerald-color), var(--accent-color));
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color);
}

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

.navbar-nav .nav-link {
  color: var(--text-color);
  font-weight: 600;
  margin: 0 10px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(78, 28, 129, 0.9), rgba(30, 144, 255, 0.8)), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  padding: 150px 0;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/diamond-pattern.png');
  opacity: 0.1;
  z-index: 1;
}

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

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Animated Gems */
.gem {
  position: absolute;
  opacity: 0.6;
  z-index: 1;
  animation: float 6s infinite ease-in-out;
}

.gem-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.gem-2 {
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}

.gem-3 {
  bottom: 15%;
  left: 20%;
  animation-delay: 2s;
}

.gem-4 {
  top: 30%;
  right: 10%;
  animation-delay: 3s;
}

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

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: var(--light-color);
}

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

.about-img img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-content h2 {
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* Game Section */
.game-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f5f5f5, #e9ecef);
}

.game-container {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  position: relative;
}

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

/* Features Section */
.features-section {
  padding: 100px 0;
  background-color: var(--light-color);
}

.feature-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

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

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

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

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--light-text);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/diamond-pattern.png');
  opacity: 0.05;
  z-index: 1;
}

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

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
  display: block;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-links h5 {
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-links h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

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

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 60px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Disclaimer */
.disclaimer-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 20px;
  padding: 15px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.2);
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Age Disclaimer Popup */
.age-disclaimer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none; /* Changed from flex to none by default */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* No scroll class for body when popup is active */
body.no-scroll {
  overflow: hidden;
}

.age-disclaimer-content {
  background-color: #fff;
  border-radius: 15px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.age-disclaimer-content p {
  margin-bottom: 30px;
}

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

/* Responsive Styles */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .game-frame {
    height: 500px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 100px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .about-img {
    margin-bottom: 30px;
  }
  
  .game-frame {
    height: 400px;
  }
  
  .footer {
    padding: 60px 0 30px;
  }
  
  .footer-links {
    margin-bottom: 30px;
  }
}

@media (max-width: 575px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .game-frame {
    height: 350px;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .age-disclaimer-content {
    padding: 30px 20px;
  }
  
  .age-disclaimer-buttons {
    flex-direction: column;
    gap: 10px;
  }
}