:root {
  --terminal-bg: #1e1e1e;
  --terminal-border: #4d4d4d;
  --terminal-header: #2d2d2d;
  --discord-bg: #111214;
  --discord-border: #1e1f22;
  --accent-color: #ffffff;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Comic Neue', 'Inter', sans-serif;
  overflow: hidden;
  background-color: black;
  color: white;
}

/* Background Video */
#video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
}

#myVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 2px);
  z-index: -1;
  pointer-events: none;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 2px;
  transition: opacity 0.5s;
  cursor: pointer;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* Intro Text */
#terminal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#terminal-content {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

#terminal-text {
  margin: 0;
  white-space: pre-wrap;
}

/* Glassmorphism Profile Card */
#blurred-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 450px;
  background-color: transparent; /* Removed frosted glass background */
  border-radius: 24px;
  z-index: 1000;
  padding: 30px 20px;
  text-align: center;
  display: none; /* Hidden initially, shown after terminal */
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
}

/* Profile Elements */
#profile-picture {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  margin-bottom: 5px;
}

#username-container {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
}

#username {
  background: linear-gradient(90deg, #a78bfa, #f472b6, #60a5fa, #a78bfa);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

#typing-cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.badges-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge-item {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: default;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(4px);
}

.badge-item:hover {
  transform: translateY(-4px) scale(1.15);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Tooltip */
.badge-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 30, 0.92);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.badge-item:hover::after {
  opacity: 1;
}

.badges-container img {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Discord Widget Mockup */
.discord-widget {
  background-color: var(--discord-bg);
  border: 1px solid var(--discord-border);
  border-radius: 12px;
  padding: 15px;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  margin-top: 5px;
}

.discord-content {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.discord-icon {
  position: relative;
}

#discord-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

#discord-status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--discord-bg);
}

.status-dnd {
  background-color: #f23f43; /* Discord DND Red */
}

.status-online { background-color: #23a55a; }
.status-idle { background-color: #f0b232; }

.discord-meta b {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  display: block;
  margin-bottom: 2px;
}

.discord-meta span {
  font-size: 13px;
  color: #b5bac1;
}

.discord-activity {
  background-color: #2b2d31;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  color: #dbdee1;
  line-height: 1.4;
}

/* Bio */
.user-description {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #e0e0e0;
  padding: 0 10px;
}

.user-description b {
  color: white;
}

/* Skill Logos */
.lang-container {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 5px;
  background-color: rgba(255,255,255,0.05);
  padding: 10px 20px;
  border-radius: 30px;
}

.lang-container img {
  width: 30px;
  height: 30px;
  transition: transform 0.2s;
}

.lang-container img:hover {
  transform: scale(1.2);
}

/* Social Links */
.links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}

.links a {
  color: white;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.2s, color 0.2s;
}

.links a:hover {
  transform: translateY(-3px);
  color: #bbbbbb;
}

