/* ============================================
   TYPEPLAY - Brutalist Game Marketplace
   Mobile-First Responsive Design
   ============================================ */

/* ============================================
   CSS Variables - Theme System
   ============================================ */

:root {
  /* Colors */
  --background: #ffffff;
  --foreground: #0f172a;
  --card: #fafafa;
  --card-foreground: #0f172a;
  --popover: #ffffff;
  --popover-foreground: #0f172a;
  --primary: #000000;
  --primary-foreground: #ffffff;
  --secondary: #f1f5f9;
  --secondary-foreground: #0f172a;
  --muted: #f8fafc;
  --muted-foreground: #64748b;
  --accent: #e2e8f0;
  --accent-foreground: #0f172a;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --border: #e2e8f0;
  --input: #f8fafc;
  --ring: #000000;

  /* Typography */
  --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border */
  --border-width: 2px;
  --border-radius: 0;
  
  /* Transitions */
  --transition-speed: 150ms;
}

[data-theme="dark"] {
  --background: #0f172a;
  --foreground: #f8fafc;
  --card: #1e293b;
  --card-foreground: #f8fafc;
  --popover: #1e293b;
  --popover-foreground: #f8fafc;
  --primary: #ffffff;
  --primary-foreground: #0f172a;
  --secondary: #334155;
  --secondary-foreground: #e2e8f0;
  --muted: #1e293b;
  --muted-foreground: #94a3b8;
  --accent: #334155;
  --accent-foreground: #e2e8f0;
  --border: #334155;
  --input: #1e293b;
  --ring: #ffffff;
}

/* ============================================
   OVERFLOW PREVENTION - Foundation
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

img, video, iframe, embed, object, svg {
  max-width: 100%;
  height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
  min-width: 0;
}

pre, code, .code-block, [class*="code"] {
  max-width: 100%;
  overflow-x: auto;
}

pre code,
.code-block code {
  display: block;
  min-width: 0;
}

.table-wrapper,
[class*="table-"] {
  max-width: 100%;
  overflow-x: auto;
}

p, li, td, th {
  overflow-wrap: break-word;
}

input, textarea, select {
  max-width: 100%;
}

/* ============================================
   BASE STYLES
   ============================================ */

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin: 0 0 1rem 0;
}

a {
  color: var(--foreground);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  opacity: 0.7;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-xl);
  text-align: center;
  letter-spacing: -0.03em;
}

/* ============================================
   HEADER - Sticky Navigation
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--background);
  border-bottom: var(--border-width) solid var(--foreground);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 48px;
  height: 48px;
}

.logo-text {
  display: none;
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--foreground);
  transition: width var(--transition-speed) ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: var(--border-width) solid var(--foreground);
  padding: var(--space-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--foreground);
  transition: all var(--transition-speed) ease;
}

.theme-toggle:hover {
  background-color: var(--foreground);
  color: var(--background);
}

.theme-icon {
  width: 24px;
  height: 24px;
}

.theme-icon .moon {
  display: none;
}

[data-theme="dark"] .theme-icon .sun {
  display: none;
}

[data-theme="dark"] .theme-icon .moon {
  display: block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  background: transparent;
  border: var(--border-width) solid var(--foreground);
  cursor: pointer;
  padding: var(--space-xs);
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--foreground);
  transition: all var(--transition-speed) ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: var(--space-md);
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

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

.nav-link-mobile {
  padding: var(--space-md);
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: var(--space-3xl) 0;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: var(--space-xl);
  color: var(--muted-foreground);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.hero-microcopy {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-size: 1.125rem;
  font-weight: 600;
  border: var(--border-width) solid var(--foreground);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  text-align: center;
  min-height: 56px;
  font-family: var(--font-primary);
}

.btn-primary {
  background-color: var(--foreground);
  color: var(--background);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--background);
  color: var(--foreground);
}

.btn-secondary:hover {
  background-color: var(--foreground);
  color: var(--background);
}

.btn-primary-large {
  padding: var(--space-lg) var(--space-3xl);
  font-size: 1.5rem;
}

/* ============================================
   GAME INDEX SECTION
   ============================================ */

.game-index {
  padding: var(--space-3xl) 0;
  background-color: var(--background);
}

.index-intro {
  max-width: 800px;
  margin: 0 auto var(--space-xl) auto;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.filters {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  max-width: 100%;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-width: 0;
}

.filter-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-select {
  padding: var(--space-md);
  font-size: 1rem;
  font-family: var(--font-primary);
  border: var(--border-width) solid var(--foreground);
  background-color: var(--background);
  color: var(--foreground);
  cursor: pointer;
  width: 100%;
  max-width: 100%;
}

/* Game Table */
.game-table-wrapper {
  overflow-x: auto;
  margin-bottom: var(--space-xl);
  border: var(--border-width) solid var(--foreground);
  min-width: 0;
  max-width: 100%;
}

.game-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.game-table thead {
  background-color: var(--foreground);
  color: var(--background);
  position: sticky;
  top: 80px;
  z-index: 10;
}

.game-table th {
  padding: var(--space-md);
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-right: 1px solid var(--background);
}

.game-table th:last-child {
  border-right: none;
}

.game-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.game-row {
  transition: background-color var(--transition-speed) ease;
}

.game-row:hover {
  background-color: var(--muted);
}

.game-title {
  font-weight: 600;
  font-size: 1.125rem;
}

.game-desc {
  color: var(--muted-foreground);
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--foreground);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.game-price {
  font-weight: 700;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.game-view {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.game-view:hover {
  text-decoration: underline;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.pagination-btn {
  padding: var(--space-sm) var(--space-md);
  border: var(--border-width) solid var(--foreground);
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.pagination-btn:hover:not(:disabled) {
  background-color: var(--foreground);
  color: var(--background);
}

.pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination-info {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
}

/* ============================================
   EDITORIAL SECTION
   ============================================ */

.editorial {
  padding: var(--space-3xl) 0;
  background-color: var(--muted);
}

.editorial-block {
  margin-bottom: var(--space-3xl);
  max-width: 600px;
}

.editorial-left {
  margin-left: 0;
}

.editorial-right {
  margin-left: auto;
  text-align: right;
}

.editorial-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.editorial-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: var(--space-md);
}

.editorial-list {
  list-style: none;
  margin-bottom: var(--space-md);
}

.editorial-list li {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 20px;
}

.editorial-list li::before {
  content: '■';
  position: absolute;
  left: 0;
  font-size: 10px;
  top: 8px;
}

.editorial-right .editorial-list li {
  padding-left: 0;
  padding-right: 20px;
}

.editorial-right .editorial-list li::before {
  left: auto;
  right: 0;
}

.editorial-link {
  font-weight: 600;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.editorial-footer {
  text-align: center;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.editorial-trust {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-style: italic;
}

.editorial-content {
  max-width: 800px;
  margin: var(--space-3xl) auto 0 auto;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.editorial-content h3 {
  font-size: 1.5rem;
  margin: var(--space-xl) 0 var(--space-md) 0;
  color: var(--foreground);
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process {
  padding: var(--space-3xl) 0;
  background-color: var(--background);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.process-step {
  text-align: center;
  padding: var(--space-xl);
  border: var(--border-width) solid var(--foreground);
  position: relative;
}

.step-number {
  font-size: 4rem;
  font-weight: 200;
  line-height: 1;
  color: var(--muted-foreground);
  display: block;
  margin-bottom: var(--space-md);
}

.step-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.badge {
  padding: var(--space-md) var(--space-lg);
  border: var(--border-width) solid var(--foreground);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.statistics {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

.stat-separator {
  margin: 0 var(--space-md);
  color: var(--muted-foreground);
}

.process-content {
  max-width: 800px;
  margin: var(--space-3xl) auto 0 auto;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.process-content h3 {
  font-size: 1.5rem;
  margin: var(--space-xl) 0 var(--space-md) 0;
  color: var(--foreground);
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.final-cta {
  padding: var(--space-3xl) 0;
  background-color: var(--foreground);
  color: var(--background);
}

.final-cta .container {
  text-align: center;
}

.cta-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  color: var(--background);
}

.cta-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
  color: #999999;
}

.final-cta .btn-primary-large {
  background-color: var(--background);
  color: var(--foreground);
  border-color: var(--background);
  margin-bottom: var(--space-md);
}

.final-cta .btn-primary-large:hover {
  opacity: 0.9;
}

.cta-trust {
  font-size: 0.875rem;
  color: #999999;
  margin-bottom: var(--space-md);
}

.cta-alternative {
  font-size: 1rem;
  color: var(--background);
}

.cta-link {
  color: var(--background);
  text-decoration: underline;
}

.cta-link:hover {
  opacity: 0.8;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial {
  padding: var(--space-xl);
  border-left: var(--border-width) solid var(--background);
  text-align: left;
}

.testimonial-quote {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  color: var(--background);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--background);
}

.author-role {
  font-size: 0.875rem;
  color: #999999;
}

/* SEO Content */
.seo-content {
  max-width: 800px;
  margin: var(--space-3xl) auto 0 auto;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #cccccc;
  text-align: left;
}

.seo-content h3 {
  font-size: 1.5rem;
  margin: var(--space-xl) 0 var(--space-md) 0;
  color: var(--background);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: var(--space-3xl) 0 var(--space-lg) 0;
  background-color: #f9f9f9;
  border-top: var(--border-width) solid var(--foreground);
}

[data-theme="dark"] .footer {
  background-color: #0a0f1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-column {
  min-width: 0;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.footer-mission {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin-bottom: var(--space-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: 1rem;
  line-height: 2;
  position: relative;
  display: inline-block;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-principles {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 1rem;
}

.footer-principles li {
  line-height: 1.8;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 0;
  margin-bottom: var(--space-sm);
}

.newsletter-input {
  flex: 1;
  padding: var(--space-md);
  border: var(--border-width) solid var(--foreground);
  border-right: none;
  font-family: var(--font-primary);
  font-size: 1rem;
  background-color: var(--background);
  color: var(--foreground);
  min-width: 0;
}

.newsletter-btn {
  padding: var(--space-md) var(--space-lg);
  background-color: var(--foreground);
  color: var(--background);
  border: var(--border-width) solid var(--foreground);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  opacity: 0.9;
}

.newsletter-info {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Footer Categories */
.footer-categories {
  margin: var(--space-xl) 0;
}

.footer-categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.category-link {
  font-size: 0.9375rem;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--border);
}

.category-link:hover {
  background-color: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}

.footer-divider {
  height: 1px;
  background-color: #cccccc;
  margin: var(--space-xl) 0;
}

[data-theme="dark"] .footer-divider {
  background-color: #334155;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.legal-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.legal-link:hover {
  text-decoration: underline;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.trust-badge {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-content {
  margin-top: var(--space-xl);
}

.legal-section {
  margin-bottom: var(--space-xl);
}

.legal-section h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--foreground);
  color: var(--background);
  padding: var(--space-md);
  border-top: var(--border-width) solid var(--background);
  z-index: 9999;
  transition: transform var(--transition-speed) ease;
}

.cookie-banner[aria-hidden="true"] {
  transform: translateY(100%);
}

.cookie-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.cookie-actions {
  display: flex;
  gap: var(--space-md);
}

.cookie-btn {
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: var(--border-width) solid var(--background);
  transition: all var(--transition-speed) ease;
}

.cookie-accept {
  background-color: var(--background);
  color: var(--foreground);
}

.cookie-reject {
  background-color: transparent;
  color: var(--background);
}

.cookie-accept:hover,
.cookie-reject:hover {
  opacity: 0.8;
}

/* ============================================
   TABLET RESPONSIVE - 768px+
   ============================================ */

@media (min-width: 768px) {
  .logo-text {
    display: inline;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }

  .filters {
    flex-direction: row;
    justify-content: space-between;
  }

  .filter-group {
    flex: 1;
  }

  .game-desc {
    max-width: 400px;
  }

  .process-steps {
    flex-direction: row;
    align-items: flex-start;
  }

  .process-step {
    flex: 1;
  }

  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 10%;
    height: 80%;
    width: 2px;
    background-color: var(--foreground);
  }

  .testimonials {
    flex-direction: row;
  }

  .testimonial {
    flex: 1;
  }

  .cta-title {
    font-size: 5rem;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-legal {
    flex-direction: row;
    align-items: center;
    gap: var(--space-lg);
  }

  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ============================================
   DESKTOP RESPONSIVE - 1024px+
   ============================================ */

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }

  .hero-title {
    font-size: 6rem;
  }

  .hero-subtitle {
    font-size: 2rem;
  }

  .game-desc {
    max-width: 500px;
  }

  .cta-title {
    font-size: 6rem;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   ACCESSIBILITY - Focus States
   ============================================ */

*:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   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);
}