/* Pinevo.click - Cosmic Space Theme - Modern & Sleek Style */

:root {
  /* Space-inspired color palette */
  --primary-color: #6c5ce7; /* Cosmic purple */
  --secondary-color: #00cec9; /* Nebula teal */
  --accent-color: #fd79a8; /* Nova pink */
  --star-color: #ffeaa7; /* Star yellow */
  --space-blue: #0984e3; /* Space blue */
  --meteor-red: #d63031; /* Meteor red */
  --cosmic-green: #00b894; /* Cosmic green */
  --dark-color: #2d3436; /* Dark space */
  --darker-color: #1e272e; /* Deep space */
  --light-color: #dfe6e9; /* Light background */
  --text-color: #2d3436; /* Text color */
  --light-text: #f5f5f5; /* Light text color */
  --card-bg: rgba(255, 255, 255, 0.9); /* Card background */
  --glass-effect: rgba(255, 255, 255, 0.1); /* Glass effect */
}

/* Global Styles */
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background-color: var(--darker-color);
  background-image: url('https://images.unsplash.com/photo-1534796636912-3b95b3ab5986?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(45, 52, 54, 0.9), rgba(30, 39, 46, 0.85));
  z-index: -1;
}

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

::-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;
  color: var(--light-text);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.highlight {
  color: var(--star-color);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
}

/* Buttons */
.btn-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  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);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-gradient:hover::before {
  left: 0;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary-color);
  border-radius: 30px;
  padding: 10px 26px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  color: var(--light-text);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  transition: all 0.4s ease;
  z-index: -1;
  opacity: 0.2;
}

.btn-outline:hover::before {
  left: 0;
}

.btn-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Navbar */
.navbar {
  background-color: rgba(30, 39, 46, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--glass-effect);
}

.navbar.scrolled {
  padding: 15px 0;
  background-color: rgba(30, 39, 46, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--light-text);
  letter-spacing: 1px;
}

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

.navbar-toggler {
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  color: var(--light-text);
  font-weight: 500;
  margin: 0 15px;
  position: relative;
  transition: all 0.3s ease;
  padding: 5px 0;
}

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

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
  bottom: 0;
  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;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--light-text);
  padding: 100px 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?ixlib=rb-4.0.3&auto=format&fit=crop&w=2048&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: -1;
}

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

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 700px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* Space Objects Animation */
.space-object {
  position: absolute;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.star {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  position: absolute;
  animation: twinkle 4s infinite ease-in-out;
}

.star-sm {
  width: 2px;
  height: 2px;
}

.star-md {
  width: 3px;
  height: 3px;
}

.star-lg {
  width: 4px;
  height: 4px;
}

.gem {
  position: absolute;
  opacity: 0.7;
  z-index: 1;
  animation: float 8s infinite ease-in-out;
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 0 15px rgba(108, 92, 231, 0.6));
}

.gem-blue {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  filter: drop-shadow(0 0 15px rgba(9, 132, 227, 0.6));
}

.gem-purple {
  top: 60%;
  right: 15%;
  animation-delay: 1s;
  filter: drop-shadow(0 0 15px rgba(108, 92, 231, 0.6));
}

.gem-red {
  bottom: 15%;
  left: 20%;
  animation-delay: 2s;
  filter: drop-shadow(0 0 15px rgba(214, 48, 49, 0.6));
}

.gem-green {
  top: 30%;
  right: 10%;
  animation-delay: 3s;
  filter: drop-shadow(0 0 15px rgba(0, 184, 148, 0.6));
}

.gem-white {
  bottom: 30%;
  right: 25%;
  animation-delay: 4s;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

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

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Generate 20 random stars */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero .star-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Section Styles */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
}

.section-header p {
  color: var(--light-text);
  opacity: 0.8;
  font-size: 1.1rem;
}

/* About Section */
.about {
  position: relative;
  color: var(--light-text);
}

.about-content {
  color: var(--light-text);
  padding: 30px;
  border-radius: 15px;
  background: rgba(45, 52, 54, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-effect);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}



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

.about-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.feature-item i {
  color: var(--secondary-color);
}

.about-image .image-container {
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1596120236172-231999844ade?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') no-repeat center center;
  background-size: cover;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
}

.about-image .image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.3), rgba(0, 206, 201, 0.3));
}

/* Game Section */
.game-section {
  padding: 100px 0;
  position: relative;
}

.game-container {
  position: relative;
  z-index: 2;
}

.game-preview {
  background: rgba(45, 52, 54, 0.7);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  border: 1px solid var(--glass-effect);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.game-frame {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.game-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.game-disclaimer {
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--light-text);
  font-size: 0.9rem;
  text-align: center;
}

.game-disclaimer a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.game-disclaimer a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Features Section */
.features {
  padding: 100px 0;
  position: relative;
}

.feature-card {
  background: rgba(45, 52, 54, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-effect);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: var(--light-text);
}

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

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  background: rgba(45, 52, 54, 0.7);
}

.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.2);
  position: relative;
  overflow: hidden;
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.5;
  }
}

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

/* Notice Section */
.notice {
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

.notice-box {
  background: rgba(214, 48, 49, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(214, 48, 49, 0.3);
  border-radius: 10px;
  padding: 20px;
  color: var(--light-text);
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.notice-box h4 {
  color: var(--light-text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.notice-box i {
  color: var(--meteor-red);
}

/* Footer */
.footer {
  background-color: rgba(30, 39, 46, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--light-text);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--glass-effect);
  z-index: 20;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1419242902214-272b3f66ee7a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2013&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 1;
}

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

.footer-about img {
  margin-bottom: 20px;
  position: relative;
  z-index: 10;
}

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

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

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

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  color: var(--light-text);
}

.footer-links h4 {
  color: var(--light-text);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  cursor: pointer;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, var(--secondary-color), var(--accent-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;
  display: inline-block;
  position: relative;
  z-index: 21;
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-contact h4 {
  color: var(--light-text);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

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

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  }
  .footer-contact-link {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 21;
  }
  .footer-contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-contact p i {
  color: var(--secondary-color);
}

.age-disclaimer {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 15px;
  border-radius: 5px;
  margin-top: 20px;
}

.age-badge {
  background: var(--accent-color);
  color: var(--light-text);
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.9rem;
}

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

.copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

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

.legal-content p a {
  color: var(--secondary-color);
  text-decoration: none;
}

.legal-content p a:hover {
  color: var(--accent-color);
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

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

.legal-content ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.legal-content ul li a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

/* Disclaimer */
.disclaimer-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 20px;
  padding: 15px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--glass-effect);
}

/* Scroll to Top */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--light-text);
  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.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.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.4);
}

/* Age Disclaimer Popup */
.age-disclaimer-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 39, 46, 0.95);
  display: none; /* Hidden by default, will be shown via JavaScript */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.age-popup-content {
  background: rgba(45, 52, 54, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-effect);
  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.4);
  color: var(--light-text);
}

.age-popup-header {
  margin-bottom: 20px;
}

.age-popup-header h3 {
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin-bottom: 0;
}

.age-popup-body p {
  margin-bottom: 15px;
  opacity: 0.9;
}

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

@media (max-width: 576px) {
  .age-popup-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

/* 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;
  }
}