/* GetVoyvik.click - Candy Themed CSS */

:root {
  /* Candy themed color palette */
  --primary: #FF3E8D;         /* Hot Pink */
  --secondary: #FFD056;       /* Candy Yellow */
  --accent: #B659F2;          /* Purple */
  --light: #FFECF5;           /* Light Pink */
  --dark: #4A1942;            /* Deep Purple */
  --white: #FFFFFF;
  --black: #1A0F1C;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  
  /* Rounded corners */
  --border-radius-sm: 8px;
  --border-radius-md: 15px;
  --border-radius-lg: 25px;
  
  /* Shadows */
  --shadow-sm: 0 3px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Import 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');

/* Base styles */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--light);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--dark);
  margin-top: 0;
}

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

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

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

.btn {
  display: inline-block;
  font-weight: 600;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-md);
  padding: 12px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Navigation */
.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: var(--dark);
  font-weight: 500;
  position: relative;
}

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

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

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/candy-pattern.svg');
  background-size: 200px;
  opacity: 0.1;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-content {
  width: 50%;
}

.hero-image {
  width: 45%;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

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

/* Candy animations */
.candy-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.candy {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--secondary);
  border-radius: 50%;
  animation: float 15s infinite linear;
  opacity: 0.5;
}

.candy:nth-child(2n) {
  background-color: var(--primary);
  width: 20px;
  height: 20px;
  animation-duration: 20s;
}

.candy:nth-child(3n) {
  background-color: var(--accent);
  width: 15px;
  height: 15px;
  animation-duration: 25s;
}

@keyframes float {
  0% {
    transform: translate(0, -100%) rotate(0);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  100% {
    transform: translate(100vw, 100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  color: var(--dark);
}

.section-title span {
  color: var(--primary);
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--light);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

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

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-text {
  color: #666;
}

/* Games Section */
.games {
  padding: 80px 0;
  background-color: var(--light);
}

.games-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.game-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.game-content {
  padding: 20px;
  background-color: var(--primary);
  color: var(--white);
}

.game-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--white);
}

.game-description {
  margin-bottom: 0;
  color: var(--light);
}

.game-frame-container {
  padding: 20px;
}

.game-frame {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--white);
}

.about .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-content {
  width: 50%;
}

.about-image {
  width: 45%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: var(--light);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

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

.form-control {
  width: 100%;
  padding: 12px;
  border: 2px solid #eee;
  border-radius: var(--border-radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

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

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-logo {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.footer-text {
  opacity: 0.7;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--white);
}

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

.footer-link {
  margin-bottom: 10px;
}

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

.footer-link a:hover {
  opacity: 1;
  color: var(--secondary);
}

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

.footer-disclaimer {
  margin-top: 15px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  text-align: center;
}

/* Age Verification Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: var(--white);
  width: 90%;
  max-width: 500px;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(-50px);
  transition: all 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.modal-text {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

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

/* Responsiveness */
@media (max-width: 991px) {
  .hero .container,
  .about .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content,
  .about-content,
  .hero-image,
  .about-image {
    width: 100%;
  }
  
  .hero-image,
  .about-image {
    margin-top: 40px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
  }
  
  .navbar-nav.show {
    display: flex;
  }
  
  .nav-item {
    margin: 10px 0;
    text-align: center;
  }
  
  .navbar .container {
    flex-wrap: wrap;
  }
  
  .navbar-toggler {
    display: block;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .modal-container {
    padding: 25px;
  }
  
  .modal-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
  }
}