/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  text-decoration: none;
  color: #333;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
}

.logo h1 span {
  color: #E23089;
}

.logo p {
  font-size: 0.85rem;
  color: #7f8c8d;
  font-weight: 500;
}

.main-nav {
  position: relative;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: block;
}

.main-nav a:hover,
.main-nav a.active {
  color: #E23089;
  background-color: rgba(226, 48, 137, 0.1);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 10px;
  background: none;
  border: none;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #E23089 0%, #C41E7A 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background: #e74c3c;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.cta-button:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Game Grid Styles */
.games-section {
  padding: 4rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #7f8c8d;
  max-width: 600px;
  margin: 0 auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.game-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.game-thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  background-color: #f8f9fa;
}

/* Ensure images load properly and maintain consistent size */
.game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

/* Loading state for images */
.game-thumbnail:not([src]),
.game-thumbnail[src=""] {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f8f9fa"/><text x="50" y="50" text-anchor="middle" dy=".3em" fill="%237f8c8d">Loading...</text></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100px 100px;
}

.game-info {
  padding: 1.5rem;
}

.game-info h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.play-button {
  background: #E23089;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
  width: 100%;
  font-size: 1rem;
  text-decoration: none;
}

.play-button:hover {
  background: #C41E7A;
}

/* Content Sections */
.content-section {
  padding: 4rem 0;
}

.content-section:nth-child(even) {
  background: #f8f9fa;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.content-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-card h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.content-card p {
  color: #7f8c8d;
  line-height: 1.7;
}

/* Footer Styles */
.site-footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 0;
  margin-top: 4rem;
}

/* Footer Navigation Section */
.footer-navigation {
  background: #34495e;
  padding: 2.5rem 0;
  border-bottom: 2px solid #2c3e50;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 0;
}

.nav-section h4 {
  color: #ecf0f1;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #E23089;
  display: inline-block;
}

.nav-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-section ul li {
  margin-bottom: 0.8rem;
}

.nav-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  line-height: 1.4;
  display: block;
  padding: 0.2rem 0;
}

.nav-section ul li a:hover {
  color: #E23089;
  padding-left: 0.5rem;
  transform: translateX(0.2rem);
}

.nav-section p {
  color: #95a5a6;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-badges {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-content {
  padding: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #E23089;
}

.footer-section p {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #E23089;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.age-verification {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.age-badge,
.canada-badge {
  background: #e74c3c;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.canada-badge {
  background: #27ae60;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 2rem;
  text-align: center;
}

.footer-legal p {
  color: #95a5a6;
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  margin-top: 1rem;
}

.footer-disclaimer p {
  color: #bdc3c7;
  font-size: 0.9rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Detailed Disclaimer Section */
.footer-disclaimer-section {
  background: #1a252f;
  border-top: 2px solid #34495e;
  padding: 3rem 0;
  margin-top: 2rem;
}

.disclaimer-content h3 {
  color: #ecf0f1;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.disclaimer-content h3:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #e74c3c;
  margin: 1rem auto 0;
  border-radius: 2px;
}

.disclaimer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.disclaimer-item {
  background: rgba(52, 73, 94, 0.3);
  padding: 1.8rem;
  border-radius: 12px;
  border-left: 4px solid #E23089;
  transition: all 0.3s ease;
}

.disclaimer-item:hover {
  background: rgba(52, 73, 94, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.disclaimer-item h4 {
  color: #ecf0f1;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.disclaimer-item p {
  color: #bdc3c7;
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

.disclaimer-item a {
  color: #E23089;
  text-decoration: none;
  font-weight: 500;
}

.disclaimer-item a:hover {
  color: #C41E7A;
  text-decoration: underline;
}

.disclaimer-footer {
  background: rgba(44, 62, 80, 0.5);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #34495e;
}

.disclaimer-footer p {
  color: #95a5a6;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.disclaimer-footer p:last-child {
  margin-bottom: 0;
}

.disclaimer-footer .small-print {
  font-size: 0.8rem;
  color: #7f8c8d;
  font-style: italic;
}

.disclaimer-footer a {
  color: #E23089;
  text-decoration: none;
  font-weight: 500;
}

.disclaimer-footer a:hover {
  text-decoration: underline;
}

/* Game Player Page */
.game-player {

  /* Age Verification Banner */
  .age-verification-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 1.8rem;
    box-shadow: 0 -6px 30px rgba(231, 76, 60, 0.4);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    border-top: 4px solid #fff;
  }

  .age-verification-banner.show {
    transform: translateY(0);
  }

  .age-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .age-banner-text {
    flex: 1;
  }

  .age-banner-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .age-banner-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 500;
  }

  .age-banner-buttons {
    display: flex;
    gap: 1.2rem;
    flex-shrink: 0;
  }

  .age-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 160px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .age-btn.confirm {
    background: #27ae60;
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
  }

  .age-btn.confirm:hover {
    background: #2ecc71;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
  }

  .age-btn.deny {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
  }

  .age-btn.deny:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-2px);
  }

  /* Cookies Consent Banner */
  .cookies-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #34495e;
    color: white;
    padding: 1.2rem;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
  }

  .cookies-consent-banner.show {
    transform: translateY(0);
  }

  .cookies-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .cookies-banner-text {
    flex: 1;
    font-size: 0.9rem;
    color: #ecf0f1;
  }

  .cookies-banner-text a {
    color: #E23089;
    text-decoration: none;
  }

  .cookies-banner-text a:hover {
    text-decoration: underline;
  }

  .cookies-btn {
    padding: 0.6rem 1.5rem;
    background: #E23089;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }

  .cookies-btn:hover {
    background: #C41E7A;
    transform: translateY(-1px);
  }

  /* Mobile responsive for banners */
  @media (max-width: 768px) {

    .age-banner-content,
    .cookies-banner-content {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
    }

    .age-banner-buttons {
      width: 100%;
      justify-content: center;
    }

    .age-btn {
      flex: 1;
      min-width: auto;
    }

    .age-verification-banner {
      padding: 1.2rem;
    }

    .cookies-consent-banner {
      padding: 1rem;
    }
  }

  @media (max-width: 480px) {
    .age-banner-buttons {
      flex-direction: column;
    }

    .age-btn {
      width: 100%;
    }

    .age-banner-text h3 {
      font-size: 1.1rem;
    }

    .age-banner-text p {
      font-size: 0.85rem;
    }
  }

  padding: 2rem 0;
}

.game-player iframe {
  width: 100%;
  height: 80vh;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.back-button {
  display: inline-block;
  background: #95a5a6;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  margin-bottom: 2rem;
  transition: background 0.3s ease;
}

.back-button:hover {
  background: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    position: relative;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 2;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 2rem;
  }

  .nav-menu.mobile-active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    width: 100%;
    border-radius: 12px;
    margin: 0.5rem 0;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background-color: #E23089;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 48, 137, 0.3);
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-navigation {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  .nav-section h4 {
    font-size: 1.1rem;
  }

  .disclaimer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .disclaimer-content h3 {
    font-size: 1.5rem;
  }

  .disclaimer-item {
    padding: 1.5rem;
  }

  .disclaimer-item h4 {
    font-size: 1.1rem;
  }

  .footer-disclaimer-section {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .logo p {
    font-size: 0.75rem;
  }

  .nav-menu a {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .disclaimer-content h3 {
    font-size: 1.3rem;
  }

  .disclaimer-item {
    padding: 1.2rem;
  }

  .disclaimer-item h4 {
    font-size: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .disclaimer-item p {
    font-size: 0.9rem;
  }

  .disclaimer-footer {
    padding: 1.2rem;
  }

  .disclaimer-footer p {
    font-size: 0.85rem;
  }
}