/* SocialArenaz.com - Futuristisk Neon Arena Social Casino Demo */
/* Mørk marineblå bakgrunn med neon sci-fi effekter */

:root {
  /* Neon Arena Fargepalett */
  --deep-navy: #0a0f1e;
  --neon-blue: #00d4ff;
  --neon-purple: #8b5fbf;
  --neon-cyan: #52f2ff;
  --electric-blue: #1e3a8a;
  --frost-white: #e6f7ff;
  --glass-overlay: rgba(0, 212, 255, 0.1);
  --neon-glow: 0 0 20px rgba(0, 212, 255, 0.6);
  --purple-glow: 0 0 20px rgba(139, 95, 191, 0.6);
  --arena-gradient: linear-gradient(135deg, #0a0f1e 0%, #1a2332 25%, #2d4a6b 50%, #8b5fbf 75%, #00d4ff 100%);
  --neon-border: 1px solid rgba(0, 212, 255, 0.5);
  --glass-bg: rgba(10, 15, 30, 0.8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--deep-navy);
  color: var(--frost-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Futuristisk bakgrunnsanimasjon */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--arena-gradient);
  opacity: 0.3;
  z-index: -2;
  animation: arenaGlow 8s ease-in-out infinite alternate;
}

@keyframes arenaGlow {
  0% { opacity: 0.2; }
  100% { opacity: 0.4; }
}

/* Glassmorfisme Header */
.header {
  background: rgba(10, 15, 30, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: var(--neon-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--neon-glow);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--neon-cyan);
  text-decoration: none;
  text-shadow: var(--neon-glow);
  transition: all 0.3s ease;
}

.logo:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--frost-white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(82, 242, 255, 0.3);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: var(--arena-gradient);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--frost-white);
  opacity: 0.9;
}

/* Neon Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-cyan));
  color: var(--deep-navy);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--neon-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.btn-secondary {
  background: transparent;
  color: var(--neon-cyan);
  border: 2px solid var(--neon-cyan);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--neon-cyan);
  color: var(--deep-navy);
  box-shadow: var(--neon-glow);
}

/* Glassmorfisme Cards */
.card {
  background: rgba(10, 15, 30, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  border: var(--neon-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-cyan);
  box-shadow: var(--neon-glow), 0 12px 40px rgba(0, 0, 0, 0.6);
}

/* Game Cards */
.game-card {
  background: rgba(10, 15, 30, 0.9);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: var(--neon-border);
  position: relative;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-purple);
  box-shadow: var(--purple-glow);
}

.game-image {
  height: 200px;
  background: linear-gradient(135deg, var(--electric-blue), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.game-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
}

.game-content {
  padding: 1.5rem;
}

.game-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(82, 242, 255, 0.5);
}

.game-description {
  color: var(--frost-white);
  opacity: 0.8;
  font-size: 0.95rem;
}

/* 18+ Badge */
.age-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--neon-purple);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 10;
  box-shadow: var(--purple-glow);
  border: 1px solid rgba(139, 95, 191, 0.8);
}

.header-badge {
  position: static;
  display: inline-block;
  margin-left: 1rem;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Footer */
.footer {
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(20px);
  border-top: var(--neon-border);
  color: var(--frost-white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(82, 242, 255, 0.5);
}

.footer-section a {
  color: var(--frost-white);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  opacity: 0.8;
}

.footer-section a:hover {
  color: var(--neon-cyan);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  opacity: 0.7;
}

/* Disclaimer */
.disclaimer {
  background: rgba(139, 95, 191, 0.1);
  border: 1px solid var(--neon-purple);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
  backdrop-filter: blur(10px);
}

.disclaimer .age-badge {
  position: static;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 15, 30, 0.98);
  backdrop-filter: blur(20px);
  border-top: var(--neon-border);
  padding: 1.5rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text h3 {
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
}

.cookie-text p {
  color: var(--frost-white);
  opacity: 0.9;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cookie-btn.accept {
  background: var(--neon-cyan);
  color: var(--deep-navy);
}

.cookie-btn.accept:hover {
  box-shadow: var(--neon-glow);
}

.cookie-btn.decline {
  background: transparent;
  color: var(--neon-purple);
  border: 1px solid var(--neon-purple);
}

.cookie-btn.decline:hover {
  background: var(--neon-purple);
  color: white;
  box-shadow: var(--purple-glow);
}

/* Form Styles */
.form-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--neon-cyan);
  font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 1rem;
  border: var(--neon-border);
  border-radius: 10px;
  background: rgba(10, 15, 30, 0.8);
  color: var(--frost-white);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(82, 242, 255, 0.3);
}

/* Game Warning */
.game-warning {
  background: rgba(139, 95, 191, 0.2);
  border: 1px solid var(--neon-purple);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  color: var(--frost-white);
  font-weight: 600;
  margin: 1rem 0;
  backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav > div {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .header-badge {
    margin-left: 0;
    align-self: center;
  }

  .hero {
    padding: 2rem 1rem !important;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section {
    padding: 2rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .form-container {
    padding: 1rem;
  }

  /* Game pages responsive */
  .hero-content > div {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .card {
    padding: 1rem;
  }

  .cookie-banner {
    padding: 1rem;
  }

  .cookie-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .age-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  .header-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }

  .games-grid {
    gap: 1rem;
  }

  .game-card {
    padding: 1rem;
  }

  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* Game page specific mobile styles */
  .hero-content h1 {
    font-size: 2rem !important;
  }
  
  .hero-content p {
    font-size: 0.9rem !important;
  }
  
  /* Game info grid mobile */
  div[style*="grid-template-columns: 1fr 1fr"] {
    display: block !important;
  }
  
  div[style*="grid-template-columns: 1fr 1fr"] > div {
    margin-bottom: 2rem;
  }
  
  /* Related games mobile */
  div[style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"] {
    grid-template-columns: 1fr !important;
  }
}

/* Animasjoner */
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
  50% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.8); }
}

.neon-pulse {
  animation: neonPulse 2s ease-in-out infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
