/* ==========================================================================
   COREON GAMING - AAA STUDIO DESIGN SYSTEM
   Headquarters: London, UK | Mediterranean Studio: TRNC
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-darkest: #050608;
  --bg-base: #090b10;
  --bg-surface: #0f121a;
  --bg-elevated: #161b26;
  --bg-glass: rgba(15, 18, 26, 0.75);
  --bg-glass-card: rgba(22, 27, 38, 0.65);
  
  /* Coreon Gold & Accents */
  --gold-primary: #e6b43c;
  --gold-glow: #ffd768;
  --gold-dark: #b8860b;
  --gold-subtle: rgba(230, 180, 60, 0.15);
  --gold-border: rgba(230, 180, 60, 0.35);
  --gold-gradient: linear-gradient(135deg, #fff0aa 0%, #e6b43c 45%, #b8860b 100%);
  --gold-gradient-hover: linear-gradient(135deg, #ffffff 0%, #fbd56e 40%, #c59227 100%);
  
  --cyan-accent: #00d2ff;
  --cyan-glow: rgba(0, 210, 255, 0.3);
  
  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --shadow-gold: 0 0 25px rgba(230, 180, 60, 0.25);
  --shadow-elevation: 0 20px 40px -15px rgba(0, 0, 0, 0.7);

  /* Layout */
  --header-height: 84px;
  --container-max: 1320px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #151924 0%, var(--bg-darkest) 70%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: #252d3d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

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

/* Ambient Canvas Overlay */
#ambientCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

/* Grid & Layout Helpers */
.section-padding {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: var(--cyan-accent);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold-glow);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 18px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-glow);
  box-shadow: 0 0 8px var(--gold-glow);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

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

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(5, 6, 8, 0.95);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  border-radius: 6px;
  filter: drop-shadow(0 0 12px rgba(230, 180, 60, 0.4));
  transition: transform 0.3s ease;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  box-shadow: 0 0 10px var(--gold-primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

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

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.25s ease;
}

.lang-btn.active {
  background: var(--gold-gradient);
  color: #050608;
  box-shadow: 0 0 12px var(--gold-glow);
}

.lang-btn:hover:not(.active) {
  color: var(--text-primary);
}

/* Sound Effect Button */
.audio-toggle {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold-primary);
  transition: all 0.25s ease;
}

.audio-toggle:hover {
  border-color: var(--gold-border);
  box-shadow: 0 0 15px var(--gold-subtle);
  transform: scale(1.08);
}

.audio-toggle.muted {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--gold-border);
  z-index: 1050;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-primary);
  display: block;
}

/* ==========================================================================
   BUTTONS & UI COMPONENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #050608;
  box-shadow: 0 4px 20px rgba(230, 180, 60, 0.35);
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 6px 28px rgba(230, 180, 60, 0.55);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-subtle);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
}

.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: #050608;
  box-shadow: 0 4px 20px rgba(230, 180, 60, 0.4);
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
}

/* Glass Card */
.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(230, 180, 60, 0.15);
  transform: translateY(-4px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(0.42) contrast(1.1);
  transform: scale(1.02);
  transition: transform 10s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(5, 6, 8, 0.7) 0%, 
    rgba(5, 6, 8, 0.4) 40%, 
    rgba(5, 6, 8, 0.85) 80%,
    var(--bg-darkest) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero-locations-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(15, 18, 26, 0.85);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
}

.location-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.location-separator {
  color: var(--gold-primary);
  font-size: 1.1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.btn-play-trailer {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050608;
  font-size: 0.9rem;
  box-shadow: 0 0 15px var(--gold-glow);
  transition: transform 0.3s ease;
}

.btn-play-trailer:hover .play-icon-circle {
  transform: scale(1.15);
}

.btn-play-trailer:hover {
  border-color: var(--gold-border);
  background: var(--gold-subtle);
}

/* ==========================================================================
   METRICS / STATS BAR
   ========================================================================== */
.metrics-bar {
  position: relative;
  z-index: 5;
  margin-top: -50px;
  margin-bottom: 60px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: rgba(15, 18, 26, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 35px 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.metric-card {
  text-align: center;
  position: relative;
}

.metric-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ==========================================================================
   FEATURED FLAGSHIP GAME SHOWCASE
   ========================================================================== */
.flagship-showcase {
  background: linear-gradient(180deg, var(--bg-darkest) 0%, #0d1017 50%, var(--bg-darkest) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.flagship-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.flagship-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(230, 180, 60, 0.2);
}

.flagship-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.flagship-visual:hover img {
  transform: scale(1.03);
}

.flagship-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(5, 6, 8, 0.85);
  border: 1px solid var(--gold-glow);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-glow);
  backdrop-filter: blur(10px);
}

.flagship-details h3 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 14px;
}

.flagship-genre {
  font-family: var(--font-heading);
  color: var(--gold-primary);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.flagship-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.pill-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 500;
}

.pill-item i {
  color: var(--gold-primary);
}

.platform-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--border-subtle);
}

.platform-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.platform-badges {
  display: flex;
  gap: 12px;
}

.badge-tag {
  background: #1a202c;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   GAMES CATALOG & GRID
   ========================================================================== */
.games-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.filter-tab {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--gold-gradient);
  color: #050608;
  border-color: transparent;
  box-shadow: 0 0 16px var(--gold-glow);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
}

.game-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(230, 180, 60, 0.2);
}

.game-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.game-tag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(9, 11, 16, 0.85);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-glow);
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.game-status-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid var(--cyan-accent);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-accent);
  backdrop-filter: blur(8px);
}

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

.game-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.25;
}

.game-card-genre {
  color: var(--gold-primary);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.game-engine-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

/* ==========================================================================
   GLOBAL STUDIOS SHOWCASE (LONDON HQ & CYPRUS STUDIO)
   ========================================================================== */
.studios-showcase {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #111522 0%, var(--bg-darkest) 75%);
}

.studios-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.studio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.studio-card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(230, 180, 60, 0.18);
  transform: translateY(-6px);
}

.studio-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.studio-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.studio-card:hover .studio-card-media img {
  transform: scale(1.05);
}

.studio-city-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(5, 6, 8, 0.88);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-glow);
  backdrop-filter: blur(10px);
  text-transform: uppercase;
}

.studio-time-pill {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(5, 6, 8, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.studio-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.studio-role {
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.studio-desc {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.studio-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.studio-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.studio-highlights li i {
  color: var(--gold-primary);
  font-size: 0.85rem;
}

.studio-address-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0, 0, 0, 0.35);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.studio-address-box i {
  color: var(--gold-primary);
  margin-top: 3px;
}

/* ==========================================================================
   CAREERS & CULTURE
   ========================================================================== */
.careers-banner {
  background: linear-gradient(135deg, rgba(22, 27, 38, 0.9) 0%, rgba(15, 18, 26, 0.9) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.careers-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230, 180, 60, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.perk-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s ease;
}

.perk-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}

.perk-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gold-subtle);
  color: var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.perk-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.perk-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Jobs Table */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 35px;
}

.job-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.25s ease;
}

.job-row:hover {
  border-color: var(--gold-border);
  background: var(--bg-elevated);
  transform: translateX(6px);
}

.job-main h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.job-tags {
  display: flex;
  align-items: center;
  gap: 12px;
}

.job-tag {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   NEWS & DISPATCHES
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-6px);
}

.news-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-media img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-category {
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.news-snippet {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ==========================================================================
   CONTACT & OFFICES PAGE STYLES
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-darkest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 0.98rem;
  transition: all 0.25s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-subtle);
}

.office-info-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.office-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.office-detail-card.featured {
  border-color: var(--gold-border);
}

.office-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.office-flag-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}

.office-coords {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.office-coords li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.office-coords li i {
  color: var(--gold-primary);
  margin-top: 4px;
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(230, 180, 60, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #050608;
}

/* Video Modal Aspect */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

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

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #030406;
  border-top: 1px solid var(--border-subtle);
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 18px 0 24px;
  max-width: 360px;
}

.footer-column h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
  color: var(--text-primary);
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold-primary);
  transform: translateX(4px);
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.social-icon-btn:hover {
  border-color: var(--gold-border);
  color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-subtle);
  transform: translateY(-3px);
}

.footer-offices-badge {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.office-mini-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

.office-mini-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold-glow);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-mini-address {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .metric-card:nth-child(2)::after {
    display: none;
  }
  .flagship-layout {
    grid-template-columns: 1fr;
  }
  .studios-dual-grid {
    grid-template-columns: 1fr;
  }
  .careers-banner {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  .perks-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-locations-pill {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .location-separator {
    display: none;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .metric-card::after {
    display: none !important;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .perks-grid, .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==========================================================================
   COREON PRECISION PHYSICS LAB & PLATFORMER ENHANCEMENTS
   ========================================================================== */
.physics-lab-section {
  position: relative;
  background: radial-gradient(circle at 50% 0%, #151a28 0%, var(--bg-surface) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.physics-lab-wrapper {
  background: rgba(10, 13, 20, 0.9);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(230, 180, 60, 0.05);
  overflow: hidden;
  position: relative;
}

.lab-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(15, 20, 30, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.lab-hud-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.lab-hud-pill {
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

#physicsLabCanvas {
  display: block;
  width: 100%;
  height: 380px;
  background: #080b12;
  cursor: crosshair;
}

.lab-footer-bar {
  padding: 14px 24px;
  background: rgba(15, 20, 30, 0.85);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.lab-instructions-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lab-btn-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lab-btn:hover, .lab-btn:active {
  background: var(--gold-subtle);
  border-color: var(--gold-primary);
  color: var(--gold-glow);
  transform: translateY(-1px);
}

.lab-btn-primary {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
}

.lab-btn-primary:hover, .lab-btn-primary:active {
  background: var(--gold-gradient-hover);
  color: #000;
  box-shadow: 0 0 15px rgba(230, 180, 60, 0.4);
}

.lab-btn-cyan {
  background: rgba(0, 210, 255, 0.15);
  border-color: rgba(0, 210, 255, 0.4);
  color: #00d2ff;
}

.lab-btn-cyan:hover, .lab-btn-cyan:active {
  background: rgba(0, 210, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
  color: #fff;
}

