/* Fonts loaded in index.html */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
  text-shadow: inherit;
}

:root {
  /* Core surfaces */
  --black: #050505;
  --bg: #0a0a0a;
  --bg-raised: #121212;
  --bg-card: #181818;
  --bg-discord: #1a1a1a;

  /* Text */
  --white: #eeeeee;
  --text: #cccccc;
  --text-muted: #888888;
  --text-dim: #666666;

  /* Brand accents */
  --purple: #888888;
  --purple-bright: #ffffff;
  --purple-light: #dddddd;
  --purple-dark: #444444;
  --purple-deep: #222222;
  --purple-glow: #aaaaaa;
  --purple-soft: rgba(255, 255, 255, 0.05);
  --magenta: #aaaaaa;
  --violet: #888888;

  /* Borders */
  --border: rgba(255, 255, 255, 0.1);
  --border-purple: rgba(255, 255, 255, 0.15);

  /* Presence / platform (Preserved for functionality) */
  --discord-online: #23d977;
  --discord-idle: #f3bd35;
  --discord-dnd: #ef4444;
  --discord-offline: #8f93a1;
  --discord-blurple: #7289ff;
  --discord-spotify: #1ed760;

  /* Typography */
  --font-body: 'Courier New', Courier, monospace;
  --font-heading: 'Courier New', Courier, monospace;
  --font-discord: 'Courier New', Courier, monospace;

  /* Legacy aliases used across file */
  --neon-cyan: var(--purple-bright);
  --neon-cyan-light: var(--purple-light);
  --neon-cyan-dark: var(--purple-dark);
  --neon-cyan-alpha: rgba(255, 255, 255, 0.2);
  --dark-bg: var(--bg);
  --darker-bg: var(--black);
  --light-text: var(--white);
  --dim-text: var(--text-muted);
}

body {
  font-family: var(--font-body);
  background: var(--page-bg);
  background-attachment: fixed;
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.55;
  transition: background 0.65s ease;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

body::before,
body::after {
  transition: opacity 0.65s ease, background 0.65s ease;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--page-glow);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.015) 2px,
    rgba(255, 255, 255, 0.015) 4px
  );
}

/* Full-site background per tab — richer, more aesthetic */
/* Full-site background per tab — monochromatic terminal aesthetic */
body[data-tab="about"] {
  --page-bg: #050505;
  --page-glow: none;
  --page-grid:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(255, 255, 255, 0.05), transparent 55%);
}

body[data-tab="blog"] {
  --page-bg: #030303;
  --page-glow: none;
  --page-grid:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(ellipse 50% 40% at 70% 25%, rgba(255, 255, 255, 0.04), transparent 55%);
}

body[data-tab="communication"] {
  --page-bg: #060606;
  --page-glow: none;
  --page-grid:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(ellipse 50% 40% at 30% 40%, rgba(255, 255, 255, 0.05), transparent 55%);
}

#particles {
  display: none;
}

#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(1) brightness(0.15) contrast(1.2);
}

/* ══════════════════════════════════════
   ASCII SPLASH SCREEN
══════════════════════════════════════ */
.ascii-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050505;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  cursor: pointer;
  overflow: hidden;
}

.ascii-splash.exit {
  animation: splashExit 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes splashExit {
  0%   { opacity: 1; filter: brightness(1); }
  30%  { filter: brightness(2); }
  100% { opacity: 0; filter: brightness(0); visibility: hidden; pointer-events: none; }
}

/* Scanline overlay */
.ascii-splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.015) 2px,
    rgba(255, 255, 255, 0.015) 4px
  );
  pointer-events: none;
  z-index: 2;
}

/* Moving scanline */
.ascii-splash::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(180, 180, 180, 0.08), transparent);
  animation: scanline 3s linear infinite;
  pointer-events: none;
  z-index: 3;
}

@keyframes scanline {
  0%   { top: -4px; }
  100% { top: 100%; }
}

/* ASCII Art */
.ascii-art {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(8px, 1.8vw, 18px);
  line-height: 1.3;
  color: #888;
  text-align: center;
  white-space: pre;
  opacity: 0;
  animation: asciiReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 20px rgba(150, 150, 150, 0.15);
}

@keyframes asciiReveal {
  0%   { opacity: 0; transform: scale(0.95); filter: blur(4px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* Periodic glitch */
.ascii-art.glitch {
  animation: asciiGlitch 0.15s steps(2) forwards;
}

@keyframes asciiGlitch {
  0%   { transform: translate(0, 0) skewX(0deg); }
  25%  { transform: translate(-3px, 1px) skewX(-2deg); }
  50%  { transform: translate(2px, -1px) skewX(1deg); }
  75%  { transform: translate(-1px, 2px) skewX(-1deg); }
  100% { transform: translate(0, 0) skewX(0deg); }
}

/* Click prompt */
.ascii-prompt {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: rgba(180, 180, 180, 0.4);
  text-transform: uppercase;
  opacity: 0;
  animation: promptFadeIn 1s ease 1.8s forwards;
  z-index: 1;
}

@keyframes promptFadeIn {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.ascii-prompt.pulse {
  animation: promptFadeIn 1s ease 1.8s forwards, promptPulse 2s ease-in-out 2.8s infinite;
}

@keyframes promptPulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.9; color: rgba(200, 200, 200, 0.7); }
}

/* Rotating tagline */
.ascii-tagline {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(11px, 1.2vw, 14px);
  color: #444;
  letter-spacing: 0.15em;
  opacity: 0;
  animation: taglineFadeIn 1s ease 2.5s forwards;
  z-index: 1;
  transition: opacity 0.6s ease;
}

@keyframes taglineFadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* Main Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.container.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation Tabs */
/* Navigation Tabs */
.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  position: sticky;
  top: 16px;
  z-index: 100;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.tab-btn {
  padding: 11px 26px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 3px;
  background: rgba(20, 15, 30, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  color: #aaa;
}

.tab-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transition: left 0.5s;
}
.tab-btn:hover::before { left: 100%; }

.tab-btn:hover {
  border-color: #00f0ff;
  color: #fff;
  text-shadow: 0 0 10px #00f0ff, 0 0 20px rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.3), inset 0 0 12px rgba(0, 240, 255, 0.1);
  transform: translateY(-2px);
}
.tab-btn.active {
  background: rgba(181, 92, 255, 0.15);
  color: #fff;
  border-color: #b55cff;
  box-shadow: 0 0 24px rgba(181, 92, 255, 0.4), inset 0 0 12px rgba(181, 92, 255, 0.1);
  text-shadow: 0 0 10px #b55cff;
  transform: translateY(-2px);
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bio Section */
.bio-section {
  text-align: center;
  margin-bottom: 60px;
}

.avatar-container {
  width: 200px;
  height: 200px;
  margin: 0 auto 55px;
  position: relative;
  overflow: visible;
}

.avatar-glow { display: none; }

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: none;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
  box-shadow: 0 0 15px rgba(155, 135, 178, 0.4);
}

.avatar:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(155, 135, 178, 0.25);
}

.username {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  color: var(--white);
}

/* Site-themed shifting purple / white / black gradient text */
.theme-rgb-text,
.entry-logo.theme-rgb-text {
  background: linear-gradient(
    270deg,
    #faf5ff,
    #e9b3ff,
    #d946ef,
    #b24bf3,
    #00f0ff,
    #ec4899,
    #e9b3ff,
    #faf5ff
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: themeRgbCycle 6s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(217, 70, 239, 0.5));
}

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

.tagline {
  font-size: 18px;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 36px;
  font-style: italic;
  font-family: var(--font-body);
}

.bio-text {
  max-width: 800px;
  margin: 0 auto 48px;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 12px;
  line-height: 1.75;
  font-size: 18px;
  color: var(--text-muted);
}

.bio-text p {
  margin-bottom: 15px;
  position: relative;
}

.highlight {
  display: inline-block;
  color: #f6dcff;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.07em;
  line-height: 1.1;
  background: linear-gradient(110deg, #f9ebff 12%, #e24cff 45%, #a868ff 72%, #f9ebff 92%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 18px rgba(226, 76, 255, 0.42);
  animation: highlightFlow 4.2s ease-in-out infinite;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.highlight:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 10px rgba(241, 86, 191, 0.52));
}

@keyframes highlightFlow {
  0%, 100% {
    background-position: 0% 50%;
    text-shadow: 0 0 14px rgba(181, 92, 255, 0.36);
  }
  50% {
    background-position: 100% 50%;
    text-shadow: 0 0 22px rgba(226, 76, 255, 0.55);
  }
}

.about-me {
  color: var(--purple);
  font-weight: 600;
}

.bio-note {
  color: var(--text-dim);
}

/* Social Links */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

.social-link {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: 15px;
  text-decoration: none;
  color: var(--dim-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.social-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(155, 135, 178, 0.2), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  border-radius: 50%;
}

.social-link:hover::before {
  width: 300px;
  height: 300px;
}

.social-link:hover {
  border-color: var(--purple);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
  color: var(--white);
}

.social-icon {
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease, filter 0.3s ease;
  position: relative;
  z-index: 1;
}

.social-link:hover .social-icon {
  transform: scale(1.08);
}

.social-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  font-family: 'Orbitron', sans-serif;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════
   TERMINAL COMMUNICATION TAB
══════════════════════════════════════ */
.terminal-window {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid rgba(155, 135, 178, 0.25);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 5, 5, 0.85);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(20, 15, 30, 0.9);
  border-bottom: 1px solid rgba(155, 135, 178, 0.15);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }

.terminal-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  color: #666;
  letter-spacing: 0.1em;
}

.terminal-body {
  padding: 24px;
}

.terminal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.terminal-tab {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 18px;
  background: transparent;
  color: #888;
  border: 1px solid rgba(155, 135, 178, 0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.terminal-tab:hover {
  color: #fff;
  border-color: #b55cff;
  box-shadow: 0 0 15px rgba(181, 92, 255, 0.3), inset 0 0 10px rgba(181, 92, 255, 0.1);
  text-shadow: 0 0 8px #b55cff;
  transform: translateY(-2px);
}

.terminal-tab.active {
  color: #fff;
  border-color: #b55cff;
  background: rgba(181, 92, 255, 0.15);
  box-shadow: 0 0 15px rgba(181, 92, 255, 0.3);
  text-shadow: 0 0 8px #b55cff;
  transform: translateY(-2px);
}

.form-panel {
  display: none;
}

.form-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.terminal-field {
  margin-bottom: 20px;
}

.terminal-label {
  display: block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  color: var(--neon-cyan);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.terminal-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  border-bottom: 2px solid rgba(155, 135, 178, 0.2);
  border-radius: 0;
  color: var(--light-text);
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.terminal-input:focus {
  border-bottom-color: var(--neon-cyan);
  box-shadow: 0 2px 12px rgba(155, 135, 178, 0.2);
  background: rgba(0, 0, 0, 0.6);
}

.terminal-input::placeholder {
  color: #444;
  font-style: italic;
}

.terminal-textarea {
  min-height: 120px;
  resize: vertical;
}

.terminal-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239780b3' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.terminal-submit {
  width: 100%;
  padding: 14px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.terminal-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(155, 135, 178, 0.15), transparent);
  transition: left 0.5s;
}

.terminal-submit:hover::before {
  left: 100%;
}

.terminal-submit:hover {
  background: rgba(155, 135, 178, 0.08);
  box-shadow: 0 0 15px rgba(155, 135, 178, 0.2);
}

.terminal-status {
  margin-top: 16px;
  padding: 12px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  text-align: left;
  display: none;
  border-radius: 4px;
}

.terminal-status.success {
  display: block;
  background: rgba(40, 200, 64, 0.08);
  border: 1px solid rgba(40, 200, 64, 0.3);
  color: #28c840;
}

.terminal-status.error {
  display: block;
  background: rgba(255, 95, 87, 0.08);
  border: 1px solid rgba(255, 95, 87, 0.3);
  color: #ff5f57;
}



/* Audio Control */
.audio-control {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  background: rgba(10, 8, 12, 0.95);
  border: 2px solid rgba(155, 135, 178, 0.3);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.audio-control:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 30px rgba(155, 135, 178, 0.5);
}

.audio-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.audio-icon {
  width: 28px;
  height: 28px;
  fill: var(--neon-cyan);
  transition: all 0.3s ease;
}

.audio-btn:hover .audio-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px var(--neon-cyan));
  animation: iconPulse 1s ease infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1.1); }
  50% { transform: scale(1.2); }
}

.volume-slider {
  width: 100px;
  height: 4px;
  border-radius: 2px;
  background: rgba(155, 135, 178, 0.3);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(155, 135, 178, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(155, 135, 178, 0.8);
}

.volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(155, 135, 178, 0.6);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.volume-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(155, 135, 178, 0.8);
}

/* Footer */
.footer {
  margin-top: 64px;
  padding: 32px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}



.clock {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--purple-light);
  letter-spacing: 0.08em;
}

.location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--dim-text);
}

.copyright {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  color: var(--dim-text);
  letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .entry-logo { font-size: 48px; letter-spacing: 8px; }
  .entry-btn { padding: 15px 40px; font-size: 18px; }
  .username { font-size: 40px; letter-spacing: 5px; }
  .nav-tabs { flex-direction: column; }
  .tab-btn { width: 100%; }
  .social-grid { grid-template-columns: 1fr; }
  .comm-tabs { flex-direction: column; }
  .audio-control { bottom: 20px; right: 20px; padding: 12px 20px; }
}

.location-icon {
  width: 20px;
  height: 20px;
  stroke: var(--neon-cyan);
  transition: all 0.3s ease;
}

.location:hover .location-icon {
  stroke: var(--neon-cyan-light);
  filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.about-me {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
  background: linear-gradient(120deg, #ffffff 8%, #efc1ff 35%, #e24cff 58%, #9e73ff 82%, #ffffff 100%);
  background-size: 240% 240%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 16px rgba(226, 76, 255, 0.42);
  animation: aboutMeShine 4.6s ease-in-out infinite;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.about-me:hover {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 0 12px rgba(241, 86, 191, 0.58));
}

@keyframes aboutMeShine {
  0%, 100% {
    background-position: 0% 50%;
    text-shadow: 0 0 12px rgba(181, 92, 255, 0.35);
  }
  50% {
    background-position: 100% 50%;
    text-shadow: 0 0 22px rgba(226, 76, 255, 0.58);
  }
}
/* Join animation — replaced by new entry system */
.join-animation, .join-ring, .join-text { display: none; }

/* Status ring colors */
.status-ring { display: none; }

/* Avatar decoration overlay */
.avatar-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 128%;
  height: 128%;
  z-index: 4;
  pointer-events: none;
  object-fit: contain;
  image-rendering: auto;
}

/* Username row with dot */
.username-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

/* Inline status dot */
.status-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--dark-bg);
}
.status-dot.online  { background: #23a55a; box-shadow: 0 0 8px #23a55a; }
.status-dot.idle    { background: #f0b232; box-shadow: 0 0 8px #f0b232; }
.status-dot.dnd     { background: #f23f43; box-shadow: 0 0 8px #f23f43; }
.status-dot.offline { background: #80848e; }

/* Activities — side panel (overridden below in hub layout) */
#activitiesContainer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Activity card */
.activity-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #2b2d31;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  text-align: left;
  width: 100%;
}
.activity-card:hover {
  background: #313338;
  border-color: rgba(155, 135, 178, 0.35);
  transform: translateX(2px);
}
.spotify-card {
  border-color: rgba(29, 185, 84, 0.25);
}
.spotify-card:hover {
  border-color: rgba(29, 185, 84, 0.5);
}
.activity-art {
  flex-shrink: 0;
}
.activity-art img,
.activity-card > img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.activity-noimg {
  width: 58px; height: 58px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(151,128,179,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
  color: var(--neon-cyan);
}
.activity-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.activity-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(155, 135, 178, 0.65);
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 2px;
}
.activity-title {
  color: #e8e0f5;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-sub {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotify-bar-wrap {
  margin-top: 6px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.spotify-bar {
  height: 100%;
  background: #1db954;
  border-radius: 3px;
  transition: width 1s linear;
}

.spotify-time {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--dim-text);
  margin-top: 4px;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}

/* Discord badges */
.discord-badges {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin: 10px 0 6px;
  flex-wrap: wrap;
}

/* Badge wrapper for tooltip */
.badge-wrap {
  position: relative;
  display: inline-flex;
}
.badge-wrap:hover .badge-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0px);
  pointer-events: auto;
}
.badge-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #111214;
  color: #dbdee1;
  font-size: 13px;
  font-family: 'Rajdhani', sans-serif;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 100;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
}
.badge-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #111214;
}

/* Real badge images */
.badge-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  transition: transform 0.15s;
  display: block;
}
.badge-wrap:hover .badge-img {
  transform: scale(1.25);
}

/* Animated custom status emoji */
.status-emoji {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 4px;
  object-fit: contain;
}
.activity-elapsed {
  font-size: 11px;
  color: rgba(155, 135, 178, 0.6);
  margin-top: 3px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.5px;
}
.badge-clan {
  border-radius: 4px;
  width: 22px;
  height: 22px;
}
.clan-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 6px 1px 5px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.5);
  border-radius: 3px;
  font-size: 11px;
  font-family: 'gg sans', 'Noto Sans', sans-serif;
  font-weight: 600;
  color: #c9cdfb;
  letter-spacing: 0.5px;
  cursor: default;
  height: 20px;
}
.clan-tag svg {
  flex-shrink: 0;
}
/* ═══════════════════════════════════
   DISCORD PROFILE CARD
═══════════════════════════════════ */
.discord-card {
  width: 100%;
  max-width: 420px;
  margin: 0;
  background: linear-gradient(180deg, rgba(42, 18, 68, 0.92) 0%, rgba(26, 12, 44, 0.96) 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-purple);
  box-shadow: 0 16px 48px rgba(107, 33, 168, 0.4), 0 0 60px rgba(178, 75, 243, 0.15);
  position: relative;
  backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.discord-card:hover {
  transform: translateY(-6px) scale(1.018);
  box-shadow: 0 28px 64px rgba(107, 33, 168, 0.55), 0 0 80px rgba(178, 75, 243, 0.28);
}

/* Banner — image fills right side, left & bottom blend into card */
.dc-banner {
  width: 100%;
  height: 120px;
  border-radius: 0;
  background: linear-gradient(135deg, #1a1520 0%, #2a2435 50%, #121016 100%);
  position: relative;
  overflow: hidden;
}

/* Bottom blur/fade — blurs into card body */
.dc-banner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(20, 10, 33, 0.55) 55%,
    rgba(20, 10, 33, 0.92) 100%
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 2;
  mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
}

/* Real overlay div — sits above banner, inside discord-card's stacking context */
.dc-banner-blend {
  display: none;
}

/* Avatar wrapper */
.dc-avatar-wrap {
  position: absolute;
  top: 52px;
  left: 18px;
  width: 104px;
  height: 118px;
  z-index: 10;
}
.dc-avatar-ring {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.dc-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #111214;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}
.dc-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 118%;
  height: 118%;
  max-width: 118px;
  max-height: 118px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: contain;
  object-position: center;
  z-index: 5;
  image-rendering: auto;
}
.dc-decoration.dc-decoration-live {
  animation: decoFloat 3.8s ease-in-out infinite;
}
@keyframes decoFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -52%) scale(1.03); opacity: 0.95; }
}
.dc-status-badge {
  position: absolute;
  bottom: 12px;
  right: -2px;
  width: 22px;
  height: 22px;
  display: block;
  border-radius: 50%;
  border: 3px solid #18191c;
  background: #18191c;
  z-index: 6;
  box-sizing: border-box;
  line-height: 0;
  overflow: hidden;
  padding: 0;
}
.dc-status-fill {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  display: block;
}
.dc-status-badge[data-status="dnd"] .dc-status-fill::after {
  content: none; /* plain red dot */
}
.dc-status-badge[data-status="offline"] .dc-status-fill::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #2b2d31;
}
.dc-status-badge[data-status="idle"] .dc-status-fill::after {
  content: none; /* plain yellow dot */
}

/* Card body */
.dc-body {
  padding: 52px 20px 20px;
  background: linear-gradient(165deg, rgba(35, 18, 56, 0.95), rgba(18, 10, 32, 0.97));
  border-radius: 0 0 16px 16px;
  position: relative;
  z-index: 1;
}

.bio-card .bio-text {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  max-width: none;
}

/* Badges strip */
.dc-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
  background: #111214;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 12px;
  min-height: 42px;
}
.dc-badges .badge-wrap {
  position: relative;
  display: inline-flex;
  cursor: default;
}
.dc-badges .badge-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.15s;
}
.dc-badges .badge-wrap:hover .badge-img { transform: scale(1.3); }
.dc-badges .badge-wrap:hover .badge-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.dc-badges .badge-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0e0e10;
  color: #dbdee1;
  font-size: 12px;
  font-family: 'Rajdhani', sans-serif;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 200;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
}
.dc-badges .badge-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #0e0e10;
}

/* Display name + clan tag row */
.dc-namerow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}
.dc-displayname {
  font-size: 22px;
  font-weight: 700;
  color: #f2f3f5;
  font-family: var(--font-discord);
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.dc-displayname-styled {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.dc-displayname.dc-effect-neon {
  animation: neonPulse 2.5s ease-in-out infinite;
}
.dc-displayname.dc-effect-toon.dc-displayname-styled {
  animation: themeRgbCycle 6s ease-in-out infinite;
  background-size: 200% 200%;
}
@keyframes neonPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(155, 135, 178, 0.5)); }
  50% { filter: drop-shadow(0 0 14px rgba(196, 181, 212, 0.85)); }
}
.dc-displayname.dc-effect-pop {
  text-shadow: 2px 2px 0 var(--dc-pop-shadow, rgba(0, 0, 0, 0.4));
}
.dc-displayname.dc-effect-toon {
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.35);
}

.discord-card,
.activities-panel,
.dc-username,
.dc-pronouns,
.dc-status,
.dc-badges,
.dc-add-btn {
  font-family: var(--font-discord);
}

/* Discord-style server tag pill (next to display name) */
.dc-clan-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 0 6px 0 4px;
  background: #2b2d31;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-family: 'Noto Sans', 'gg sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #dbdee1;
  line-height: 1;
  vertical-align: middle;
  cursor: default;
}
.dc-clan-icon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  object-fit: cover;
}
.dc-clan-text {
  color: #b5bac1;
  letter-spacing: 0.02em;
}

.dc-pronouns {
  font-size: 13px;
  color: #949ba4;
  margin-bottom: 8px;
  font-family: 'Noto Sans', 'gg sans', sans-serif;
  line-height: 1.3;
}

.dc-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  background: #111214;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
  min-height: 42px;
}
.dc-meta-row .dc-badges {
  flex: 1;
  background: transparent;
  padding: 0;
  margin: 0;
  min-height: auto;
}

/* @username — Discord style */
.dc-username {
  font-size: 14px;
  color: #b5bac1;
  margin-bottom: 10px;
  font-family: 'Noto Sans', 'gg sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

/* Divider */
.dc-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 10px 0;
}

/* Custom status */
.dc-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 14px;
  font-family: var(--font-body);
  min-height: 28px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.dc-status-emoji {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.dc-status-emoji-text {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}
.dc-status-text {
  line-height: 1.45;
  color: #e3e5e8;
  word-break: break-word;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
}
.dc-status-text:hover {
  color: #fff;
  text-shadow: 0 0 10px #b55cff, 0 0 20px #b55cff;
  transform: scale(1.03);
}

/* Clan tag */
.clan-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  background: rgba(88,101,242,0.2);
  border: 1px solid rgba(88,101,242,0.5);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #c9cdfb;
  letter-spacing: 0.5px;
  height: 20px;
  font-family: 'Rajdhani', sans-serif;
}

/* Add on Discord button */
.dc-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: #5865f2;
  color: #fff;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.3px;
}
.dc-add-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════
   SITE REDESIGN — LAYOUT & TABS
═══════════════════════════════════ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 12px 20px;
  background: linear-gradient(90deg, rgba(42, 24, 64, 0.9), rgba(26, 15, 40, 0.9));
  border: 1px solid var(--border-purple);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(178, 75, 243, 0.2);
}
.ascii-brand {
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(3px, 0.6vw, 8px);
  line-height: 1.1;
  text-align: center;
  margin: 0 auto;
  white-space: pre;
  color: var(--text-muted);
  transition: all 0.4s ease;
  cursor: default;
}

.ascii-brand:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.5);
  background: none;
  -webkit-text-fill-color: initial;
  filter: none;
  animation: none;
}

@keyframes brandPulse {
  0%, 100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 10px rgba(226, 76, 255, 0.25));
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 18px rgba(226, 76, 255, 0.48));
  }
}

@keyframes brandLineSweep {
  0%, 100% {
    opacity: 0.55;
    transform: scaleX(0.78);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.glass-panel {
  background: linear-gradient(145deg, rgba(42, 24, 64, 0.92), rgba(26, 15, 40, 0.95));
  border: 1px solid var(--border-purple);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(233, 179, 255, 0.08);
}
.panel-title {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}

.about-layout {
  max-width: 1100px;
  margin: 0 auto;
}

.discord-hub {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.activities-panel {
  background: var(--bg-discord);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.activities-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #111214;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.activities-panel-head h3 {
  flex: 1;
  font-family: 'Noto Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #f2f3f5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.activities-panel-icon {
  color: var(--discord-online);
  font-size: 14px;
}
.activities-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--discord-online);
  box-shadow: 0 0 6px rgba(35, 165, 90, 0.45);
}
.activities-panel-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  max-height: 420px;
}
.activities-empty {
  color: #949ba4;
  font-size: 13px;
  text-align: center;
  padding: 40px 16px;
  font-family: 'Noto Sans', sans-serif;
}

.act-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--discord-blurple);
  margin-right: 6px;
  vertical-align: middle;
}
.act-dot.spotify { background: var(--discord-spotify); }

.about-lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
  align-items: stretch;
}

.about-lower .glass-panel {
  position: relative;
  overflow: visible;
  border-radius: 16px;
  border-color: rgba(178, 75, 243, 0.4);
  background:
    linear-gradient(165deg, rgba(48, 27, 76, 0.95), rgba(23, 13, 36, 0.96));
}

.about-lower .glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 0%, rgba(217, 70, 239, 0.16), transparent 45%);
}

.bio-card .panel-title,
.social-panel .panel-title {
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--purple-light);
}

.bio-card .bio-text {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  max-width: none;
}

.bio-card .bio-text p {
  margin-bottom: 10px;
  color: #efe8ff;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
}

.bio-card .bio-text p:last-child {
  margin-bottom: 0;
}

.social-panel .social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: none;
  margin: 0;
}

.social-panel .social-link {
  padding: 11px 18px;
  gap: 14px;
  border-radius: 10px;
  border: 1px solid rgba(178, 75, 243, 0.2);
  background: linear-gradient(135deg, rgba(120, 60, 170, 0.14), rgba(27, 17, 42, 0.45));
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.social-panel .social-link .social-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.social-panel .social-link .social-name {
  font-size: 13px;
}

.social-panel .social-link:hover {
  transform: translateX(4px);
  border-color: rgba(217, 70, 239, 0.55);
  background: linear-gradient(135deg, rgba(178, 75, 243, 0.25), rgba(40, 22, 62, 0.65));
}

@media (max-width: 768px) {
  .about-lower {
    grid-template-columns: 1fr;
  }
}
/* ── Who am I — per-word bio styles (uniform size) ─── */
.bio-card .bio-text {
  font-size: 17px;
  line-height: 1.75;
  font-family: var(--font-discord);
}

.bio-card .bio-line {
  margin-bottom: 14px;
  color: #e8dcf8;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
  overflow: visible;
}

.bio-card .bio-line span {
  font-size: inherit;
  line-height: inherit;
  vertical-align: baseline;
}

/* bio-name / bio-age / bio-topic: defined in the section below (search "Bio sentence") */
.bio-name { display: inline; }

.bio-name--hazem { }

.bio-name--hazem:hover {
  color: #fff;
}

.bio-name--norythm { }

@keyframes norythmShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* (bio-age, bio-egyptian, bio-topic redefined below) */

.bio-love {
  position: relative;
  display: inline-block;
  overflow: visible;
  font-size: inherit;
  font-weight: 700;
  font-family: inherit;
  color: #ff4d6d;
  text-shadow: 0 0 10px rgba(255, 77, 109, 0.4);
  padding: 0 2px;
  vertical-align: baseline;
}

.bio-heart {
  position: absolute;
  /* start from the vertical center of the word */
  top: 50%;
  font-size: 0.8em;
  line-height: 1;
  font-weight: 700;
  color: #ff6b8a;
  text-shadow: 0 0 8px rgba(255, 77, 109, 0.55);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.bio-heart--1 {
  left: 10%;
  animation: heartRiseA 2.4s ease-out infinite;
}

.bio-heart--2 {
  left: 30%;
  animation: heartRiseB 2.4s ease-out infinite 0.35s;
}

.bio-heart--3 {
  left: 50%;
  animation: heartRiseC 2.4s ease-out infinite 0.7s;
}

.bio-heart--4 {
  left: 70%;
  animation: heartRiseA 2.4s ease-out infinite 1.05s;
}

.bio-heart--5 {
  left: 88%;
  animation: heartRiseB 2.4s ease-out infinite 1.4s;
}

@keyframes heartRiseA {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  15% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% - 12px), calc(-50% - 36px)) scale(1.1) rotate(-14deg);
  }
}

@keyframes heartRiseB {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.45);
  }
  15% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 42px)) scale(1.2) rotate(5deg);
  }
}

@keyframes heartRiseC {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  15% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + 14px), calc(-50% - 38px)) scale(1.05) rotate(11deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bio-heart,
  .bio-name--norythm {
    animation: none;
  }
}

/* (bio-topic colors redefined below) */

.bio-card .bio-note {
  margin-top: 16px;
  font-family: var(--font-discord);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #c4aede;
  opacity: 1;
  padding: 10px 14px;
  background: rgba(181, 92, 255, 0.07);
  border-left: 2px solid rgba(181, 92, 255, 0.55);
  border-radius: 0 8px 8px 0;
  text-shadow: 0 0 14px rgba(181, 92, 255, 0.22);
  border-top: none;
  border-right: none;
  border-bottom: none;
  box-shadow: none;
  animation: none;
}

/* Tab panels — light overlay (main bg is on body) */
.tab-content.active {
  padding: 8px 4px 24px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.bio-card.glass-panel {
  background: linear-gradient(145deg, rgba(38, 22, 58, 0.92), rgba(20, 11, 34, 0.96));
  border-color: rgba(181, 92, 255, 0.35);
  overflow: visible;
}

.social-panel.glass-panel {
  background: linear-gradient(145deg, rgba(28, 18, 44, 0.9), rgba(16, 10, 28, 0.94));
}

/* ── Merged Bio + Connect card ────────────────── */
.bio-connect-card {
  grid-column: 1 / -1;
}
.bio-connect-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.bio-side .bio-text {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  max-width: none;
}
.connect-side .social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: none;
  margin: 0;
}
.connect-side .social-link {
  padding: 14px 12px;
  gap: 8px;
}
.connect-side .social-icon {
  width: 32px;
  height: 32px;
}
.connect-side .social-name {
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* Keep old .social-panel selectors working if referenced elsewhere */
.social-panel .social-link {
  margin: 0;
}

@media (max-width: 680px) {
  .bio-connect-inner {
    grid-template-columns: 1fr;
  }
}

/* Blog tab */
.blog-section {
  max-width: 1000px;
  margin: 0 auto;
}
.blog-hero {
  text-align: center;
  margin-bottom: 28px;
}
.blog-title {
  font-family: var(--font-heading);
  font-size: 28px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  color: var(--white);
}
.blog-lead {
  color: var(--dim-text);
  font-size: 18px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.skill-card {
  transition: transform 0.25s, border-color 0.25s;
}
.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 135, 178, 0.5);
}
.skill-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.skill-card h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: #fff;
}
.skill-card p {
  color: var(--dim-text);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skill-tags span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(155, 135, 178, 0.15);
  border: 1px solid rgba(155, 135, 178, 0.3);
  color: var(--neon-cyan-light);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
}


.footer .Egypt h1 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Typography polish: About/Blog/Communication */
.panel-title,
.blog-title,
.skill-card h4,
.comm-tab,
.form-label,
.submit-btn {
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
}

.bio-card .panel-title,
.social-panel .panel-title {
  font-size: 20px;
  letter-spacing: 0.15em;
  color: #e8deff;
  text-shadow:
    0 0 12px rgba(200, 180, 255, 0.55),
    0 0 28px rgba(181, 92, 255, 0.3),
    0 0 48px rgba(181, 92, 255, 0.12);
}

.bio-card .bio-text {
  font-family: var(--font-discord);
}

.bio-card .bio-text p {
  font-size: inherit;
  line-height: inherit;
  color: #f3ebff;
  letter-spacing: 0.01em;
}

.bio-card .bio-note {
  font-family: var(--font-discord);
  font-style: italic;
  color: #8f849c;
  font-size: 14px;
  font-weight: 400;
}

.blog-title {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: 0.12em;
}

.blog-lead {
  font-family: var(--font-discord);
  font-size: 18px;
  line-height: 1.65;
  color: #d5c4ef;
}

.skill-card h4 {
  font-size: 17px;
  letter-spacing: 0.09em;
}

.skill-card p {
  font-family: var(--font-discord);
  font-size: 15px;
  line-height: 1.7;
  color: #d7c6f2;
}

.skill-tags span {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.comm-tab {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.form-label {
  font-size: 12px;
  letter-spacing: 0.11em;
}

.form-input,
.form-textarea,
.form-select {
  font-family: var(--font-discord);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.form-input::placeholder,
.form-textarea::placeholder {
  font-family: var(--font-discord);
  color: #9f8bbb;
}

.submit-btn {
  font-size: 15px;
  letter-spacing: 0.12em;
}

.status-message {
  font-family: var(--font-discord);
  font-size: 13px;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .discord-hub {
    grid-template-columns: 1fr;
  }
  .discord-card {
    max-width: 100%;
    margin: 0 auto;
  }
  .about-lower,
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .site-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ── Bio card: 3-section layout ──────────────────── */

/* Remove old .bio-card .bio-text margin styling conflict */
.bio-card .bio-text {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  max-width: none;
  font-size: 15px;
  line-height: 1.7;
}

.bio-section-block {
  padding: 14px 0;
}

.bio-section-block:first-of-type {
  padding-top: 4px;
}

.bio-section-label {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: #ccc4dc;
  text-shadow:
    0 0 10px rgba(220, 210, 255, 0.55),
    0 0 24px rgba(181, 92, 255, 0.22);
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* Bio sentence — flowing text */
.bio-sentence {
  font-family: var(--font-discord);
  font-size: 17px;
  line-height: 1.8;
  color: #e8e0f8;
  letter-spacing: 0.01em;
  margin: 0;
}

/* Bio name styles stay the same font-size as surrounding text */
.bio-name {
  display: inline;
  font-size: inherit;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bio-name--hazem {
  color: #f4e8ff;
  text-shadow: 0 0 10px rgba(181, 92, 255, 0.35);
}

.bio-name--norythm {
  font-weight: 700;
  background: linear-gradient(100deg, #f9ebff, #e24cff, #9e73ff, #f9ebff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: norythmShift 5s ease-in-out infinite;
}

.bio-age,
.bio-egyptian {
  font-size: inherit;
  font-weight: 500;
  font-family: inherit;
  color: #cbbee6;
}

/* Bio topics — clean, unified styling. Two tones: purple for tech, rose for security/goals */
.bio-topic {
  font-size: inherit;
  font-weight: 700;
  font-family: inherit;
  padding: 0;
  background: none;
  border-radius: 0;
  letter-spacing: 0.02em;
  display: inline;
  color: #d4b8ff;
  transition: color 0.2s ease;
}

/* Tech/build topics — soft purple */
.bio-topic--web,
.bio-topic--code,
.bio-topic--bots,
.bio-topic--data,
.bio-topic--chess {
  color: #c8a8ff;
}

/* Security/goal topics — muted rose */
.bio-topic--sec,
.bio-topic--bug {
  color: #ffb0c4;
}

/* Achievement — italic, slightly brighter */
.bio-topic--cert {
  color: #e0ccff;
  font-style: italic;
}

/* Career — the one animated gradient, just this one stands out */
.bio-topic--career {
  font-weight: 800;
  background: linear-gradient(100deg, #e24cff, #9e73ff, #f0e0ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: norythmShift 4s ease-in-out infinite;
}

.bio-topic:hover {
  filter: brightness(1.25);
}

/* Divider line between sections */
.bio-card-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(181, 92, 255, 0.22) 20%,
    rgba(181, 92, 255, 0.35) 50%,
    rgba(181, 92, 255, 0.22) 80%,
    transparent
  );
  margin: 0 -4px;
}

/* Note section at bottom */
.bio-section-block--note {
  padding-bottom: 4px;
}

.bio-section-block--note .bio-note {
  margin-top: 0;
  font-family: var(--font-discord);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  color: #c4aede;
  letter-spacing: 0.03em;
  opacity: 1;
  padding: 10px 14px;
  background: rgba(181, 92, 255, 0.07);
  border-left: 2px solid rgba(181, 92, 255, 0.55);
  border-radius: 0 8px 8px 0;
  text-shadow: 0 0 14px rgba(181, 92, 255, 0.22);
}

/* Interests section */
.bio-section-block .bio-sentence {
  margin-bottom: 0;
}

/* (banner blend handled by .dc-banner::before and ::after above) */

/* ═══════════════════════════════════
   ANICLOCK VIEW COUNTER
═══════════════════════════════════ */
.aniclock-widget {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  z-index: 100;
  transition: transform 0.3s ease;
}

.aniclock-widget:hover {
  transform: translateY(-2px);
}

.aniclock-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #ccc;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.aniclock-digits {
  display: flex;
  align-items: flex-end;
  height: 85px; /* Increased from 60px */
}

.aniclock-gif {
  height: 100%;
  width: auto;
  object-fit: contain;
  animation: aniclockEntry 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

@keyframes aniclockEntry {
  0% {
    opacity: 0;
    transform: translateY(-15px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 768px) {
  .aniclock-widget {
    top: 16px;
    right: 16px;
  }
  .aniclock-label {
    font-size: 12px;
  }
  .aniclock-digits {
    height: 30px; /* Fixed for mobile */
  }
}

@media (max-width: 400px) {
  .view-char-card {
    width: 58px;
    height: 90px;
  }
  .view-char-img {
    height: 70px;
  }
  .view-char-digit {
    width: 36px;
    height: 36px;
  }
  .view-char-digit span {
    font-size: 16px;
  }
}

/* ══════════════════════════════════════
   TERMINAL FOOTER
══════════════════════════════════════ */
.site-footer {
  margin-top: 60px;
  padding: 30px 20px;
  position: relative;
  text-align: center;
  font-family: var(--font-body);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}

.footer-sys {
  color: #a040f5;
  text-shadow: 0 0 8px rgba(160, 64, 245, 0.4), 0 0 16px rgba(160, 64, 245, 0.2);
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
}
.footer-sys:hover {
  color: #fff;
  text-shadow: 0 0 12px #b55cff, 0 0 24px #b55cff;
  transform: scale(1.05);
}

.footer-status {
  color: #00f0ff;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4), 0 0 16px rgba(0, 240, 255, 0.2);
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
}
.footer-status:hover {
  color: #fff;
  text-shadow: 0 0 12px #00f0ff, 0 0 24px #00f0ff;
  transform: scale(1.05);
}

.blink {
  animation: blink 1s step-start infinite;
}

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

.footer-glow-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #b55cff, #00f0ff, transparent);
  opacity: 0.6;
  box-shadow: 0 0 20px #b55cff;
}

/* ══════════════════════════════════════
   ADMIN PANEL (SECRET)
══════════════════════════════════════ */
.admin-panel-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.admin-panel-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.admin-panel {
  width: 90%;
  max-width: 650px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: rgba(15, 10, 25, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(181, 92, 255, 0.4);
  box-shadow: 0 0 50px rgba(181, 92, 255, 0.2), inset 0 0 20px rgba(181, 92, 255, 0.05);
  border-radius: 16px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(181, 92, 255, 0.3);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.admin-header h3 {
  font-family: var(--font-heading);
  color: #fff;
  letter-spacing: 0.1em;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 0 12px rgba(181, 92, 255, 0.8);
  font-weight: 700;
}

.close-admin {
  background: none;
  border: none;
  color: var(--dim-text);
  font-size: 32px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  line-height: 1;
}
.close-admin:hover {
  color: #ff5f57;
  text-shadow: 0 0 10px #ff5f57;
  transform: scale(1.1) rotate(90deg);
}

.admin-auth {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.admin-auth.hidden {
  display: none;
}

.admin-auth p {
  color: var(--dim-text);
  letter-spacing: 0.1em;
}

.admin-input {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(181, 92, 255, 0.3);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  width: 100%;
  max-width: 300px;
  text-align: center;
  border-radius: 4px;
}

.admin-input:focus {
  outline: none;
  border-color: #b55cff;
  box-shadow: 0 0 10px rgba(181, 92, 255, 0.3);
}

.admin-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.admin-content.hidden {
  display: none;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-tabs {
  display: flex;
  gap: 12px;
}

.admin-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.admin-actions.hidden {
  display: none;
}
.selection-count {
  color: var(--dim-text);
  font-size: 12px;
  margin-right: 8px;
  letter-spacing: 0.1em;
}
.admin-action-btn {
  background: rgba(181, 92, 255, 0.05);
  border: 1px solid rgba(181, 92, 255, 0.2);
  color: var(--dim-text);
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 12px;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  gap: 6px;
}
.admin-action-btn:hover {
  background: rgba(181, 92, 255, 0.2);
  border-color: rgba(181, 92, 255, 0.6);
  color: #fff;
  box-shadow: 0 0 15px rgba(181, 92, 255, 0.3);
  transform: translateY(-1px);
}
.admin-action-btn:active {
  transform: translateY(1px);
}
.admin-action-btn.delete {
  border-color: rgba(255, 51, 102, 0.3);
  background: rgba(255, 51, 102, 0.05);
}
.admin-action-btn.delete:hover {
  background: rgba(255, 51, 102, 0.2);
  border-color: #ff3366;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
}

.admin-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(181, 92, 255, 0.2);
  color: var(--dim-text);
  padding: 10px 20px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.admin-tab.active, .admin-tab:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: #00f0ff;
  color: #fff;
  text-shadow: 0 0 8px #00f0ff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3), inset 0 0 8px rgba(0, 240, 255, 0.1);
  transform: translateY(-2px);
}

.admin-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 8px;
}

.admin-list::-webkit-scrollbar {
  width: 6px;
}
.admin-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.admin-list::-webkit-scrollbar-thumb {
  background: rgba(181, 92, 255, 0.3);
  border-radius: 6px;
}

.admin-msg-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-msg-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(181, 92, 255, 0.5);
  box-shadow: 0 0 20px rgba(181, 92, 255, 0.15);
  transform: translateX(4px);
}

.admin-msg-card.selected {
  border-color: #00f0ff;
  background: rgba(0, 240, 255, 0.05);
}
.admin-msg-card.starred {
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}
.admin-msg-card.hidden-msg {
  opacity: 0.4;
}

.admin-msg-card-checkbox {
  position: absolute;
  top: 16px;
  right: 16px;
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(181, 92, 255, 0.5);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.admin-msg-card-checkbox:checked {
  background: #00f0ff;
  border-color: #00f0ff;
}

.admin-msg-star-icon {
  position: absolute;
  top: 15px;
  right: 44px;
  font-size: 16px;
  color: #ffd700;
  pointer-events: none;
}

.admin-msg-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
  color: #b55cff;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 8px;
}

.admin-msg-body {
  color: #e0e0e0;
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.admin-msg-type {
  display: inline-block;
  background: rgba(181, 92, 255, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  margin-top: 10px;
  color: #e0b0ff;
}