/* ==========================================================================
   SANVEN AUTUMN LUXURY DESIGN SYSTEM - STYLESHEET
   ========================================================================== */

/* RESET & BASE */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-drag: none;
}

:root {
  --autumn-orange: #ea580c;
  --autumn-amber: #f59e0b;
  --autumn-red: #dc2626;
  --autumn-gold: #fbbf24;
  --autumn-crimson: #991b1b;
  --autumn-warm-dark: #0b0705;
  --autumn-card-bg: rgba(20, 12, 9, 0.72);
  --autumn-card-bg-hover: rgba(26, 15, 11, 0.82);
  --autumn-border: rgba(245, 158, 11, 0.22);
  --autumn-border-hover: rgba(234, 88, 12, 0.55);
  --autumn-glow: rgba(234, 88, 12, 0.35);
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-code: 'Fira Code', monospace;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-main);
  background-color: var(--autumn-warm-dark);
  color: #fff7ed;
  overflow-x: hidden;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 30px 15px;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(11, 7, 5, 0.8);
}
::-webkit-scrollbar-thumb {
  background: rgba(234, 88, 12, 0.4);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.7);
}

/* AUTUMN AMBIENT GLOW BACKDROP */
.autumn-ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: 
    radial-gradient(circle at 15% 15%, rgba(234, 88, 12, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(185, 28, 28, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 65%);
  animation: ambientPulse 10s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.04); }
}

/* BACKGROUND GIF OVERLAY */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/bg.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.48) sepia(0.3) hue-rotate(-12deg) contrast(1.1);
  z-index: 1;
  transition: transform 12s ease;
}

/* CANVAS PARTICLES */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* TOAST NOTIFICATION STYLING */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(24, 15, 11, 0.92);
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(20px);
  color: #fff7ed;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(234, 88, 12, 0.25);
  animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1), toastOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) 2.6s forwards;
}

.toast i {
  color: var(--autumn-gold);
}

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

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

/* ENTER SCREEN OVERLAY */
.enter-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 5, 3, 0.94);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.enter-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.enter-card {
  padding: 40px 50px;
  background: rgba(24, 15, 11, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(234, 88, 12, 0.2);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.enter-screen:hover .enter-card {
  transform: scale(1.03);
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.95), 0 0 50px rgba(234, 88, 12, 0.35);
}

.enter-icon-ring {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.25), rgba(245, 158, 11, 0.25));
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(234, 88, 12, 0.4);
}

.autumn-enter-icon {
  font-size: 2rem;
  color: var(--autumn-gold);
  animation: floatLeaf 3s ease-in-out infinite;
}

@keyframes floatLeaf {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(15deg); }
}

.enter-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #ffffff 40%, #fef3c7 70%, #fde68a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.enter-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--autumn-amber);
  opacity: 0.85;
}

.enter-text {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #ffedd5;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulseText 2.4s ease-in-out infinite;
}

@keyframes pulseText {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.02); }
}

/* MAIN CONTAINER */
.main-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  opacity: 0;
  transform: translateY(25px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  perspective: 1000px;
}

.main-container.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.main-container.hidden {
  display: none;
}

/* TOP STATUS BAR */
.top-status-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: rgba(20, 12, 9, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.25);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  font-size: 0.8rem;
  gap: 8px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffedd5;
  font-weight: 500;
}

.visitor-top-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  padding: 3px 10px;
  border-radius: 20px;
  color: #fef3c7;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.visitor-top-pill i {
  color: var(--autumn-gold);
  font-size: 0.8rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.status-dot.online {
  background-color: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.status-dot.online::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(34, 197, 94, 0.4);
  animation: pulseDot 2s infinite;
}

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

.clock-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--autumn-gold);
  font-family: var(--font-code);
  font-size: 0.78rem;
  white-space: nowrap;
}

/* DISCORD RICH PRESENCE LIVE CARD */
.discord-rpc-card {
  width: 100%;
  background: rgba(14, 8, 6, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 18px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  text-align: left;
}

.discord-rpc-card:hover {
  background: rgba(24, 15, 11, 0.85);
  border-color: rgba(251, 191, 36, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(234, 88, 12, 0.2);
}

.rpc-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.rpc-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245, 158, 11, 0.4);
}

.rpc-status-dot {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #22c55e;
  border: 2px solid #0b0705;
  box-shadow: 0 0 8px #22c55e;
}

.rpc-content {
  flex: 1;
  min-width: 0;
}

.rpc-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.rpc-tag {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.rpc-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.3);
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rpc-game-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--autumn-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rpc-game-detail {
  font-size: 0.74rem;
  color: #ffedd5;
  opacity: 0.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rpc-timer {
  font-size: 0.7rem;
  color: #fde68a;
  opacity: 0.7;
  font-family: var(--font-code);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ANALYTICS HEADER TITLE */
.analytics-header-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--autumn-amber);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* VISITOR ANALYTICS GRID */
.visitor-analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.stat-card {
  background: rgba(254, 215, 170, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.18);
  padding: 12px 8px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  background: rgba(234, 88, 12, 0.15);
  border-color: rgba(251, 191, 36, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.stat-card.highlight-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(234, 88, 12, 0.08));
  border-color: rgba(251, 191, 36, 0.35);
}

.stat-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.stat-icon-wrap.gold { background: rgba(251, 191, 36, 0.18); color: var(--autumn-gold); border: 1px solid rgba(251, 191, 36, 0.3); }
.stat-icon-wrap.amber { background: rgba(245, 158, 11, 0.18); color: var(--autumn-amber); border: 1px solid rgba(245, 158, 11, 0.3); }
.stat-icon-wrap.green { background: rgba(34, 197, 94, 0.18); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.stat-icon-wrap.red { background: rgba(239, 68, 68, 0.18); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.stat-icon-wrap.orange { background: rgba(234, 88, 12, 0.18); color: var(--autumn-orange); border: 1px solid rgba(234, 88, 12, 0.3); }
.stat-icon-wrap.blue { background: rgba(59, 130, 246, 0.18); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }

.pulse-icon {
  animation: pulseRotate 3s linear infinite;
}

@keyframes pulseRotate {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.heart-beat i {
  animation: heartPulse 1.6s ease-in-out infinite;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.2); }
  70% { transform: scale(1); }
}

.like-action-card {
  cursor: pointer;
  border-color: rgba(239, 68, 68, 0.3);
}

.like-action-card:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: #f87171;
}

.like-action-card:active {
  transform: scale(0.95);
}

.leaf-catch-card {
  cursor: pointer;
}

.stat-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-code);
}

.stat-label {
  font-size: 0.68rem;
  color: #fde68a;
  opacity: 0.8;
  white-space: nowrap;
  margin-top: 1px;
}

/* SYSTEM SPECS BAR */
.system-specs-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(14, 8, 6, 0.45);
  border: 1px solid rgba(245, 158, 11, 0.16);
  padding: 6px 12px;
  border-radius: 12px;
  margin-top: 10px;
  font-size: 0.72rem;
  color: #ffedd5;
  opacity: 0.8;
}

.spec-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.spec-item strong {
  color: var(--autumn-gold);
}

.spec-divider {
  color: rgba(245, 158, 11, 0.4);
}

/* FLOATING HEARTS & LEAF BURST PARTICLES */
.floating-heart {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  color: #f87171;
  font-size: 1.4rem;
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.8));
  animation: floatHeartUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes floatHeartUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.6) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: translateY(-50px) scale(1.2) rotate(15deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-110px) scale(1) rotate(-15deg);
  }
}
.profile-card, .music-card {
  width: 100%;
  background: var(--autumn-card-bg);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid var(--autumn-border);
  border-radius: 26px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85),
              inset 0 1px 0 0 rgba(254, 215, 170, 0.15),
              0 0 35px rgba(234, 88, 12, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.profile-card:hover, .music-card:hover {
  border-color: var(--autumn-border-hover);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.92),
              inset 0 1px 0 0 rgba(254, 215, 170, 0.25),
              0 0 45px var(--autumn-glow);
}

.card-glow-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--autumn-gold), var(--autumn-orange), transparent);
  opacity: 0.7;
}

/* CORNER DECORATIONS */
.card-decor-leaf {
  position: absolute;
  font-size: 1.1rem;
  opacity: 0.6;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  transition: transform 0.4s ease;
}

.card-decor-leaf.top-left { top: 16px; left: 18px; transform: rotate(-25deg); color: var(--autumn-amber); }
.card-decor-leaf.top-right { top: 16px; right: 18px; transform: rotate(35deg); color: var(--autumn-orange); }
.card-decor-leaf.bottom-left { bottom: 16px; left: 18px; transform: rotate(-135deg); color: var(--autumn-red); }
.card-decor-leaf.bottom-right { bottom: 16px; right: 18px; transform: rotate(125deg); color: var(--autumn-gold); }

.profile-card:hover .card-decor-leaf.top-left { transform: rotate(-35deg) scale(1.2); }
.profile-card:hover .card-decor-leaf.top-right { transform: rotate(45deg) scale(1.2); }

/* SEASON BADGE */
.autumn-season-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fef3c7;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.4), rgba(185, 28, 28, 0.4));
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* PROFILE CARD SPECIFICS */
.profile-card {
  padding: 34px 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* AVATAR CONTAINER */
.avatar-container {
  position: relative;
  margin-bottom: 16px;
}

.avatar-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--autumn-gold), var(--autumn-orange), var(--autumn-red));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.35);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-wrap:hover {
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 14px 40px rgba(234, 88, 12, 0.45), 0 0 30px rgba(251, 191, 36, 0.6);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--autumn-orange), var(--autumn-amber));
  border: 2px solid var(--autumn-warm-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* USERNAME & HANDLE */
.username {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 30%, #fef3c7 70%, #fde68a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.user-handle {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--autumn-amber);
  opacity: 0.9;
  margin-bottom: 14px;
}

/* BIO TEXT */
.bio-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #ffedd5;
  opacity: 0.88;
  margin-bottom: 22px;
  max-width: 420px;
}

/* INTERACTIVE TAB NAVIGATION */
.tab-navigation {
  display: flex;
  gap: 8px;
  background: rgba(14, 8, 6, 0.6);
  padding: 4px;
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  margin-bottom: 20px;
  width: 100%;
  max-width: 380px;
}

.tab-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: #ffedd5;
  opacity: 0.7;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  opacity: 1;
  color: #ffffff;
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.5), rgba(185, 28, 28, 0.5));
  color: #ffffff;
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* TAB PANELS */
.tab-content-container {
  width: 100%;
}

.tab-panel {
  display: none;
  animation: panelFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* STATS GRID (TAB 1) */
.quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.stat-card {
  background: rgba(254, 215, 170, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.18);
  padding: 12px 10px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(234, 88, 12, 0.15);
  border-color: rgba(251, 191, 36, 0.4);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 1.1rem;
  color: var(--autumn-gold);
}

.stat-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-label {
  font-size: 0.68rem;
  color: #fde68a;
  opacity: 0.7;
}

/* SOCIAL GRID (TAB 2) */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.social-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(254, 215, 170, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 14px;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.social-item:hover {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.3), rgba(185, 28, 28, 0.3));
  border-color: rgba(251, 191, 36, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fef3c7;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  flex: 1;
}

.social-link i, .social-link svg {
  font-size: 1.15rem;
  width: 20px;
  color: var(--autumn-gold);
}

.custom-svg {
  width: 18px;
  height: 18px;
}

.social-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.copy-btn {
  background: none;
  border: none;
  color: #fde68a;
  opacity: 0.6;
  cursor: pointer;
  padding: 4px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  opacity: 1;
  color: #ffffff;
  transform: scale(1.15);
}

/* SKILLS WRAPPER (TAB 3) */
.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.skill-tag {
  background: rgba(254, 215, 170, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #fef3c7;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.skill-tag i {
  color: var(--autumn-gold);
}

.skill-tag:hover {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.4), rgba(185, 28, 28, 0.4));
  border-color: rgba(251, 191, 36, 0.6);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(234, 88, 12, 0.3);
}

/* MUSIC PLAYER CARD SPECIFICS */
.music-card {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.music-art-container {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.disc-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.3), rgba(245, 158, 11, 0.2));
  border: 1px solid rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;
}

.disc-wrapper.playing {
  animation: spinDisc 6s linear infinite;
}

@keyframes spinDisc {
  100% { transform: rotate(360deg); }
}

.music-icon {
  font-size: 1.5rem;
  color: var(--autumn-gold);
}

/* EQUALIZER BARS OVERLAY */
.equalizer-bars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(14, 8, 6, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.equalizer-bars.active {
  opacity: 1;
}

.equalizer-bars span {
  width: 3px;
  height: 16px;
  background: var(--autumn-gold);
  border-radius: 2px;
  animation: eqBounce 0.8s ease-in-out infinite alternate;
}

.equalizer-bars span:nth-child(1) { animation-delay: 0.1s; height: 12px; }
.equalizer-bars span:nth-child(2) { animation-delay: 0.3s; height: 22px; }
.equalizer-bars span:nth-child(3) { animation-delay: 0.2s; height: 16px; }
.equalizer-bars span:nth-child(4) { animation-delay: 0.5s; height: 26px; }
.equalizer-bars span:nth-child(5) { animation-delay: 0.4s; height: 10px; }

@keyframes eqBounce {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.music-info-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.song-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.song-title-scroll {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.song-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffedd5;
  display: inline-block;
}

.track-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--autumn-gold);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 6px;
  border-radius: 8px;
  flex-shrink: 0;
}

.timeline-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.time-text {
  font-size: 0.72rem;
  color: #fde68a;
  opacity: 0.75;
  font-family: var(--font-code);
  font-variant-numeric: tabular-nums;
  width: 32px;
}

.progress-bar {
  flex: 1;
  height: 5px;
  background: rgba(254, 215, 170, 0.15);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--autumn-gold), var(--autumn-orange));
  border-radius: 3px;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--autumn-orange);
}

.progress-handle {
  position: absolute;
  left: 0%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px var(--autumn-gold);
  transform: translateX(-50%) scale(0);
  transition: transform 0.2s ease;
}

.progress-bar:hover .progress-handle {
  transform: translateX(-50%) scale(1);
}

/* MUSIC CONTROLS */
.music-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.control-btn {
  background: none;
  border: none;
  color: #fde68a;
  opacity: 0.8;
  font-size: 1rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.control-btn:hover {
  color: #ffffff;
  opacity: 1;
  transform: scale(1.18);
  text-shadow: 0 0 10px var(--autumn-gold);
}

.control-btn.play-btn {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--autumn-orange), var(--autumn-red));
  color: #ffffff;
  opacity: 1;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
}

.control-btn.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.6);
}

/* VOLUME CONTAINER & POPOVER */
.volume-container {
  position: relative;
}

.volume-popover {
  position: absolute;
  bottom: 45px;
  right: -10px;
  background: rgba(20, 12, 9, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 10px;
  border-radius: 12px;
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 50;
}

.volume-container:hover .volume-popover,
.volume-popover.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.volume-slider {
  width: 80px;
  accent-color: var(--autumn-orange);
  cursor: pointer;
}

/* FOOTER ACTION BUTTONS */
.footer-action-wrap {
  margin-top: 4px;
  text-align: center;
}

.action-btn-primary {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fef3c7;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(24, 15, 11, 0.7);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.action-btn-primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.35), rgba(185, 28, 28, 0.35));
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.35);
  transform: translateY(-3px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 540px) {
  body {
    padding: 20px 10px;
  }

  .main-container {
    width: 100%;
  }

  .profile-card {
    padding: 26px 18px 20px;
  }

  .username {
    font-size: 1.8rem;
  }

  .avatar-wrap {
    width: 95px;
    height: 95px;
  }

  .quick-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .stat-card {
    padding: 8px 6px;
  }

  .stat-value {
    font-size: 0.82rem;
  }

  .stat-label {
    font-size: 0.62rem;
  }

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

  .music-card {
    padding: 14px 16px;
    gap: 12px;
  }

  .music-art-container {
    width: 44px;
    height: 44px;
  }
}


