/* =============================================
   MINIPIXEL WEBSITE — Design System
   Colors extracted from the MiniPixel logo:
     Golden Yellow: #F5B731
     Pink/Coral:    #F291A3
     Cyan/Light Blue: #7DD4E8
     Dark Purple:   #2D1B4E
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Reset & Custom Properties --- */
:root {
  /* Brand Colors */
  --color-yellow: #F5B731;
  --color-pink: #F291A3;
  --color-cyan: #7DD4E8;
  --color-dark: #2D1B4E;
  --color-dark-light: #3d2b6e;

  /* Surfaces */
  --color-white: #FFFFFF;
  --color-bg: #FAFAFA;
  --color-bg-alt: #F0F0F5;
  --color-surface: #FFFFFF;
  --color-border: #E8E8EE;

  /* Text */
  --color-text: #1a1a2e;
  --color-text-secondary: #6B6B80;
  --color-text-light: #9999AA;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--color-yellow), var(--color-pink), var(--color-cyan));
  --gradient-hero: linear-gradient(135deg, #2D1B4E 0%, #4a2d7a 40%, #7DD4E8 100%);
  --gradient-dark: linear-gradient(135deg, #1a0f30 0%, #2D1B4E 50%, #3d2b6e 100%);
  --gradient-card: linear-gradient(180deg, rgba(45, 27, 78, 0.03) 0%, rgba(125, 212, 232, 0.05) 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Sizing */
  --nav-height: 80px;
  --container-max: 1200px;
  --container-wide: 1400px;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(45, 27, 78, 0.06);
  --shadow-md: 0 4px 24px rgba(45, 27, 78, 0.08);
  --shadow-lg: 0 8px 40px rgba(45, 27, 78, 0.12);
  --shadow-xl: 0 16px 64px rgba(45, 27, 78, 0.16);
  --shadow-glow-yellow: 0 0 30px rgba(245, 183, 49, 0.3);
  --shadow-glow-pink: 0 0 30px rgba(242, 145, 163, 0.3);
  --shadow-glow-cyan: 0 0 30px rgba(125, 212, 232, 0.3);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.navbar.dark-nav {
  background: transparent;
}

.navbar.dark-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.nav-logo img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.navbar.dark-nav .nav-links a {
  color: var(--color-white);
}

.navbar.dark-nav.scrolled .nav-links a {
  color: var(--color-text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-brand);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.dark-nav .hamburger span {
  background: var(--color-white);
}

.navbar.dark-nav.scrolled .hamburger span {
  background: var(--color-text);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--color-dark);
}

/* =============================================
   HERO SECTIONS
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 15, 48, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.hero-cta.primary {
  background: var(--color-yellow);
  color: var(--color-dark);
}

.hero-cta.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-yellow);
}

.hero-cta.secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.hero-cta.secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Floating pixel decorations */
.pixel-decor {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.pixel-decor:nth-child(1) {
  background: var(--color-yellow);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.pixel-decor:nth-child(2) {
  background: var(--color-pink);
  top: 30%;
  right: 15%;
  animation-delay: 1s;
}

.pixel-decor:nth-child(3) {
  background: var(--color-cyan);
  bottom: 25%;
  left: 20%;
  animation-delay: 2s;
}

.pixel-decor:nth-child(4) {
  background: #82D455;
  top: 60%;
  left: 5%;
  animation-delay: 3s;
  width: 8px;
  height: 8px;
}

.pixel-decor:nth-child(5) {
  background: var(--color-yellow);
  bottom: 15%;
  right: 10%;
  animation-delay: 4s;
  width: 10px;
  height: 10px;
}

.pixel-decor:nth-child(6) {
  background: #FF7E54;
  top: 15%;
  right: 25%;
  animation-delay: 1.5s;
  width: 6px;
  height: 6px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-15px) rotate(5deg);
  }

  50% {
    transform: translateY(-25px) rotate(-3deg);
  }

  75% {
    transform: translateY(-10px) rotate(2deg);
  }
}

/* Page Hero (smaller, for inner pages) */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: var(--nav-height);
}

.page-hero .hero-content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

/* =============================================
   SECTION STYLES
   ============================================= */
.section {
  padding: 100px 0;
}

.section.alt {
  background: var(--color-white);
}

.section.dark {
  background: var(--gradient-dark);
  color: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section.dark .section-header h2 {
  color: var(--color-white);
}

.section-header h2 span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section.dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* =============================================
   CARDS
   ============================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--color-border);
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

/* placeholder for game images */
.card-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
}

.card-image.placeholder.yellow {
  background: linear-gradient(135deg, #F5B731, #FFD980);
}

.card-image.placeholder.pink {
  background: linear-gradient(135deg, #F291A3, #FFB8C8);
}

.card-image.placeholder.cyan {
  background: linear-gradient(135deg, #7DD4E8, #A8E6F0);
}

.card-image.placeholder.purple {
  background: linear-gradient(135deg, #2D1B4E, #5B3F8E);
}

.card-image.placeholder.green {
  background: linear-gradient(135deg, #82D455, #A5E882);
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.card-body p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag.yellow {
  background: rgba(245, 183, 49, 0.15);
  color: #c48f1a;
}

.tag.pink {
  background: rgba(242, 145, 163, 0.15);
  color: #c25e75;
}

.tag.cyan {
  background: rgba(125, 212, 232, 0.15);
  color: #4a9bb0;
}

/* Store badges */
.store-badges {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.store-badge:hover {
  background: var(--color-dark-light);
  transform: translateY(-2px);
}

.store-badge svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* =============================================
   QUICK LINKS GRID (Homepage)
   ============================================= */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.quick-link {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.quick-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: var(--transition);
  border-radius: var(--radius) var(--radius) 0 0;
}

.quick-link:nth-child(1)::before {
  background: var(--color-yellow);
}

.quick-link:nth-child(2)::before {
  background: var(--color-pink);
}

.quick-link:nth-child(3)::before {
  background: var(--color-cyan);
}

.quick-link:nth-child(4)::before {
  background: var(--color-dark);
}

.quick-link:nth-child(5)::before {
  background: var(--color-yellow);
}

.quick-link:nth-child(6)::before {
  background: var(--color-pink);
}

.quick-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.quick-link-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.quick-link:nth-child(1) .quick-link-icon {
  background: rgba(245, 183, 49, 0.12);
}

.quick-link:nth-child(2) .quick-link-icon {
  background: rgba(242, 145, 163, 0.12);
}

.quick-link:nth-child(3) .quick-link-icon {
  background: rgba(125, 212, 232, 0.12);
}

.quick-link:nth-child(4) .quick-link-icon {
  background: rgba(45, 27, 78, 0.08);
}

.quick-link:nth-child(5) .quick-link-icon {
  background: rgba(245, 183, 49, 0.12);
}

.quick-link:nth-child(6) .quick-link-icon {
  background: rgba(242, 145, 163, 0.12);
}

.quick-link h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.quick-link p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* =============================================
   VALUES / FEATURES GRID
   ============================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.value-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

/* =============================================
   ABOUT PAGE — Stats
   ============================================= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
  padding: 60px 0;
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* =============================================
   AWARDS SECTION
   ============================================= */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.award-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.award-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-yellow);
}

.award-badge {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-yellow), #FFD980);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.award-info h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.award-info p {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* =============================================
   ECOSYSTEM PAGE — Locations
   ============================================= */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.location-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: var(--transition);
}

.location-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.location-card .emoji {
  font-size: 2rem;
  margin-bottom: 12px;
}

.location-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.location-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* =============================================
   LEGAL PAGE
   ============================================= */
.legal-page {
  padding-top: var(--nav-height);
  padding-bottom: 0;
}

.legal-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  align-self: start;
}

.legal-sidebar h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-sidebar a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: var(--transition);
  margin-bottom: 4px;
}

.legal-sidebar a:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.legal-sidebar a.active {
  background: rgba(45, 27, 78, 0.08);
  color: var(--color-dark);
  font-weight: 600;
}

.legal-content {
  min-height: 60vh;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.legal-content .last-modified,
.legal-content .legal-updated {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--color-text-secondary);
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content ul li {
  list-style: disc;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--color-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--color-yellow);
}

.legal-panel {
  display: none;
}

.legal-panel.active {
  display: block;
}

/* =============================================
   CUSTOMER SUPPORT
   ============================================= */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.support-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.support-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--color-cyan);
}

.support-card-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--gradient-card);
}

.support-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.support-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* =============================================
   NEWS PAGE
   ============================================= */
.news-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  justify-content: center;
}

.news-filter button {
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  transition: var(--transition);
}

.news-filter button:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.news-filter button.active {
  background: var(--color-dark);
  color: var(--color-white);
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--color-white);
  box-shadow: 0 -4px 30px rgba(45, 27, 78, 0.15);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transform: translateY(100%);
  transition: var(--transition-slow);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  flex: 1;
}

.cookie-banner p a {
  color: var(--color-dark);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  white-space: nowrap;
}

.cookie-btn.accept {
  background: var(--color-dark);
  color: var(--color-white);
}

.cookie-btn.accept:hover {
  background: var(--color-dark-light);
}

.cookie-btn.manage {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.cookie-btn.manage:hover {
  background: var(--color-border);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 15, 48, 0.5);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 90%;
  padding: 40px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.cookie-modal h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.cookie-modal>p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cookie-category {
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-category h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}

.cookie-category p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 8px;
  line-height: 1.5;
}

/* Toggle switch */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle input:checked+.toggle-slider {
  background: var(--color-dark);
}

.toggle input:checked+.toggle-slider::before {
  transform: translateX(20px);
}

.toggle input:disabled+.toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.cookie-modal-buttons button {
  flex: 1;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 45px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--color-yellow);
  color: var(--color-dark);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--color-yellow);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover {
  color: var(--color-yellow);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.btn-primary {
  background: var(--color-yellow);
  color: var(--color-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-yellow);
}

.btn-secondary {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-dark-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-dark);
  background: rgba(45, 27, 78, 0.04);
}

.btn-white {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* =============================================
   TEXT CONTENT SECTION
   ============================================= */
.text-block {
  max-width: 800px;
  margin: 0 auto;
}

.text-block h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.text-block p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

/* Two column layout */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-cols.reversed {
  direction: rtl;
}

.two-cols.reversed>* {
  direction: ltr;
}

.col-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.col-content p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.col-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.col-image img {
  width: 100%;
  display: block;
}

.col-image.placeholder-img {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-cols.reversed {
    direction: ltr;
  }

  .legal-container {
    grid-template-columns: 200px 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .navbar {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .section {
    padding: 64px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .legal-container {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .legal-sidebar h3 {
    width: 100%;
  }

  .legal-sidebar a {
    flex: 1;
    min-width: 120px;
    text-align: center;
    font-size: 0.8rem;
    padding: 10px 12px;
    background: var(--color-bg-alt);
    border-radius: 50px;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }
}