/* ============================================
   DEAD CENTER APPS - LANDING PAGE STYLES
   Professional Split-Screen Design
   ============================================ */

/* CSS Variables */
:root {
  /* Games Division - Dark & Firey */
  --games-bg: #0a0a0f;
  --games-bg-gradient: linear-gradient(135deg, #0a0a0f 0%, #1a0a0a 50%, #0a0a0f 100%);
  --games-accent: #ff3d2e;
  --games-accent-glow: rgba(255, 61, 46, 0.4);
  --games-secondary: #ff9a3c;
  --games-text: #ffffff;
  --games-text-muted: #ff9a9a;

  /* Specialty Apps - Bright & Tech */
  --specialty-bg: #0a1628;
  --specialty-bg-gradient: linear-gradient(135deg, #0a1628 0%, #0c2d48 50%, #0a1628 100%);
  --specialty-accent: #0ea5e9;
  --specialty-accent-glow: rgba(14, 165, 233, 0.4);
  --specialty-secondary: #38bdf8;
  --specialty-text: #ffffff;
  --specialty-text-muted: #9ec5e8;

  /* Shared */
  --white: #ffffff;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html, body {
  height: 100%;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #050508;
}

/* ============================================
   HEADER
   ============================================ */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.95) 0%, rgba(5, 5, 8, 0.8) 70%, transparent 100%);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
}

.header-logo {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.header-text h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.tagline {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: #aaa;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ============================================
   SPLIT CONTAINER
   ============================================ */
.split-container {
  flex: 1;
  display: flex;
  margin-top: 100px;
}

/* ============================================
   SPLIT PANELS - Base
   ============================================ */
.split-panel {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-smooth);
  min-height: calc(100vh - 180px);
}

.split-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.panel-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 3rem;
  transition: var(--transition-smooth);
}

.division-icon {
  width: 140px;
  height: 140px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.division-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px currentColor);
}

.division-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 0.75rem;
  transition: var(--transition-smooth);
}

.division-tagline {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}

.division-desc {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  max-width: 400px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  transition: var(--transition-smooth);
}

/* Click Prompt */
.click-prompt {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition-smooth);
}

.click-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

/* Panel Glow Effect */
.panel-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  pointer-events: none;
  transition: var(--transition-smooth);
}

/* ============================================
   GAMES PANEL - Dark & Firey
   ============================================ */
.games-panel {
  background: var(--games-bg-gradient);
  border-right: 1px solid rgba(255, 61, 46, 0.2);
}

.games-panel::before {
  background: radial-gradient(ellipse at center, rgba(255, 61, 46, 0.1) 0%, transparent 70%);
}

.games-panel .division-icon {
  background: radial-gradient(circle, rgba(255, 61, 46, 0.2) 0%, transparent 70%);
  box-shadow: 0 0 60px rgba(255, 61, 46, 0.3);
}

.games-panel .division-icon img {
  filter: drop-shadow(0 0 40px var(--games-accent));
}

.games-panel .division-title {
  color: var(--games-text);
  text-shadow: 0 0 40px rgba(255, 61, 46, 0.5);
}

.games-panel .division-tagline {
  color: var(--games-secondary);
}

.games-panel .division-desc {
  color: var(--games-text-muted);
}

.games-panel .click-prompt {
  background: linear-gradient(135deg, var(--games-accent) 0%, #a3120b 100%);
  color: var(--white);
  border: 2px solid var(--games-accent);
  box-shadow: 0 0 30px rgba(255, 61, 46, 0.3);
}

.games-panel:hover .click-prompt {
  box-shadow: 0 0 50px rgba(255, 61, 46, 0.6);
  transform: scale(1.05);
}

.games-panel:hover .click-arrow {
  transform: translateX(8px);
}

.games-glow {
  background: var(--games-accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.games-panel:hover .games-glow {
  opacity: 0.5;
  width: 500px;
  height: 500px;
}

.games-panel:hover {
  background: linear-gradient(135deg, #0f0f15 0%, #200a0a 50%, #0f0f15 100%);
}

.games-panel:hover .division-icon {
  transform: scale(1.1);
  box-shadow: 0 0 80px rgba(255, 61, 46, 0.5);
}

/* ============================================
   SPECIALTY PANEL - Bright & Tech
   ============================================ */
.specialty-panel {
  background: var(--specialty-bg-gradient);
}

.specialty-panel::before {
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
}

.specialty-panel .division-icon {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
  box-shadow: 0 0 60px rgba(14, 165, 233, 0.3);
}

.specialty-panel .division-icon img {
  filter: drop-shadow(0 0 40px var(--specialty-accent));
}

.specialty-panel .division-title {
  color: var(--specialty-text);
  text-shadow: 0 0 40px rgba(14, 165, 233, 0.5);
}

.specialty-panel .division-tagline {
  color: var(--specialty-secondary);
}

.specialty-panel .division-desc {
  color: var(--specialty-text-muted);
}

.specialty-panel .click-prompt {
  background: linear-gradient(135deg, var(--specialty-accent) 0%, #0369a1 100%);
  color: var(--white);
  border: 2px solid var(--specialty-accent);
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.3);
}

.specialty-panel:hover .click-prompt {
  box-shadow: 0 0 50px rgba(14, 165, 233, 0.6);
  transform: scale(1.05);
}

.specialty-panel:hover .click-arrow {
  transform: translateX(8px);
}

.specialty-glow {
  background: var(--specialty-accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.specialty-panel:hover .specialty-glow {
  opacity: 0.5;
  width: 500px;
  height: 500px;
}

.specialty-panel:hover {
  background: linear-gradient(135deg, #0a1628 0%, #0c3d58 50%, #0a1628 100%);
}

.specialty-panel:hover .division-icon {
  transform: scale(1.1);
  box-shadow: 0 0 80px rgba(14, 165, 233, 0.5);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
  background: rgba(5, 5, 8, 0.95);
  padding: 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-footer p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 900px) {
  .split-container {
    flex-direction: column;
    margin-top: 80px;
  }

  .split-panel {
    min-height: 50vh;
    border-right: none !important;
  }

  .games-panel {
    border-bottom: 1px solid rgba(255, 61, 46, 0.2);
  }

  .header-content {
    gap: 1rem;
  }

  .header-logo {
    width: 45px;
    height: 45px;
  }

  .division-icon {
    width: 100px;
    height: 100px;
  }

  .panel-content {
    padding: 2rem;
  }
}

@media (max-width: 500px) {
  .main-header {
    padding: 0.75rem 1rem;
  }

  .header-text h1 {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .tagline {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }

  .division-icon {
    width: 80px;
    height: 80px;
  }

  .click-prompt {
    padding: 0.75rem 1.5rem;
  }
}