* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Orbitron", monospace;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  cursor: none;
}

/* Custom glowing orb cursor */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: radial-gradient(
    circle,
    rgba(0, 255, 255, 0.8) 0%,
    rgba(0, 255, 255, 0.4) 40%,
    rgba(0, 255, 255, 0) 70%
  );
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) translateZ(0);
  animation: cursor-pulse 2s infinite;
  transition: all 0.03s ease;
  will-change: transform, width, height;
  contain: layout style paint;
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  background: radial-gradient(
    circle,
    rgba(0, 255, 255, 1) 0%,
    rgba(0, 255, 255, 0.6) 30%,
    rgba(0, 255, 255, 0.2) 60%,
    rgba(0, 255, 255, 0) 80%
  );
  border: 2px solid rgba(0, 255, 255, 0.6);
  animation: cursor-hover-pulse 1s infinite;
}

@keyframes cursor-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) translateZ(0) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) translateZ(0) scale(1.2);
  }
}

@keyframes cursor-hover-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) translateZ(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) translateZ(0) scale(1.3);
    opacity: 0.8;
  }
}

.hallway-container {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  perspective: 1000px;
  overflow: hidden;
}

/* Flickering ceiling lights */
.ceiling-lights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1;
}

.light {
  position: absolute;
  width: 150px;
  height: 8px;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  box-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff;
  border-radius: 4px;
}

.light-1 {
  top: 20px;
  left: 10%;
  animation: flicker 3s infinite;
}
.light-2 {
  top: 30px;
  left: 30%;
  animation: flicker 2.5s infinite 0.5s;
}
.light-3 {
  top: 25px;
  left: 50%;
  animation: flicker 4s infinite 1s;
}
.light-4 {
  top: 35px;
  left: 70%;
  animation: flicker 3.5s infinite 1.5s;
}
.light-5 {
  top: 20px;
  left: 90%;
  animation: flicker 2.8s infinite 2s;
}

@keyframes flicker {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.1;
  }
  51% {
    opacity: 1;
  }
  52% {
    opacity: 0.2;
  }
  53% {
    opacity: 1;
  }
  60% {
    opacity: 0.8;
  }
  80% {
    opacity: 0.3;
  }
  81% {
    opacity: 1;
  }
}

/* Perspective grid floor */
.grid-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background-image: linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: bottom;
  z-index: 0;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% {
    transform: perspective(500px) rotateX(60deg) translateZ(0);
  }
  100% {
    transform: perspective(500px) rotateX(60deg) translateZ(100px);
  }
}

/* Main content */
.main-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.logo-container {
  text-align: center;
  margin-bottom: 2rem;
  animation: glow-pulse 3s ease-in-out infinite alternate;
}

.prime-logo {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  background: linear-gradient(45deg, #00ffff, #ffffff, #00ffff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  animation: text-glow 2s ease-in-out infinite alternate,
    gradient-shift 3s ease-in-out infinite;
  margin-bottom: 0.5rem;
}

.vanilla-logo {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #00ffff;
  opacity: 0.8;
  animation: fade-in-out 4s ease-in-out infinite;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

@keyframes text-glow {
  0% {
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  }
  100% {
    text-shadow: 0 0 60px rgba(0, 255, 255, 0.8),
      0 0 90px rgba(0, 255, 255, 0.6);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes glow-pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.02);
  }
}

@keyframes fade-in-out {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
}

/* Server info */
.server-info {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
  width: 100%;
  max-width: 600px;
}

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

.ip-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.label {
  font-size: 0.9rem;
  color: #00ffff;
}

.ip-address {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.copy-btn {
  background: rgba(0, 255, 255, 0.2);
  border: 1px solid #00ffff;
  color: #00ffff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Orbitron", monospace;
  font-weight: 700;
  transition: all 0.08s ease;
  will-change: transform, box-shadow, background;
  transform: translateZ(0);
}

.copy-btn:hover {
  background: rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), 0 0 30px rgba(0, 255, 255, 0.3);
  transform: scale(1.05);
}

.stats {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  animation: number-glow 3s ease-in-out infinite alternate;
}

.stat-label {
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 0.1em;
}

.server-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00ff00;
  box-shadow: 0 0 10px #00ff00;
  animation: pulse 2s infinite;
}

.status-indicator.offline {
  background: #ff0000;
  box-shadow: 0 0 10px #ff0000;
}

.status-indicator.loading {
  background: #ffff00;
  box-shadow: 0 0 10px #ffff00;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes number-glow {
  0% {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  }
  100% {
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
  }
}

/* Description */
.description {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  max-width: 800px;
  text-align: center;
}

.description p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 1rem;
}

.description p:last-child {
  margin-bottom: 0;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 1000px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 10px;
  padding: 2rem;
  transition: all 0.08s ease;
  animation: feature-float 8s ease-in-out infinite;
  text-align: center;
  will-change: transform, box-shadow, background, border-color;
  transform: translateZ(0);
}

.feature:nth-child(1) {
  animation-delay: 0s;
}
.feature:nth-child(2) {
  animation-delay: 2s;
}
.feature:nth-child(3) {
  animation-delay: 4s;
}

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

.feature:hover {
  border-color: #00ffff;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.3), 0 0 50px rgba(0, 255, 255, 0.2);
  transform: translateY(-5px);
  background: rgba(0, 255, 255, 0.05);
}

.feature-icon {
  font-size: 3rem;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.feature-title {
  font-weight: 900;
  color: #00ffff;
  letter-spacing: 0.1em;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Store section */
.store-section {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
  max-width: 600px;
  text-align: center;
}

.store-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #00ffff;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.store-description {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.featured-package {
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid #00ffff;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.08s ease;
  will-change: transform, box-shadow, background;
  transform: translateZ(0);
}

.featured-package:hover {
  background: rgba(0, 255, 255, 0.2);
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), 0 0 40px rgba(0, 255, 255, 0.2);
}

.package-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #00ffff;
  margin-bottom: 0.5rem;
}

.package-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.join-btn,
.discord-btn,
.store-btn {
  position: relative;
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid #00ffff;
  color: #00ffff;
  padding: 1rem 2rem;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Orbitron", monospace;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  transition: all 0.08s ease;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  will-change: transform, box-shadow, background;
  transform: translateZ(0);
}

.join-btn {
  animation: main-btn-pulse 2s ease-in-out infinite alternate;
}

@keyframes main-btn-pulse {
  0% {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  }
  100% {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
  }
}

.join-btn:hover,
.discord-btn:hover,
.store-btn:hover {
  background: rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 0 0 60px rgba(0, 255, 255, 0.4);
  transform: scale(1.05);
}

.btn-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: btn-shine 3s linear infinite;
}

@keyframes btn-shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

/* Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #00ffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ffff;
  animation: particle-float 20s linear infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  left: 20%;
  animation-delay: 2s;
}
.particle:nth-child(3) {
  left: 30%;
  animation-delay: 4s;
}
.particle:nth-child(4) {
  left: 40%;
  animation-delay: 6s;
}
.particle:nth-child(5) {
  left: 60%;
  animation-delay: 8s;
}
.particle:nth-child(6) {
  left: 70%;
  animation-delay: 10s;
}
.particle:nth-child(7) {
  left: 80%;
  animation-delay: 12s;
}
.particle:nth-child(8) {
  left: 90%;
  animation-delay: 14s;
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* Scanlines */
.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    transparent 50%,
    rgba(0, 255, 255, 0.02) 50%,
    rgba(0, 255, 255, 0.02) 51%,
    transparent 51%
  );
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 3;
  animation: scanlines-move 0.1s linear infinite;
}

@keyframes scanlines-move {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(4px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .prime-logo {
    font-size: 3rem;
  }

  .vanilla-logo {
    font-size: 1.8rem;
  }

  .server-info,
  .description,
  .store-section {
    padding: 1.5rem;
  }

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

  .cta-section {
    flex-direction: column;
    align-items: center;
  }

  .ip-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Glitch effect */
.glitch {
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0%,
  100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}
