/* ==========================================================================
   VyuXR Immersive Studios - Strict Monochrome CSS System
   ========================================================================== */

/* --- CSS Variables & Design Tokens (Strict Monochrome) --- */
:root {
  /* Monochrome Colors */
  --bg-dark: #000000;
  --bg-card: rgba(18, 18, 18, 0.7);
  --bg-card-hover: rgba(28, 28, 28, 0.85);
  --bg-modal: rgba(10, 10, 10, 0.96);
  
  --primary-white: #FFFFFF;
  --primary-white-glow: rgba(255, 255, 255, 0.25);
  --secondary-gray: #A1A1AA;
  --dark-accent: #18181B;
  
  --text-main: #FFFFFF;
  --text-muted: #A1A1AA;
  --text-sub: #E4E4E7;
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(255, 255, 255, 0.35);

  /* Fonts */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-sub);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* 3D Canvas Background */
#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Typography & Global Components */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
  transform: translateZ(0);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--bg-card-hover);
}

.text-gradient {
  color: var(--text-main);
  background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 640px;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.btn-primary {
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #E4E4E7;
  box-shadow: 0 6px 28px rgba(255, 255, 255, 0.35);
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: #FFFFFF;
  border-radius: var(--radius-full);
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
  transition: var(--transition-fast);
}

.btn-glow:hover::after {
  opacity: 0.6;
  filter: blur(12px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-main);
}

.btn-header {
  padding: 10px 20px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-header:hover {
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* --- Header Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-fast);
  transform: translateZ(0);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

.logo-core {
  width: 14px;
  height: 14px;
  background: #000000;
  border-radius: 2px;
  transform: rotate(45deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  padding-right: 8px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  border: none;
}

.hero-title {
  font-family: 'Outfit', 'Montserrat', sans-serif;
  font-size: 108px;
  font-weight: 700;
  letter-spacing: -4px;
  margin-bottom: 28px;
  line-height: 1.08;
  color: #FFFFFF;
}

.text-gradient {
  background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(18px, 2.2vw, 22px);
  color: #D4D4D8;
  max-width: 800px;
  margin-bottom: 36px;
  line-height: 1.55;
  font-weight: 400;
}

.hero-description strong {
  color: #FFFFFF;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
}

.hero-scroll-indicator {
  margin-top: auto;
}

.mouse-icon {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  display: block;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: #FFFFFF;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* --- Platforms Ribbon Section --- */
.platforms-section {
  padding: 60px 0;
  background: rgba(10, 10, 10, 0.6);
  border-y: 1px solid var(--border-glass);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.platform-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-fast);
}

.platform-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.platform-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  flex-shrink: 0;
}

.platform-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.platform-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- About Studio Section --- */
.about-section {
  padding: 120px 0;
}

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

.feature-card {
  padding: 36px;
  position: relative;
}

.feature-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* --- Showcase / Games Section --- */
.showcase-section {
  padding: 120px 0;
}

.games-showcase-grid {
  display: flex;
  flex-direction: row;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 20px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.games-showcase-grid:active {
  cursor: grabbing;
}

.games-showcase-grid::-webkit-scrollbar {
  height: 6px;
}

.games-showcase-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.games-showcase-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.games-showcase-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 0;
  min-width: 400px;
  width: 400px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.game-media-container {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.widescreen-aspect {
  aspect-ratio: 16 / 9;
}

.vertical-aspect {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #121212 0%, #000000 100%);
}

.vertical-iframe-wrapper {
  width: 220px;
  height: 100%;
  max-height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-media-container iframe,
.game-media-container video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  display: block;
}

.award-ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.snap-ribbon {
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.game-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 4px;
}

.game-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.game-description {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.game-card-actions {
  margin-top: auto;
  display: flex;
  gap: 12px;
}

/* --- Contact Section --- */
.contact-section {
  padding: 120px 0 160px;
  position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.contact-section .container {
  max-width: 100%;
  padding: 0 20px;
}

.contact-card {
  padding: 72px 56px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 100px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact-title {
  font-family: 'Outfit', var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.contact-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 100%;
  text-align: left;
  white-space: nowrap;
  margin: 0 0 28px 0;
  line-height: 1.6;
}

.contact-capabilities {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cap-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: var(--text-sub);
  font-family: var(--font-mono);
  transition: var(--transition-fast);
}

.cap-tag:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-main);
}

.email-display-box {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 20px 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  margin: 0 0 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: var(--transition-fast);
}

.email-display-box:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.05);
}

.email-address {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
}

.email-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  flex-shrink: 0;
}

.email-actions {
  display: flex;
  gap: 12px;
}

.email-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 255, 255, 0.1);
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border-glass);
  padding: 40px 0;
  background: #000000;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left .brand-name {
  font-size: 16px;
  margin-bottom: 4px;
}

.footer-left p {
  color: var(--text-muted);
  font-size: 13px;
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  transition: var(--transition-fast);
}

.back-to-top:hover {
  color: var(--text-main);
}

/* --- Modals --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
}

.modal-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  background: var(--bg-modal);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-top: 8px;
}

.modal-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}

.vertical-modal-media {
  max-width: 320px;
  margin: 0 auto 24px auto;
  aspect-ratio: 9 / 16;
}

.modal-media iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.detail-box h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.detail-box p {
  font-size: 14px;
  color: var(--text-sub);
}

.modal-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.modal-footer {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(48px, 7vw, 72px); letter-spacing: -2.5px; }
  .features-grid { grid-template-columns: 1fr; }
  .game-card { min-width: 360px; width: 360px; }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }

  .logo-img {
    height: 38px;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 48px;
    padding-left: 24px;
    padding-right: 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border-glass);
    display: none;
    z-index: 99;
  }

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

  .main-nav .nav-link {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    min-height: calc(100dvh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(70px + 12px);
    padding-bottom: 24px;
  }

  /* Hide desktop forced line-break; let text flow naturally on mobile */
  .desktop-br {
    display: none;
  }

  /* TITLE: large, bold, fluid — 13.75vw hits ~54px on 390px screen */
  .hero-title {
    font-size: 13.75vw !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
    line-height: 1.1 !important;
    margin-bottom: 16px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    hyphens: none !important;
  }

  /* SUBHEADING: clearly smaller, muted — distinct from title */
  .hero-description {
    font-size: 15px !important;
    line-height: 1.58 !important;
    color: #A1A1AA !important;
    margin-bottom: 28px !important;
    padding: 0 !important;
    font-weight: 400 !important;
    max-width: 100% !important;
  }

  .hero-description strong {
    color: #D4D4D8 !important;
    font-weight: 600 !important;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 16px;
  }

  .hero-cta-group .btn {
    width: fit-content !important;
    max-width: calc(100% - 32px);
    align-self: center;
    justify-content: center;
    padding: 16px 42px;
    font-size: 17px;
    margin: 0 auto;
  }

  /* Game Cards responsive sizing */
  .games-showcase-grid {
    gap: 16px;
    padding-bottom: 16px;
  }

  .game-card {
    min-width: 85vw;
    width: 85vw;
    max-width: 360px;
    scroll-snap-align: center;
  }

  /* Contact section mobile layout */
  .contact-section {
    padding: 80px 0 100px;
  }

  .contact-section .container {
    padding: 0 12px;
  }

  .contact-card {
    padding: 32px 16px;
    width: 100%;
    border-radius: var(--radius-md);
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-subtitle {
    white-space: normal;
    text-align: center;
    font-size: 14px;
  }

  .contact-capabilities {
    gap: 8px;
  }

  .cap-tag {
    font-size: 11px;
    padding: 6px 12px;
  }

  .email-display-box {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 16px;
  }

  .email-address {
    font-size: 13px;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .email-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .email-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .social-links-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .social-link {
    width: 100%;
    justify-content: center;
  }

  /* Modal Lightbox Mobile */
  .modal-content {
    width: 94%;
    max-height: 88vh;
    padding: 20px 16px;
    margin: 0 auto;
    overflow-y: auto;
  }

  .modal-header h2 {
    font-size: 24px;
  }

  .modal-details-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .modal-footer {
    flex-direction: column;
    gap: 8px;
  }

  .modal-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Print & PDF Export Styles --- */
@media print {
  #hero-canvas,
  .modal {
    display: none !important;
  }

  .site-header {
    position: static;
    background: transparent;
  }

  body {
    background: #09090b !important;
    color: #FFFFFF !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
