/* Finnish Social Gaming Website - Inspired by supportlocalbees.com */

:root {
  --primary-dark: #0a1628;
  --secondary-dark: #152238;
  --accent-green: #5cb85c;
  --accent-green-hover: #4cae4c;
  --text-light: #ffffff;
  --text-muted: #a0aec0;
  --border-color: #2d3748;
  --warning-red: #dc3545;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 18+ Banner */
.age-banner {
  background-color: var(--warning-red);
  color: var(--text-light);
  padding: 10px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.age-icon {
  background: white;
  color: var(--warning-red);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

/* Header Navigation */
header {
  background-color: rgba(10, 22, 40, 0.95);
  padding: 20px 0;
  position: sticky;
  top: 44px;
  z-index: 999;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 24px;
  font-weight: bold;
  color: var(--text-light);
  text-decoration: none;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-green), #4cae4c);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

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

nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 16px;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent-green);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 28px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%230a1628"/><circle cx="50" cy="50" r="30" fill="%23152238" opacity="0.3"/></svg>');
  background-size: 100px 100px;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--accent-green), #4cae4c);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(92, 184, 92, 0.4);
}

.btn:hover {
  background: linear-gradient(135deg, var(--accent-green-hover), var(--accent-green));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 184, 92, 0.6);
}

/* Content Sections */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-dark {
  background-color: var(--secondary-dark);
}

.section h2 {
  font-size: 42px;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.3;
}

.section p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Game Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.game-card {
  background-color: var(--secondary-dark);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(92, 184, 92, 0.3);
}

.game-card-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  position: relative;
  overflow: hidden;
}

.game-card-image::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(92, 184, 92, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

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

.game-card-content {
  padding: 25px;
}

.game-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.game-card p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Feature Boxes */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-box {
  background-color: var(--secondary-dark);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--accent-green);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-box p {
  font-size: 16px;
  color: var(--text-muted);
}

/* Contact Form */
.contact-info {
  background-color: var(--secondary-dark);
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  font-size: 18px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-green), #4cae4c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.contact-item a {
  color: var(--accent-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-green-hover);
  text-decoration: underline;
}

/* Legal Content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 32px;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.legal-content h3 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--accent-green);
}

.legal-content ul, .legal-content ol {
  margin-left: 30px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 10px;
  line-height: 1.8;
}

/* Footer */
footer {
  background-color: var(--secondary-dark);
  padding: 60px 20px 30px;
  border-top: 2px solid var(--border-color);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--accent-green);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 16px;
}

.footer-section ul li a:hover {
  color: var(--accent-green);
}

/* Responsible Gaming Logos */
.responsible-logos {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.responsible-logo {
  background-color: white;
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: bold;
  color: #333;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.responsible-logo:hover {
  transform: scale(1.05);
}

.responsible-logo[href*="gordonmoody"] {
  background-color: transparent;
}

.gamcare { background-color: #00a8e1; color: white; }
.gambleaware { background-color: #ff6b00; color: white; }
.gordonmoody { background-color: #4a5568; color: white; }

.footer-contact {
  margin-top: 20px;
  font-size: 16px;
}

.footer-contact p {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.footer-contact a {
  color: var(--accent-green);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 14px;
}

.footer-age-warning {
  background-color: var(--warning-red);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--secondary-dark);
  padding: 25px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  border-top: 2px solid var(--accent-green);
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cookie-content p {
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
  flex: 1;
}

.cookie-content p a {
  color: var(--accent-green);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.btn-accept {
  background: linear-gradient(135deg, var(--accent-green), #4cae4c);
  padding: 12px 30px;
  border-radius: 25px;
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-accept:hover {
  background: linear-gradient(135deg, var(--accent-green-hover), var(--accent-green));
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--secondary-dark);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-top: 1px solid var(--border-color);
  }

  nav ul.show {
    display: flex;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .section h2 {
    font-size: 28px;
  }

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

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

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

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .responsible-logos {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .btn {
    padding: 12px 30px;
    font-size: 14px;
  }

  .logo {
    font-size: 18px;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}
