/* ==========================================================================
   TPZTech Studio - Liquid Glass Design System
   ========================================================================== */

/* 1. Global Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

html::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

html::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 9999px;
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--glass-border-hover);
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease;
}

/* 2. Theme Tokens */
:root, [data-theme="dark"] {
  --bg-primary: #07090e;
  --bg-secondary: #0c1017;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #38bdf8;
  --accent-blue: #0284c7;
  --accent-purple: #818cf8;
  --accent-violet: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-gold: #facc15;
  --accent-emerald: #10b981;

  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.07);
  --glass-bg-active: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(56, 189, 248, 0.4);
  --glass-border-specular: rgba(255, 255, 255, 0.22);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  --glass-shadow-hover: 0 16px 40px -10px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  
  --nav-bg: rgba(12, 16, 23, 0.85);
  --nav-drawer-bg: rgba(11, 15, 23, 0.98);
  --modal-overlay: rgba(0, 0, 0, 0.75);

  --orb-1-color: rgba(56, 189, 248, 0.14);
  --orb-2-color: rgba(139, 92, 246, 0.12);
  --orb-3-color: rgba(236, 72, 153, 0.09);
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --accent-cyan: #0284c7;
  --accent-blue: #0369a1;
  --accent-purple: #6366f1;
  --accent-violet: #7c3aed;
  --accent-pink: #db2777;
  --accent-gold: #d97706;
  --accent-emerald: #059669;

  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-bg-hover: rgba(255, 255, 255, 0.82);
  --glass-bg-active: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.9);
  --glass-border-hover: rgba(2, 132, 199, 0.4);
  --glass-border-specular: rgba(255, 255, 255, 1);
  --glass-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --glass-shadow-hover: 0 20px 40px -10px rgba(2, 132, 199, 0.18), 0 0 0 1px rgba(2, 132, 199, 0.2);

  --nav-bg: rgba(255, 255, 255, 0.9);
  --nav-drawer-bg: rgba(255, 255, 255, 0.99);
  --modal-overlay: rgba(15, 23, 42, 0.45);

  --orb-1-color: rgba(56, 189, 248, 0.18);
  --orb-2-color: rgba(139, 92, 246, 0.14);
  --orb-3-color: rgba(236, 72, 153, 0.1);
}

/* 3. Ambient Glowing Background Orbs */
.ambient-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.orb-1 {
  width: 550px;
  height: 550px;
  top: -10%;
  left: 15%;
  background: radial-gradient(circle, var(--orb-1-color) 0%, transparent 70%);
  animation: floatOrb1 20s infinite alternate ease-in-out;
}

.orb-2 {
  width: 600px;
  height: 600px;
  top: 35%;
  right: -5%;
  background: radial-gradient(circle, var(--orb-2-color) 0%, transparent 70%);
  animation: floatOrb2 25s infinite alternate ease-in-out;
}

.orb-3 {
  width: 500px;
  height: 500px;
  bottom: -10%;
  left: 20%;
  background: radial-gradient(circle, var(--orb-3-color) 0%, transparent 70%);
  animation: floatOrb3 22s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 40px) scale(1.08); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -60px) scale(1.05); }
  100% { transform: translate(40px, 50px) scale(0.92); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
  100% { transform: translate(-50px, -30px) scale(0.96); }
}

/* 4. Core Liquid Glass Component */
.liquid-glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.liquid-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.liquid-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

/* Buttons */
.liquid-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.25s;
}

.liquid-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5);
  filter: brightness(1.08);
}

.liquid-btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-btn-glass:hover {
  transform: translateY(-2px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  color: var(--accent-cyan);
}

/* 5. Navigation Bar */
.nav-container {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  width: 94%;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 1000;
}

.liquid-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 9999px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-brand-img {
  height: 34px;
  width: auto;
  max-width: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 102, 255, 0.35));
  transition: transform 0.25s ease;
}

.nav-brand:hover .nav-brand-img {
  transform: scale(1.06);
}

.nav-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  white-space: nowrap;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

.nav-link.highlight {
  color: var(--accent-cyan);
  font-weight: 700;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Custom Liquid Glass Dropdown */
.custom-dropdown {
  position: relative;
}

.dropdown-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  line-height: 1;
  box-sizing: border-box;
}

.dropdown-trigger-btn:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

.dropdown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 0.95rem;
}

.dropdown-label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
}

.dropdown-chevron-svg {
  display: inline-block;
  width: 9px;
  height: 5px;
  opacity: 0.75;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  color: currentColor;
  vertical-align: middle;
}

.dropdown-chevron-svg.open {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 145px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--nav-drawer-bg);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: 1100;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--glass-bg-hover);
  color: var(--text-primary);
}

.dropdown-item.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(139, 92, 246, 0.25));
  color: var(--accent-cyan);
  font-weight: 700;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.item-check {
  font-weight: 700;
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

/* Persistent Drawer Toggle Button (Always visible on all screen sizes) */
.mobile-menu-btn {
  display: inline-flex !important;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--glass-shadow);
}

.mobile-menu-btn:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

/* Slide-in Navigation Drawer & Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  z-index: 1500;
  animation: fadeIn 0.25s ease;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: var(--nav-drawer-bg);
  -webkit-backdrop-filter: blur(36px);
  backdrop-filter: blur(36px);
  border-left: 1px solid var(--glass-border-hover);
  box-shadow: none;
  visibility: hidden;
  pointer-events: none;
  z-index: 1600;
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s, box-shadow 0.35s;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.45);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: var(--glass-bg-hover);
  color: var(--accent-cyan);
}

.drawer-divider {
  height: 1px;
  background: var(--glass-border);
  margin-bottom: 1.5rem;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.25) transparent;
}

.drawer-links::-webkit-scrollbar {
  width: 4px;
}

.drawer-links::-webkit-scrollbar-track {
  background: transparent;
}

.drawer-links::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.drawer-link:hover {
  background: var(--glass-bg-hover);
  color: var(--text-primary);
  transform: translateX(4px);
}

.drawer-link.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.38);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  font-weight: 700;
  transform: translateX(4px);
}

.drawer-link-dot {
  font-size: 0.75rem;
  opacity: 0.5;
  transition: all 0.25s ease;
}

.drawer-link:hover .drawer-link-dot,
.drawer-link.active .drawer-link-dot {
  opacity: 1;
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 6px var(--accent-cyan));
}

.drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.drawer-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 6. Layout & Sections */
.main-wrapper {
  position: relative;
  z-index: 10;
  padding-top: 6.5rem;
}

.section-container {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto 5rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 7. Hero Section */
.hero-section {
  text-align: center;
  padding: 3rem 1rem 4.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 50%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

/* Trust Metrics Horizontal Swiper */
.trust-swiper {
  max-width: 1040px;
  margin: 0 auto;
  padding: 6px 4px 18px 4px !important;
}

.trust-swiper .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}

.trust-chip {
  width: 100%;
  max-width: 480px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .trust-chip {
    max-width: 100%;
  }
}

.trust-chip:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover);
}

.trust-chip-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.trust-chip-lbl {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.4;
}

/* Trust navigation bar visibility */
@media (min-width: 1024px) {
  .trust-nav-bar {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .trust-nav-bar {
    display: flex;
    margin-top: 0.6rem;
  }
}

/* 8. Swiper Base & Slide Containers */
.swiper {
  width: 100%;
  padding: 10px 4px 20px 4px !important;
  overflow: hidden;
  position: relative;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.swiper-slide {
  height: auto !important;
  display: flex;
  box-sizing: border-box;
}

.swiper-slide > .liquid-card,
.swiper-slide > .pillar-card,
.swiper-slide > .service-card,
.swiper-slide > .game-card,
.swiper-slide > .tech-chip,
.swiper-slide > .partner-card {
  width: 100%;
  height: 100%;
}

/* Unified Balanced Carousel Navigation: [ ← ]  • • •  [ → ] */
.carousel-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 1rem;
  position: relative;
  z-index: 10;
}

.carousel-nav-bar .swiper-pagination {
  position: static !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 !important;
}

.swiper-btn-prev, .swiper-btn-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.swiper-btn-prev:hover, .swiper-btn-next:hover {
  background: var(--glass-bg-hover);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: scale(1.06);
}

.swiper-btn-prev.swiper-button-disabled,
.swiper-btn-next.swiper-button-disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: none;
}

.swiper-pagination-bullets {
  bottom: 12px !important;
}

.swiper-pagination-bullet {
  background: var(--text-secondary) !important;
  opacity: 0.35 !important;
  width: 9px !important;
  height: 9px !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent-cyan) !important;
  width: 26px !important;
  border-radius: 6px !important;
  opacity: 1 !important;
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* 9. About (Pillars) Section */
.about-swiper .swiper-slide {
  justify-content: center;
}

.pillar-card {
  padding: 2.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  max-width: 680px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .pillar-card {
    max-width: 100%;
    padding: 2.5rem 1.8rem;
  }
}

.pillar-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  margin-bottom: 1.4rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 14px 30px rgba(56, 189, 248, 0.35);
  border-color: var(--accent-cyan);
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

/* 10. Services Section */
.service-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.service-icon {
  font-size: 2.2rem;
}

.service-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--accent-cyan);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-highlights {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
}

.service-highlights li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-highlights li::before {
  content: "✦";
  color: var(--accent-cyan);
  font-size: 0.75rem;
}

/* 11. Upcoming Games Section */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: var(--glass-bg-hover);
  color: var(--text-primary);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

.game-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.game-banner-box {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-card:hover .game-banner-img {
  transform: scale(1.06);
}

/* Animated Pulsing "Coming Soon" Badge */
.coming-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(250, 204, 21, 0.5);
  color: #facc15;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.03em;
  z-index: 5;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #facc15;
  border-radius: 50%;
  box-shadow: 0 0 10px #facc15;
  animation: pulseLight 1.8s infinite;
}

@keyframes pulseLight {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(250, 204, 21, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

.game-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0.75rem;
}

.game-platform-tag {
  font-size: 0.72rem;
  background: var(--glass-bg);
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 500;
}

.game-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.game-genre {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.game-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.4rem;
  flex: 1;
}

.game-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
}

.game-release {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.game-card-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.game-card:hover .game-card-btn {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
  color: #fff;
  border-color: transparent;
}

/* 12. Tech Stack Section */
.tech-chip {
  padding: 1.5rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tech-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.tech-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.tech-role {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* 13. Strategic Partners Section */
.partner-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
}

.partner-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.partner-visual {
  display: flex;
  align-items: center;
  gap: 12px;
}

.partner-logo-img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(56, 189, 248, 0.35));
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo-img {
  transform: scale(1.05);
}

.partner-icon {
  font-size: 2.4rem;
}

.partner-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--glass-bg);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.partner-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.partner-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.partner-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.partner-highlights {
  list-style: none;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
  margin-top: auto;
}

.partner-highlights li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-highlights li::before {
  content: "✦";
  color: var(--accent-cyan);
  font-size: 0.75rem;
}

/* 14. Corporate Footer */
.site-footer {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto 3rem;
  padding: 3rem 2.5rem 1.5rem;
  border-radius: 24px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  background: var(--glass-bg-hover);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.footer-address-info {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-address-info strong {
  color: var(--text-primary);
}

.footer-slogan {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 15. Glass Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--modal-overlay);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
  animation: fadeIn 0.25s ease;
}

.modal-content.modal-game-dialog {
  width: 100%;
  max-width: 660px;
  max-height: 88vh;
  position: relative;
  border-radius: 24px;
  background: var(--nav-drawer-bg);
  border: 1px solid var(--glass-border-hover);
  box-shadow: 0 25px 80px -10px rgba(0, 0, 0, 0.6), 0 0 45px rgba(56, 189, 248, 0.12);
  animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 15, 23, 0.75);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 30;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .modal-close-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.modal-close-btn:hover {
  background: var(--accent-cyan);
  color: #07090e;
  border-color: var(--accent-cyan);
  transform: rotate(90deg) scale(1.05);
}

.modal-scroll-body {
  overflow-y: auto;
  padding: 2.2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.4) transparent;
}

.modal-scroll-body::-webkit-scrollbar {
  width: 6px;
}

.modal-scroll-body::-webkit-scrollbar-track {
  background: transparent;
  margin: 14px 0;
}

.modal-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.35);
  border-radius: 9999px;
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.modal-scroll-body::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

.modal-banner-wrap {
  position: relative;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.modal-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 15, 23, 0.85) 100%);
  pointer-events: none;
}

[data-theme="light"] .modal-banner-overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(255, 255, 255, 0.85) 100%);
}

.modal-banner-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.modal-game-header {
  margin-bottom: 1.25rem;
}

.modal-game-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.modal-game-genre {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.92rem;
}

.modal-game-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal-meta-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.2rem;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-meta-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.modal-meta-val {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.modal-meta-val.release-val {
  color: var(--accent-cyan);
}

.modal-features-wrap {
  margin-bottom: 1.8rem;
}

.modal-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.modal-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-features-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-diamond {
  color: var(--accent-cyan);
  font-size: 0.8rem;
}

.modal-preregister-box {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-preregister-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

.modal-preregister-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.modal-preregister-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.modal-email-input {
  flex: 1;
  min-width: 220px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  padding: 10px 18px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.modal-email-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.modal-submit-btn {
  padding: 10px 22px;
  border-radius: 9999px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* 16. Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideToast {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Drawer Theme & Language Controls */
.drawer-controls-box {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.drawer-control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-control-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.control-label-icon {
  font-size: 0.85rem;
}

.drawer-segmented-pills {
  display: flex;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 3px;
  gap: 4px;
}

[data-theme="light"] .drawer-segmented-pills {
  background: rgba(0, 0, 0, 0.06);
}

.drawer-pill-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 4px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.drawer-pill-btn:hover {
  color: var(--text-primary);
  background: var(--glass-bg-hover);
}

.drawer-pill-btn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.3), rgba(139, 92, 246, 0.3));
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Footer Theme Selector */
.footer-theme-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-theme-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-theme-pills {
  display: inline-flex;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  padding: 3px;
  gap: 3px;
}

.footer-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-pill-btn:hover {
  color: var(--text-primary);
}

.footer-pill-btn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.3), rgba(139, 92, 246, 0.3));
  border-color: rgba(56, 189, 248, 0.45);
  color: var(--accent-cyan);
  font-weight: 700;
}

/* 17. Responsive Breakpoints & Mobile Optimization */
@media (max-width: 860px) {
  .nav-links {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Hide theme dropdown on header for all mobile screens to prevent crowding */
  .header-theme-dropdown {
    display: none !important;
  }

  .nav-container {
    width: calc(100% - 24px);
    max-width: 100%;
    top: 0.75rem;
  }

  .liquid-nav {
    padding: 6px 14px;
    gap: 8px;
    justify-content: space-between;
  }

  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .section-title { font-size: 1.8rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { 
    flex-direction: column; 
    text-align: center; 
    gap: 1.25rem; 
  }
  .footer-theme-selector { 
    justify-content: center; 
  }
  .site-footer { padding: 2rem 1.25rem 1.5rem; }
}

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

  .nav-container {
    width: calc(100% - 16px);
    top: 0.5rem;
  }

  .liquid-nav {
    padding: 6px 10px;
    gap: 6px;
  }

  .nav-brand {
    gap: 8px;
    font-size: 0.95rem;
    min-width: 0;
  }

  .nav-brand-img {
    height: 28px;
    max-width: 36px;
  }

  .nav-brand span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
  }

  .nav-controls {
    gap: 6px;
    flex-shrink: 0;
  }

  .dropdown-trigger-btn {
    height: 34px;
    padding: 0 9px;
    font-size: 0.78rem;
    gap: 4px;
  }

  .mobile-menu-btn {
    width: 36px;
    height: 34px;
    border-radius: 10px;
  }
}

/* Extra compact screens (Honor Magic V3 outer screen ~370-400px) */
@media (max-width: 390px) {
  .liquid-nav {
    padding: 5px 8px;
    gap: 4px;
  }

  .nav-brand span {
    font-size: 0.88rem;
    max-width: 110px;
  }

  .dropdown-trigger-btn {
    padding: 0 7px;
    height: 32px;
    font-size: 0.75rem;
  }

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

  .nav-controls {
    gap: 4px;
  }
}
