/* ============================================
   LUPPITO - Social Casino Games
   Norway-Inspired Color Palette
   ============================================ */

:root {
  /* Norway Flag Inspired */
  --navy: #0B1F3A;
  --deep-blue: #0D2847;
  --royal-blue: #0057B8;
  --norway-red: #BA0C2F;
  --gold: #C9A84C;
  --light-gold: #E8D5A0;

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #F4F6F9;
  --light-gray: #E2E6EC;
  --medium-gray: #8A95A5;
  --dark-gray: #3A4250;
  --near-black: #0A1420;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0B1F3A 0%, #0D2847 50%, #0057B8 100%);
  --gradient-card: linear-gradient(145deg, #0D2847 0%, #0B1F3A 100%);
  --gradient-gold: linear-gradient(135deg, #C9A84C 0%, #E8D5A0 50%, #C9A84C 100%);
  --gradient-red: linear-gradient(135deg, #BA0C2F 0%, #D4213D 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.3);
  --shadow-blue: 0 4px 20px rgba(0, 87, 184, 0.3);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 80px 0;
  --header-height: 72px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--white);
  background-color: var(--near-black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: var(--transition-normal);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   AGE VERIFICATION OVERLAY
   ============================================ */
.age-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 20, 32, 0.97);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.age-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.age-modal {
  background: var(--gradient-card);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  animation: modalPulse 2s ease-in-out infinite;
}

@keyframes modalPulse {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 30px rgba(201, 168, 76, 0.1); }
  50% { box-shadow: var(--shadow-lg), 0 0 50px rgba(201, 168, 76, 0.2); }
}

.age-badge {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--gradient-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.age-modal h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--white);
}

.age-modal p {
  color: var(--medium-gray);
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.age-modal .notice-small {
  font-size: 0.82rem;
  color: var(--medium-gray);
  margin-bottom: 28px;
  opacity: 0.8;
}

.age-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.age-btn {
  padding: 14px 40px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-normal);
}

.age-btn-yes {
  background: var(--gradient-gold);
  color: var(--navy);
}

.age-btn-yes:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.age-btn-no {
  background: rgba(255, 255, 255, 0.08);
  color: var(--medium-gray);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.age-btn-no:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(10, 20, 32, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  z-index: 1000;
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(10, 20, 32, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}

.logo svg {
  width: 36px;
  height: 36px;
}

.logo span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--medium-gray);
  position: relative;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.age-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gradient-red);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: rgba(10, 20, 32, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 40px 20px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--medium-gray);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold);
}

.mobile-nav a svg {
  width: 20px;
  height: 20px;
}

.mobile-nav .age-badge-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gradient-red);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 87, 184, 0.15) 0%, transparent 70%);
  animation: heroGlow 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 12, 47, 0.1) 0%, transparent 70%);
  animation: heroGlow 10s ease-in-out infinite reverse;
}

@keyframes heroGlow {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.1) translate(20px, -20px); }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-content h1 .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--medium-gray);
  margin-bottom: 16px;
  line-height: 1.7;
}

.hero-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(186, 12, 47, 0.1);
  border: 1px solid rgba(186, 12, 47, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 32px;
  font-size: 0.85rem;
  color: var(--medium-gray);
  line-height: 1.5;
}

.hero-notice svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--norway-red);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--gradient-gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 14px;
  transition: var(--transition-normal);
}

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

.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-normal);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-secondary svg {
  width: 18px;
  height: 18px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-game-preview {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.hero-game-preview img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-game-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(10, 20, 32, 0.95));
}

.hero-game-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.hero-game-overlay p {
  font-size: 0.85rem;
  color: var(--medium-gray);
}

.floating-badge {
  position: absolute;
  background: var(--gradient-card);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

.floating-badge.badge-1 {
  top: -10px;
  right: -20px;
  animation-delay: 0s;
}

.floating-badge.badge-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 1.5s;
}

.floating-badge svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.floating-badge span {
  font-size: 0.85rem;
  font-weight: 600;
}

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

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  color: var(--medium-gray);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================
   GAMES GRID
   ============================================ */
.games-section {
  background: var(--near-black);
}

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

.game-card {
  background: var(--gradient-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.08);
  transition: var(--transition-normal);
  position: relative;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.25);
  box-shadow: var(--shadow-gold);
}

.game-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.game-card-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gradient-red);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-card-body {
  padding: 20px;
}

.game-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.game-card-body p {
  font-size: 0.85rem;
  color: var(--medium-gray);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 20px;
}

.game-card-footer .free-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--gradient-gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 10px;
}

.play-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.play-btn svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.how-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}

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

.how-card {
  text-align: center;
  padding: 40px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  transition: var(--transition-normal);
}

.how-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-4px);
}

.how-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.how-icon svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.how-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.how-card p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ============================================
   FEATURES / WHY SECTION
   ============================================ */
.features-section {
  background: var(--near-black);
}

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

.feature-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: var(--transition-normal);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 168, 76, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ============================================
   RESPONSIBLE GAMBLING BANNER
   ============================================ */
.rg-banner {
  background: var(--gradient-card);
  border: 1px solid rgba(186, 12, 47, 0.2);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.rg-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(186, 12, 47, 0.08) 0%, transparent 70%);
}

.rg-banner-icon {
  width: 100px;
  height: 100px;
  min-width: 100px;
  border-radius: 24px;
  background: rgba(186, 12, 47, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.rg-banner-icon svg {
  width: 48px;
  height: 48px;
  color: var(--norway-red);
}

.rg-banner-content {
  position: relative;
  z-index: 1;
}

.rg-banner-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.rg-banner-content p {
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.rg-banner-content a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rg-banner-content a:hover {
  color: var(--light-gold);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--medium-gray);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   PAGE HEADER (Inner pages)
   ============================================ */
.page-header {
  padding: 140px 0 60px;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 87, 184, 0.12) 0%, transparent 70%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--medium-gray);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .separator {
  color: var(--medium-gray);
  opacity: 0.5;
}

.breadcrumb .current {
  color: var(--gold);
}

/* ============================================
   GAME PAGE
   ============================================ */
.game-page-section {
  padding: 40px 0 80px;
}

.game-info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  flex-wrap: wrap;
  gap: 16px;
}

.game-info-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.game-info-left .game-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-info-left .game-icon svg {
  width: 24px;
  height: 24px;
  color: var(--navy);
}

.game-info-left h2 {
  font-size: 1.3rem;
  font-weight: 700;
}

.game-info-left p {
  font-size: 0.85rem;
  color: var(--medium-gray);
}

.game-meta {
  display: flex;
  gap: 16px;
}

.game-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.game-meta-tag.free {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--gold);
}

.game-meta-tag.no-money {
  background: rgba(186, 12, 47, 0.1);
  border: 1px solid rgba(186, 12, 47, 0.2);
  color: var(--norway-red);
}

.game-iframe-wrapper {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.15);
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
  background: #000;
}

.game-iframe-wrapper iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.game-notice-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(186, 12, 47, 0.08);
  border: 1px solid rgba(186, 12, 47, 0.15);
  border-radius: 14px;
  margin-bottom: 32px;
}

.game-notice-bar svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--norway-red);
}

.game-notice-bar p {
  font-size: 0.88rem;
  color: var(--medium-gray);
  line-height: 1.5;
}

.game-description {
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  margin-bottom: 40px;
}

.game-description h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.game-description p {
  font-size: 0.95rem;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 12px;
}

.game-description ul {
  padding-left: 20px;
  margin-top: 12px;
}

.game-description ul li {
  list-style: disc;
  font-size: 0.92rem;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 4px;
}

.related-games {
  margin-top: 48px;
}

.related-games h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

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

.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: var(--transition-normal);
}

.related-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-3px);
}

.related-card-img {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 10px;
  overflow: hidden;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.related-card p {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}

/* ============================================
   GAMES PAGE (Listing)
   ============================================ */
.games-listing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.games-count {
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.games-count span {
  color: var(--gold);
  font-weight: 700;
}

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

.game-listing-card {
  display: flex;
  background: var(--gradient-card);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-normal);
}

.game-listing-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.game-listing-img {
  width: 280px;
  min-width: 280px;
  height: 220px;
  overflow: hidden;
}

.game-listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.game-listing-card:hover .game-listing-img img {
  transform: scale(1.05);
}

.game-listing-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.game-listing-body .game-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.game-listing-body .tag {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-free {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
}

.tag-new {
  background: rgba(0, 87, 184, 0.15);
  color: var(--royal-blue);
}

.tag-popular {
  background: rgba(186, 12, 47, 0.12);
  color: var(--norway-red);
}

.game-listing-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.game-listing-body p {
  font-size: 0.88rem;
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.game-listing-body .play-btn {
  align-self: flex-start;
}

/* Age notice on games page */
.games-age-notice {
  text-align: center;
  padding: 24px;
  background: rgba(186, 12, 47, 0.08);
  border: 1px solid rgba(186, 12, 47, 0.15);
  border-radius: 16px;
  margin-top: 48px;
}

.games-age-notice p {
  font-size: 0.88rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

.games-age-notice strong {
  color: var(--white);
}

/* ============================================
   RESPONSIBLE GAMBLING PAGE
   ============================================ */
.rg-content-section {
  padding: 40px 0 80px;
}

.rg-content-section .container {
  max-width: 800px;
}

.rg-article {
  margin-bottom: 48px;
}

.rg-article h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.rg-article h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--light-gold);
}

.rg-article p {
  font-size: 0.95rem;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 12px;
}

.rg-article ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.rg-article ul li {
  list-style: disc;
  font-size: 0.92rem;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 6px;
}

.rg-article a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rg-article a:hover {
  color: var(--light-gold);
}

.rg-highlight-box {
  padding: 24px 28px;
  background: rgba(0, 87, 184, 0.08);
  border: 1px solid rgba(0, 87, 184, 0.2);
  border-radius: 14px;
  margin-bottom: 24px;
}

.rg-highlight-box.warning {
  background: rgba(186, 12, 47, 0.08);
  border-color: rgba(186, 12, 47, 0.2);
}

.rg-highlight-box h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.rg-highlight-box p {
  margin-bottom: 0;
}

.rg-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.rg-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: var(--transition-normal);
}

.rg-link-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 168, 76, 0.2);
}

.rg-link-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rg-link-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.rg-link-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.rg-link-card p {
  font-size: 0.82rem;
  color: var(--medium-gray);
}

.rg-link-text {
  flex: 1;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content-section {
  padding: 40px 0 80px;
}

.about-content-section .container {
  max-width: 800px;
}

.about-article {
  margin-bottom: 48px;
}

.about-article h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-article p {
  font-size: 0.95rem;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.about-value-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.about-value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gold);
}

.about-value-card p {
  font-size: 0.88rem;
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   LEGAL PAGES (Privacy, Terms)
   ============================================ */
.legal-content-section {
  padding: 40px 0 80px;
}

.legal-content-section .container {
  max-width: 800px;
}

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

.legal-article h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.legal-article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--light-gold);
}

.legal-article p {
  font-size: 0.92rem;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 10px;
}

.legal-article ul {
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-article ul li {
  list-style: disc;
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 4px;
}

.legal-article a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-content-section {
  padding: 40px 0 80px;
}

.contact-content-section .container {
  max-width: 800px;
}

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

.contact-info-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  text-align: center;
  transition: var(--transition-normal);
}

.contact-info-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 168, 76, 0.2);
}

.contact-info-icon {
  margin-bottom: 16px;
}

.contact-info-icon svg,
.contact-info-card svg {
  width: 36px;
  height: 36px;
  color: var(--gold);
}

.contact-info-icon svg {
  margin-bottom: 0;
}

.contact-info-card svg {
  margin-bottom: 16px;
}

.contact-info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--gold);
}

.contact-text {
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.contact-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-text p {
  font-size: 0.92rem;
  color: var(--medium-gray);
  line-height: 1.8;
  margin-bottom: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--medium-gray);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-brand .footer-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(186, 12, 47, 0.08);
  border: 1px solid rgba(186, 12, 47, 0.15);
  border-radius: 10px;
  font-size: 0.78rem;
  color: var(--medium-gray);
}

.footer-brand .footer-notice svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: var(--norway-red);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--medium-gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--medium-gray);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--medium-gray);
}

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

.footer-gambleaware {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  margin-bottom: 32px;
}

.footer-gambleaware p {
  font-size: 0.82rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

.footer-gambleaware a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

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

  .game-listing-card {
    flex-direction: column;
  }

  .game-listing-img {
    width: 100%;
    min-width: unset;
    height: 200px;
  }

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

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --header-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

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

  .how-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .how-card {
    padding: 28px 20px;
  }

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

  .rg-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }

  .game-iframe-wrapper iframe {
    height: 400px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

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

  .game-info-left {
    flex-direction: column;
  }

  .game-meta {
    justify-content: center;
    flex-wrap: wrap;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

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

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

  .age-modal {
    padding: 32px 24px;
  }

  .age-buttons {
    flex-direction: column;
  }

  .age-btn {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .footer-gambleaware {
    flex-direction: column;
    text-align: center;
  }
}

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

  .section-header h2 {
    font-size: 1.5rem;
  }

  .game-card-image {
    height: 180px;
  }

  .hero-notice {
    padding: 12px 14px;
    font-size: 0.8rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .game-description {
    padding: 20px;
  }

  .game-listing-body {
    padding: 20px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--near-black);
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 168, 76, 0.5);
}

/* Overflow prevention */
.page-header,
.game-page-section,
.rg-content-section,
.about-content-section,
.contact-content-section,
.legal-content-section,
.games-section {
  overflow-x: hidden;
}

.legal-content-section .container {
  max-width: 800px;
}

.rg-content-section .container {
  max-width: 800px;
}

.about-content-section .container {
  max-width: 800px;
}

.contact-content-section .container {
  max-width: 800px;
}

.game-iframe-wrapper {
  position: relative;
}

.game-iframe-wrapper iframe {
  max-width: 100%;
}
