:root {
  --bg-dark: #0a0e14;
  --bg-dark-soft: #121820;
  --neon-blue: #00d4ff;
  --emerald-green: #50fa7b;
  --text-main: #e0e0e0;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none; /* Custom cursor */
}

main {
  position: relative;
  z-index: 5;
}

footer {
  color: #ffffff !important;
}

footer p {
  color: #ffffff !important;
  opacity: 0.9;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Cursor */
.custom-cursor {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--neon-blue) 0%, transparent 70%);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 15px var(--neon-blue);
  mix-blend-mode: screen;
}

/* Loading Screen */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.loading-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.2rem;
  color: var(--neon-blue);
  margin-top: 15px;
}

.progress-container {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin: 10px auto;
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-loading {
  width: 0%;
  height: 100%;
  background: var(--neon-blue);
  transition: width 0.3s ease;
}

/* Background Particles */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Typography */
.gradient-text {
  background: linear-gradient(45deg, var(--neon-blue), var(--emerald-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.gradient-emerald {
  background: linear-gradient(135deg, var(--emerald-green), #00ffaa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-glow {
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Hero Section */
.profile-card-wrapper {
  perspective: 1000px;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.id-drop-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: drop-id-card 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  transform-origin: top center;
  position: relative;
  z-index: 10;
}

/* ID Card Styles */
.id-card-style {
  width: 250px;
  height: auto;
  min-height: 360px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(0, 212, 255, 0.1)
  );
  border: 2px solid var(--glass-border);
  border-radius: 20px;
  padding: 18px;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.id-card-header {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.id-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(45deg, #ffd700, #b8860b);
  border-radius: 5px;
  position: relative;
}

.id-chip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
}

.profile-img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
}

.id-card-info {
  width: 100%;
  font-family: "JetBrains Mono", monospace;
}

.id-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--neon-blue);
  letter-spacing: 1px;
}

.id-role {
  font-size: 0.8rem;
  color: var(--emerald-green);
  margin-bottom: 10px;
}

.id-barcode {
  width: 100%;
  height: 30px;
  background: repeating-linear-gradient(
    90deg,
    var(--text-main),
    var(--text-main) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.5;
}

.id-card-lanyard {
  width: 8px;
  height: 120px;
  background: linear-gradient(to right, #00d4ff, #008fb3, #00d4ff);
  margin-bottom: -10px;
  border-radius: 5px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

@keyframes drop-id-card {
  0% {
    transform: translateY(-1000px) rotate(-20deg);
    opacity: 0;
  }
  60% {
    transform: translateY(0) rotate(10deg);
    opacity: 1;
  }
  80% {
    transform: rotate(-5deg);
  }
  90% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes lanyard-drop {
  0% {
    transform: translateY(-1000px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.glow-effect {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.2) 0%,
    transparent 70%
  );
  z-index: -1;
  border-radius: 50%;
}

/* Floating Objects */
.floating-objects-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-object {
  position: absolute;
  color: rgba(0, 212, 255, 0.4);
  font-weight: bold;
  font-family: "JetBrains Mono", monospace;
}

.formula {
  font-size: 1.2rem;
}
.spreadsheet {
  font-size: 3rem;
}
.chart {
  font-size: 2.5rem;
}

/* Positions */
.floating-object:nth-child(1) {
  top: 10%;
  left: 10%;
  animation: float 7s infinite ease-in-out;
}
.floating-object:nth-child(2) {
  top: 70%;
  left: 15%;
  animation: float 9s infinite ease-in-out;
}
.floating-object:nth-child(3) {
  top: 20%;
  right: 10%;
  animation: float 11s infinite ease-in-out;
}
.floating-object:nth-child(4) {
  bottom: 15%;
  right: 20%;
  animation: float 8s infinite ease-in-out;
}
.floating-object:nth-child(5) {
  top: 40%;
  left: 5%;
  animation: float 10s infinite ease-in-out;
}
.floating-object:nth-child(6) {
  bottom: 30%;
  right: 5%;
  animation: float 9.5s infinite ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--neon-blue);
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

/* Stats Section */
.stat-card h3 {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 1rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: "JetBrains Mono", monospace;
}

.progress-bar-custom {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 2s cubic-bezier(0.1, 0, 0.2, 1);
}

.excel {
  background: linear-gradient(90deg, #1d6f42, #50fa7b);
}
.debug {
  background: linear-gradient(90deg, #ff5555, #ffb86c);
}
.coffee {
  background: linear-gradient(90deg, #6272a4, #8be9fd);
}
.escape {
  background: linear-gradient(90deg, #bd93f9, #ff79c6);
}

/* Memories Section */
.memory-card {
  text-align: center;
}

.memory-card i {
  font-size: 2.5rem;
  color: var(--neon-blue);
}

/* Message Section */
.message-box {
  max-width: 800px;
  min-height: 200px;
  text-align: left;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.2rem;
  line-height: 1.8;
}

.typing-container::after {
  content: "|";
  animation: blink 0.7s infinite;
  color: var(--neon-blue);
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Bonus Button */
.btn-bonus {
  background: linear-gradient(45deg, var(--neon-blue), var(--emerald-green));
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 800;
  color: var(--bg-dark);
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
  transition: all 0.3s ease;
  margin-top: 2rem;
  position: relative;
  z-index: 100;
}

.btn-bonus:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
}

/* Scroll Indicator */
.scroll-indicator {
  position: relative;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 100;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid #888;
  border-radius: 12px;
  margin-top: 10px;
  position: relative;
}

.mouse::before {
  content: "";
  width: 4px;
  height: 8px;
  background: #888;
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .display-3 {
    font-size: 2.5rem;
  }
  .glass-card {
    padding: 1.5rem;
  }
}

.sparkle-point {
  background: white !important;
  box-shadow: 0 0 10px white, 0 0 20px var(--neon-blue);
}

/* Modal Text Visibility Fix */
.modal-content.glass-card {
  background: rgba(20, 25, 30, 0.95) !important;
  border-color: var(--neon-blue);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.modal-body h2 {
  color: var(--neon-blue) !important;
  font-weight: 800;
}

.modal-body p {
  color: #ffffff !important;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.modal-body .text-muted {
  color: #aaaaaa !important;
}

.btn-outline-info {
  color: var(--neon-blue) !important;
  border-color: var(--neon-blue) !important;
}

.btn-outline-info:hover {
  background-color: var(--neon-blue) !important;
  color: #000 !important;
}
