/* Aspect-ratio wrappers for game iframes */
.game-iframe-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.aspect-16-9::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 ratio */
}
.aspect-4-3::before {
  content: "";
  display: block;
  padding-top: 75%; /* 4:3 ratio */
}
.game-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  background: #000;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

@media (max-width: 700px) {
  .game-iframe-wrapper {
    max-width: 100vw;
  }
  .game-iframe {
    border-radius: 6px;
  }
  .aspect-16-9::before {
    padding-top: 60%;
  }
  .aspect-4-3::before {
    padding-top: 80%;
  }
}
/* Scandor Bond - Modern Gaming Platform */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
  /* Neon Gaming Colors */
  --primary-color: #00d4ff;
  --secondary-color: #ff0080;
  --accent-color: #00ff88;
  --warning-color: #ffaa00;
  --dark-bg: #0a0a0f;
  --card-bg: #1a1a25;
  --surface-bg: #252540;
  --text-primary: #ffffff;
  --text-secondary: #b8bcc8;
  --text-muted: #7a7f8a;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0080ff 100%);
  --gradient-secondary: linear-gradient(135deg, #ff0080 0%, #ff4080 100%);
  --gradient-accent: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
  --gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #1a1a25 50%, #252540 100%);
  --gradient-card: linear-gradient(145deg, #1a1a25 0%, #252540 100%);
  
  /* Shadows & Effects */
  --glow-primary: 0 0 20px rgba(0, 212, 255, 0.5);
  --glow-secondary: 0 0 20px rgba(255, 0, 128, 0.5);
  --glow-accent: 0 0 20px rgba(0, 255, 136, 0.5);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.4);
  
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Rajdhani', 'Arial', sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 37, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(var(--glow-primary));
}

.logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  position: relative;
}

/* Minimal hover: subtle color change and soft underline (using box-shadow) */
.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--primary-color);
  transform: translateY(-2px);
  outline: none;
  box-shadow: inset 0 -3px 0 0 var(--primary-color);
}

/* Remove any previously used sliding background pseudo-element by leaving no ::before rules */

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

/* Hero Section */
.hero {
  /* Use project hero image with a subtle dark gradient overlay for readability */
  background-image: linear-gradient(rgba(10,10,15,0.6), rgba(26,26,37,0.6)), url("../../img/hero.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 80vh; /* ensure the hero fills most of the viewport */
  display: flex;
  align-items: center; /* vertically center content */
  justify-content: center;
  padding: 40px 0; /* reduce vertical padding since min-height handles the size */
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Simplified games layout (stacked frames) */
.games-section {
  background: #0b0b11; /* dark background to match site */
  padding: 3rem 1.5rem 2rem 1.5rem;
}
.game-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}
.game-frame {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  height: 520px;
  min-height: 220px;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  background: #000;
  display: block;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .game-frame {
    height: auto;
    aspect-ratio: 16/9;
    min-height: 180px;
    max-height: 60vw;
    width: 100%;
  }
  .game-container {
    gap: 1.2rem;
  }
}

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

.hero h1 {
  font-family: 'Orbitron', monospace;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: var(--text-primary);
  padding: 16px 32px;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: var(--glow-primary);
  position: relative;
  overflow: hidden;
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::after {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated), var(--glow-primary);
}

/* Games Section */
.games-section {
  padding: 80px 0;
  background: var(--card-bg);
}

.section-title {
  text-align: center;
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--text-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  margin: 1rem auto;
  border-radius: 2px;
}

.games-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.game-card {
  background: var(--gradient-card);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 212, 255, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.game-card:nth-child(2)::before {
  background: var(--gradient-secondary);
}

.game-card:nth-child(3)::before {
  background: var(--gradient-accent);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(0, 212, 255, 0.3);
}

.game-iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 12px;
  background: #000;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: var(--dark-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-family: 'Orbitron', monospace;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-image {
  text-align: center;
}

.about-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: var(--surface-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--gradient-card);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 212, 255, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: translateY(100%);
  transition: var(--transition);
}

.feature-card:nth-child(2)::after {
  background: var(--gradient-secondary);
}

.feature-card:nth-child(3)::after {
  background: var(--gradient-accent);
}

.feature-card:nth-child(4)::after {
  background: linear-gradient(135deg, #ffaa00 0%, #ff8800 100%);
}

.feature-card:hover::after {
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(0, 212, 255, 0.3);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card:nth-child(2) .feature-icon {
  color: var(--secondary-color);
}

.feature-card:nth-child(3) .feature-icon {
  color: var(--accent-color);
}

.feature-card:nth-child(4) .feature-icon {
  color: var(--warning-color);
}

.feature-card h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--card-bg);
  padding: 60px 0 20px;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-disclaimer {
  background: rgba(0, 212, 255, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 212, 255, 0.3);
  margin-bottom: 3rem;
  text-align: center;
}

.footer-disclaimer p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.footer-disclaimer strong {
  color: var(--primary-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-family: 'Orbitron', monospace;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(var(--glow-primary));
}

.footer-text {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  padding: 4px 0;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  color: var(--text-muted);
}

/* Age Verification Popup */
.age-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
}

.popup-content {
  background: var(--gradient-card);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 500px;
  width: 90%;
  border: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: var(--shadow-elevated);
  position: relative;
}

.popup-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.popup-content h2 {
  font-family: 'Orbitron', monospace;
  color: var(--text-primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.popup-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.popup-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.popup-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-confirm {
  background: var(--gradient-primary);
  color: var(--text-primary);
}

.btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

.btn-decline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--text-muted);
}

.btn-decline:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Legal Pages */
.legal-section {
  padding: 120px 0 80px;
  background: var(--dark-bg);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--gradient-card);
  padding: 3rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 212, 255, 0.1);
  box-shadow: var(--shadow-card);
}

.legal-content h1 {
  font-family: 'Orbitron', monospace;
  color: var(--text-primary);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.legal-content h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 1rem auto;
  border-radius: 2px;
}

.legal-content h2 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  letter-spacing: 1px;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.legal-content ul {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Contact Form */
.contact-section {
  padding: 120px 0 80px;
  background: var(--dark-bg);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  background: var(--gradient-card);
  padding: 3rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 212, 255, 0.1);
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(37, 37, 64, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
  background: rgba(37, 37, 64, 0.8);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.submit-btn {
  background: var(--gradient-primary);
  color: var(--text-primary);
  padding: 14px 32px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
  text-transform: uppercase;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

.contact-info h2 {
  font-family: 'Orbitron', monospace;
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(26, 26, 37, 0.98);
    flex-direction: column;
    justify-content: start;
    padding-top: 2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .popup-content {
    padding: 2rem;
    margin: 1rem;
  }

  .popup-buttons {
    flex-direction: column;
  }

  .game-iframe {
    height: 400px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .game-iframe {
    height: 350px;
  }

  .popup-content {
    padding: 1.5rem;
  }
}