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

html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #05030f;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6400fb, #44fbff);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #a226ff, #44fbff);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #05030f;
  color: #e8eaf6;
  line-height: 1.6;
  letter-spacing: 0.3px;
  overflow-x: hidden;
  isolation: isolate;
}

body.is-loading {
  overflow: hidden;
}

body.custom-cursor-enabled,
body.custom-cursor-enabled a,
body.custom-cursor-enabled button,
body.custom-cursor-enabled input,
body.custom-cursor-enabled textarea,
body.custom-cursor-enabled select,
body.custom-cursor-enabled [role='button'] {
  cursor: none;
}

/* ============================================
   COLOR VARIABLES
   Extracted from T21S_logo_final.svg
   ============================================ */
:root {
  /* Backgrounds */
  --bg-void:    #05030f;
  --bg-dark:    #08051a;
  --bg-mid:     #0f0b28;
  --bg-lift:    #1a1245;

  /* Purple spectrum */
  --purple-abyss:  #170038;
  --purple-deep:   #390476;
  --purple-core:   #5e00cc;
  --primary:       #7300c4;
  --purple-bright: #a226ff;
  --purple-light:  #dd9bff;

  /* Blue spectrum */
  --blue-void:     #000062;
  --blue-royal:    #2500e1;
  --blue-electric: #3e3dff;
  --blue-cobalt:   #2f3dfd;
  --blue-mid:      #2386f1;
  --blue-sky:      #65a9f3;

  /* Cyan spectrum */
  --accent:        #44fbff;
  --cyan-teal:     #37e4f0;
  --cyan-soft:     #59f4fb;

  /* Gradient presets */
  --grad-brand:         linear-gradient(135deg, #7300c4 0%, #3e3dff 55%, #44fbff 100%);
  --grad-purple-blue:   linear-gradient(135deg, #6400fb, #2f3dfd);
  --grad-blue-cyan:     linear-gradient(135deg, #2f3dfd, #44fbff);
  --grad-full-spectrum: linear-gradient(135deg, #a226ff 0%, #3e3dff 50%, #44fbff 100%);

  /* UI surfaces */
  --card-bg:           rgba(26, 18, 72, 0.5);
  --card-border:       rgba(68, 251, 255, 0.1);
  --card-hover-bg:     rgba(62, 61, 255, 0.1);
  --card-hover-border: rgba(68, 251, 255, 0.38);
  --border-color:      rgba(255, 255, 255, 0.06);

  /* Glow shadows */
  --glow-purple: 0 0 40px rgba(115, 0, 196, 0.4);
  --glow-blue:   0 0 40px rgba(62, 61, 255, 0.35);
  --glow-cyan:   0 0 40px rgba(68, 251, 255, 0.2);
  --shadow-card: 0 24px 64px rgba(0, 0, 0, 0.45);

  /* Text */
  --text-primary:   #f2f0ff;
  --text-secondary: #c0bde8;
  --text-muted:     #6e6c9a;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 24px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  line-height: 1.85;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--cyan-soft);
}

/* ============================================
   NAVIGATION & HEADER
   ============================================ */
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 100;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
}

.navbar.navbar-scrolled {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 24px));
  padding: 14px 20px;
  border: 1px solid rgba(68, 251, 255, 0.25);
  border-radius: 20px;
  background: rgba(8, 5, 26, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 56px rgba(2, 1, 8, 0.56), 0 0 0 1px rgba(68, 251, 255, 0.07);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text-primary);
  text-decoration: none;
}

.logo img {
  display: block;
  width: auto;
  height: 360px;
  border-radius: 16px;
  transform-origin: center;
  animation:
    logoEntry 1.1s cubic-bezier(0.22, 1.55, 0.36, 1) both,
    logoGlow  5s ease-in-out 1.15s infinite;
  transition: transform 0.3s ease;
}

.logo:hover img {
  animation-play-state: paused;
  transform: translateY(-6px) scale(1.03);
  filter:
    drop-shadow(0 0 50px rgba(115, 0, 196, 0.7))
    drop-shadow(0 0 24px rgba(68, 251, 255, 0.4));
}

@keyframes logoEntry {
  0%  {
    opacity: 0;
    transform: scale(0.6) translateY(-20px);
    filter: brightness(3) drop-shadow(0 0 70px rgba(115, 0, 196, 0.9)) drop-shadow(0 0 40px rgba(68, 251, 255, 0.7));
  }
  55% {
    opacity: 1;
    transform: scale(1.07) translateY(5px);
    filter: brightness(1.4) drop-shadow(0 0 44px rgba(115, 0, 196, 0.6));
  }
  78% { transform: scale(0.97) translateY(-2px); }
  91% { transform: scale(1.02) translateY(1px); }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 0 30px rgba(115, 0, 196, 0.42)) drop-shadow(0 0 12px rgba(68, 251, 255, 0.2));
  }
}

@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 26px rgba(115, 0, 196, 0.36)) drop-shadow(0 0 10px rgba(68, 251, 255, 0.14));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 50px rgba(115, 0, 196, 0.62)) drop-shadow(0 0 22px rgba(68, 251, 255, 0.34));
    transform: scale(1.022);
  }
}

.logo-name {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(68, 251, 255, 0.26);
  background: rgba(8, 5, 26, 0.55);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.navbar.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar.navbar-scrolled .logo {
  flex-direction: row;
  gap: 12px;
}

.navbar.navbar-scrolled .logo img {
  height: 184px;
  border-radius: 12px;
  animation-play-state: paused;
}

.navbar.navbar-scrolled .logo-name {
  font-size: 0.72rem;
  letter-spacing: 1.6px;
}

.nav-links {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(68, 251, 255, 0.1);
}

.navbar.navbar-scrolled .nav-links {
  gap: 22px;
  padding-top: 10px;
  border-top-color: rgba(68, 251, 255, 0.16);
}

@media (min-width: 769px) {
  .navbar.navbar-scrolled {
    padding: 8px 16px;
    min-height: 74px;
    overflow: visible;
  }

  .navbar.navbar-scrolled .logo {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .navbar.navbar-scrolled .logo-name {
    display: none;
  }

  .navbar.navbar-scrolled .nav-links {
    width: auto;
    margin: 0 0 0 224px;
    padding: 0;
    border-top: none;
    gap: 16px;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .navbar.navbar-scrolled .nav-links a {
    font-size: 0.76rem;
    letter-spacing: 1.2px;
    padding-bottom: 3px;
  }
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.82rem;
  position: relative;
  padding-bottom: 5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-blue-cyan);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

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

.nav-links a.active {
  color: var(--accent);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(ellipse 90% 60% at 5% 20%,   rgba(100, 0, 251, 0.38), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 75%,  rgba(68, 251, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 70% at 50% 0%,   rgba(62, 61, 255, 0.2),  transparent 55%),
    radial-gradient(ellipse 40% 30% at 78% 25%,  rgba(115, 0, 196, 0.15), transparent 60%),
    radial-gradient(ellipse 28% 45% at 12% 85%,  rgba(68, 251, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 50% 30% at 50% 105%, rgba(62, 61, 255, 0.12), transparent 60%),
    var(--bg-void);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-hero {
  min-height: auto;
  padding-bottom: 56px;
}

.page-title-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 0;
  position: relative;
  z-index: 2;
}

.page-title-wrap h1 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  margin: 10px 0 10px;
  color: var(--text-primary);
}

.page-title-wrap p {
  max-width: 760px;
}

.update-ticker {
  width: min(1100px, calc(100% - 48px));
  margin: 14px auto 0;
  border-radius: 999px;
  border: 1px solid rgba(68, 251, 255, 0.24);
  background: rgba(8, 5, 26, 0.62);
  backdrop-filter: blur(8px);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.update-ticker::before,
.update-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52px;
  z-index: 1;
  pointer-events: none;
}

.update-ticker::before {
  left: 0;
  background: linear-gradient(90deg, rgba(8, 5, 26, 0.95), rgba(8, 5, 26, 0));
}

.update-ticker::after {
  right: 0;
  background: linear-gradient(270deg, rgba(8, 5, 26, 0.95), rgba(8, 5, 26, 0));
}

.update-ticker-track {
  display: flex;
  width: max-content;
  animation: tickerSlide 28s linear infinite;
}

.update-ticker-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 10px 24px;
}

.update-ticker-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(68, 251, 255, 0.8);
  margin-right: 12px;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Animated dual dot-grid overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(68, 251, 255, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(162, 38, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px, 112px 112px;
  background-position: 0 0, 28px 28px;
  pointer-events: none;
  animation: gridDrift 35s linear infinite;
  opacity: 0.65;
}

/* Horizontal scan-line sweep */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(68, 251, 255, 0.1) 50%, transparent 95%);
  animation: scanLine 14s linear infinite;
  pointer-events: none;
}

@keyframes gridDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(56px, 56px); }
}

@keyframes scanLine {
  0%   { top: 0%;   opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.hero-content {
  max-width: 920px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.9s ease 0.2s backwards;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: rgba(68, 251, 255, 0.05);
  border: 1px solid rgba(68, 251, 255, 0.25);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 32px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(68, 251, 255, 0.07), inset 0 0 12px rgba(68, 251, 255, 0.02);
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

.hero-content h2 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 0 18px rgba(68, 251, 255, 0.2));
}

.hero-content p {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.button-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.button {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.35s ease;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border: none;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  transition: left 0.4s ease;
  border-radius: 999px;
}

.button:hover::before {
  left: 100%;
}

.button-primary {
  background: var(--grad-purple-blue);
  color: #fff;
  box-shadow:
    0 8px 32px rgba(100, 0, 251, 0.45),
    0 0 0 1px rgba(68, 251, 255, 0.1);
}

.button-primary:hover {
  box-shadow:
    0 14px 52px rgba(100, 0, 251, 0.6),
    0 0 0 1px rgba(68, 251, 255, 0.28),
    0 0 28px rgba(68, 251, 255, 0.12);
  transform: translateY(-3px);
  color: #fff;
}

.button-secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(68, 251, 255, 0.4);
}

.button-secondary:hover {
  background: rgba(68, 251, 255, 0.06);
  border-color: var(--accent);
  box-shadow: 0 0 28px rgba(68, 251, 255, 0.18);
  transform: translateY(-3px);
  color: var(--accent);
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.parallax-layer {
  --parallax-shift: 0px;
  transform: translate3d(0, var(--parallax-shift), 0);
  transition: transform 0.12s linear;
  will-change: transform;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(68, 251, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator span::before {
  content: '';
  display: block;
  width: 2px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent);
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);    opacity: 1; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 0.2; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 52px;
  line-height: 1.9;
}

/* Featured Game Section */
.featured-game {
  background:
    radial-gradient(ellipse 65% 55% at 100% 0%,  rgba(68, 251, 255, 0.06), transparent 55%),
    radial-gradient(ellipse 55% 60% at 0%  100%, rgba(115, 0, 196, 0.08), transparent 55%);
}

.featured-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}

.game-showcase {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.game-showcase-placeholder {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, rgba(62, 61, 255, 0.07), rgba(68, 251, 255, 0.04));
  border: 1px solid var(--card-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.35s ease;
  overflow: hidden;
  position: relative;
}

.game-showcase-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 28px,
      rgba(62, 61, 255, 0.025) 28px,
      rgba(62, 61, 255, 0.025) 30px
    );
}

.game-showcase-placeholder:hover {
  border-color: rgba(68, 251, 255, 0.45);
  box-shadow: 0 0 48px rgba(68, 251, 255, 0.08), inset 0 0 32px rgba(68, 251, 255, 0.03);
  transform: scale(1.02);
}

.placeholder-icon {
  font-size: 3rem;
  color: var(--accent);
  filter: drop-shadow(0 0 14px rgba(68, 251, 255, 0.5));
  position: relative;
  z-index: 1;
}

.game-details h4 {
  color: var(--text-primary);
}

.lead-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.9;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.feature {
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.feature:hover {
  background: var(--card-hover-bg);
  border-color: var(--card-hover-border);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

.feature h4 {
  color: var(--accent);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.about-card {
  padding: 36px 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(14px);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  display: block;
  color: inherit;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(68, 251, 255, 0.5) 50%, transparent 95%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.about-card:hover::before {
  opacity: 1;
}

.about-card:hover {
  background: var(--card-hover-bg);
  border-color: var(--card-hover-border);
  transform: translateY(-10px);
  box-shadow:
    0 28px 72px rgba(62, 61, 255, 0.18),
    0 0 0 1px rgba(68, 251, 255, 0.1);
  color: inherit;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 18px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(68, 251, 255, 0.28));
}

.about-card h3 {
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.95rem;
}

/* Logo & Media Section */
.media-section {
  background:
    radial-gradient(ellipse 55% 50% at 15% 0%,  rgba(68, 251, 255, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 100%, rgba(115, 0, 196, 0.08), transparent 55%);
}

.media-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  margin-top: 44px;
}

.brand-spotlight,
.media-grid-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(14px);
}

.brand-spotlight p,
.media-grid-wrap p {
  margin-bottom: 18px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.media-frame {
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(8, 5, 26, 0.9), rgba(62, 61, 255, 0.06));
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.media-frame img {
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.media-frame:hover img {
  transform: scale(1.03);
  filter: saturate(1.08);
}

.logo-frame {
  min-height: 320px;
}

.media-frame:hover {
  transform: translateY(-4px);
  border-color: rgba(68, 251, 255, 0.5);
  box-shadow: 0 12px 40px rgba(68, 251, 255, 0.1);
}

.media-placeholder {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(5, 3, 15, 0.1), rgba(5, 3, 15, 0.82)),
    repeating-linear-gradient(
      -45deg,
      rgba(62, 61, 255, 0.03),
      rgba(62, 61, 255, 0.03) 12px,
      transparent 12px,
      transparent 24px
    );
}

.media-placeholder p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.media-tag {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(68, 251, 255, 0.38);
  color: var(--accent);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.media-hint {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Vision Section */
.vision-section {
  background:
    radial-gradient(ellipse 70% 55% at 100% 50%, rgba(115, 0, 196, 0.1), transparent 55%);
  border-top: 1px solid rgba(68, 251, 255, 0.05);
  border-bottom: 1px solid rgba(68, 251, 255, 0.05);
}

.vision-content h2 {
  max-width: 600px;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 44px;
  margin-top: 52px;
}

.value-item {
  padding-left: 64px;
  position: relative;
}

.value-number {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--grad-blue-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
  line-height: 1;
}

.value-item h4 {
  margin-bottom: 8px;
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 52px 0;
}

.job-card {
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.job-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(115, 0, 196, 0.55) 50%, transparent 95%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.job-card:hover::after {
  opacity: 1;
}

.job-card:hover {
  background: var(--card-hover-bg);
  border-color: var(--card-hover-border);
  transform: translateY(-8px);
  box-shadow:
    0 28px 72px rgba(62, 61, 255, 0.16),
    0 0 0 1px rgba(68, 251, 255, 0.08);
}

.job-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.job-card h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.job-card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.job-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.job-card li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.application-section {
  text-align: center;
  padding: 68px 44px;
  background: linear-gradient(145deg,
    rgba(62, 61, 255, 0.07),
    rgba(115, 0, 196, 0.08)
  );
  border: 1px solid rgba(68, 251, 255, 0.11);
  border-radius: 24px;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}

.application-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(68, 251, 255, 0.5) 50%, transparent 90%);
}

.application-section h3 {
  margin-bottom: 16px;
}

.application-section.application-section-plain {
  padding: 22px 0 0;
  background: transparent;
  border: none;
  border-radius: 0;
  margin-top: 52px;
  overflow: visible;
}

.application-section.application-section-plain::before {
  display: none;
}

.apply-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* Contact Section */
.contact-section {
  text-align: center;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 52px;
}

.contact-card {
  padding: 52px 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  backdrop-filter: blur(14px);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-blue-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card:hover {
  background: var(--card-hover-bg);
  border-color: var(--card-hover-border);
  transform: translateY(-10px);
  box-shadow:
    0 28px 72px rgba(68, 251, 255, 0.09),
    0 0 0 1px rgba(68, 251, 255, 0.1);
}

.contact-card h3 {
  margin-bottom: 16px;
}

.contact-card a {
  display: inline-block;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 16px 0;
  color: var(--accent);
}

.contact-card a:hover {
  color: var(--cyan-soft);
}

.contact-card p {
  font-size: 0.9rem;
  margin-top: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background:
    linear-gradient(180deg, transparent, rgba(62, 61, 255, 0.04)),
    var(--bg-void);
  border-top: 1px solid rgba(68, 251, 255, 0.07);
  padding: 72px 24px 40px;
  margin-top: 80px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(68, 251, 255, 0.55), transparent);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
}

.footer-section h4 {
  margin-bottom: 18px;
  color: var(--text-primary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-section p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================
   AMBIENT BACKGROUND ORBS
   ============================================ */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.38;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 65% 45% at 50% 45%, rgba(68, 251, 255, 0.07), transparent 60%),
    radial-gradient(ellipse 55% 65% at 30% 60%, rgba(115, 0, 196, 0.14), transparent 65%),
    rgba(4, 2, 12, 0.96);
  transition: opacity 0.52s ease, visibility 0.52s ease;
}

.site-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
}

.site-loader-core {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 24px;
}

.site-loader-core img {
  width: min(42vw, 240px);
  height: auto;
  filter:
    drop-shadow(0 0 38px rgba(115, 0, 196, 0.62))
    drop-shadow(0 0 18px rgba(68, 251, 255, 0.35));
  animation: loaderLogo 1.25s cubic-bezier(0.2, 0.85, 0.3, 1.18) both;
}

.site-loader-core p {
  font-size: 0.72rem;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: rgba(232, 234, 246, 0.82);
  animation: loaderText 1.1s ease 0.2s both;
}

@keyframes loaderLogo {
  0% {
    opacity: 0;
    transform: scale(0.68) translateY(14px);
    filter:
      brightness(1.5)
      drop-shadow(0 0 68px rgba(115, 0, 196, 0.9))
      drop-shadow(0 0 44px rgba(68, 251, 255, 0.65));
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter:
      drop-shadow(0 0 38px rgba(115, 0, 196, 0.62))
      drop-shadow(0 0 18px rgba(68, 251, 255, 0.35));
  }
}

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

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2500;
  opacity: 1;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 0.2s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: rgba(68, 251, 255, 0.95);
  box-shadow: 0 0 16px rgba(68, 251, 255, 0.85);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1.5px solid rgba(68, 251, 255, 0.6);
  box-shadow: inset 0 0 10px rgba(68, 251, 255, 0.12), 0 0 20px rgba(68, 251, 255, 0.2);
  transition: opacity 0.2s ease, width 0.12s ease, height 0.12s ease, margin 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

body.cursor-hidden .cursor-dot,
body.cursor-hidden .cursor-ring {
  opacity: 0;
}

body.cursor-hover .cursor-ring {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-color: rgba(162, 38, 255, 0.78);
  box-shadow: inset 0 0 12px rgba(162, 38, 255, 0.22), 0 0 26px rgba(162, 38, 255, 0.35);
}

body.cursor-down .cursor-ring {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
}

.page-stars::before,
.page-stars::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-stars::before {
  background-image:
    radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.95) 1.1px, transparent 1.2px),
    radial-gradient(circle at 72% 12%, rgba(68, 251, 255, 0.9) 1px, transparent 1.1px),
    radial-gradient(circle at 30% 67%, rgba(162, 38, 255, 0.72) 1px, transparent 1.1px),
    radial-gradient(circle at 84% 58%, rgba(255, 255, 255, 0.75) 1.1px, transparent 1.2px),
    radial-gradient(circle at 22% 88%, rgba(68, 251, 255, 0.7) 0.95px, transparent 1px);
  background-size: 360px 360px, 420px 420px, 520px 520px, 600px 600px, 700px 700px;
  animation: starsDriftA 85s linear infinite;
}

.page-stars::after {
  background-image:
    radial-gradient(circle at 14% 30%, rgba(255, 255, 255, 0.7) 1px, transparent 1.1px),
    radial-gradient(circle at 63% 44%, rgba(68, 251, 255, 0.55) 0.95px, transparent 1px),
    radial-gradient(circle at 40% 79%, rgba(162, 38, 255, 0.5) 0.9px, transparent 1px),
    radial-gradient(circle at 88% 84%, rgba(255, 255, 255, 0.65) 0.95px, transparent 1px);
  background-size: 450px 450px, 560px 560px, 640px 640px, 760px 760px;
  animation: starsDriftB 110s linear infinite;
  opacity: 0.72;
}

@keyframes starsDriftA {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-120px, -80px, 0); }
}

@keyframes starsDriftB {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(90px, -120px, 0); }
}

.ambient-bg::before {
  content: '';
  position: absolute;
  width: 820px;
  height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115, 0, 196, 0.1) 0%, transparent 65%);
  top: 2%;
  left: -18%;
  animation: orbDrift1 32s ease-in-out infinite;
}

.ambient-bg::after {
  content: '';
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68, 251, 255, 0.065) 0%, transparent 65%);
  bottom: -5%;
  right: -12%;
  animation: orbDrift2 40s ease-in-out infinite;
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  28%       { transform: translate(90px, -130px) scale(1.1); }
  62%       { transform: translate(-70px, 100px) scale(0.91); }
}

@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  38%       { transform: translate(-110px, 85px) scale(1.09); }
  70%       { transform: translate(75px, -75px) scale(0.94); }
}

/* ============================================
   DEVLOG / NEWS STYLES
   ============================================ */
.devlog-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}

.devlog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 26px;
}

.devlog-filter-button {
  border: 1px solid rgba(68, 251, 255, 0.25);
  background: rgba(8, 5, 26, 0.5);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.devlog-filter-button:hover,
.devlog-filter-button.active {
  color: var(--accent);
  border-color: rgba(68, 251, 255, 0.55);
  background: rgba(68, 251, 255, 0.08);
}

.devlog-entry.devlog-hidden {
  display: none;
}

.devlog-entry {
  padding: 32px 32px 32px 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.devlog-entry::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-blue-cyan);
  border-radius: 2px 0 0 2px;
}

.devlog-entry:hover {
  background: var(--card-hover-bg);
  border-color: var(--card-hover-border);
  transform: translateX(6px);
  box-shadow: 0 12px 48px rgba(62, 61, 255, 0.15);
}

.devlog-entry-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.devlog-tag {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border: 1px solid rgba(68, 251, 255, 0.35);
  color: var(--accent);
}

.devlog-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.devlog-entry h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.devlog-entry > p {
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 0;
}

.devlog-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.devlog-cta:hover {
  opacity: 1;
  color: var(--accent);
}

.devlog-empty {
  text-align: center;
  padding: 80px 40px;
  background: var(--card-bg);
  border: 1px dashed rgba(68, 251, 255, 0.12);
  border-radius: 24px;
  margin-top: 48px;
}

.devlog-empty p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ============================================
   SCROLL REVEAL & LIGHTBOX
   ============================================ */
.reveal-item {
  opacity: 0;
  transform: translateY(14px) scale(0.99);
  filter: blur(2px);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.35s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.reveal-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.lightbox-trigger {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(5, 3, 15, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.image-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: min(1040px, 94vw);
}

.image-lightbox img {
  max-width: min(1040px, 94vw);
  max-height: 80vh;
  width: auto;
  height: auto;
  border: 1px solid rgba(68, 251, 255, 0.3);
  border-radius: 14px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.62), 0 0 42px rgba(68, 251, 255, 0.15);
}

.image-lightbox-caption {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(68, 251, 255, 0.35);
  background: rgba(8, 5, 26, 0.85);
  color: var(--accent);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.image-lightbox-close:hover {
  background: rgba(68, 251, 255, 0.14);
  border-color: var(--accent);
}

.image-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(68, 251, 255, 0.35);
  background: rgba(8, 5, 26, 0.85);
  color: var(--accent);
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  line-height: 1;
}

.image-lightbox-nav:hover {
  background: rgba(68, 251, 255, 0.14);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(68, 251, 255, 0.25);
}

.image-lightbox-nav:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.image-lightbox-nav.prev { left: 18px; }
.image-lightbox-nav.next { right: 18px; }

@media (max-width: 600px) {
  .image-lightbox-nav { display: none; }
}

/* ============================================
   PAGE TRANSITION
   ============================================ */
@keyframes pageExitAnim {
  to { opacity: 0; transform: translateY(-10px); }
}

body.page-exit {
  animation: pageExitAnim 0.22s ease forwards;
  pointer-events: none;
}

/* ============================================
   PARTICLE CANVAS
   ============================================ */
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   PINNED DEVLOG CARD
   ============================================ */
.devlog-pinned {
  padding: 32px 32px 32px 44px;
  background: linear-gradient(135deg, rgba(100, 0, 251, 0.1), rgba(62, 61, 255, 0.07));
  border: 1px solid rgba(68, 251, 255, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.devlog-pinned::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
  border-radius: 2px 0 0 2px;
  box-shadow: 0 0 14px rgba(68, 251, 255, 0.55);
}

.devlog-pinned:hover {
  border-color: rgba(68, 251, 255, 0.5);
  box-shadow: 0 12px 48px rgba(62, 61, 255, 0.18);
}

.devlog-pin-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--accent);
  margin-bottom: 12px;
}

.devlog-pin-label::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}

/* ============================================
   CLASS SHOWCASE FLIP CARDS
   ============================================ */
.class-showcase {
  background:
    radial-gradient(ellipse 65% 55% at 0% 100%, rgba(115, 0, 196, 0.08), transparent 55%),
    radial-gradient(ellipse 55% 50% at 100% 0%,  rgba(68, 251, 255, 0.06), transparent 55%);
}

.class-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.class-card {
  height: 380px;
  perspective: 1000px;
  cursor: pointer;
  outline: none;
}

.class-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

@media (hover: hover) {
  .class-card:hover .class-card-inner {
    transform: rotateY(180deg);
  }
}

.class-card.flipped .class-card-inner {
  transform: rotateY(180deg);
}

.class-card-front,
.class-card-back {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.class-card-front {
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 22px;
  gap: 4px;
  backdrop-filter: blur(12px);
}

.class-card-front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px 20px 60px;
  transition: transform 0.4s ease;
}

.class-card:hover .class-card-front img {
  transform: scale(1.04);
}

.class-name-overlay {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.flip-hint {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.65;
}

.class-card-back {
  background: linear-gradient(145deg, rgba(26, 18, 72, 0.97), rgba(62, 61, 255, 0.12));
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  gap: 10px;
  backdrop-filter: blur(12px);
}

.class-card-back h3 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.class-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.class-card-back p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.class-stat-list {
  list-style: none;
  padding: 0;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.class-stat-list li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.class-stat-list li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .featured-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .media-layout {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .values-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
  }

  .navbar.navbar-scrolled {
    top: 8px;
    width: calc(100% - 16px);
    padding: 10px 12px;
  }

  .navbar.navbar-scrolled .logo img {
    height: 124px;
  }

  .navbar.navbar-scrolled .logo-name {
    font-size: 0.62rem;
    letter-spacing: 1.2px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.78rem;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    border-top: none;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.28s ease, padding 0.28s ease;
  }

  .navbar.nav-open .nav-links {
    max-height: 320px;
    opacity: 1;
    padding: 12px 0 4px;
    border-top: 1px solid rgba(68, 251, 255, 0.14);
    pointer-events: auto;
  }

  .logo img {
    height: 210px;
  }

  .logo-name {
    font-size: 0.74rem;
  }

  .update-ticker {
    width: calc(100% - 24px);
    margin-top: 10px;
  }

  .update-ticker-item {
    font-size: 0.66rem;
    letter-spacing: 1px;
    padding: 9px 18px;
  }

  .section {
    padding: 64px 16px;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  .button-group {
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-badge {
    font-size: 0.68rem;
  }

  .careers-grid {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .values-list {
    gap: 28px;
  }

  .value-item {
    padding-left: 52px;
  }

  .value-number {
    font-size: 2rem;
  }

  .footer-content {
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 12px;
  }

  .logo img {
    height: 156px;
  }

  .logo-name {
    font-size: 0.66rem;
    letter-spacing: 1.5px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.7rem;
  }

  .section {
    padding: 44px 14px;
  }

  .hero {
    padding: 12px;
  }

  .hero-content h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .button {
    padding: 12px 24px;
    font-size: 0.84rem;
  }

  .section-intro {
    font-size: 0.95rem;
  }

  h2 {
    font-size: 1.9rem;
    margin-bottom: 16px;
  }

  h3 {
    font-size: 1.2rem;
  }

  .about-card,
  .job-card,
  .contact-card {
    padding: 24px;
  }

  .brand-spotlight,
  .media-grid-wrap {
    padding: 20px;
  }

  .logo-frame {
    min-height: 240px;
  }

  .card-icon,
  .job-icon {
    font-size: 2rem;
  }

  .application-section {
    padding: 44px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo img,
  .hero::before,
  .hero::after,
  .hero-badge::before,
  .page-stars::before,
  .page-stars::after,
  .ambient-bg::before,
  .ambient-bg::after {
    animation: none;
  }

  .update-ticker-track,
  .site-loader-core img,
  .site-loader-core p {
    animation: none;
  }

  .site-loader {
    display: none;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .logo img {
    filter: drop-shadow(0 0 28px rgba(115, 0, 196, 0.42)) drop-shadow(0 0 12px rgba(68, 251, 255, 0.2));
  }

  .logo:hover img {
    transform: none;
    animation-play-state: running;
  }

  .reveal-item,
  .reveal-item.reveal-visible,
  .parallax-layer {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
