/* ==========================================================================
   jazkALIVE Official Game Studio - Refined Humanist Design System
   Palette Signature: linear-gradient(135deg, #ff4500 0%, #ff8c00 50%, #ffd700 100%)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  /* Warm Humanist Dark Palette */
  --bg-darkest: #070504;
  --bg-primary: #0c0806;
  --bg-secondary: #130d09;
  --bg-surface: #1a120c;
  --bg-card: rgba(24, 16, 11, 0.72);
  --bg-card-hover: rgba(34, 22, 16, 0.88);
  --bg-glass: rgba(18, 12, 8, 0.82);
  
  /* Text */
  --text-main: #fcf8f2;
  --text-muted: #d0c2b7;
  --text-dim: #a6968c;
  
  /* Signature Theme Gradient & Colors */
  --fire-gradient: linear-gradient(135deg, #ff4500 0%, #ff8c00 50%, #ffd700 100%);
  --fire-gradient-h: linear-gradient(90deg, #ff4500 0%, #ff8c00 50%, #ffd700 100%);
  --fire-red: #ff4500;
  --fire-orange: #ff8c00;
  --fire-gold: #ffd700;
  
  /* Platform Brands */
  --info-blue: #66c0f4;
  --play-green: #01875f;
  --play-light: #00e676;
  
  /* Borders & Glows */
  --border-subtle: rgba(255, 140, 0, 0.12);
  --border-bright: rgba(255, 140, 0, 0.35);
  --border-fire: rgba(255, 69, 0, 0.45);
  --glow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --glow-fire: 0 10px 30px rgba(255, 69, 0, 0.35);
  --glow-intense: 0 15px 40px rgba(255, 69, 0, 0.45), 0 0 60px rgba(255, 140, 0, 0.15);
  
  /* Humanist Typography */
  --font-display: 'Cinzel', Georgia, serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  
  /* Refined Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset */
*, *::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-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.7;
  background: radial-gradient(circle at 50% -10%, #281005 0%, #0f0703 45%, var(--bg-darkest) 80%);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: #2e160a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--fire-orange);
}

/* Background Canvas */
#matrixCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* Atmospheric Subtle Texture */
.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 140, 0, 0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 140, 0, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.75rem;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 5, 4, 0.82);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header.scrolled {
  background: rgba(7, 5, 4, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(255, 140, 0, 0.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--text-main);
  transition: transform var(--transition-fast);
}

.brand-link:hover {
  transform: translateY(-2px);
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.45);
  background: #000;
}

.brand-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-name span.live {
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}

.brand-tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--fire-orange);
  box-shadow: 0 0 8px var(--fire-orange);
  animation: pulse-beat 1.8s infinite;
}

@keyframes pulse-beat {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--fire-red); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  transition: color var(--transition-fast);
  padding: 8px 4px;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--fire-gradient-h);
  transition: width var(--transition-smooth);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.util-btn {
  background: rgba(255, 140, 0, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.util-btn:hover {
  background: rgba(255, 140, 0, 0.15);
  color: var(--fire-gold);
  border-color: var(--border-bright);
}

.cta-header-btn {
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.16), rgba(255, 215, 0, 0.2));
  border: 1px solid var(--border-bright);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-smooth);
}

.cta-header-btn:hover {
  background: var(--fire-gradient);
  color: #060302;
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.45);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 140, 0, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-main);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(255, 140, 0, 0.18);
  color: var(--fire-gold);
  border-color: var(--border-bright);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--fire-gradient);
  color: #060302;
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 140, 0, 0.6);
  color: #000;
}

.btn-googleplay {
  background: rgba(1, 135, 95, 0.22);
  color: #fff;
  border: 1px solid rgba(0, 230, 118, 0.38);
}

.btn-googleplay:hover {
  background: #01875f;
  border-color: var(--play-light);
  box-shadow: 0 8px 25px rgba(0, 230, 118, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 140, 0, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-bright);
}

.btn-ghost:hover {
  background: rgba(255, 140, 0, 0.14);
  border-color: var(--fire-gold);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 135px;
  padding-bottom: 75px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: saturate(1.2) contrast(1.1);
  transform: scale(1.04);
  animation: hero-drift 24s alternate infinite ease-in-out;
}

@keyframes hero-drift {
  0% { transform: scale(1.03) translate(0, 0); }
  100% { transform: scale(1.07) translate(-12px, -8px); }
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(7, 5, 4, 0.75) 0%, 
    rgba(12, 8, 6, 0.88) 60%, 
    var(--bg-darkest) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 69, 0, 0.1);
  border: 1px solid var(--border-bright);
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fire-gold);
  margin-bottom: 1.3rem;
  letter-spacing: 1px;
}

.hero-logo-wrap {
  margin-bottom: 1.25rem;
}

.hero-title-logo-img {
  max-width: 440px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(255, 69, 0, 0.45)) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.85));
  animation: logo-glow 4s ease-in-out infinite alternate;
}

@keyframes logo-glow {
  0% {
    filter: drop-shadow(0 0 18px rgba(255, 69, 0, 0.35)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.8));
    transform: translateY(0);
  }
  100% {
    filter: drop-shadow(0 0 35px rgba(255, 140, 0, 0.65)) drop-shadow(0 14px 28px rgba(0, 0, 0, 0.95));
    transform: translateY(-4px);
  }
}

.floating-icon-wrap.has-icon {
  background: transparent;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.45);
}

.floating-game-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 0.4rem;
  letter-spacing: 1px;
}

.hero-title-accent {
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0px;
}

.hero-tagline-sub {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--fire-orange);
  letter-spacing: 2px;
  margin-bottom: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: #e2d5cb;
  line-height: 1.75;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-subtle);
}

.spec-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 140, 0, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.spec-pill-item i {
  color: var(--fire-orange);
  font-size: 0.85rem;
}

/* Hero Showcase Card */
.hero-card-showcase {
  position: relative;
}

.hero-main-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-fire);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), var(--glow-fire);
  transition: all var(--transition-smooth);
}

.hero-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
}

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

.hero-main-card:hover .hero-card-img {
  transform: scale(1.05);
}

.hero-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(18, 12, 8, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trailer-play-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--fire-gradient);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.5rem;
  padding-left: 4px;
  box-shadow: 0 0 35px var(--fire-red);
  transition: all var(--transition-bounce);
}

.hero-card-media:hover .trailer-play-icon {
  transform: scale(1.12);
  box-shadow: 0 0 50px var(--fire-orange);
}

.hero-card-content {
  padding: 1.8rem;
  position: relative;
}

.hero-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.8rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.badge-featured {
  background: rgba(255, 69, 0, 0.16);
  color: var(--fire-gold);
  border: 1px solid var(--border-bright);
}

.badge-info {
  background: rgba(102, 192, 244, 0.14);
  color: var(--info-blue);
  border: 1px solid rgba(102, 192, 244, 0.3);
}

.badge-play {
  background: rgba(0, 230, 118, 0.14);
  color: var(--play-light);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  line-height: 1.65;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.floating-status-pill {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(18, 12, 8, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-bright);
  padding: 12px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), var(--glow-fire);
  animation: float-y 4s ease-in-out infinite;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--fire-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.1rem;
}

.floating-info h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.floating-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
section {
  padding: 105px 0;
  position: relative;
  z-index: 2;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--fire-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==========================================================================
   GAMEPLAY DEEP DIVE & PILLARS
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-bright);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--glow-fire);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 69, 0, 0.1);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fire-gold);
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* Lore Banner */
.game-lore-banner {
  background: linear-gradient(135deg, rgba(28, 17, 12, 0.95), rgba(16, 10, 6, 0.95));
  border: 1px solid var(--border-fire);
  border-radius: 22px;
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3.5rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.85);
}

.lore-content h3 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.25;
}

.lore-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

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

.lore-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
}

.lore-bullets li i {
  color: var(--fire-orange);
  margin-top: 5px;
}

.lore-media-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}

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

/* ==========================================================================
   SKILLS & ACTIONS ARSENAL
   ========================================================================== */
.gold-reward-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.15);
  color: var(--fire-gold);
  border: 1px solid rgba(255, 215, 0, 0.35);
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.8rem;
}

.party-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 140, 0, 0.12);
  color: var(--fire-orange);
  border: 1px solid var(--border-bright);
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
}

.skills-showcase-section {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

.skills-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.skills-subhead h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.skills-subhead h3 i {
  color: var(--fire-orange);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.6rem;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--fire-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-bright);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

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

.skill-card.type-ice:hover {
  border-color: rgba(102, 192, 244, 0.55);
  box-shadow: 0 12px 35px rgba(102, 192, 244, 0.25);
}
.skill-card.type-ice::before {
  background: linear-gradient(90deg, #66c0f4, #00d2ff);
}

.skill-card.type-fire:hover {
  border-color: rgba(255, 69, 0, 0.55);
  box-shadow: 0 12px 35px rgba(255, 69, 0, 0.35);
}
.skill-card.type-fire::before {
  background: linear-gradient(90deg, #ff4500, #ff8c00);
}

.skill-card.type-thunder:hover {
  border-color: rgba(255, 215, 0, 0.55);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.3);
}
.skill-card.type-thunder::before {
  background: linear-gradient(90deg, #ffd700, #ffaa00);
}

.skill-card.type-hell:hover {
  border-color: rgba(255, 23, 68, 0.65);
  box-shadow: 0 12px 35px rgba(255, 23, 68, 0.4);
}
.skill-card.type-hell::before {
  background: linear-gradient(90deg, #ff1744, #ff5252);
}

.skill-icon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.skill-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.type-ice .skill-icon-badge {
  background: rgba(102, 192, 244, 0.12);
  color: #66c0f4;
  border: 1px solid rgba(102, 192, 244, 0.3);
}
.type-fire .skill-icon-badge {
  background: rgba(255, 69, 0, 0.12);
  color: #ff6347;
  border: 1px solid rgba(255, 69, 0, 0.3);
}
.type-thunder .skill-icon-badge {
  background: rgba(255, 215, 0, 0.12);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.3);
}
.type-hell .skill-icon-badge {
  background: rgba(255, 23, 68, 0.15);
  color: #ff5252;
  border: 1px solid rgba(255, 23, 68, 0.35);
}

.skill-cost-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.skill-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.skill-stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.skill-dmg-val {
  color: var(--fire-gold);
}
.skill-mp-val {
  color: #66c0f4;
}

.skill-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: auto;
}

/* Secondary 2-column tactical strip */
.tactics-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.tactics-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tactics-box.boss-heal-box {
  border-color: rgba(0, 230, 118, 0.3);
  background: linear-gradient(135deg, rgba(14, 25, 18, 0.85) 0%, rgba(18, 12, 8, 0.9) 100%);
}

.tactics-box.consumables-box {
  border-color: var(--border-bright);
  background: linear-gradient(135deg, rgba(28, 18, 12, 0.85) 0%, rgba(18, 12, 8, 0.9) 100%);
}

.tactics-box-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.2rem;
}

.tactics-box-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.boss-heal-box .tactics-box-icon {
  background: rgba(0, 230, 118, 0.15);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.35);
}

.consumables-box .tactics-box-icon {
  background: rgba(255, 140, 0, 0.15);
  color: var(--fire-gold);
  border: 1px solid var(--border-bright);
}

.tactics-box h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
}

.tactics-box p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 1.3rem;
}

.tactics-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tactics-items-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
}

.tactics-items-list li strong {
  color: var(--text-main);
}

/* ==========================================================================
   SYSTEM REQUIREMENTS
   ========================================================================== */
.specs-section {
  background: linear-gradient(180deg, transparent 0%, rgba(20, 12, 8, 0.45) 50%, transparent 100%);
}

.platform-switch-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 3rem;
}

.platform-switch-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 12px 28px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.platform-switch-btn:hover {
  color: var(--text-main);
  background: rgba(255, 140, 0, 0.1);
  border-color: var(--border-bright);
}

.platform-switch-btn.active {
  background: rgba(255, 69, 0, 0.15);
  color: var(--fire-gold);
  border-color: var(--fire-orange);
  box-shadow: 0 0 25px rgba(255, 69, 0, 0.3);
}

.specs-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
}

.spec-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.2rem;
  transition: all var(--transition-smooth);
}

.spec-tier-card:hover {
  border-color: var(--border-bright);
  box-shadow: var(--glow-fire);
}

.spec-tier-card h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  color: var(--fire-gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 140, 0, 0.08);
  font-size: 0.92rem;
}

.spec-label {
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
}

.spec-value {
  color: var(--text-main);
  font-weight: 500;
}

/* ==========================================================================
   ABOUT STUDIO & TECH STACK
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-lead {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1.4rem;
  color: var(--text-main);
}

.about-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

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

.pillar-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.4rem;
  transition: all var(--transition-fast);
}

.pillar-item:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}

.pillar-icon {
  font-size: 1.5rem;
  color: var(--fire-orange);
  margin-bottom: 0.75rem;
}

.pillar-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.pillar-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tech-stack-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.tech-stack-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.tech-pill {
  background: rgba(255, 140, 0, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.tech-pill:hover {
  background: rgba(255, 140, 0, 0.1);
  border-color: var(--border-bright);
  transform: translateY(-3px);
}

.tech-pill i {
  font-size: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--fire-gold);
}

.tech-pill span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   PRESS KIT
   ========================================================================== */
.press-banner {
  background: linear-gradient(135deg, rgba(28, 17, 12, 0.95), rgba(16, 10, 6, 0.95));
  border: 1px solid var(--border-bright);
  border-radius: 22px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 3rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.press-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.press-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.8rem;
  line-height: 1.65;
}

.press-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.press-specs-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.8rem;
}

.press-specs-box h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--fire-gold);
}

.press-stat-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 140, 0, 0.08);
  font-size: 0.88rem;
}

.press-stat-line span:first-child {
  color: var(--text-muted);
}
.press-stat-line span:last-child {
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #050302;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px 0;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 2.2rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1.1rem;
  margin-bottom: 1.3rem;
  max-width: 330px;
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 1.2rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 140, 0, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: rgba(255, 140, 0, 0.15);
  color: var(--fire-gold);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.footer-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 140, 0, 0.08);
  border: 1px solid rgba(255, 140, 0, 0.22);
  font-size: 0.82rem;
  color: var(--fire-gold);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-email-badge:hover {
  background: rgba(255, 140, 0, 0.18);
  border-color: rgba(255, 140, 0, 0.45);
  color: #fff;
  transform: translateY(-1px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  color: #fff;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--fire-orange);
  border-radius: 2px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 0.72rem;
  color: var(--text-dim);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

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

.footer-links a:hover i {
  color: var(--fire-gold);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 140, 0, 0.08);
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-bottom p {
  max-width: 720px;
}

.footer-compliance-links {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
}

.footer-compliance-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-compliance-links a:hover {
  color: var(--fire-gold);
}

/* ==========================================================================
   MODAL WINDOWS & TOASTS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 2, 1, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

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

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-bright);
  border-radius: 22px;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), var(--glow-intense);
  transform: scale(0.92) translateY(20px);
  transition: transform var(--transition-bounce);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--fire-red);
  color: #fff;
  transform: rotate(90deg);
}

.toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: rgba(24, 15, 10, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 14px 20px;
  color: var(--text-main);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--glow-fire);
  transform: translateX(100px);
  opacity: 0;
  transition: all var(--transition-smooth);
  pointer-events: auto;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 1.1rem;
  }
  .nav-link {
    font-size: 0.88rem;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 82px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(10, 6, 4, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.75rem 2.5rem;
    gap: 0.5rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    border-bottom: 2px solid var(--border-fire);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    z-index: 999;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 140, 0, 0.08);
    padding-bottom: 0.3rem;
  }
  .nav-menu > li:last-child {
    border-bottom: none;
  }
  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 4px;
    font-size: 1rem;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-title-main {
    font-size: 3rem;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tactics-dual-grid {
    grid-template-columns: 1fr;
  }
  .game-lore-banner {
    grid-template-columns: 1fr;
  }
  .specs-cards-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .press-banner {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
  }
  .footer-about {
    grid-column: span 2;
    max-width: 100%;
  }
  .footer-about p {
    max-width: 580px;
  }
}

@media (max-width: 768px) {
  .hero-title-main {
    font-size: 2.3rem;
  }
  .hero-title-logo-img {
    max-width: 290px;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.85rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-about {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
    align-items: center;
  }
  .footer-compliance-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1.2rem;
  }
  .cta-header-btn span {
    display: none;
  }
  .cta-header-btn {
    padding: 8px 12px;
  }
  .lang-toggle-btn span {
    font-size: 0.76rem;
  }
  .lang-toggle-btn {
    padding: 6px 10px;
  }
  .brand-icon-box {
    width: 36px;
    height: 36px;
  }
  .brand-name img {
    width: 120px !important;
  }
}
