@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=Inter:wght@300;400;500;600;700;800&family=Orbitron:wght@500;600;700;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --neon-white: rgba(255, 255, 255, 0.9);
  --neon-cyan: #00f0ff;
  --neon-pink: #ec4899;
  --card-bg: rgba(12, 18, 30, 0.55);
  --card-border: rgba(255, 255, 255, 0.75);
  --glow-shadow: 0 0 25px rgba(255, 255, 255, 0.65), 0 0 50px rgba(0, 240, 255, 0.25);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.75);
}

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

body.kochehe-body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #050811;
  color: var(--text-main);
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: center; /* Đặt chính giữa màn hình theo chiều dọc */
  padding: 24px 16px;
  margin: 0;
}

/* ==================== INTRO TERMINAL GATE & BACKDROP (GPU ACCELERATED 60FPS) ==================== */
#terminal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: pointer;
  user-select: none;
  opacity: 0;
  will-change: opacity;
  animation: backdropEntrance 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s ease;
}

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

#terminal-backdrop.dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#terminal-backdrop.dismissed #terminal {
  transform: translate3d(0, -20px, 0) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease-out;
}

#terminal {
  width: 100%;
  max-width: 520px;
  position: relative;
  margin: auto;
  background: rgba(13, 20, 36, 0.94);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  cursor: pointer;
  overflow: hidden;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: terminalCardEntrance 0.46s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes terminalCardEntrance {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Ambient radial glow inside top header */
.terminal-glass-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 85px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.4) 0%, rgba(168, 85, 247, 0.2) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(22px);
}

/* Terminal Header */
#terminal-header {
  background: rgba(22, 33, 54, 0.85);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

#terminal-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.terminal-button:hover {
  transform: scale(1.18);
}

#close-button { background-color: #ff5f57; }
#minimize-button { background-color: #ffbd2e; }
#maximize-button { background-color: #28ca42; }

.terminal-title {
  font-family: 'Inter', monospace;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.terminal-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 3px 9px;
  letter-spacing: 0.3px;
}

.terminal-status-pill .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

/* Terminal Content Body */
#terminal-content {
  padding: 24px 24px 20px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Top Welcome Banner */
.terminal-welcome-banner {
  text-align: center;
  padding-bottom: 2px;
}

.cyber-glitch-badge {
  display: inline-block;
  font-family: 'Orbitron', 'Inter', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 30px;
  padding: 3px 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cyber-welcome-title {
  font-family: 'Orbitron', 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 5px;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 45%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  line-height: 1.15;
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.45));
}

.cyber-welcome-sub {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 6px 0 0 0;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Console Stream Box */
.terminal-console-box {
  background: rgba(8, 12, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.console-tab-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', monospace;
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.console-live-tag {
  font-size: 9.5px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

#terminal-text {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
  min-height: 75px;
  display: block;
}

/* Sleek Annotation Hint (Dòng chú thích tinh tế) */
.terminal-hint-wrap {
  text-align: center;
  padding-top: 4px;
}

.terminal-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 30px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: hintPillBreath 2.2s infinite ease-in-out;
  transition: all 0.25s ease;
}

.terminal-hint-pill:hover,
#terminal:hover .terminal-hint-pill,
#terminal-backdrop:hover .terminal-hint-pill {
  border-color: #38bdf8;
  color: #ffffff;
  background: rgba(56, 189, 248, 0.18);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hint-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulseDot 1.4s infinite ease-in-out;
}

.terminal-hint-pill i {
  color: #38bdf8;
  font-size: 12px;
  transition: transform 0.25s ease;
}

#terminal:hover .terminal-hint-pill i,
#terminal-backdrop:hover .terminal-hint-pill i {
  transform: translateX(4px);
}

@keyframes hintPillBreath {
  0%, 100% {
    transform: scale(1);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  }
  50% {
    transform: scale(1.02);
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.35);
  }
}

/* ==================== VIDEO / IMAGE BACKGROUND ==================== */
#video-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  background-color: #050811;
  pointer-events: none;
}

#video-background video,
#video-background img,
#myVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 0.88;
  display: block;
}

#video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, rgba(10, 15, 25, 0.35) 0%, rgba(5, 8, 17, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ==================== MAIN GLASSMORPHIC CARD (#blurred-box) ==================== */
#blurred-box {
  width: 100%;
  max-width: 480px;
  background: rgba(13, 20, 36, 0.72);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  padding: 26px 20px 24px;
  text-align: center;
  position: relative;
  z-index: 10;
  margin: auto;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#blurred-box.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: bioCardReveal 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bioCardReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Staggered silky smooth entrance for inner elements */
#blurred-box.visible .bio-col-profile {
  animation: bioStaggerFade 0.44s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

#blurred-box.visible .bio-col-links {
  animation: bioStaggerFade 0.44s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

#blurred-box.visible .bio-footer {
  animation: bioStaggerFade 0.44s cubic-bezier(0.16, 1, 0.3, 1) 0.20s both;
}

@keyframes bioStaggerFade {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Subtle Refined Glass Border Glow */
#blurred-box.active-border, #blurred-box:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 30px 90px -10px rgba(0, 0, 0, 0.85), 0 0 50px rgba(56, 189, 248, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ==================== RIGHT COLUMN LINKS TITLE & SHARE ACTION ==================== */
.links-title-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-action-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11.5px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.top-action-btn.share-trigger-btn {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  font-size: 11.5px !important;
}

.top-action-btn.share-trigger-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.top-action-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  transform: scale(1.1);
  color: #38bdf8;
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

/* ==================== AVATAR & DECORATION FRAME ==================== */
.avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
}

#profile-picture {
  width: 105px;
  height: 105px;
  border-radius: 50% !important;
  object-fit: cover !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  z-index: 1;
  display: block;
}

#avatar-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.22);
  width: 135px;
  height: 135px;
  z-index: 2;
  pointer-events: none;
  animation: floatFrame 3s ease-in-out infinite;
}

@keyframes floatFrame {
  0%, 100% { transform: translate(-50%, -50%) scale(1.22) rotate(0deg); }
  50% { transform: translate(-50%, -53%) scale(1.24) rotate(1deg); }
}

/* ==================== USERNAME CONTAINER ==================== */
#username-container {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 24px;
  letter-spacing: 0.3px;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 8px;
  min-height: 38px;
}

#username {
  letter-spacing: 0.5px;
}

#typing-cursor {
  display: inline-block;
  margin-left: 4px;
  animation: blinkCursor 1s infinite;
  color: #38bdf8;
  font-weight: 400;
}

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

/* ==================== BADGES CONTAINER ==================== */
.badges-container {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 auto 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  backdrop-filter: blur(8px);
}

.badges-container img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: transform 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.badges-container img:hover {
  transform: translateY(-3px) scale(1.25);
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.7));
}

/* ==================== TECH / SKILL LOGOS ==================== */
.lang-container {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 auto 14px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  flex-wrap: wrap;
}

.lang-container img {
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.lang-container img:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-3px) scale(1.15);
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.6));
}

/* ==================== USER DESCRIPTION BOX ==================== */
.user-description {
  margin: 0 auto 12px;
  width: 100%;
}

.user-desc-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 16px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.desc-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.desc-badge-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 2px 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#descLocation {
  font-size: 11.5px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#descLocation i {
  color: #ec4899;
}

#descName {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}

#descBio {
  font-size: 12.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
  word-break: break-word;
}

/* ==================== DISCORD WIDGET ==================== */
.discord-widget {
  background: rgba(22, 33, 56, 0.7);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 12px;
  backdrop-filter: blur(10px);
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 14px rgba(0, 0, 0, 0.25);
}

.discord-widget:hover {
  border-color: rgba(88, 101, 242, 0.65);
  box-shadow: 0 6px 22px rgba(88, 101, 242, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

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

.discord-icon img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #5865F2;
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.4);
  object-fit: cover;
}

.discord-meta b {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.discord-status-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

#discord-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.status-online { background-color: #22c55e; }
.status-idle { background-color: #faa81a; }
.status-dnd { background-color: #ed4245; }
.status-offline { background-color: #747f8d; }

.discord-activity {
  background-color: rgba(0, 0, 0, 0.35);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.discord-activity-icon {
  font-size: 18px;
  color: #5865F2;
}

.discord-activity-content {
  overflow: hidden;
}

#discord-activity-name {
  font-weight: 700;
  color: #e2e8f0;
  font-size: 13px;
}

#discord-activity-details {
  color: #94a3b8;
  font-size: 11.5px;
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==================== FEATURED ACTION LINKS ==================== */
.featured-links-wrap {
  width: 100%;
  margin-bottom: 16px;
  text-align: left;
}

.links-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #94a3b8;
  margin-bottom: 8px;
  padding: 0 4px;
}

.links-title-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #94a3b8;
  line-height: 1.2;
}

.links-title-left i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #38bdf8;
  line-height: 1;
  width: 14px;
}

.links-count {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
}

.links-list-kochehe {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kochehe-link-card {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(22, 33, 56, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 14px rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  padding: 12px 16px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.kochehe-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.kochehe-link-card:hover {
  transform: translateY(-3px) scale(1.01);
  background: linear-gradient(135deg, rgba(30, 48, 80, 0.85) 0%, rgba(20, 32, 56, 0.95) 100%);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.kochehe-link-card:hover::before {
  left: 100%;
}

.kochehe-link-card.highlight {
  border-color: rgba(236, 72, 153, 0.6);
  background: rgba(236, 72, 153, 0.12);
}

.link-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  line-height: 1;
  color: #38bdf8;
  margin-right: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  overflow: hidden;
}

.link-icon-box i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  font-size: 19px;
  text-align: center;
  margin: 0 !important;
  padding: 0 !important;
}

.link-icon-box img.link-custom-icon {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  margin: auto;
}

.kochehe-link-card:hover .link-icon-box {
  transform: scale(1.08);
  background: rgba(56, 189, 248, 0.25);
  color: #ffffff;
}

.link-custom-icon {
  object-fit: contain;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 0 6px rgba(0, 104, 255, 0.6));
}

.kochehe-link-card:hover .link-custom-icon {
  transform: scale(1.1);
}

.social-custom-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(0, 104, 255, 0.5));
}

.fa-zalo, .fa-brands.fa-zalo, .fab.fa-zalo {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 4C12.95 4 4 12.06 4 22c0 5.68 2.92 10.75 7.56 14.13l-2.08 6.94a1.5 1.5 0 0 0 1.96 1.84l7.63-3.14C20.46 41.91 22.2 42 24 42c11.05 0 20-8.06 20-18S35.05 4 24 4zm4.5 25h-9a1.5 1.5 0 0 1-1.12-2.5L24.3 20H19.5a1.5 1.5 0 0 1 0-3h9a1.5 1.5 0 0 1 1.12 2.5L23.7 26H28.5a1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 4C12.95 4 4 12.06 4 22c0 5.68 2.92 10.75 7.56 14.13l-2.08 6.94a1.5 1.5 0 0 0 1.96 1.84l7.63-3.14C20.46 41.91 22.2 42 24 42c11.05 0 20-8.06 20-18S35.05 4 24 4zm4.5 25h-9a1.5 1.5 0 0 1-1.12-2.5L24.3 20H19.5a1.5 1.5 0 0 1 0-3h9a1.5 1.5 0 0 1 1.12 2.5L23.7 26H28.5a1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.fa-zalo::before, .fa-brands.fa-zalo::before, .fab.fa-zalo::before {
  content: none !important;
}

.link-text-box {
  flex-grow: 1;
  text-align: left;
}

.link-main-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.link-sub-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
  display: block;
}

.link-arrow-icon {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.2s ease, color 0.2s ease;
  margin-left: 8px;
}

.kochehe-link-card:hover .link-arrow-icon {
  transform: translateX(4px);
  color: #38bdf8;
}

/* ==================== DONATE BUTTON ==================== */
.donate-btn-glow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(99, 102, 241, 0.3) 100%);
  border: 1px solid rgba(236, 72, 153, 0.5);
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.donate-btn-glow:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.5) 0%, rgba(99, 102, 241, 0.5) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}

/* ==================== SOCIAL LINKS ROW ==================== */
.links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.social-decor-item, .links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 19px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(6px);
  cursor: pointer;
  user-select: none;
}

.social-decor-item:hover, .links a:hover {
  color: #ffffff;
  background: rgba(214, 109, 255, 0.4);
  border-color: rgba(214, 109, 255, 0.8);
  transform: translateY(-4px) scale(1.15);
  box-shadow: 0 0 15px rgba(214, 109, 255, 0.6);
}

/* Footer */
.card-footer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 10px;
}

/* ==================== VIETQR MODAL (REDESIGNED) ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.donate-modal-card {
  background: rgba(13, 20, 36, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 24px 22px 20px;
  max-width: 430px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.9), 0 0 50px rgba(236, 72, 153, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  max-height: min(92vh, 720px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-overlay.active .donate-modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  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;
  color: #94a3b8;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.6);
  color: #ffffff;
  transform: rotate(90deg) scale(1.1);
}

/* Modal Header */
.donate-modal-header {
  margin-bottom: 14px;
}

.donate-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #f472b6;
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.25);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.donate-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
  margin: 0 0 6px;
}

.donate-note-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 6px 14px;
  line-height: 1.4;
  max-width: 100%;
}

.donate-note-pill i {
  color: #f59e0b;
}

/* QR Code Showcase Card */
.qr-showcase-wrap {
  margin: 0 auto 12px;
  width: 100%;
}

.qr-frame-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 10px 12px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.2);
  position: relative;
  overflow: hidden;
}

.qr-top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}

.vietqr-brand {
  font-weight: 800;
  font-size: 14px;
  color: #002d72;
  letter-spacing: 0.5px;
}

.vietqr-brand .qr-red {
  color: #ed1c24;
}

.napas-brand {
  font-weight: 700;
  font-size: 11px;
  color: #005a9c;
  display: flex;
  align-items: center;
  gap: 4px;
}

.qr-img-box {
  position: relative;
  width: 195px;
  height: 195px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
}

.qr-code-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
}

.qr-scan-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #ec4899, transparent);
  box-shadow: 0 0 8px #38bdf8;
  animation: qrScanMotion 2.2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes qrScanMotion {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.qr-bottom-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid #f8fafc;
}

/* Quick Preset Amounts */
.donate-presets-wrap {
  margin-bottom: 12px;
  text-align: left;
}

.presets-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}

.presets-label i {
  color: #f59e0b;
}

.presets-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 2px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.preset-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.preset-btn.active {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.45) 0%, rgba(99, 102, 241, 0.45) 100%);
  border-color: #ec4899;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.35);
}

/* Custom Donate Amount Input */
.custom-donate-input-wrap {
  margin-top: 8px;
  width: 100%;
}

.custom-amount-box {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 4px 8px 4px 10px;
  gap: 6px;
  transition: all 0.2s ease;
}

.custom-amount-box:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
  background: rgba(15, 23, 42, 0.88);
}

.currency-symbol {
  color: #38bdf8;
  font-weight: 800;
  font-size: 14px;
}

.custom-amount-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  width: 100%;
  padding: 3px 0;
}

.custom-amount-input::placeholder {
  color: #64748b;
  font-size: 11.5px;
  font-weight: 400;
}

.btn-clear-amount {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-clear-amount:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Bank Details & Copy Box */
.copy-bank-box {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: left;
}

.copy-bank-box:hover {
  background: rgba(22, 33, 56, 0.85);
  border-color: #38bdf8;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.bank-meta-left {
  flex-grow: 1;
}

.bank-badge-title {
  font-size: 10.5px;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bank-account-num {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.8px;
  font-family: 'Consolas', 'Courier New', monospace;
  margin: 2px 0;
}

.bank-holder-name {
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.copy-action-btn {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.copy-action-btn:hover {
  background: rgba(56, 189, 248, 0.28);
  border-color: #38bdf8;
  color: #ffffff;
  transform: scale(1.03);
}

.copy-action-btn.copied {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10b981;
  color: #10b981;
}

/* Modal Footer */
.donate-modal-footer {
  margin-top: 10px;
  text-align: center;
}

.footer-help-text {
  font-size: 10.5px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==================== WALLPAPER MODAL & GRID ==================== */
.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding: 4px;
}

@media (min-width: 480px) {
  .wallpaper-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.wallpaper-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 82px;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: #090d16;
}

.wallpaper-item:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
}

.wallpaper-item.active {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px #38bdf8, 0 4px 15px rgba(56, 189, 248, 0.45);
}

.wallpaper-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wallpaper-item:hover img {
  transform: scale(1.08);
}

.wallpaper-tag {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #38bdf8;
  font-size: 8.5px;
  padding: 2px 5px;
  border-radius: 6px;
  font-weight: 600;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.wallpaper-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 10px 4px 4px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallpaper-check {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #38bdf8;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.wallpaper-item.active .wallpaper-check {
  display: flex;
}

.wallpaper-action-btn {
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.wallpaper-action-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e2e8f0;
}

.wallpaper-action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.wallpaper-action-btn.primary {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  border: 1px solid #38bdf8;
  color: #fff;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
}

.wallpaper-action-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

/* ==================== FLOATING BOTTOM-RIGHT WIDGETS DOCK ==================== */
.floating-bottom-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.floating-bottom-dock > * {
  pointer-events: auto;
}

/* Floating Views Widget - Kính mờ siêu gọn đẹp */
.floating-views-widget {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 20, 36, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 5px 11px 5px 9px;
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-views-widget:hover {
  transform: translateY(-2px) scale(1.06);
  background: rgba(13, 20, 36, 0.82);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), 0 0 16px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.views-icon {
  color: #38bdf8;
  font-size: 13px;
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}

.floating-views-widget:hover .views-icon {
  transform: scale(1.15);
  color: #7dd3fc;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.8));
}

.views-number {
  font-family: 'Plus Jakarta Sans', 'Inter', monospace;
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
  line-height: 1;
}

/* ==================== FLOATING MUSIC PLAYER ==================== */
.floating-bottom-dock .floating-music-circle {
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
  margin: 0 !important;
}

.floating-music-circle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 20, 36, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 14px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 4px 10px 4px 4px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.floating-music-circle:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(13, 20, 36, 0.85);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.vinyl-disc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #38bdf8 0%, #0f172a 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
  transition: transform 0.3s ease;
}

.vinyl-disc.spinning {
  animation: spinRecord 3s linear infinite;
}

@keyframes spinRecord {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.music-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  padding-right: 4px;
}

.music-wave-bars span {
  width: 2.5px;
  height: 4px;
  background: #38bdf8;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.floating-music-circle.playing .music-wave-bars span:nth-child(1) {
  animation: bounceBar 0.8s ease-in-out infinite;
}
.floating-music-circle.playing .music-wave-bars span:nth-child(2) {
  animation: bounceBar 0.8s 0.2s ease-in-out infinite;
}
.floating-music-circle.playing .music-wave-bars span:nth-child(3) {
  animation: bounceBar 0.8s 0.4s ease-in-out infinite;
}
.floating-music-circle.playing .music-wave-bars span:nth-child(4) {
  animation: bounceBar 0.8s 0.1s ease-in-out infinite;
}

@keyframes bounceBar {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 13.5px;
  z-index: 10000;
  opacity: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==================== 2-COLUMN RESPONSIVE LAYOUT (BENTO GRID) ==================== */
.bio-grid-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.bio-col-profile {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bio-col-links {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* PC / Desktop Screens (>= 992px) - Modern 2-Column Bento Layout Centered & Balanced */
@media (min-width: 992px) {
  /* PC giữ nguyên giao diện như cũ, ẩn hoàn toàn mobile header */

  

  

  body.kochehe-body {
    padding: 30px 24px;
    align-items: center; /* Canh giữa dọc trên PC */
  }

  #blurred-box {
    max-width: 940px;
    padding: 24px 34px 20px;
    border-radius: 24px;
    margin: auto; /* Tự động chia đều lề trên và dưới */
  }

  .bio-grid-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    align-items: start;
    width: 100%;
    text-align: left;
  }

  .bio-col-profile {
    align-items: center;
    text-align: center;
    position: sticky;
    top: 20px;
  }

  .bio-col-profile .avatar-wrap {
    margin-bottom: 10px;
    width: 110px;
    height: 110px;
  }

  .bio-col-profile #profile-picture {
    width: 95px;
    height: 95px;
  }

  .bio-col-profile #avatar-frame {
    width: 122px;
    height: 122px;
  }

  .bio-col-profile #username-container {
    min-height: 32px;
    font-size: 22px;
    margin-bottom: 6px;
  }

  .bio-col-profile .user-description {
    margin-bottom: 0;
    width: 100%;
  }

  .bio-col-links {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .bio-col-links .featured-links-wrap {
    margin-bottom: 0;
  }

  .bio-col-links #donateSection {
    margin-top: 10px;
  }

  .bio-col-links .discord-widget {
    margin-top: 10px;
    margin-bottom: 0;
  }

  #socialBar {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    justify-content: center;
    gap: 14px;
  }

  .card-footer {
    margin-top: 6px;
  }

  .kochehe-link-card {
    padding: 11px 16px;
    border-radius: 14px;
  }

  .link-main-title {
    font-size: 14px;
  }

  .link-sub-title {
    font-size: 11.5px;
  }
}

/* Tablet & Mobile Screens (< 992px) - Bỏ hoàn toàn thẻ kính mờ trên Mobile theo yêu cầu */
@media (max-width: 991px) {
  body.kochehe-body {
    padding: 16px 10px 40px;
    align-items: flex-start;
  }

  #blurred-box {
    max-width: 480px;
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 8px 4px 20px !important;
    margin: 0 auto !important;
  }

  #blurred-box.active-border, #blurred-box:hover {
    border: none !important;
    box-shadow: none !important;
  }

  

  /* Nút share tròn góc trên bên phải trên mobile */
  

  .bio-col-links .links-title-row {
    padding-right: 0;
  }

  .bio-grid-container {
    gap: 0;
  }

  .bio-col-links {
    margin-top: 8px;
  }
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
/* Public Bio UX hardening: scoped additions using the existing visual system. */
html { scroll-behavior: smooth; }
body.kochehe-body { min-width: 0; }
#blurred-box { isolation: isolate; overflow: hidden; }
#username-container { max-width: 100%; padding-inline: 2.25rem; overflow-wrap: anywhere; }
#username { overflow-wrap: anywhere; }
.user-description p { overflow-wrap: anywhere; word-break: break-word; }
#descBio { white-space: pre-line; overflow-wrap: anywhere; }
.link-main-title, .link-sub-title { overflow-wrap: anywhere; word-break: break-word; }
.kochehe-link-card:focus-visible, .social-decor-item:focus-visible, .links a:focus-visible, .top-action-btn:focus-visible, .donate-btn-glow:focus-visible, .modal-close:focus-visible, .copy-bank-box:focus-visible { outline: 3px solid var(--neon-cyan); outline-offset: 3px; }
.kochehe-link-card, .donate-btn-glow { min-height: 52px; }
.social-decor-item, .links a, .top-action-btn { min-width: 44px; min-height: 44px; }
.links a { text-decoration: none; }
#socialBar { padding-inline: .25rem; }
.modal-content { max-height: min(90vh, 700px); overflow-y: auto; overscroll-behavior: contain; }
.modal-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.qr-code-img { max-width: 100%; height: auto; }
.copy-bank-box button { min-width: 44px; min-height: 44px; }
@media (max-width: 600px) {
  body.kochehe-body { padding: 12px 8px 76px; }
  #blurred-box { margin: 0 auto; padding: 22px 14px 20px; }
  
  #username-container { font-size: clamp(1.25rem, 7vw, 1.65rem); padding-inline: 1.5rem; }
  .kochehe-link-card { padding: 10px 12px; border-radius: 14px; }
  .link-main-title { font-size: 14px; }
  .links { gap: 10px; }
  .modal-overlay { padding: 10px; }
  .modal-content { padding: 22px 14px 18px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}



@media (max-width: 480px) {
  #terminal-backdrop {
    padding: 12px 10px;
  }
  #terminal {
    max-width: 100%;
    border-radius: 18px;
  }
  #terminal-content {
    padding: 18px 14px 16px;
    gap: 13px;
  }
  .cyber-welcome-title {
    font-size: 26px;
    letter-spacing: 3px;
  }
  #terminal-text {
    font-size: 11px;
    line-height: 1.5;
  }
  .terminal-hint-pill {
    padding: 9px 14px;
    font-size: 11.5px;
    gap: 7px;
  }
}

