@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@500;700;900&display=swap');

/* CSS Custom Properties - Design System */
:root {
  /* Color Palette */
  --bg-base: #060608;
  --bg-surface: #0e0e12;
  --bg-surface-elevated: #15151c;
  --bg-surface-glass: rgba(14, 14, 18, 0.8);
  
  --primary: #ff5100;
  --primary-hover: #ff6a00;
  --primary-glow: rgba(255, 81, 0, 0.35);
  --primary-light: #ff8833;
  
  --accent-gold: #ffb700;
  --accent-blue: #00b0ff;
  --accent-green: #00e676;
  
  --text-primary: #ffffff;
  --text-secondary: #c0c5d5;
  --text-muted: #9499a8;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 81, 0, 0.6);
  --border-glow: rgba(255, 81, 0, 0.15);
  
  /* Fonts */
  --font-display: 'Orbitron', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing & Utilities */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --shadow-glow: 0 0 20px var(--primary-glow);
  --max-width: 1200px;
}

/* Base resets & styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

/* Accessibility: Visible Focus States */
:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 10000;
  transition: top 0.2s ease;
  font-weight: bold;
}

.skip-link:focus {
  top: 0;
}

/* Reusable Layout Components */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 4.5rem 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 0;
  }
}

.bg-dark-1 {
  background-color: #060608;
}

.bg-dark-2 {
  background-color: #0d0d12;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.bg-light-section {
  background-color: #f9fafb;
  color: #374151;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.bg-light-section h2, 
.bg-light-section h3, 
.bg-light-section h4, 
.bg-light-section th {
  color: #111827 !important;
}

.bg-light-section .section-header h2 {
  background: linear-gradient(135deg, #111827 40%, var(--primary) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.bg-light-section p {
  color: #4b5563 !important;
}

.bg-light-section .mode-card,
.bg-light-section .map-gallery-card,
.bg-light-section .req-table-card,
.bg-light-section .firelink-box,
.bg-light-section .patch-card,
.bg-light-section .pet-card,
.bg-light-section .weapon-card,
.bg-light-section .guide-box,
.bg-light-section .faq-item {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.bg-light-section .patch-card:hover,
.bg-light-section .pet-card:hover,
.bg-light-section .mode-card:hover,
.bg-light-section .map-gallery-card:hover,
.bg-light-section .faq-item.active {
  border-color: var(--primary) !important;
  box-shadow: 0 8px 24px rgba(255, 81, 0, 0.08) !important;
}

.bg-light-section .patch-banner {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.bg-light-section .patch-title-container h3,
.bg-light-section .patch-card-title,
.bg-light-section .mode-card-header h3,
.bg-light-section .map-gallery-title,
.bg-light-section .req-table-header h3,
.bg-light-section .pet-card h3,
.bg-light-section .weapon-name,
.bg-light-section .guide-box h3,
.bg-light-section .guide-box h4,
.bg-light-section .faq-trigger {
  color: #111827 !important;
}

.bg-light-section .patch-title-container p {
  color: #4b5563 !important;
}

.bg-light-section .patch-card-icon {
  background: rgba(255, 81, 0, 0.08) !important;
  color: var(--primary) !important;
  border-radius: var(--radius-sm);
}

.bg-light-section .mode-stat-label,
.bg-light-section .spec-label,
.bg-light-section .mode-stat-val,
.bg-light-section .spec-value {
  color: #111827 !important;
}

.bg-light-section .mode-stat-label,
.bg-light-section .spec-label {
  color: #6b7280 !important;
}

.bg-light-section .mode-bullets li,
.bg-light-section .enhancement-item p,
.bg-light-section .map-gallery-desc,
.bg-light-section .patch-card p,
.bg-light-section .pet-desc,
.bg-light-section .weapon-stat-meta span,
.bg-light-section .faq-content {
  color: #4b5563 !important;
}

.bg-light-section .enhancement-item h4 {
  color: #111827 !important;
  border-left-color: var(--primary) !important;
}

.bg-light-section .req-table th {
  background: #f3f4f6 !important;
  color: #374151 !important;
}

.bg-light-section .req-table td {
  border-bottom: 1px solid #e5e7eb !important;
  color: #4b5563 !important;
}

.bg-light-section .sens-val-badge {
  background: #f3f4f6 !important;
  color: #111827 !important;
  border: 1px solid #e5e7eb !important;
}

.bg-light-section .reqs-tab-btn,
.bg-light-section .showcase-tab-btn,
.bg-light-section .weapon-filter-btn {
  background: #f3f4f6 !important;
  color: #4b5563 !important;
  border: 1px solid #e5e7eb !important;
}

.bg-light-section .reqs-tab-btn.active,
.bg-light-section .showcase-tab-btn.active,
.bg-light-section .weapon-filter-btn.active {
  background: var(--primary) !important;
  color: white !important;
  border-color: var(--primary) !important;
}

.bg-light-section .mode-badge,
.bg-light-section .pet-ability,
.bg-light-section .weapon-category {
  background: rgba(255, 81, 0, 0.1) !important;
  color: var(--primary) !important;
  border: 1px solid rgba(255, 81, 0, 0.2) !important;
}

.bg-light-section .pet-avatar {
  background: #f3f4f6 !important;
  color: #111827 !important;
  border: 1px solid #e5e7eb !important;
}

.bg-light-section #char-display-box {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.bg-light-section .char-avatar-fallback {
  background: #f3f4f6 !important;
  color: #111827 !important;
  border: 1px solid #e5e7eb !important;
}

.bg-light-section .weapon-stat-bar-container {
  background: #e5e7eb !important;
}

.bg-light-section .weapon-stat-bar {
  background: var(--primary) !important;
}

.bg-light-section .db-info-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
  color: #4b5563 !important;
}

.bg-light-section .db-info-card h4 {
  color: #111827 !important;
}

.bg-light-section .db-info-card li {
  color: #4b5563 !important;
}

.bg-light-section .step-card {
  border-bottom-color: #e5e7eb !important;
}

.bg-light-section .step-num {
  color: var(--primary) !important;
}

.bg-light-section .path-code {
  background: #f3f4f6 !important;
  color: #111827 !important;
}

.bg-light-section .warning-box {
  background: #fffbeb !important;
  border: 1px solid #fef3c7 !important;
  color: #b45309 !important;
}

.bg-light-section .warning-header {
  color: #92400e !important;
}

.bg-light-section .warning-desc li {
  color: #b45309 !important;
}

.bg-light-section .step-card {
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
}

.bg-light-section .step-card h4 {
  color: #111827 !important;
}

.bg-light-section .step-card p {
  color: #4b5563 !important;
}

.bg-light-section .character-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}

.bg-light-section .char-stat-box {
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
}

.bg-light-section .char-stat-title {
  color: #6b7280 !important;
}

.bg-light-section .char-stat-desc {
  color: #111827 !important;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff 40%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

/* Dynamic glow divider */
.glow-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: var(--shadow-glow);
  opacity: 0.3;
}

/* Premium Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #d83d00);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 81, 0, 0.3);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  transform: scale(0);
  transition: transform 0.5s ease-out;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 81, 0, 0.5), var(--shadow-glow);
}

.btn-primary:hover::after {
  transform: scale(1);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: white;
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.btn-secondary:active {
  transform: translateY(1px);
}

/* App Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 999;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  max-width: 160px;
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}


.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .nav-menu {
    gap: 1.75rem;
  }
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
}

@media (min-width: 640px) {
  .nav-link {
    font-size: 0.85rem;
  }
}

.nav-link:hover {
  color: var(--primary-light);
}

/* Dropdown styling */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

@media (min-width: 640px) {
  .dropdown-btn {
    font-size: 0.85rem;
    gap: 0.35rem;
  }
}

.dropdown-btn:hover {
  color: var(--primary-light);
}

.dropdown-arrow {
  transition: transform 0.2s ease;
  width: 10px;
  height: 10px;
}

@media (min-width: 640px) {
  .dropdown-arrow {
    width: 12px;
    height: 12px;
  }
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #0d0d12;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  z-index: 1000;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  animation: fadeIn 0.15s ease-out;
}

.dropdown-content::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: var(--text-secondary);
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
  background-color: rgba(255, 81, 0, 0.08);
  color: var(--primary-light);
}

.nav-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background: var(--bg-surface);
  z-index: 998;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .nav-link {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
  }
  .nav-link:hover {
    color: white;
  }
  .nav-link:hover::after {
    width: 100%;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #060608;
}

/* Hero background with overlays */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: url('assets/hero_bg.png') no-repeat center center;
  background-size: cover;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: radial-gradient(circle at center, transparent 35%, rgba(6, 6, 8, 0.4) 95%),
              linear-gradient(to bottom, transparent 0%, rgba(6, 6, 8, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.hero-specs-vertical {
  background: rgba(14, 14, 18, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.spec-vertical-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.spec-vertical-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 81, 0, 0.15);
  border: 1px solid var(--border-focus);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title span {
  display: block;
  background: linear-gradient(135deg, var(--primary), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255, 81, 0, 0.2);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-description {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.1rem;
  }
}

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

.spec-value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

/* CTAs and Download area */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.85rem;
}

.hero-ctas .btn {
  flex-shrink: 0;
}

.download-app-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #000;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  transition: var(--transition-smooth);
}

.store-btn:hover {
  border-color: var(--primary);
  background: var(--bg-surface);
  transform: translateY(-2px);
}

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

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-subtext {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.store-title {
  font-size: 0.85rem;
  font-weight: bold;
}

.trust-indicators {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

@media (min-width: 640px) {
  .trust-indicators {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item svg {
  color: var(--accent-green);
  width: 16px;
  height: 16px;
}

/* What is Free Fire MAX & Firelink two-column structure */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.enhancement-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.enhancement-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: white;
  text-transform: uppercase;
  border-left: 3px solid var(--primary);
  padding-left: 0.75rem;
  letter-spacing: 0.02em;
}

.enhancement-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Patch Highlights Section */
.patch-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/hero_bg.png') no-repeat center center;
  background-size: cover;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .patch-banner {
    flex-direction: row;
    align-items: center;
    padding: 3rem;
  }
}

.patch-badge-big {
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-weight: 900;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  width: max-content;
  box-shadow: var(--shadow-glow);
}

.patch-title-container h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.patch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .patch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .patch-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.patch-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.patch-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-glow);
  box-shadow: 0 10px 25px rgba(255, 81, 0, 0.1);
}

.patch-card-icon {
  color: var(--primary-light);
}

.patch-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

/* Game Modes Grid */
.modes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .modes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mode-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mode-card-header {
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.mode-badge {
  display: inline-block;
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.mode-card:nth-child(1) .mode-badge {
  background: rgba(255, 81, 0, 0.15);
  color: var(--primary-light);
}
.mode-card:nth-child(2) .mode-badge {
  background: rgba(0, 176, 255, 0.15);
  color: var(--accent-blue);
}
.mode-card:nth-child(3) .mode-badge {
  background: rgba(255, 183, 0, 0.15);
  color: var(--accent-gold);
}

.mode-title {
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.mode-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.mode-stats-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-surface-elevated);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.mode-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.mode-stat-label {
  color: var(--text-muted);
}

.mode-stat-val {
  font-weight: 600;
  color: white;
}

.mode-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.mode-bullets li {
  position: relative;
  padding-left: 1.25rem;
}

.mode-bullets li::before {
  content: '▪';
  color: var(--primary);
  position: absolute;
  left: 0;
}

/* Character Database Showcase */
.showcase-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .showcase-wrapper {
    padding: 2.5rem;
  }
}

.showcase-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.showcase-tab-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.showcase-tab-btn:hover {
  color: white;
  background: rgba(255,255,255,0.02);
}

.showcase-tab-btn.active {
  color: white;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(255, 81, 0, 0.2);
}

.character-display {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .character-display {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.character-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.character-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
}

.char-avatar-fallback {
  width: 80px;
  height: 80px;
  background: rgba(255, 81, 0, 0.1);
  color: var(--primary-light);
  border-radius: var(--radius-full);
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  border: 2px solid var(--border-focus);
}

.char-title {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.char-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary-light);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.char-details-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.char-stat-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.char-stat-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.char-stat-desc {
  font-size: 0.95rem;
  color: white;
}

/* Pets Grid style */
.pets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .pets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .pets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pet-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.pet-card:hover {
  border-color: var(--primary-glow);
  transform: translateY(-2px);
}

.pet-avatar {
  background: rgba(255, 183, 0, 0.1);
  color: var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pet-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.pet-ability {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.pet-desc {
  font-size: 0.85rem;
}

/* Weapon Statistics Center */
.weapon-filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
  scrollbar-width: thin;
}

.weapon-filter-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.weapon-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.weapons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .weapons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .weapons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.weapon-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.weapon-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.weapon-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.weapon-category {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  background: rgba(255,255,255,0.05);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.weapon-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.weapon-stat-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.weapon-stat-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.weapon-stat-bar-container {
  height: 4px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.weapon-stat-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-gold));
  border-radius: var(--radius-full);
}

/* Maps Gallery */
.maps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .maps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.map-gallery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
}

.map-gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-glow);
}

.map-img-box {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-surface-elevated);
  position: relative;
}

.map-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.map-gallery-card:hover .map-img-box img {
  transform: scale(1.05);
}

.map-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 40%, rgba(6, 6, 8, 0.9) 100%);
}

.map-gallery-info {
  padding: 1.25rem;
}

.map-gallery-title {
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.map-gallery-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* System Requirements */
.reqs-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.reqs-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.reqs-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.reqs-panels-container {
  position: relative;
}

.reqs-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.reqs-panel.active {
  display: block;
}

.reqs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .reqs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.req-table-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.req-table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.req-table-header h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.req-badge {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.req-badge-min {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
}

.req-badge-rec {
  background: rgba(255, 81, 0, 0.15);
  color: var(--primary-light);
}

.req-table {
  width: 100%;
  border-collapse: collapse;
}

.req-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.req-table tr:last-child td {
  border-bottom: none;
}

.req-table td:first-child {
  color: var(--text-muted);
  width: 35%;
  font-weight: 500;
}

.req-table td:last-child {
  color: white;
  font-weight: 600;
}

/* Guides: Sideloading and Installation */
.guide-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .guide-container {
    grid-template-columns: 1fr 1.2fr;
  }
}

.guide-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .guide-box {
    padding: 2.5rem;
  }
}

.guide-box h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.step-content p {
  font-size: 0.85rem;
}

.path-code {
  display: block;
  background: #000;
  border: 1px solid var(--border-light);
  color: var(--accent-gold);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  word-break: break-all;
}

/* Warnings and Anti-Cheat Box */
.warning-box {
  background: rgba(216, 61, 0, 0.05);
  border: 1px solid rgba(216, 61, 0, 0.2);
  border-left: 4px solid #d83d00;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
}

.warning-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ff3d00;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.warning-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Sensitivity Settings Styling */
.sens-table-container {
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.sens-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.sens-table th, .sens-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.sens-table th {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sens-table td {
  font-size: 0.95rem;
}

.sens-table tr:last-child td {
  border-bottom: none;
}

.sens-val-badge {
  background: rgba(255, 81, 0, 0.15);
  color: var(--primary-light);
  font-family: var(--font-display);
  font-weight: bold;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* FAQ Accordion Styling */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(255,255,255,0.12);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  color: white;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--primary-light);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-panel {
  max-height: 500px; /* arbitrary height to slide down */
}

/* Footer Section */
.footer {
  background: #030304;
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  font-size: 0.85rem;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: white;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

/* Scroll reveal animations class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animation Keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive video player container */
.video-container-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.video-container-wrapper:hover {
  transform: translateY(-3px);
  border-color: var(--primary-glow);
}

.video-container-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* About page specific layouts */
.about-hero {
  position: relative;
  min-height: 55vh;
  padding-top: 140px;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #060608;
}

.about-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.about-hero-content h1 {
  font-size: 2.8rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 40%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.about-hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tech-sync-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .tech-sync-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.tech-image-box {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.tech-image-box:hover {
  transform: scale(1.015);
}

.tech-image-box img {
  width: 100%;
  height: auto;
  display: block;
}

.milestones-dashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .milestones-dashboard {
    grid-template-columns: repeat(4, 1fr);
  }
}

.milestone-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.milestone-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-glow);
}

.milestone-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent-gold) 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.milestone-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.milestone-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Light theme support for about stats */
.bg-light-section .milestone-stat-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.bg-light-section .milestone-stat-card:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 8px 24px rgba(255, 81, 0, 0.08) !important;
}

.bg-light-section .milestone-label {
  color: #6b7280 !important;
}

.bg-light-section .milestone-sub {
  color: #4b5563 !important;
}

/* Contact page specific layouts */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 3.5rem;
  }
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-glow);
}

.contact-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--accent-gold);
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-card a:hover {
  color: var(--primary-dark);
}

/* Contact form container */
.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.form-control {
  background-color: rgba(6, 6, 8, 0.6);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-base);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 81, 0, 0.15);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Light section overrides for contact cards & forms */
.bg-light-section .contact-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

.bg-light-section .contact-card:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 8px 24px rgba(255, 81, 0, 0.08) !important;
}

.bg-light-section .contact-card h3 {
  color: var(--primary) !important;
}

.bg-light-section .contact-card p {
  color: #4b5563 !important;
}

.bg-light-section .contact-form-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

.bg-light-section .form-group label {
  color: #111827 !important;
}

.bg-light-section .form-control {
  background-color: #f9fafb !important;
  border: 1px solid #d1d5db !important;
  color: #111827 !important;
}

.bg-light-section .form-control:focus {
  border-color: var(--primary) !important;
  background-color: #ffffff !important;
}

.bg-light-section .form-control::placeholder {
  color: #9ca3af !important;
}

/* Inline SEO Highlight Links */
.seo-link {
  color: var(--primary-light);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px dashed var(--primary);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.seo-link:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
  border-bottom-style: solid;
}

/* Light theme overrides for SEO links */
.bg-light-section .seo-link {
  color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
}

.bg-light-section .seo-link:hover {
  color: var(--primary-dark) !important;
  border-bottom-color: var(--primary-dark) !important;
}

/* Responsive Patch Showcase Banner */
.patch-showcase-image {
  width: 100%;
  height: 280px; /* mobile height */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 2.5rem;
}

.patch-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%; /* focus on characters, showing heads and bodies clearly */
  display: block;
}

/* Responsive Warning Section Image adjustments */
.warning-image-box {
  width: 100%;
  height: 260px; /* mobile height */
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: flex;
}

.warning-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .patch-showcase-image {
    height: 460px; /* desktop height */
  }
  .warning-image-box {
    height: auto; /* desktop height matches the flex parent */
    min-height: 320px;
  }
}

/* Things to Know Section FAQ Styles */
.things-to-know-section {
  background: #ffffff !important;
  border-top: 1px solid #e5e7eb !important;
  border-bottom: 1px solid #e5e7eb !important;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.things-title {
  color: #111827 !important;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.things-header-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #e5e7eb);
  margin-bottom: 2.5rem;
  max-width: 120px;
}

.things-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.things-faq-item {
  border-bottom: 1px solid #e5e7eb !important;
  background: transparent !important;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  overflow: hidden;
}

.things-faq-item:last-child {
  border-bottom: none !important;
}

.things-faq-trigger {
  width: 100%;
  background: none !important;
  border: none !important;
  text-align: left;
  padding: 2rem 0.75rem !important;
  cursor: pointer;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 2rem;
}

.things-faq-trigger-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  flex: 1;
}

.things-faq-label {
  display: block !important;
  color: #111827 !important;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-display);
  transition: color 0.2s ease;
  line-height: 1.3;
}

.things-faq-question {
  display: block !important;
  color: #6b7280 !important;
  font-size: 0.92rem;
  font-weight: 400;
  font-family: var(--font-body);
  line-height: 1.4;
}

.things-faq-chevron-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: background 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.things-faq-trigger:hover .things-faq-chevron-btn {
  background: #e5e7eb;
}

.things-faq-trigger:hover .things-faq-label {
  color: var(--primary) !important;
}

.things-faq-item.active .things-faq-chevron-btn {
  transform: rotate(180deg);
  background: var(--primary) !important;
  color: #ffffff !important;
}

.things-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.things-faq-content {
  padding: 0 0.75rem 2rem 0.75rem !important;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151 !important;
  font-family: var(--font-body);
  border-top: none !important;
}

.things-faq-item.active .things-faq-panel {
  max-height: 600px;
}

/* Official Specifications & Storefront Ratings Styles */
.garena-about-table-card {
  background: #eef2ff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.garena-about-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.garena-about-row:last-child {
  border-bottom: none;
}

.garena-about-label {
  font-weight: 700;
  color: #4b5563;
  font-size: 0.95rem;
  font-family: var(--font-body);
  width: 40%;
  flex-shrink: 0;
}

.garena-about-val {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  flex-grow: 1;
  font-family: var(--font-body);
}

.garena-about-val a {
  color: #1e3a8a;
  text-decoration: none;
  border-bottom: 1px dashed rgba(30, 58, 138, 0.4);
  transition: border-bottom-color 0.2s ease;
}

.garena-about-val a:hover {
  border-bottom-style: solid;
}

.garena-card-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.garena-top-row {
  display: flex;
  gap: 1.25rem;
}

.garena-mini-card {
  flex: 1;
  background: #eef2ff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.developer-card {
  position: relative;
}

.garena-mini-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.garena-mini-title {
  font-size: 0.9rem;
  color: #4b5563;
  font-weight: 600;
  font-family: var(--font-body);
}

.garena-mini-value {
  font-size: 1.15rem;
  color: #111827;
  font-weight: 700;
  font-family: var(--font-display);
}

.garena-logo-badge {
  background: #ffffff;
  border-radius: 8px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  margin-top: 0.25rem;
  align-self: flex-start;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.garena-large-card {
  background: #eef2ff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.garena-rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.garena-rating-row:last-child {
  border-bottom: none;
}

.garena-rating-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #1f2937;
  font-size: 1rem;
  font-family: var(--font-body);
}

.garena-rating-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.rounded-icon {
  border-radius: 6px;
}

.garena-rating-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  font-family: var(--font-display);
}

@media (max-width: 480px) {
  .garena-top-row {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Dark Container Overrides for Specs and Ratings */
.bg-dark-2 .garena-about-table-card,
.bg-dark-2 .garena-mini-card,
.bg-dark-2 .garena-large-card {
  background: var(--bg-surface) !important;
  border-color: var(--border-light) !important;
}

.bg-dark-2 .garena-about-row,
.bg-dark-2 .garena-rating-row {
  border-bottom-color: var(--border-light) !important;
}

.bg-dark-2 .garena-about-label,
.bg-dark-2 .garena-mini-title {
  color: var(--text-secondary) !important;
}

.bg-dark-2 .garena-about-val,
.bg-dark-2 .garena-mini-value,
.bg-dark-2 .garena-rating-left,
.bg-dark-2 .garena-rating-val {
  color: #ffffff !important;
}

.bg-dark-2 .garena-about-val a {
  color: var(--primary-light) !important;
  border-bottom-color: rgba(255, 122, 0, 0.4) !important;
}

.garena-spec-link {
  color: #1e3a8a;
  text-decoration: none;
  border-bottom: 1px dashed rgba(30, 58, 138, 0.4);
  transition: all 0.2s ease;
}

.garena-spec-link:hover {
  color: #2563eb;
  border-bottom-style: solid;
}

/* Dark mode overrides for spec links */
.bg-dark-2 .garena-spec-link {
  color: var(--primary-light) !important;
  border-bottom-color: rgba(255, 122, 0, 0.4) !important;
}

.bg-dark-2 .garena-spec-link:hover {
  color: #ffaa44 !important;
  border-bottom-color: #ffaa44 !important;
}

/* Mobile Responsiveness & Layout Refinements */
@media (max-width: 767px) {
  .header {
    height: 70px;
  }
  
  .logo-img {
    max-width: 120px;
    height: 30px;
  }
  
  .nav-menu {
    gap: 0.5rem;
  }
  
  .header .btn-primary {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.75rem !important;
    min-height: auto !important;
  }
  
  .header .nav-container {
    padding: 0 1rem;
  }
}

@media (max-width: 639px) {
  /* Hide dropdown menu and all links in header completely on mobile viewports to guarantee no overflow */
  .header .nav-menu {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo-img {
    max-width: 100px;
  }
  
  .header .btn-primary {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.7rem !important;
  }
  
  .hero-title {
    font-size: 2rem !important;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  /* Prevent side-by-side squeezing of specs rows on small screens */
  .garena-about-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
  }
  
  .garena-about-val {
    text-align: left;
    width: 100%;
  }
  
  /* Stagger columns in spec-group top row */
  .garena-top-row {
    flex-direction: column;
    gap: 1rem;
  }
}


