/* ==========================================================================
   ATLAS ROLEPLAY - UI COMPONENTS & INTERACTION DESIGN
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  height: 70px;
  background: rgba(5, 7, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--grad-atlas);
  box-shadow: 0 0 20px rgba(77, 139, 245, 0.5);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.05em;
  position: relative;
  overflow: hidden;
}

.nav-logo-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.4) 50%, transparent 55%);
  transform: rotate(30deg);
  animation: shine 4s infinite linear;
}

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

.nav-logo-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1;
}

.nav-logo-title span {
  color: var(--atlas-blue);
  text-shadow: 0 0 12px rgba(77, 139, 245, 0.6);
}

.nav-logo-subtitle {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  padding: 8px 4px;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--atlas-blue);
  box-shadow: 0 0 10px var(--atlas-blue);
  border-radius: var(--radius-full);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.server-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(16, 24, 40, 0.6);
  border: 1px solid var(--border-glass);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.server-status-pill:hover {
  background: rgba(22, 32, 54, 0.85);
  border-color: var(--atlas-blue);
  color: #fff;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite ease-in-out;
}

/* Mobile Hamburger Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(6, 8, 12, 0.97);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 2rem 40px 2rem;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

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

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

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #fff;
  padding-left: 10px;
  color: var(--atlas-light-blue);
}

/* --------------------------------------------------------------------------
   2. BUTTONS & INTERACTIVE CONTROLS
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

/* Primary Button (Atlas Blue Luminous) */
.btn-primary {
  background: var(--grad-atlas);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(77, 139, 245, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(77, 139, 245, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  background: var(--grad-atlas-glow);
}

.btn-primary:hover::before {
  left: 150%;
}

.btn-primary:active {
  transform: translateY(1px);
}

/* Secondary / Glass Button */
.btn-secondary {
  background: rgba(18, 24, 40, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
  background: rgba(30, 42, 68, 0.85);
  border-color: var(--border-glass);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(77, 139, 245, 0.2);
}

/* Discord Themed Button */
.btn-discord {
  background: #5865f2;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.55);
  transform: translateY(-2px);
}

/* Small Button Variant */
.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Large Button Variant */
.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  letter-spacing: 0.06em;
}

/* Icon in Button */
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   3. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.65) contrast(1.15);
  transform: scale(1.05);
  transition: transform 10s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5, 6, 8, 0.3) 0%, rgba(5, 6, 8, 0.8) 70%, #050608 100%);
  z-index: 2;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 1.5rem 80px 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(14, 20, 34, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(77, 139, 245, 0.3);
  box-shadow: 0 0 25px rgba(77, 139, 245, 0.2);
  margin-bottom: 24px;
}

.hero-badge-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--atlas-vlight-blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.hero-title span {
  display: inline-block;
  background: var(--grad-atlas-glow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 35px rgba(77, 139, 245, 0.6);
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 36px auto;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Quick Connect Bar below Hero */
.hero-connect-bar {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(12, 16, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.connect-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.connect-ip {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--atlas-light-blue);
  user-select: all;
}

.btn-copy-ip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(77, 139, 245, 0.15);
  border: 1px solid rgba(77, 139, 245, 0.3);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-ip:hover {
  background: var(--atlas-blue);
  box-shadow: 0 0 15px var(--atlas-blue);
}

/* Scroll Down Prompt */
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.hero-scroll-indicator:hover {
  color: var(--atlas-light-blue);
}

.mouse-icon {
  width: 20px;
  height: 32px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.mouse-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--atlas-blue);
  border-radius: 2px;
  animation: mouse-scroll 1.6s infinite ease-in-out;
}

/* --------------------------------------------------------------------------
   4. SECTION: ABOUT / WHAT IS ATLAS
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text-content h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  margin-bottom: 24px;
}

.about-highlight-box {
  margin: 30px 0;
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(77, 139, 245, 0.08) 0%, rgba(12, 16, 26, 0.6) 100%);
  border-left: 3px solid var(--atlas-blue);
}

.about-highlight-box p {
  color: #e2e8f0;
  font-size: 1.05rem;
  font-style: italic;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(77, 139, 245, 0.12);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--atlas-light-blue);
  flex-shrink: 0;
}

.about-feature-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-feature-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.about-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-subtle);
  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
}

.about-visual-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.about-visual-card:hover img {
  transform: scale(1.04);
}

.about-visual-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: rgba(8, 11, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   5. FEATURES MATRIX
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--atlas-blue), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card), 0 0 30px rgba(77, 139, 245, 0.15);
}

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

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(77, 139, 245, 0.18) 0%, rgba(34, 92, 194, 0.05) 100%);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--atlas-light-blue);
  font-size: 1.5rem;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(77, 139, 245, 0.1);
  transition: all var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(4deg);
  background: var(--grad-atlas);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(77, 139, 245, 0.5);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

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

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   6. CAREERS & JOBS SHOWCASE
   -------------------------------------------------------------------------- */
.careers-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: rgba(16, 22, 36, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--atlas-blue);
  border-color: var(--atlas-light-blue);
  color: #fff;
  box-shadow: 0 0 20px rgba(77, 139, 245, 0.4);
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.career-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.career-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-card), 0 0 35px rgba(77, 139, 245, 0.2);
}

.career-image-holder {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.career-image-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.career-card:hover .career-image-holder img {
  transform: scale(1.08);
}

.career-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(5, 6, 8, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--atlas-light-blue);
  border: 1px solid var(--border-glass);
  text-transform: uppercase;
}

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

.career-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

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

.career-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.career-meta-item span.label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.career-meta-item span.value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

/* --------------------------------------------------------------------------
   7. FACTIONS & UNDERWORLD SECTION
   -------------------------------------------------------------------------- */
.factions-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.faction-column-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.faction-column-card:hover {
  border-color: var(--border-glass);
  box-shadow: var(--shadow-card), 0 0 40px rgba(77, 139, 245, 0.25);
}

.faction-header-img {
  position: relative;
  width: 100%;
  height: 280px;
}

.faction-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faction-header-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(180deg, transparent 0%, var(--bg-card) 100%);
}

.faction-body {
  padding: 32px;
  position: relative;
  z-index: 2;
}

.faction-type-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--atlas-light-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.faction-body h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.faction-body p {
  font-size: 0.98rem;
  margin-bottom: 24px;
}

.faction-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.faction-perks-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.faction-perks-list li svg {
  color: var(--atlas-blue);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. SERVER STATISTICS
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.stat-card {
  position: relative;
  padding: 36px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(16, 22, 38, 0.7) 0%, rgba(8, 11, 18, 0.8) 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--grad-atlas-glow);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(77, 139, 245, 0.2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 10px;
  background: var(--grad-atlas-glow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.stat-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. CINEMATIC TRAILER SECTION
   -------------------------------------------------------------------------- */
.trailer-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border-subtle);
  background: #000;
  aspect-ratio: 16 / 9;
  max-width: 1040px;
  margin: 0 auto;
  cursor: pointer;
}

.trailer-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  transition: transform 0.8s var(--ease-out-expo), filter 0.4s ease;
}

.trailer-frame:hover .trailer-thumbnail {
  transform: scale(1.03);
  filter: brightness(0.8);
}

.trailer-play-btn-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 5;
}

.play-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--grad-atlas);
  box-shadow: 0 0 40px rgba(77, 139, 245, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-smooth);
}

.play-circle svg {
  width: 36px;
  height: 36px;
  margin-left: 4px;
}

.trailer-frame:hover .play-circle {
  transform: scale(1.15);
  box-shadow: 0 0 60px rgba(77, 139, 245, 0.9);
}

.play-circle-ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--atlas-light-blue);
  animation: ripple 2s infinite ease-out;
}

.play-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* --------------------------------------------------------------------------
   10. GALLERY SECTION & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.gallery-filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(14, 20, 32, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--atlas-blue);
  border-color: var(--atlas-blue);
  color: #fff;
  box-shadow: 0 0 15px rgba(77, 139, 245, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(77, 139, 245, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 7, 12, 0.9) 100%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--atlas-light-blue);
  text-transform: uppercase;
}

.gallery-item-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* --------------------------------------------------------------------------
   11. HOW TO JOIN (3-STEP GUIDE)
   -------------------------------------------------------------------------- */
.join-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  position: relative;
}

.step-card {
  position: relative;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-card), 0 0 30px rgba(77, 139, 245, 0.2);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(77, 139, 245, 0.12);
}

.step-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(77, 139, 245, 0.12);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--atlas-light-blue);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   12. NEWS & DEV UPDATES
   -------------------------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-card), 0 0 30px rgba(77, 139, 245, 0.2);
}

.news-img-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.news-card:hover .news-img-box img {
  transform: scale(1.06);
}

.news-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;
}

.news-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--atlas-light-blue);
  text-transform: uppercase;
}

.news-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.news-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

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

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--atlas-light-blue);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   13. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(77, 139, 245, 0.1);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--atlas-light-blue);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 28px 24px 28px;
}

.faq-answer p {
  font-size: 0.98rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   14. COMMUNITY CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 24, 42, 0.95) 0%, rgba(8, 11, 18, 0.98) 100%);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card), 0 0 50px rgba(77, 139, 245, 0.25);
}

.cta-banner h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.2rem;
  max-width: 620px;
  margin: 0 auto 36px auto;
  color: #cbd5e1;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: #040507;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px 0;
  z-index: 10;
}

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

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.footer-brand h3 span {
  color: var(--atlas-blue);
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 340px;
  margin-bottom: 24px;
}

.footer-social-links {
  display: flex;
  gap: 14px;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--atlas-blue);
  border-color: var(--atlas-blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 15px var(--atlas-blue);
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

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

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

.footer-links a:hover {
  color: var(--atlas-light-blue);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-disclaimer {
  font-size: 0.78rem !important;
  color: var(--text-dim) !important;
  max-width: 580px;
}

/* --------------------------------------------------------------------------
   16. MODALS & POPUPS
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 640px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-modal);
  padding: 40px;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Lightbox Modal */
.lightbox-modal .modal-content {
  max-width: 1100px;
  padding: 12px;
  background: rgba(10, 14, 22, 0.95);
}

.lightbox-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.lightbox-img-wrapper img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   17. CUSTOM CURSOR & FLOATING TOOLS
   -------------------------------------------------------------------------- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 2px solid var(--atlas-light-blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 0 15px rgba(77, 139, 245, 0.5);
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

.custom-cursor.hovered {
  width: 48px;
  height: 48px;
  background: rgba(77, 139, 245, 0.15);
  border-color: #ffffff;
}

/* Floating Controls (Sound & Back to Top) */
.floating-controls {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

.floating-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(14, 20, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.floating-btn:hover {
  background: var(--atlas-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(77, 139, 245, 0.6);
}

.back-to-top {
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(10, 15, 25, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--atlas-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(77, 139, 245, 0.4);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --------------------------------------------------------------------------
   DEV PLACEHOLDER (Server in Entwicklung — echte Screenshots folgen)
   -------------------------------------------------------------------------- */
.dev-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(77, 139, 245, 0.14), transparent 55%),
    radial-gradient(ellipse at 75% 85%, rgba(121, 170, 255, 0.08), transparent 55%),
    linear-gradient(160deg, #0b111c 0%, #070a12 100%);
}

.dev-placeholder .dev-ph-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--atlas-light-blue);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  background: rgba(77, 139, 245, 0.08);
}

.dev-placeholder .dev-ph-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 320px;
}

/* Tag/Text über etwaigen Overlay-Gradienten der Container halten
   (z. B. .faction-header-img::after) */
.dev-placeholder .dev-ph-tag,
.dev-placeholder .dev-ph-text {
  position: relative;
  z-index: 3;
}
