/* ============================================
   PERSONAL LANDING PAGE - STYLE.CSS
   Futuristic Glassmorphism + Neon Gradient Theme
   Author: Vo Khac Tam
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Color Palette */
  --clr-bg-primary: #0a0a1a;
  --clr-bg-secondary: #0f0f2e;
  --clr-bg-card: rgba(15, 15, 46, 0.5);
  --clr-glass: rgba(255, 255, 255, 0.04);
  --clr-glass-border: rgba(255, 255, 255, 0.08);
  --clr-glass-hover: rgba(255, 255, 255, 0.08);

  /* Neon Gradient Colors */
  --clr-purple: #8b5cf6;
  --clr-blue: #3b82f6;
  --clr-cyan: #06b6d4;
  --clr-pink: #ec4899;
  --clr-violet: #a855f7;
  --clr-green: #22c55e;

  /* Text Colors */
  --clr-text-primary: #f1f5f9;
  --clr-text-secondary: rgba(241, 245, 249, 0.65);
  --clr-text-muted: rgba(241, 245, 249, 0.4);

  /* Gradient Presets */
  --gradient-main: linear-gradient(135deg, var(--clr-purple), var(--clr-blue), var(--clr-cyan));
  --gradient-glow: linear-gradient(135deg, var(--clr-violet), var(--clr-pink), var(--clr-cyan));
  --gradient-banner: linear-gradient(135deg, #1a0533, #0d1b3e, #0a2a3a);

  /* Shadows */
  --shadow-glow-sm: 0 0 15px rgba(139, 92, 246, 0.15);
  --shadow-glow-md: 0 0 30px rgba(139, 92, 246, 0.2);
  --shadow-glow-lg: 0 4px 60px rgba(139, 92, 246, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

  /* Spacing & Sizing */
  --container-max: 480px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Light Mode Overrides ---------- */
[data-theme="light"] {
  --clr-bg-primary: #f0f0f8;
  --clr-bg-secondary: #e8e8f4;
  --clr-bg-card: rgba(255, 255, 255, 0.7);
  --clr-glass: rgba(255, 255, 255, 0.6);
  --clr-glass-border: rgba(139, 92, 246, 0.15);
  --clr-glass-hover: rgba(255, 255, 255, 0.8);
  --clr-text-primary: #1a1a2e;
  --clr-text-secondary: rgba(26, 26, 46, 0.7);
  --clr-text-muted: rgba(26, 26, 46, 0.45);
  --gradient-banner: linear-gradient(135deg, #ddd6fe, #bfdbfe, #a5f3fc);
  --shadow-glow-sm: 0 0 15px rgba(139, 92, 246, 0.1);
  --shadow-glow-md: 0 0 30px rgba(139, 92, 246, 0.12);
  --shadow-glow-lg: 0 4px 60px rgba(139, 92, 246, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  background-color: var(--clr-bg-primary);
  color: var(--clr-text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Animated Background ---------- */
.bg-animated {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-animated .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float-orb 20s ease-in-out infinite;
}

.bg-animated .orb:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--clr-purple);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.bg-animated .orb:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--clr-cyan);
  top: 50%;
  right: -15%;
  animation-delay: -5s;
  animation-duration: 30s;
}

.bg-animated .orb:nth-child(3) {
  width: 350px;
  height: 350px;
  background: var(--clr-pink);
  bottom: -10%;
  left: 20%;
  animation-delay: -10s;
  animation-duration: 22s;
}

[data-theme="light"] .bg-animated .orb {
  opacity: 0.15;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -60px) scale(1.1); }
  50% { transform: translate(-30px, 40px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.05); }
}

/* ---------- Particles Canvas ---------- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

[data-theme="light"] #particles-canvas {
  opacity: 0.4;
}

/* ---------- Main Container ---------- */
.container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* ---------- Theme Toggle ---------- */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-glass-border);
  background: var(--clr-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all var(--transition-smooth);
  color: var(--clr-text-primary);
  box-shadow: var(--shadow-glow-sm);
}

.theme-toggle:hover {
  background: var(--clr-glass-hover);
  transform: rotate(30deg) scale(1.1);
  box-shadow: var(--shadow-glow-md);
}

/* ---------- Banner Section ---------- */
.banner {
  position: relative;
  width: calc(100% + 40px);
  margin-left: -20px;
  height: 220px;
  background: var(--gradient-banner);
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Banner cover image */
.banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay on top of banner image */
.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, var(--clr-bg-primary), transparent);
  z-index: 2;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(139, 92, 246, 0.1) 25%,
    rgba(6, 182, 212, 0.12) 50%,
    rgba(236, 72, 153, 0.1) 75%,
    transparent 100%
  );
  animation: banner-shimmer 8s ease-in-out infinite;
  z-index: 3;
}

@keyframes banner-shimmer {
  0%, 100% { transform: translateX(-50%); }
  50% { transform: translateX(0%); }
}

/* Light grid lines on banner */
.banner-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 4;
}

[data-theme="light"] .banner-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

/* ---------- Avatar Section ---------- */
.avatar-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -65px;
  z-index: 10;
}

.avatar-ring {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  padding: 4px;
  background: var(--gradient-main);
  animation: ring-rotate 6s linear infinite;
  box-shadow: var(--shadow-glow-md);
}

@keyframes ring-rotate {
  0% { background: linear-gradient(0deg, var(--clr-purple), var(--clr-cyan)); }
  25% { background: linear-gradient(90deg, var(--clr-cyan), var(--clr-pink)); }
  50% { background: linear-gradient(180deg, var(--clr-pink), var(--clr-blue)); }
  75% { background: linear-gradient(270deg, var(--clr-blue), var(--clr-purple)); }
  100% { background: linear-gradient(360deg, var(--clr-purple), var(--clr-cyan)); }
}

.avatar-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--gradient-glow);
  filter: blur(15px);
  opacity: 0.4;
  z-index: -1;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--clr-bg-primary);
  transition: border-color var(--transition-smooth);
}

/* Online status indicator */
.avatar-status {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  border: 3px solid var(--clr-bg-primary);
  z-index: 2;
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* ---------- Profile Info ---------- */
.profile-info {
  text-align: center;
  margin-top: 18px;
  padding: 0 10px;
}

.profile-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s ease-in-out infinite;
  background-size: 200% 200%;
  position: relative;
  display: inline-block;
  cursor: default;
}

/* Glitch effect on hover */
.profile-name:hover {
  animation: glitch 0.4s ease-in-out;
}

@keyframes glitch {
  0% { transform: translate(0); }
  10% { transform: translate(-3px, 2px); }
  20% { transform: translate(3px, -2px); }
  30% { transform: translate(-2px, -1px); }
  40% { transform: translate(2px, 1px); }
  50% { transform: translate(-1px, 2px); }
  60% { transform: translate(1px, -2px); }
  70% { transform: translate(3px, 1px); }
  80% { transform: translate(-2px, -1px); }
  90% { transform: translate(1px, 2px); }
  100% { transform: translate(0); }
}

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

/* Typing subtitle */
.profile-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--clr-text-secondary);
  margin-top: 6px;
  letter-spacing: 0.04em;
  min-height: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.typing-text {
  display: inline;
}

.typing-cursor {
  display: inline-block;
  font-weight: 300;
  color: var(--clr-purple);
  animation: blink 0.8s step-end infinite;
  margin-left: 1px;
}

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

.profile-bio {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-top: 10px;
  line-height: 1.5;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Location Badge ---------- */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--clr-glass);
  border: 1px solid var(--clr-glass-border);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  color: var(--clr-text-secondary);
  transition: all var(--transition-smooth);
}

.location-badge:hover {
  border-color: var(--clr-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.location-pin {
  font-size: 0.9rem;
  animation: pin-bounce 2s ease-in-out infinite;
}

@keyframes pin-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.location-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-green);
  animation: status-pulse 2s ease-in-out infinite;
}

/* ---------- Social Icons ---------- */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-glass);
  border: 1px solid var(--clr-glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--clr-text-secondary);
  transition: all var(--transition-smooth);
  position: relative;
  z-index: 1;
}

.social-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-glow-md);
  border-color: var(--clr-purple);
}

.social-icon:hover::after {
  opacity: 0.15;
}

.social-icon:hover svg {
  fill: var(--clr-text-primary);
}

/* Individual social hover colors */
.social-icon[data-platform="zalo"]:hover { border-color: #0068ff; box-shadow: 0 0 20px rgba(0, 104, 255, 0.35); }
.social-icon[data-platform="facebook"]:hover { border-color: #1877f2; box-shadow: 0 0 20px rgba(24, 119, 242, 0.35); }
.social-icon[data-platform="github"]:hover { border-color: #c9d1d9; box-shadow: 0 0 20px rgba(201, 209, 217, 0.2); }
.social-icon[data-platform="instagram"]:hover { border-color: #e1306c; box-shadow: 0 0 20px rgba(225, 48, 108, 0.3); }
.social-icon[data-platform="tiktok"]:hover { border-color: #ff0050; box-shadow: 0 0 20px rgba(255, 0, 80, 0.3); }
.social-icon[data-platform="x"]:hover { border-color: #ffffffcc; box-shadow: 0 0 20px rgba(255, 255, 255, 0.15); }
.social-icon[data-platform="telegram"]:hover { border-color: #26a5e4; box-shadow: 0 0 20px rgba(38, 165, 228, 0.35); }
.social-icon[data-platform="linkedin"]:hover { border-color: #0a66c2; box-shadow: 0 0 20px rgba(10, 102, 194, 0.3); }
.social-icon[data-platform="whatsapp"]:hover { border-color: #25d366; box-shadow: 0 0 20px rgba(37, 211, 102, 0.3); }

/* ---------- Now Playing Widget ---------- */
.now-playing {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--clr-glass);
  border: 1px solid var(--clr-glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
  overflow: hidden;
  position: relative;
}

.now-playing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-cyan), var(--clr-green));
  background-size: 200% 100%;
  animation: np-border-flow 3s linear infinite;
}

@keyframes np-border-flow {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.now-playing:hover {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.1);
}

.np-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.np-icon-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.np-spotify-icon {
  width: 18px;
  height: 18px;
  fill: #1DB954;
}

.np-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.np-bars span {
  display: block;
  width: 3px;
  background: var(--clr-green);
  border-radius: 2px;
  animation: np-bar 1.2s ease-in-out infinite;
}

.np-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.np-bars span:nth-child(2) { height: 70%; animation-delay: 0.2s; }
.np-bars span:nth-child(3) { height: 50%; animation-delay: 0.4s; }
.np-bars span:nth-child(4) { height: 80%; animation-delay: 0.1s; }

@keyframes np-bar {
  0%, 100% { height: 30%; }
  50% { height: 100%; }
}

.np-label {
  font-size: 0.7rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.np-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.np-track-info {
  flex: 1;
  min-width: 0;
}

.np-song {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--clr-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-artist {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  margin-top: 2px;
}

.np-progress {
  margin-top: 14px;
}

.np-progress-bar {
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.np-progress-fill {
  height: 100%;
  width: 38%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-cyan));
  transition: width 1s linear;
  animation: np-progress-anim 30s linear infinite;
}

@keyframes np-progress-anim {
  0% { width: 0%; }
  100% { width: 100%; }
}

.np-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--clr-text-muted);
  margin-top: 6px;
  font-family: 'Inter', sans-serif;
}

/* ---------- CTA Buttons ---------- */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.cta-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: var(--clr-glass);
  border: 1px solid var(--clr-glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  transition: all var(--transition-smooth);
  overflow: hidden;
  font-family: 'Space Grotesk', sans-serif;
  text-decoration: none;
  color: var(--clr-text-primary);
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: 0;
}

.cta-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: var(--shadow-glow-lg);
}

.cta-btn:hover::before {
  opacity: 0.1;
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: var(--radius-sm);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all var(--transition-smooth);
}

.cta-btn:hover .cta-icon {
  box-shadow: var(--shadow-glow-sm);
  transform: scale(1.05);
}

.cta-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.cta-text {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.cta-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  margin-top: 2px;
}

.cta-arrow {
  margin-left: auto;
  position: relative;
  z-index: 1;
  transition: all var(--transition-smooth);
}

.cta-arrow svg {
  width: 18px;
  height: 18px;
  fill: var(--clr-text-muted);
  transition: all var(--transition-smooth);
}

.cta-btn:hover .cta-arrow {
  transform: translateX(4px);
}

.cta-btn:hover .cta-arrow svg {
  fill: var(--clr-text-primary);
}

/* Unique button accents */
.cta-btn[data-type="zalo"] .cta-icon {
  background: linear-gradient(135deg, #0068ff, #00a2ff);
}

.cta-btn[data-type="portfolio"] .cta-icon {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.cta-btn[data-type="youtube"] .cta-icon {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.cta-btn[data-type="discord"] .cta-icon {
  background: linear-gradient(135deg, #5865f2, #7c3aed);
}

.cta-btn[data-type="email"] .cta-icon {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

/* ---------- Availability Section ---------- */
.availability-section {
  margin-top: 32px;
}

.availability-card {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: var(--clr-glass);
  border: 1px solid var(--clr-glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.availability-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.availability-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.08);
}

.avail-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.avail-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-green);
  animation: status-pulse 2s ease-in-out infinite;
}

.avail-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--clr-green);
}

.avail-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.avail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition-fast);
}

.avail-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.avail-icon {
  font-size: 1.1rem;
}

.avail-info {
  display: flex;
  flex-direction: column;
}

.avail-label {
  font-size: 0.68rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.avail-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text-secondary);
  margin-top: 1px;
}

.avail-value.highlight {
  color: var(--clr-purple);
}

/* ---------- Section Title ---------- */
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
  text-align: center;
  color: var(--clr-text-primary);
}

/* ---------- Tech Stack / Skills Section ---------- */
.skills-section {
  margin-top: 10px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.skill-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--clr-glass);
  border: 1px solid var(--clr-glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--clr-text-secondary);
  transition: all var(--transition-smooth);
  cursor: default;
  animation: float-chip 6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.skill-chip:nth-child(odd) { animation-delay: -1s; }
.skill-chip:nth-child(even) { animation-delay: -3s; }

@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.skill-chip:hover {
  border-color: var(--clr-purple);
  box-shadow: var(--shadow-glow-sm);
  color: var(--clr-text-primary);
  transform: translateY(-3px) scale(1.05);
}

.skill-emoji {
  font-size: 1rem;
  line-height: 1;
}

/* Skill level bar inside chip */
.skill-level-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.skill-level-fill {
  height: 100%;
  width: 0;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-chip:hover .skill-level-fill,
.skill-chip.visible .skill-level-fill {
  width: var(--level);
}

/* ---------- Activity Heatmap Section ---------- */
.activity-section {
  margin-top: 10px;
}

.activity-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--clr-glass);
  border: 1px solid var(--clr-glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
}

.activity-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-glow-sm);
}

.activity-heatmap {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 12px;
}

.activity-cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--clr-purple);
  opacity: 0.08;
  transition: all var(--transition-fast);
  cursor: default;
}

.activity-cell:hover {
  transform: scale(1.4);
  opacity: 1 !important;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
}

.activity-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 8px;
}

.activity-legend-label {
  font-size: 0.6rem;
  color: var(--clr-text-muted);
  margin: 0 2px;
}

.activity-legend-box {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--clr-purple);
  opacity: var(--box-opacity);
}

.activity-stats-row {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--clr-glass-border);
}

.activity-stat {
  display: flex;
  flex-direction: column;
}

.activity-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.activity-stat-label {
  font-size: 0.68rem;
  color: var(--clr-text-muted);
  margin-top: 2px;
}

/* ---------- Stats Section ---------- */
.stats-section {
  margin-top: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-card {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius-md);
  background: var(--clr-glass);
  border: 1px solid var(--clr-glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-smooth);
  cursor: default;
}

.stat-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-glow-sm);
  transform: translateY(-3px);
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 5s ease-in-out infinite;
}

.stat-number::after {
  content: '+';
  font-size: 1.2rem;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  margin-top: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ---------- Testimonial Section ---------- */
.testimonial-section {
  margin-top: 10px;
}

.testimonial-slider {
  position: relative;
  min-height: 200px;
}

.testimonial-card {
  position: absolute;
  width: 100%;
  padding: 24px 22px;
  border-radius: var(--radius-md);
  background: var(--clr-glass);
  border: 1px solid var(--clr-glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.testimonial-card.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.testimonial-stars {
  font-size: 0.9rem;
  color: #fbbf24;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--clr-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--clr-text-primary);
}

.testimonial-role {
  font-size: 0.7rem;
  color: var(--clr-text-muted);
}

/* Dots navigation */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.testimonial-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--clr-text-muted);
  cursor: pointer;
  transition: all var(--transition-smooth);
  padding: 0;
}

.testimonial-dots .dot.active {
  background: var(--clr-purple);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
}

.testimonial-dots .dot:hover {
  background: var(--clr-text-secondary);
}

/* ---------- Quote Section ---------- */
.quote-section {
  margin-top: 10px;
}

.quote-card {
  position: relative;
  text-align: center;
  padding: 30px 28px 24px;
  border-radius: var(--radius-md);
  background: var(--clr-glass);
  border: 1px solid var(--clr-glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.quote-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-glow-md);
}

.quote-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(139, 92, 246, 0.03) 90deg,
    transparent 180deg,
    rgba(6, 182, 212, 0.03) 270deg,
    transparent 360deg
  );
  animation: quote-spin 15s linear infinite;
  z-index: 0;
}

@keyframes quote-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.quote-mark {
  font-size: 3.5rem;
  font-family: 'Space Grotesk', serif;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  opacity: 0.6;
}

.quote-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--clr-text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-top: -4px;
}

.quote-author {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-top: 12px;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 40px 0 20px;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  position: relative;
}

.footer span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.footer-sub {
  font-size: 0.7rem;
  margin-top: 4px;
  opacity: 0.6;
}

.footer-wave {
  position: absolute;
  top: -30px;
  left: -20px;
  right: -20px;
  height: 30px;
  color: var(--clr-text-muted);
  opacity: 0.08;
  overflow: hidden;
}

.footer-wave svg {
  width: 100%;
  height: 100%;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger animation delays for children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Tooltip ---------- */
.social-icon[data-tooltip] {
  position: relative;
}

.social-icon[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--clr-bg-secondary);
  border: 1px solid var(--clr-glass-border);
  color: var(--clr-text-primary);
  font-size: 0.7rem;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  z-index: 100;
}

.social-icon[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (min-width: 768px) {
  .banner { height: 260px; }
  .container { padding: 0 30px 60px; }
}

/* Very small screens */
@media (max-width: 380px) {
  .profile-name { font-size: 1.6rem; }
  .cta-btn { padding: 14px 18px; }
  .social-icons { gap: 8px; }
  .social-icon { width: 40px; height: 40px; }
  .social-icon svg { width: 17px; height: 17px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-number { font-size: 1.4rem; }
  .activity-heatmap { grid-template-columns: repeat(14, 1fr); }
}

/* Hover media query: disable hover effects on touch */
@media (hover: none) {
  .cta-btn:hover { transform: none; }
  .social-icon:hover { transform: none; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
