* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #040204;
  --font-decorative: 'Cinzel Decorative', serif;
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --red-accent: #ff2a4b;
  --red-glow: rgba(255, 42, 75, 0.6);
  --red-dark: #800c1e;
  --red-border: rgba(255, 42, 75, 0.25);
}

html {
  scroll-behavior: auto;
}

body {
  background-color: var(--bg-color);
  color: #ffffff;
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 42, 75, 0.12) 0%, rgba(4, 2, 4, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.navbar {
  position: fixed;
  top: 20px;
  left: 50px;
  right: 50px;
  height: 60px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10000;
  opacity: 0;
  background: transparent;
  border-radius: 16px;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  top: 15px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  opacity: 1;
}

.nav-top-accent {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-border), transparent);
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo-slot {
  width: 90px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-dot {
  color: var(--red-accent);
  font-size: 1rem;
  line-height: 1;
  opacity: 0.8;
  text-shadow: 0 0 8px var(--red-accent);
}

.brand-services {
  color: #71717a;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 400;
  white-space: nowrap;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links a {
  color: #8e8e93;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--red-accent);
  box-shadow: 0 0 8px var(--red-accent);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-icon-btn {
  color: #8e8e93;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.nav-icon-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.nav-download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.9rem;
  color: #a1a1aa;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-download-btn:hover {
  color: #ffffff;
  border-color: var(--red-border);
  background: rgba(255, 42, 75, 0.05);
  box-shadow: 0 0 12px var(--red-glow);
}

#intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  cursor: pointer;
  user-select: none;
}

.halo-pulse {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 42, 75, 0.2) 0%, rgba(128, 12, 30, 0.05) 60%, transparent 100%);
  animation: haloPulse 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes haloPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}

.center-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 42, 75, 0.12) 0%, rgba(4, 2, 4, 0) 70%);
  pointer-events: none;
}

.intro-card {
  position: relative;
  width: 320px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.frame-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--red-border);
  border-style: solid;
  pointer-events: none;
  transition: all 0.5s ease;
}

.frame-corner.top-left {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.frame-corner.bottom-right {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0;
}

#intro-screen:hover .frame-corner.top-left {
  top: -8px;
  left: -8px;
  border-color: var(--red-accent);
  box-shadow: -2px -2px 12px var(--red-glow);
}

#intro-screen:hover .frame-corner.bottom-right {
  bottom: -8px;
  right: -8px;
  border-color: var(--red-accent);
  box-shadow: 2px 2px 12px var(--red-glow);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-decorative);
  font-size: 4.5rem;
  font-weight: 900;
  z-index: 10001;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-wrapper .letter {
  display: inline-block;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 42, 75, 0.9), 0 0 40px rgba(255, 42, 75, 0.5);
  pointer-events: none;
}

.enter-prompt {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.prompt-text {
  font-size: 0.68rem;
  letter-spacing: 0.5em;
  color: #a1a1aa;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.4s ease, letter-spacing 0.4s ease;
}

.prompt-line-container {
  width: 50px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.prompt-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--red-accent), transparent);
  animation: lineGlow 2.5s infinite;
}

@keyframes lineGlow {
  0% { left: -100%; }
  100% { left: 100%; }
}

#intro-screen:hover .prompt-text {
  color: #ffffff;
  letter-spacing: 0.6em;
}

#main-content {
  opacity: 0;
  position: relative;
  z-index: 1;
}

.video-background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 2, 4, 0.88); 
  backdrop-filter: blur(5px);
}

/* HERO SECTION */
.hero-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 20px 80px 40px 80px;
}

.badge-tag {
  background: rgba(255, 42, 75, 0.08);
  color: var(--red-accent);
  border: 1px solid var(--red-border);
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 2.2rem;
  display: inline-block;
  letter-spacing: 0.25em;
  box-shadow: 0 0 20px rgba(255, 42, 75, 0.1);
  backdrop-filter: blur(10px);
}

.hero-title {
  position: relative;
  margin-bottom: 2rem;
  z-index: 2;
  text-align: left !important;
}

.neon-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 7rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  user-select: none;
  display: inline-block;
  text-shadow:
      0 0 5px #ffffff,
      0 0 10px #ff1a1a,
      0 0 20px #ff0000,
      0 0 40px #cc0000,
      0 0 70px #880000;
  animation: SubtleRedGlow 3s infinite ease-in-out alternate;
}

@keyframes SubtleRedGlow {
  0% {
      opacity: 0.92;
      text-shadow:
          0 0 4px #ffffff,
          0 0 8px #ff1a1a,
          0 0 15px #ff0000,
          0 0 30px #cc0000,
          0 0 55px #880000;
  }
  100% {
      opacity: 1;
      text-shadow:
          0 0 6px #ffffff,
          0 0 12px #ff1a1a,
          0 0 22px #ff0000,
          0 0 45px #cc0000,
          0 0 80px #880000;
  }
}

.traphouse-white {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 7vw, 7rem); 
  font-weight: 900;
  line-height: 0.9;
  color: #fff;
  letter-spacing: -0.04em;
  text-shadow:
    0 0 8px #fff,
    0 0 20px rgba(255, 255, 255, 0.9),
    0 0 80px rgba(255, 42, 75, 0.5);
}

.subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
  text-align: left !important;
}

.subtitle strong {
  color: #ffffff;
  font-weight: 700;
}

.subtitle .accent {
  color: var(--red-accent);
  text-shadow: 0 0 15px var(--red-glow);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 1.2rem;
}

.cta a { text-decoration: none; }

.btn-primary {
  background: linear-gradient(135deg, #ff2a4b 0%, #800c1e 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.95rem 2.2rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 25px var(--red-glow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 0 35px rgba(255, 42, 75, 0.6);
  transform: translateY(-2px);
  border-color: var(--red-accent);
}

.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: #d4d4d8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.95rem 2.2rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: var(--red-border);
  transform: translateY(-2px);
}

.server-status-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 40px 100px 40px;
  margin-top: 140px;
  background: transparent;
}

.status-card-panel {
  position: relative;
  width: 100%;
  max-width: 950px;
  padding: 24px 38px;
  background: rgba(14, 5, 10, 0.7);
  border: 1px solid var(--red-border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 42, 75, 0.08);
  overflow: hidden;
}

.status-column {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}

.capacity-col {
  flex: 1;
  max-width: 280px;
}

.status-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 42, 75, 0.08);
  border: 1px solid rgba(255, 42, 75, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-accent);
}

.status-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.server-label {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: #a1a1aa;
  font-weight: 600;
  text-transform: uppercase;
}

.server-value {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.type-name { color: #ffffff; }

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 12px #22c55e;
  position: relative;
}

.status-dot.online {
  background-color: #22c55e;
  box-shadow: 0 0 12px #22c55e;
}

.status-text {
  color: #22c55e;
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.capacity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.player-count {
  font-size: 0.88rem;
  color: var(--red-accent);
  text-shadow: 0 0 12px var(--red-glow);
}

.capacity-bar-track {
  width: 100%;
  height: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.capacity-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff2a4b, #ff6b81);
  box-shadow: 0 0 10px var(--red-accent);
  transition: width 0.5s ease;
}

.panel-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(255, 42, 75, 0.3), transparent);
  z-index: 2;
}

.page-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 80px;
  scroll-margin-top: 80px;
}

#about-section { background: radial-gradient(circle at center, rgba(15, 3, 7, 0.85) 0%, rgba(4, 2, 4, 0.95) 100%); }
#contact { background: radial-gradient(circle at center, rgba(24, 5, 12, 0.85) 0%, rgba(4, 2, 4, 0.95) 100%); }

.content-wrapper {
  text-align: left;
  width: 100%;
  max-width: 1100px;
}

.street-tag-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
}

.street-tag {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 18px var(--red-accent);
  animation: subtleShine 2.5s infinite alternate;
}

@keyframes subtleShine {
  0% { opacity: 0.7; text-shadow: 0 0 4px #ffffff; }
  100% { opacity: 1; text-shadow: 0 0 12px #ffffff, 0 0 20px var(--red-accent); }
}

.red-line-right {
  height: 2px;
  width: 160px;
  background: linear-gradient(90deg, var(--red-accent) 0%, rgba(255, 42, 75, 0) 100%);
  box-shadow: 0 0 10px var(--red-accent);
}

.cozy-style-heading {
  font-family: 'Cinzel Decorative', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
  text-shadow: 0 0 10px #ff1a1a, 0 0 25px rgba(255, 42, 75, 0.6);
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  gap: 3rem;
}

.about-text-content {
  text-align: left;
  flex: 1;
  max-width: 820px;
}

.cozy-street-heading {
  font-family: 'Cinzel Decorative', serif;
  font-size: 4.2rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.cozy-street-heading .text-red {
  color: #ff2a4b;
  text-shadow: 0 0 12px #ff2a4b, 0 0 30px rgba(255, 42, 75, 0.7);
}

.cozy-street-heading .text-white {
  font-family: var(--font-sans);
  color: #ffffff;
  text-shadow: 0 0 10px #ffffff;
}

.about-description {
  color: #d4d4d8;
  font-size: 1.25rem;
  line-height: 1.8;
  font-weight: 400;
  max-width: 100%;
}

.about-logo-stage {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.logo-3d-card {
  width: 380px;
  height: 380px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.server-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 35px rgba(255, 42, 75, 0.5));
  transform: translateZ(50px);
  pointer-events: none;
}

@media (max-width: 900px) {
  .page-section { padding: 60px 24px; }
  .about-container { flex-direction: column; gap: 2.5rem; text-align: center; }
  .about-text-content { text-align: center; max-width: 100%; }
  .street-tag-wrap { justify-content: center; }
  .cozy-street-heading { font-size: 3rem; }
  .logo-3d-card { width: 280px; height: 280px; }
  .neon-title { font-size: 4.5rem; }
  .traphouse-white { font-size: 3rem; }
  .hero-content { padding: 100px 24px 40px 24px; }
  .status-card-panel { flex-direction: column; align-items: flex-start; padding: 20px; }
}