/* FunnyTimeDE - Fun German Social Casino Styles */
:root {
  /* Fun Color Palette - More Readable */
  --primary: #E74C3C; /* Readable Red */
  --secondary: #3498DB; /* Blue */
  --accent: #F39C12; /* Orange */
  --dark: #2C3E50; /* Dark Blue */
  --light: #ECF0F1; /* Light Gray */
  --text: #2C3E50; /* Dark Text */
  --muted: #7F8C8D; /* Gray */
  --surface: #FFFFFF; /* White */
  --border: #BDC3C7; /* Gray Border */
  --bg: #F8F9FA; /* Light Background */
  
  /* Fun Gradients - More Subtle */
  --gradient-primary: linear-gradient(135deg, var(--primary), #C0392B);
  --gradient-secondary: linear-gradient(135deg, var(--secondary), #2980B9);
  --gradient-fun: linear-gradient(135deg, #E74C3C, #3498DB, #F39C12);
  
  /* Shadows */
  --shadow: 0 4px 20px rgba(44, 62, 80, 0.15);
  --shadow-hover: 0 8px 30px rgba(44, 62, 80, 0.25);
  --shadow-fun: 0 10px 40px rgba(44, 62, 80, 0.3);
  
  /* Typography */
  --font-primary: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
  --font-secondary: 'Arial', 'Helvetica', sans-serif;
  
  /* Layout */
  --maxw: 1200px;
  --border-radius: 15px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.fun-theme {
  background: linear-gradient(135deg, var(--bg) 0%, var(--light) 100%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; color: var(--primary); }
h2 { font-size: 2.5rem; color: var(--secondary); }
h3 { font-size: 2rem; color: var(--dark); }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--text);
}

/* Header & Navigation */
.fun-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.fun-nav {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-logo {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-fun);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-primary);
}

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

.nav-item {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-family: var(--font-primary);
}

.nav-item:hover,
.nav-item.active {
  color: white;
  background: var(--gradient-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Buttons */
.fun-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-family: var(--font-primary);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fun-btn.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow);
}

.fun-btn.primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-hover);
}

.fun-btn.secondary {
  background: var(--surface);
  color: var(--secondary);
  border: 3px solid var(--secondary);
}

.fun-btn.secondary:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-2px);
}

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

.fun-btn.outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.fun-btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.fun-btn.large {
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
}

.fun-btn.full {
  width: 100%;
}

/* Hero Section */
.hero-section {
  background: var(--gradient-fun);
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '🎉🎊🎈🎁🌟✨🎯🎮';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 3rem;
  opacity: 0.1;
  animation: float 20s infinite linear;
  pointer-events: none;
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); }
  100% { transform: translateY(-100vh) rotate(360deg); }
}

.hero-content {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-badge span {
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow);
  font-family: var(--font-primary);
}

.hero-title {
  font-size: 4rem;
  color: white;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
  font-family: var(--font-primary);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 1.2rem 2rem;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  color: white;
  font-weight: 700;
  font-family: var(--font-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
  font-size: 2rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.disclaimer {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  max-width: 500px;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 15px;
}

/* Sections */
.games-section,
.features-section,
.about-section {
  padding: 4rem 2rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.game-card {
  background: var(--surface);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.game-card:hover {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.game-image {
  height: 200px;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  position: relative;
}

.game-image::before {
  content: '🎮🎯🎊';
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-info {
  padding: 2rem;
}

.game-info h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-family: var(--font-primary);
}

.game-info p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.game-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.game-stats span {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-primary);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 3px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-fun);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.feature-card:hover::before {
  opacity: 0.1;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.feature-card > * {
  position: relative;
  z-index: 2;
}

.feature-card .feature-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

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

.about-text h2 {
  margin-bottom: 1.5rem;
  font-family: var(--font-primary);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--light);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary);
}

.about-image {
  background: var(--gradient-secondary);
  border-radius: var(--border-radius);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '🎮🎯🎊🎉';
  position: absolute;
  font-size: 3rem;
  opacity: 0.3;
  animation: rotate 10s infinite linear;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

/* Footer */
.fun-footer {
  background: var(--dark);
  color: var(--light);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
  position: relative;
}

.fun-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-fun);
}

.footer-content {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-disclaimer {
  background: rgba(255, 107, 53, 0.1);
  padding: 1rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent);
  margin-top: 1rem;
}

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

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--surface);
  margin: 5% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-fun);
  border: 3px solid var(--primary);
}

.close {
  color: var(--muted);
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--primary);
}

.modal h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: var(--font-primary);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form input {
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  background: var(--bg);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.modal-footer {
  text-align: center;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.modal-footer a {
  color: var(--primary);
  text-decoration: none;
}

/* Age Verification Modal */
.age-modal .modal-content {
  text-align: center;
  max-width: 400px;
}

.age-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--dark), #34495e);
  color: var(--light);
  padding: 2rem;
  z-index: 1500;
  transition: bottom 0.5s ease;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.4);
  border-top: 4px solid var(--primary);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cookie-text h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

.cookie-text p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.cookie-text a:hover {
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  .cookie-banner {
    padding: 1.5rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

/* Fun Cards */
.fun-card {
  background: var(--surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid var(--border);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .fun-nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .nav-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 1rem;
  }
  
  .nav-item {
    padding: 0.75rem 1rem;
    margin: 0.25rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 20px;
  }
  
  .nav-actions {
    order: 2;
    width: 100%;
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
  
  .age-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 6rem 1rem 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .games-section,
  .features-section,
  .about-section {
    padding: 3rem 1rem;
  }
  
  .modal-content {
    margin: 10% auto;
    padding: 1.5rem;
  }
}

/* Game Pages Styles */
.game-hero {
  background: var(--gradient-fun);
  padding: 6rem 2rem 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.game-hero::before {
  content: '🎮🎯🎊🎉🌈🍓';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 4rem;
  opacity: 0.1;
  animation: gameFloat 15s infinite linear;
  pointer-events: none;
}

@keyframes gameFloat {
  0% { transform: translateX(-100%) rotate(0deg); }
  100% { transform: translateX(100%) rotate(360deg); }
}

.game-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.game-breadcrumb {
  margin-bottom: 1rem;
  opacity: 0.9;
  font-family: var(--font-primary);
}

.game-breadcrumb a {
  color: white;
  text-decoration: none;
}

.game-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
  font-family: var(--font-primary);
}

.game-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.game-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.game-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  font-family: var(--font-primary);
  font-weight: 600;
}

.game-section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.game-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.game-frame-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.center {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.game-frame {
  width: 100%;
  height: 600px;
  border: 3px solid var(--primary);
  border-radius: 15px;
  box-shadow: var(--shadow-fun);
  background: var(--surface);
}

.frame-footer {
  margin-top: 1rem;
  text-align: center;
  max-width: 800px;
}

.game-disclaimer {
  background: linear-gradient(135deg, #FFF3CD, #FCF4A3);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 1rem;
  color: #8A6D3B;
  font-size: 0.9rem;
  margin: 0;
  font-family: var(--font-primary);
}

.game-notice {
  background: linear-gradient(135deg, #FFF3CD, #FCF4A3);
  border: 3px solid var(--primary);
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.notice-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.notice-content h4 {
  color: #8A6D3B;
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.notice-content p {
  color: #8A6D3B;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .game-title {
    font-size: 2.5rem;
  }
  
  .game-features {
    flex-direction: column;
    align-items: center;
  }
  
  .game-frame {
    height: 500px;
  }
}

@media (max-width: 480px) {
  .game-hero {
    padding: 5rem 1rem 2rem;
  }
  
  .game-title {
    font-size: 2rem;
  }
  
  .game-section {
    padding: 2rem 1rem;
  }
  
  .game-frame {
    height: 400px;
  }
}

/* Games Page Styles */
.games-hero {
  background: var(--gradient-fun);
  padding: 6rem 2rem 4rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.games-hero::before {
  content: '🎮🎯🎊🎉🌈🍓🎨🎪';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 3rem;
  opacity: 0.1;
  animation: gamesFloat 20s infinite linear;
  pointer-events: none;
}

@keyframes gamesFloat {
  0% { transform: translateY(100vh) rotate(0deg); }
  100% { transform: translateY(-100vh) rotate(360deg); }
}

.games-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.games-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
  font-family: var(--font-primary);
}

.games-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.games-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  font-family: var(--font-primary);
}

.all-games-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.games-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.games-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.game-card.featured {
  border: 3px solid var(--accent);
  position: relative;
}

.game-card.featured::before {
  content: '⭐ BELIEBT';
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-primary);
  z-index: 10;
}

.game-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-primary);
  z-index: 5;
}

.game-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.game-preview {
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: white;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.play-btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.feature-tag {
  background: var(--light);
  color: var(--dark);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.game-categories {
  text-align: center;
}

.game-categories h2 {
  margin-bottom: 2rem;
  font-family: var(--font-primary);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.category-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.category-count {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1rem;
}

.games-notice {
  background: linear-gradient(135deg, #FFF3CD, #FCF4A3);
  border: 3px solid var(--accent);
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.games-notice .notice-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.games-notice h3 {
  color: #8A6D3B;
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

.games-notice ul {
  list-style: none;
  padding: 0;
}

.games-notice li {
  margin-bottom: 0.75rem;
  color: #8A6D3B;
  padding-left: 1.5rem;
  position: relative;
}

.games-notice li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

@media (max-width: 768px) {
  .games-title {
    font-size: 2.5rem;
  }
  
  .games-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .games-grid-full {
    grid-template-columns: 1fr;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .games-notice {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .games-hero {
    padding: 5rem 1rem 3rem;
  }
  
  .all-games-section {
    padding: 3rem 1rem;
  }
}

/* About Page Styles */
.about-hero {
  background: var(--gradient-fun);
  padding: 6rem 2rem 4rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '🎉😄🎮🌟🎨🤝';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 4rem;
  opacity: 0.1;
  animation: aboutFloat 25s infinite linear;
  pointer-events: none;
}

@keyframes aboutFloat {
  0% { transform: translateX(-100%) translateY(0) rotate(0deg); }
  50% { transform: translateX(50%) translateY(-50px) rotate(180deg); }
  100% { transform: translateX(100%) translateY(0) rotate(360deg); }
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
  font-family: var(--font-primary);
}

.about-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.mission-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.mission-container {
  display: flex;
  flex-direction: column;
}

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

.mission-text h2 {
  margin-bottom: 1.5rem;
  font-family: var(--font-primary);
  color: var(--primary);
}

.mission-text p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 1.1rem;
}

.mission-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--light);
  border-radius: 15px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
}

.highlight-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.highlight-text h4 {
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-family: var(--font-primary);
}

.highlight-text p {
  margin: 0;
  color: var(--muted);
}

.mission-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 300px;
  height: 300px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  box-shadow: var(--shadow-fun);
  animation: pulse 3s infinite;
}

.values-section {
  background: var(--light);
  padding: 4rem 2rem;
}

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

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

.value-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

.value-card p {
  color: var(--muted);
  line-height: 1.6;
}

.team-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.team-member {
  background: var(--surface);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

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

.team-member h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.member-role {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-member p:last-child {
  color: var(--muted);
  line-height: 1.6;
}

.stats-section {
  background: var(--gradient-fun);
  padding: 4rem 2rem;
  text-align: center;
  color: white;
}

.stats-container {
  max-width: 1000px;
  margin: 0 auto;
}

.stats-container h2 {
  margin-bottom: 3rem;
  font-family: var(--font-primary);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-family: var(--font-primary);
}

.about-notice-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-notice {
  background: linear-gradient(135deg, #FFF3CD, #FCF4A3);
  border: 3px solid var(--accent);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.about-notice .notice-content h3 {
  color: #8A6D3B;
  margin-bottom: 2rem;
  text-align: center;
  font-family: var(--font-primary);
  font-size: 1.5rem;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.notice-item {
  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
}

.notice-item h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.notice-item p {
  color: #8A6D3B;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .about-title {
    font-size: 2.5rem;
  }
  
  .mission-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .notice-grid {
    grid-template-columns: 1fr;
  }
  
  .highlight-item {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 5rem 1rem 3rem;
  }
  
  .mission-section,
  .team-section,
  .about-notice-section {
    padding: 3rem 1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal Pages Styles */
.legal-section {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.legal-container {
  background: var(--surface);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
}

.legal-content h1 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-family: var(--font-primary);
}

.legal-content h2 {
  color: var(--secondary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-family: var(--font-primary);
}

.legal-content h3 {
  color: var(--dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-primary);
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

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

.important-notice {
  background: linear-gradient(135deg, #FFF3CD, #FCF4A3);
  border: 3px solid var(--accent);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.important-notice p {
  margin: 0;
  font-weight: 600;
  color: #8A6D3B;
  text-align: center;
}

@media (max-width: 768px) {
  .legal-container {
    padding: 2rem;
  }
  
  .legal-content h1 {
    font-size: 2rem;
  }
  
  .legal-section {
    padding: 1rem;
  }
}

.help-resources {
  background: var(--light);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
}

.help-resources h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-family: var(--font-primary);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.help-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 10px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}

.help-card h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

.help-card p {
  margin-bottom: 0.5rem;
}

.help-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.help-card a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .help-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Styles */
.contact-hero {
  background: var(--gradient-fun);
  padding: 6rem 2rem 4rem;
  text-align: center;
  color: white;
}

.contact-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
  font-family: var(--font-primary);
}

.contact-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
}

.contact-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

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

.contact-info h2 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--light);
  border-radius: 15px;
  border-left: 4px solid var(--primary);
}

.method-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.method-info h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.method-info p {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.method-info span {
  color: var(--muted);
  font-size: 0.9rem;
}

.method-info a {
  color: var(--primary);
  text-decoration: none;
}

.method-info a:hover {
  text-decoration: underline;
}

.contact-form-section h2 {
  color: var(--primary);
  margin-bottom: 2rem;
  font-family: var(--font-primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.faq-section h2 {
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
  font-family: var(--font-primary);
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border-radius: 10px;
  border: 2px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: var(--light);
}

.faq-question h3 {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-primary);
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 200px;
}

.faq-answer p {
  margin: 0;
  line-height: 1.6;
}

.faq-answer a {
  color: var(--primary);
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-title {
    font-size: 2.5rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-method {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 5rem 1rem 3rem;
  }
  
  .contact-section {
    padding: 3rem 1rem;
  }
}

/* Important Disclaimer Highlight */
.important-disclaimer {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 2rem 0;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  border: 3px solid #FF4757;
  animation: pulse-glow 3s infinite;
  position: relative;
  overflow: hidden;
}

.important-disclaimer::before {
  content: '⚠️';
  font-size: 2rem;
  margin-right: 1rem;
}

.important-disclaimer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shine 4s infinite;
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
    transform: scale(1.02);
  }
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}
