/* ========================================
   Lucky Zenith Play - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
  /* Background Colors */
  --bg-primary: #280819;
  --bg-secondary: #281D18;
  --bg-tertiary: #132710;
  --bg-card: #371728;
  --bg-card-hover: #412132;
  --bg-overlay: rgba(0, 0, 0, 0.3);
  --bg-overlay-light: rgba(255, 255, 255, 0.1);
  --bg-overlay-dark: rgba(10, 14, 26, 0.95);
  
  /* Accent Colors */
  --accent-green: #A4C0A3;
  --accent-green-hover: #8BA78A;
  --accent-green-light: rgba(164, 192, 163, 0.15);
  --accent-green-medium: rgba(164, 192, 163, 0.2);
  --accent-green-soft: rgba(164, 192, 163, 0.08);
  --accent-green-strong: rgba(164, 192, 163, 0.1);
  
  --accent-cyan: #5EF865;
  --accent-cyan-light: rgba(94, 248, 101, 0.15);
  --accent-cyan-medium: rgba(94, 248, 101, 0.2);
  --accent-cyan-soft: rgba(94, 248, 101, 0.08);
  --accent-cyan-strong: rgba(94, 248, 101, 0.1);
  
  --gold: #79AC94;
  
  /* Text Colors */
  --text-white: #FFFFFF;
  --text-gray: #9A9A9A;
  --text-gray-light: #D4D4D4;
  --text-dark: #1D1621;
  
  /* Border Colors */
  --border-color: #2E2E2E;
  --border-color-light: #424242;
  
  /* Shadow Colors */
  --shadow-sm: rgba(0, 0, 0, 0.3);
  --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.3);
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
  --gradient-card: linear-gradient(135deg, rgba(26, 35, 50, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
  --gradient-hero-overlay: linear-gradient(135deg, rgb(10 14 26 / 24%) 0%, rgb(17 24 39 / 44%) 100%);
  --gradient-hero-dark: linear-gradient(to bottom, rgba(10, 14, 26, 0.3) 0%, rgba(10, 14, 26, 0.8) 100%);
  
  /* Resource Icon Colors */
  --resource-gambleaware-bg: rgba(255, 255, 255, 0.95);
  --resource-gamcare-bg: #A1B798;
  --resource-ncpg-bg: linear-gradient(135deg, #5A2D84 0%, #7C7554 100%);
  --resource-rgc-bg: linear-gradient(135deg, #B92A2C 0%, #B6C7B0 100%);
  --resource-gordon-bg: linear-gradient(135deg, #8E3076 0%, #953084 100%);
  --resource-peluuri-bg: linear-gradient(135deg, #757589 0%, #C53697 100%);
  
  /* Special Colors */
  --pink-accent: #89A380;
  --pink-accent-light: rgba(137, 163, 128, 0.2);
}
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn svg,
.btn i {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background-color: var(--accent-green);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--accent-green-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-color-light);
}

.btn-outline:hover {
  background-color: var(--bg-overlay-light);
  border-color: var(--text-white);
}

/* Section */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 14px;
}

/* ========================================
   Top Banner
   ======================================== */
.top-banner {
  background-color: var(--bg-secondary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.top-banner.hidden {
  display: none;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.banner-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-gray-light);
}

.banner-text svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.banner-close {
  background: transparent;
  color: var(--text-gray);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.banner-close:hover {
  color: var(--text-white);
}

.banner-close svg {
  width: 18px;
  height: 18px;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-overlay-dark);
  backdrop-filter: blur(11px);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-white);
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  color: var(--text-gray);
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-green);
  border-radius: 1px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  color: var(--text-white);
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
  var(--gradient-hero-overlay), url(../../images/hero-bg.jpg) center / cover no-repeat;
  z-index: -1;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-text {
  text-align: center;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-description {
  font-size: 18px;
  color: var(--text-gray-light);
  margin: 0 auto 32px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  justify-content: center;
}

.hero-disclaimer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-gray);
  justify-content: center;
}

.hero-disclaimer svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ========================================
   Games Section
   ======================================== */
.games-section {
  background-color: var(--bg-primary);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Game Card */
.game-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.game-image {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.game-content {
  padding: 20px;
}

.game-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-white);
}

.game-description {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-btn {
  width: 100%;
  padding: 10px 20px;
  font-size: 13px;
}

/* ========================================
   Info Section
   ======================================== */
.info-section {
  background: 
    radial-gradient(ellipse at 20% 50%, var(--accent-green-soft) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, var(--accent-cyan-soft) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 100px 0;
}

.info-card-wrapper {
  background: 
    radial-gradient(circle at 10% 20%, var(--accent-green-strong) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, var(--accent-cyan-strong) 0%, transparent 40%),
    var(--gradient-card);
  border-radius: 24px;
  padding: 60px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.info-card-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
}

.info-card-wrapper .section-title {
  text-align: left;
  margin-left: 0;
  font-size: 36px;
  margin-bottom: 20px;
}

.info-card-wrapper .section-subtitle {
  text-align: left;
  margin-left: 0;
  margin-bottom: 50px;
  font-size: 16px;
  color: var(--text-gray-light);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.info-card {
  text-align: center;
  padding: 36px 28px;
  background-color: rgba(26, 35, 50, 0.5);
  border-radius: 14px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.info-card:hover {
  background-color: rgba(26, 35, 50, 0.8);
  border-color: var(--accent-green);
  transform: translateY(-4px);
}

.info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon svg {
  width: 36px;
  height: 36px;
}

.info-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-white);
}

.info-description {
  font-size: 14px;
  color: var(--text-gray-light);
  line-height: 1.7;
}

.info-cta {
  text-align: center;
  margin-top: 48px;
}

.info-cta .btn {
  padding: 14px 32px;
  font-size: 15px;
}

/* ========================================
   Responsible Gaming Section
   ======================================== */
.responsible-section {
  background-color: var(--bg-primary);
}

.responsible-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.responsible-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: border-color 0.2s ease;
}

.responsible-card:hover {
  border-color: var(--border-color-light);
}

.responsible-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.responsible-icon svg {
  width: 28px;
  height: 28px;
}

.responsible-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-white);
}

.responsible-description {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
}

.responsible-cta {
  text-align: center;
  padding: 40px;
  background-color: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.responsible-cta p {
  color: var(--text-gray);
  margin-bottom: 20px;
  font-size: 14px;
}

/* ========================================
   Newsletter Section
   ======================================== */
.newsletter-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
  padding: 100px 0;
}

.newsletter-content {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.newsletter-input {
  width: 100%;
  padding: 16px 20px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-input::placeholder {
  color: var(--text-gray);
}

.newsletter-input:focus {
  border-color: var(--accent-green);
}

.newsletter-btn {
  width: 100%;
  padding: 16px;
}

.newsletter-disclaimer {
  font-size: 12px;
  color: var(--text-gray);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--bg-secondary);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

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

.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-gray);
  transition: color 0.2s;
}

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

.footer-disclaimer {
  background-color: var(--bg-overlay);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.footer-disclaimer p {
  font-size: 11px;
  color: var(--text-gray);
  line-height: 1.7;
}

.footer-resources {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.resources-title {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.resources-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.resource-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.91;
}

.resource-logo:hover {
  opacity: 0.96;
  transform: scale(1.01);
}

/* Footer Logos - Images */
.resource-logo img {
  max-width: 100%;
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-bottom {
  text-align: center;
}

.age-badge {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.age-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.copyright {
  font-size: 12px;
  color: var(--text-gray);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .games-grid,
  .responsible-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 42px;
  }

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

@media (max-width: 768px) {
  .banner-text span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

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

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

  .hero-description {
    font-size: 15px;
  }

  .info-card-wrapper {
    padding: 40px 24px;
  }

  .info-card-wrapper .section-title {
    font-size: 28px;
    text-align: center;
  }

  .info-card-wrapper .section-subtitle {
    font-size: 15px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 24px;
  }

  .section-title {
    font-size: 24px;
  }

  .info-section {
    padding: 60px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

/* ========================================
   About Page
   ======================================== */

/* About Hero */
.about-hero {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.about-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-white);
}

.about-hero .hero-tagline {
  font-size: 18px;
  color: var(--text-gray-light);
  max-width: 500px;
  margin: 0 auto;
}

/* About Content */
.about-content {
  background-color: var(--bg-primary);
}

.about-content .content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--text-white);
}

.about-content h3 {
  font-size: 22px;
  margin: 40px 0 16px;
  color: var(--text-white);
}

.about-content p {
  font-size: 16px;
  color: var(--text-gray-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Values Section */
.about-values {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
}

.value-item {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.value-icon svg {
  width: 32px;
  height: 32px;
  color: var(--text-white);
}

.value-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-white);
}

.value-item p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 28px;
  }

  .about-hero .hero-tagline {
    font-size: 16px;
  }

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

  .about-content h2 {
    font-size: 24px;
  }

  .about-content h3 {
    font-size: 20px;
  }
}

/* ========================================
   Games Page
   ======================================== */

/* Games Hero */
.games-hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.games-hero .hero-background {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, var(--accent-green-medium) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, var(--accent-cyan-strong) 0%, transparent 40%),
    var(--gradient-primary);
}

.games-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-dark);
}

.games-hero .hero-container {
  position: relative;
  z-index: 1;
}

.games-hero .hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 0;
}

.games-hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-white);
}

.games-hero p {
  font-size: 18px;
  color: var(--text-gray-light);
  line-height: 1.7;
}

/* Games Grid Section */
.games-grid-section {
  background-color: var(--bg-primary);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Large Game Card */
.game-card-large {
  background-color: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.game-card-large:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-green);
}

.game-card-large .game-image {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.game-card-large .game-info {
  padding: 24px;
}

.game-card-large .game-info h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-white);
}

.game-card-large .game-info p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.game-card-large .game-info .btn {
  width: 100%;
}

/* Games Info Section */
.games-info-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 60px 0 80px;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-color);
}

.info-box-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: rgba(6, 182, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-box-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
}

.info-box-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-white);
}

.info-box-content p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .games-hero h1 {
    font-size: 28px;
  }

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

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

  .info-box {
    flex-direction: column;
    text-align: center;
  }

  .info-box-icon {
    margin: 0 auto;
  }
}

/* ========================================
   Responsible Gaming Page
   ======================================== */

/* RG Hero */
.rg-hero {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.rg-hero-content {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.rg-hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rg-hero-icon svg {
  width: 40px;
  height: 40px;
  color: var(--text-white);
}

.rg-hero-text h1 {
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--text-white);
}

.rg-hero-text p {
  font-size: 16px;
  color: var(--text-gray-light);
  line-height: 1.7;
}

/* RG Safety Section */
.rg-safety {
  background-color: var(--bg-primary);
}

.rg-header {
  text-align: center;
  margin-bottom: 50px;
}

.rg-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green-medium) 0%, var(--accent-cyan-medium) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.rg-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent-green);
}

.rg-header h2 {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--text-white);
}

.rg-header p {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.rg-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Tips List */
.rg-tips {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-color);
}

.rg-tips h3 {
  font-size: 20px;
  margin-bottom: 24px;
  color: var(--text-white);
}

.tips-list {
  list-style: none;
}

.tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-gray-light);
  font-size: 15px;
  line-height: 1.5;
}

.tips-list li:last-child {
  margin-bottom: 0;
}

.tips-list li svg {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Mini Resources */
.rg-resources-mini {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-color);
}

.rg-resources-mini h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-white);
}

.rg-resources-mini > p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.resource-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background-color: var(--bg-card-hover);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.resource-card:hover {
  background-color: var(--accent-green);
}

.resource-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
}

/* Timeline Section */
.rg-timeline {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.timeline-intro {
  text-align: center;
  font-size: 16px;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 50px;
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 30px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 60px;
  bottom: -30px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-green), var(--accent-cyan));
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-content {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  flex: 1;
  border: 1px solid var(--border-color);
}

.timeline-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-white);
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Resources Extended */
.rg-resources-extended {
  background-color: var(--bg-secondary);
}

.resources-intro {
  text-align: center;
  font-size: 16px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto 50px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  background-color: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.resource-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.1;
}

.resource-icon-wrapper.gambleaware {
  background-color: var(--resource-gambleaware-bg);
  color: var(--text-dark);
}

.resource-icon-wrapper.gambleaware span {
  text-align: center;
}

.resource-icon-wrapper.gamcare {
  background-color: #7c3aed;
  color: white;
  font-size: 32px;
}

.resource-icon-wrapper.ncpg {
  background: var(--resource-ncpg-bg);
  color: white;
}

.resource-icon-wrapper.ncpg svg {
  width: 32px;
  height: 32px;
}

.resource-icon-wrapper.rgc {
  background: var(--resource-rgc-bg);
  color: white;
  font-size: 18px;
}

.resource-icon-wrapper.gordon {
  background: var(--resource-gordon-bg);
  color: white;
}

.resource-icon-wrapper.gordon svg {
  width: 28px;
  height: 28px;
}

.resource-icon-wrapper.peluuri {
  background: var(--resource-peluuri-bg);
  color: white;
}

.resource-icon-wrapper.peluuri svg {
  width: 28px;
  height: 28px;
}

.resource-btn h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-white);
}

.resource-btn p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rg-hero-content {
    flex-direction: column;
    text-align: center;
  }

  .rg-hero-text h1 {
    font-size: 28px;
  }

  .rg-content {
    grid-template-columns: 1fr;
  }

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

  .timeline-item::before {
    display: none;
  }
}

/* ========================================
   Legal Pages (Terms & Privacy)
   ======================================== */

/* Legal Hero */
.legal-hero {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.legal-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-white);
}

.legal-hero .hero-subtitle {
  font-size: 16px;
  color: var(--text-gray-light);
  margin-top: 8px;
}

/* Legal Content */
.legal-content {
  background-color: var(--bg-primary);
}

.legal-content .content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.legal-intro {
  background-color: var(--bg-card);
  border-left: 4px solid var(--accent-green);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 40px;
}

.legal-intro p {
  font-size: 16px;
  color: var(--text-gray-light);
  line-height: 1.7;
  margin: 0;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 22px;
  color: var(--text-white);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

.legal-section p {
  font-size: 15px;
  color: var(--text-gray-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.legal-section ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-gray-light);
  line-height: 1.6;
}

.legal-section ul li::before {
  content: '•';
  position: absolute;
  left: 12px;
  color: var(--accent-green);
  font-weight: bold;
  font-size: 18px;
}

.legal-section a {
  color: var(--accent-cyan);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.legal-section a:hover {
  color: var(--accent-green);
}

/* Legal Cards (for Privacy) */
.legal-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  transition: border-color 0.2s ease;
}

.legal-card:hover {
  border-color: var(--border-color-light);
}

.legal-card:last-child {
  margin-bottom: 0;
}

.legal-card h2 {
  font-size: 20px;
  color: var(--text-white);
  margin-bottom: 16px;
  border-bottom: none;
  padding-bottom: 0;
}

.legal-card p {
  font-size: 15px;
  color: var(--text-gray-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.legal-card ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-gray-light);
  line-height: 1.6;
}

.legal-card ul li::before {
  content: '•';
  position: absolute;
  left: 12px;
  color: var(--accent-green);
  font-weight: bold;
  font-size: 18px;
}

.legal-card strong {
  color: var(--text-white);
  font-weight: 600;
}

.legal-card a {
  color: var(--accent-cyan);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.legal-card a:hover {
  color: var(--accent-green);
}

@media (max-width: 768px) {
  .legal-hero h1 {
    font-size: 28px;
  }

  .legal-intro {
    padding: 20px;
  }

  .legal-section h2 {
    font-size: 20px;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 14px;
  }
}

/* ========================================
   Cookie Policy Page
   ======================================== */

/* Cookies Layout */
.cookies-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 50px;
  align-items: start;
}

/* Table of Contents */
.cookies-toc {
  position: sticky;
  top: 100px;
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-color);
}

.cookies-toc h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.cookies-toc nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cookies-toc nav ul li {
  margin-bottom: 12px;
}

.cookies-toc nav ul li:last-child {
  margin-bottom: 0;
}

.cookies-toc nav ul li a {
  display: block;
  font-size: 14px;
  color: var(--text-gray-light);
  padding: 6px 0;
  transition: color 0.2s ease;
  position: relative;
}

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

.cookies-toc nav ul li a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background-color: var(--accent-green);
  transition: height 0.2s ease;
}

.cookies-toc nav ul li a:hover::before {
  height: 100%;
}

/* Cookies Main Content */
.cookies-main {
  max-width: 100%;
}

.cookies-main .legal-section h3 {
  font-size: 18px;
  color: var(--text-white);
  margin-top: 24px;
  margin-bottom: 12px;
}

.cookies-main .legal-section h3:first-of-type {
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .cookies-layout {
    grid-template-columns: 220px 1fr;
    gap: 40px;
  }

  .cookies-toc {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .cookies-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cookies-toc {
    position: static;
    order: 2;
  }

  .cookies-main {
    order: 1;
  }

  .cookies-toc h3 {
    font-size: 13px;
  }

  .cookies-toc nav ul li a {
    font-size: 13px;
  }
}

/* ========================================
   Contact Page
   ======================================== */

/* Contact Hero */
.contact-hero {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-hero-content {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-hero-icon svg {
  width: 40px;
  height: 40px;
  color: var(--text-white);
}

.contact-hero-text h1 {
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--text-white);
}

.contact-hero-text p {
  font-size: 16px;
  color: var(--text-gray-light);
  line-height: 1.7;
}

/* Contact Content */
.contact-content {
  background-color: var(--bg-primary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form-section h2,
.contact-info-section h2 {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--text-white);
}

.contact-info-section > p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Contact Form */
.contact-form {
  background-color: var(--bg-card);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-of-type {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-white);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-green);
}

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

.btn-large {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
}

/* Contact Info Cards */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-info-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--border-color);
  transition: border-color 0.2s ease;
}

.contact-info-card:hover {
  border-color: var(--accent-green);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: var(--accent-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-green);
}

.contact-info-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text-white);
}

.contact-info-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}

/* Contact Note */
.contact-note {
  background-color: var(--bg-card);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 16px;
}

.note-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--accent-cyan-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.note-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
}

.note-content h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-white);
}

.note-content p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 0;
}

.note-content a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.note-content a:hover {
  color: var(--accent-green);
}

@media (max-width: 768px) {
  .contact-hero-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-hero-text h1 {
    font-size: 28px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    padding: 24px;
  }

  .contact-note {
    flex-direction: column;
  }
}
