/* Base Styles - White & Green Theme */
:root {
  --primary-color: #00C853; /* Vivid green */
  --background-color: #FFFFFF; /* Pure white background */
  --card-bg-color: #d4ffe1; /* Soft green-tinted white for cards */
  --text-color: rgba(0, 0, 0, 0.9); /* Almost black text for high contrast */
  --secondary-text: rgba(0, 0, 0, 0.6); /* Softer black */
  --border-radius: 8px;
  --transition-speed: 0.3s;
  --glow-shadow: 0 0 10px rgba(0, 200, 83, 0.5), 0 0 20px rgba(0, 200, 83, 0.3); /* Green glow */
  --header-height: 80px;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Orbitron', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

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

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

/* Header */
.header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 240, 0.2);
  height: var(--header-height);
  position: relative;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo h1, .logo h2 {
  color: var(--text-color);
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #141414, #1a1a1a);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 255, 240, 0.3);
}

.logo-icon::before, .logo-icon::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.logo-icon::before {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #1a1a1a, #222);
  border: 1px solid rgba(0, 255, 240, 0.3);
}

.logo-icon::after {
  width: 15px;
  height: 15px;
  background: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 255, 240, 0.8);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 5px rgba(0, 255, 240, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(0, 255, 240, 0.8), 0 0 25px rgba(0, 255, 240, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(0, 255, 240, 0.5);
  }
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 0;
}

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  transition: all var(--transition-speed);
}

/* Hero Section */
.hero {
  height: calc(100vh - var(--header-height));
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 255, 240, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 255, 240, 0.05) 0%, transparent 50%);
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 255, 240, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Button Styles */
.btn {
  display: inline-block;
  background-color: transparent;
  color: var(--text-color);
  padding: 12px 30px;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  text-decoration: #ffffff;
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 240, 0.2), transparent);
  transition: left 0.7s;
  z-index: -1;
}

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

.glow-btn:hover {
  box-shadow: var(--glow-shadow);
  color: var(--primary-color);
}

.small-btn {
  padding: 8px 20px;
  font-size: 0.9rem;
}

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

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  box-shadow: var(--glow-shadow);
}

.features-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.features-text {
  flex: 1;
}

.features-text h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.features-text p {
  margin-bottom: 30px;
  color: var(--secondary-text);
}

.features-image {
  flex: 1;
  position: relative;
  height: 400px;
}

.image-container {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #141414, #1a1a1a);
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 255, 240, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-container::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 240, 0.05) 0%, transparent 70%);
}

.light-beam {
  position: absolute;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
  animation: beam-move 3s infinite linear;
  opacity: 0.6;
}

.light-beam:nth-child(1) {
  height: 60%;
  left: 30%;
  top: 20%;
  animation-delay: 0s;
}

.light-beam:nth-child(2) {
  height: 50%;
  left: 50%;
  top: 25%;
  animation-delay: 1s;
}

.light-beam:nth-child(3) {
  height: 70%;
  left: 70%;
  top: 15%;
  animation-delay: 2s;
}

@keyframes beam-move {
  0% {
    transform: translateY(-10px) scaleY(0.8);
  }
  50% {
    transform: translateY(10px) scaleY(1.2);
  }
  100% {
    transform: translateY(-10px) scaleY(0.8);
  }
}

/* Games Section */
.games {
  padding: 100px 0;
  background-color: var(--card-bg-color);
  position: relative;
}

.games::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 10%, rgba(0, 255, 240, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(0, 255, 240, 0.03) 0%, transparent 30%);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.game-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  border: 1px solid rgba(0, 255, 240, 0.1);
  position: relative;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 255, 240, 0.3);
}

.game-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.game-card:hover .game-image img {
  transform: scale(1.1);
}

.game-info {
  padding: 20px;
  text-align: center;
}

.game-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.game-info p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--secondary-text);
}

/* Disclaimer Section */
.disclaimer {
  padding: 50px 0;
  background-color: var(--background-color);
}

.disclaimer-box {
  background-color: var(--card-bg-color);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(0, 255, 240, 0.1);
}

.disclaimer-box p {
  font-size: 0.9rem;
  color: var(--secondary-text);
}

/* Footer */
.footer {
  background-color: var(--card-bg-color);
  padding: 40px 0 20px;
  border-top: 1px solid rgba(0, 255, 240, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo .logo h2 {
  font-size: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  position: relative;
  padding: 5px 0;
}

.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.footer-links a:hover::after, .footer-links a.active::after {
  width: 100%;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  font-size: 0.8rem;
  color: var(--secondary-text);
}

/* Game Section Pages */
.game-section {
  padding: 80px 0;
  min-height: calc(100vh - var(--header-height) - 210px);
}

.game-container {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  background-color: var(--card-bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 240, 0.2);
}

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

/* Contact Form */
.contact-section {
  padding: 80px 0;
  min-height: calc(100vh - var(--header-height) - 210px);
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--card-bg-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 240, 0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: var(--border-radius);
  color: var(--text-color);
  font-family: 'Orbitron', sans-serif;
  outline: none;
  z-index: 1;
  position: relative;
}

.input-border {
  position: absolute;
  top: 32px;
  left: 0;
  width: 100%;
  height: calc(100% - 32px);
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 255, 240, 0.3);
  pointer-events: none;
  transition: box-shadow var(--transition-speed);
}

.form-group input:focus + .input-border, 
.form-group textarea:focus + .input-border {
  box-shadow: 0 0 10px rgba(0, 255, 240, 0.3);
  border-color: var(--primary-color);
}

.contact-form .btn {
  align-self: center;
  margin-top: 20px;
}

/* Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
}

.popup.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: var(--card-bg-color);
  border-radius: var(--border-radius);
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: scale(0.8);
  transition: transform var(--transition-speed);
  border: 1px solid rgba(0, 255, 240, 0.2);
  box-shadow: 0 0 20px rgba(0, 255, 240, 0.2);
}

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

.popup-icon {
  margin-bottom: 20px;
}

.popup h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.popup p {
  margin-bottom: 20px;
  color: var(--secondary-text);
}

/* Legal Pages */
.legal-section {
  padding: 80px 0;
}

.legal-content {
  background-color: var(--card-bg-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 240, 0.2);
}

.legal-content h3 {
  color: var(--primary-color);
  margin: 30px 0 15px;
  font-size: 1.3rem;
}

.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p, .legal-content ul {
  margin-bottom: 15px;
  color: var(--secondary-text);
}

.legal-content ul {
  padding-left: 20px;
}

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

.legal-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.legal-content a:hover {
  text-shadow: 0 0 5px rgba(0, 255, 240, 0.5);
}