﻿/* ===================================
   CSS Custom Properties & Variables
   =================================== */
:root {
   /* Colors - Dark Theme */
   --color-bg-primary: #1A1A1A;
   --color-bg-secondary: #1A1A1A;
   --color-bg-tertiary: #252525;
   --color-bg-sidebar: #000000;
   --color-text-primary: #FFFFFF;
   --color-text-secondary: #C4C4C4;
   --color-text-tertiary: #808080;
   --color-accent: #00FF88;
   --color-accent-purple: #9D4EDD;
   --color-border: #2A2A2A;

   /* Gradients */
   --gradient-blue: linear-gradient(135deg, #0066FF 0%, #0099FF 100%);
   --gradient-orange: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
   --gradient-cyan: linear-gradient(135deg, #00D9FF 0%, #00B8D4 100%);
   --gradient-amber: linear-gradient(135deg, #E67E22 0%, #D35400 100%);
   --gradient-teal: linear-gradient(135deg, #16A085 0%, #138D75 100%);
   --gradient-purple: linear-gradient(135deg, #8E44AD 0%, #9B59B6 100%);

   /* Spacing */
   --spacing-xs: 0.5rem;
   --spacing-sm: 1rem;
   --spacing-md: 1.5rem;
   --spacing-lg: 2rem;
   --spacing-xl: 3rem;
   --spacing-2xl: 4rem;

   /* Typography */
   --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
   --font-size-xs: 0.75rem;
   --font-size-sm: 0.875rem;
   --font-size-base: 1rem;
   --font-size-lg: 1.125rem;
   --font-size-xl: 1.5rem;
   --font-size-2xl: 2rem;
   --font-size-3xl: 3rem;

   /* Border Radius */
   --radius-sm: 0.5rem;
   --radius-md: 1rem;
   --radius-lg: 1.5rem;
   --radius-xl: 2rem;

   /* Transitions */
   --transition-fast: 200ms cubic-bezier(0.22, 1, 0.36, 1);
   --transition-base: 400ms cubic-bezier(0.22, 1, 0.36, 1);
   --transition-slow: 600ms cubic-bezier(0.22, 1, 0.36, 1);
   --transition-premium: 800ms cubic-bezier(0.16, 1, 0.3, 1);

   /* Sidebar */
   --sidebar-width: 280px;

   /* Brand Colors */
   --color-spotify-green: #1DB954;
   --color-spotify-green-light: #1ed760;
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   scroll-padding-top: 2rem;
   /* Enhanced smooth scrolling with custom timing */
   scrollbar-gutter: stable;
}

/* Custom Scrollbar for smoother visual experience */
::-webkit-scrollbar {
   width: 8px;
}

::-webkit-scrollbar-track {
   background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
   background: linear-gradient(180deg, var(--color-spotify-green), #00D9FF);
   border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
   background: linear-gradient(180deg, var(--color-spotify-green-light), #00D9FF);
}

/* Firefox scrollbar */
* {
   scrollbar-width: thin;
   scrollbar-color: var(--color-spotify-green) rgba(0, 0, 0, 0.2);
}

body {
   font-family: var(--font-family);
   background-color: #000000;
   color: var(--color-text-primary);
   line-height: 1.6;
   font-size: var(--font-size-base);
   overflow-x: hidden;
}

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

button {
   font-family: inherit;
   cursor: pointer;
   border: none;
   background: none;
}

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

/* ===================================
   Skip Link (Accessibility)
   =================================== */
.skip-link {
   position: absolute;
   top: -100%;
   left: 50%;
   transform: translateX(-50%);
   background: var(--color-spotify-green);
   color: #000;
   padding: var(--spacing-sm) var(--spacing-lg);
   border-radius: var(--radius-sm);
   font-weight: 600;
   font-size: var(--font-size-sm);
   z-index: 9999;
   transition: top 0.3s ease;
   text-decoration: none;
}

.skip-link:focus {
   top: var(--spacing-md);
   outline: 2px solid var(--color-text-primary);
   outline-offset: 2px;
}

/* ===================================
   Mobile Menu Toggle & Overlay (Removed for Always-Visible Sidebar)
   =================================== */

/* ===================================
   Hero Title Animation
   =================================== */
.hero-title {
   animation: heroSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
   opacity: 0;
   /* Animated gradient text effect */
   background: linear-gradient(135deg, #1DB954 0%, #00D9FF 50%, #9D4EDD 100%);
   background-size: 200% 200%;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   animation: heroSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards,
      gradientShift 4s ease-in-out infinite 0.8s;
}

@keyframes heroSlideUp {
   0% {
      opacity: 0;
      transform: translateY(60px);
   }

   100% {
      opacity: 1;
      transform: translateY(0);
   }
}

@keyframes gradientShift {

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

   50% {
      background-position: 100% 50%;
   }
}

/* ===================================
   Enhanced Profile Image with Ring
   =================================== */
.profile-image {
   position: relative;
}

.profile-image::before {
   content: '';
   position: absolute;
   inset: -3px;
   border-radius: 50%;
   background: linear-gradient(135deg, #1DB954 0%, #00D9FF 50%, #9D4EDD 100%);
   background-size: 200% 200%;
   animation: profileRing 3s ease-in-out infinite;
   z-index: -1;
}

@keyframes profileRing {

   0%,
   100% {
      background-position: 0% 50%;
      transform: rotate(0deg);
   }

   50% {
      background-position: 100% 50%;
   }
}

/* ===================================
   Glassmorphism Skill Cards
   =================================== */
.skill-card {
   position: relative;
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-card::before {
   content: '';
   position: absolute;
   inset: 0;
   border-radius: inherit;
   background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, rgba(0, 217, 255, 0.05) 100%);
   opacity: 0;
   transition: opacity 0.4s ease;
   z-index: -1;
}

.skill-card:hover::before {
   opacity: 1;
}

.skill-card:hover {
   transform: translateY(-8px) scale(1.02);
   box-shadow: 0 20px 40px rgba(29, 185, 84, 0.15),
      0 0 0 1px rgba(29, 185, 84, 0.2);
}

/* Skill icon micro-animation on hover */
.skill-card:hover .skill-icon {
   animation: skillIconPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes skillIconPulse {
   0% {
      transform: scale(1);
   }

   50% {
      transform: scale(1.2) rotate(5deg);
   }

   100% {
      transform: scale(1);
   }
}

/* ===================================
   Enhanced Learning Card Effects
   =================================== */
.learning-card,
.upcoming-card {
   transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
   position: relative;
   overflow: hidden;
}

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

.learning-card:hover::after,
.upcoming-card:hover::after {
   left: 100%;
}

.learning-card:hover,
.upcoming-card:hover {
   transform: translateY(-4px);
   box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Sidebar Navigation
   =================================== */
.sidebar {
   position: fixed;
   left: 0;
   top: 0;
   width: var(--sidebar-width);
   height: 100vh;
   background-color: var(--color-bg-sidebar);
   display: flex;
   flex-direction: column;
   z-index: 100;
   overflow-y: auto;
}

.sidebar-content {
   display: flex;
   flex-direction: column;
   padding: var(--spacing-md) var(--spacing-lg);
   height: 100%;
}

/* Profile Section */
.profile {
   display: flex;
   align-items: center;
   gap: var(--spacing-md);
   margin-bottom: var(--spacing-md);
   padding-bottom: var(--spacing-sm);
}

.profile-image {
   width: 56px;
   height: 56px;
   border-radius: 50%;
   overflow: hidden;
   background: var(--gradient-purple);
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}

.profile-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.profile-info {
   flex: 1;
}

.profile-name {
   font-size: var(--font-size-lg);
   font-weight: 600;
   margin-bottom: 0.25rem;
}

.profile-title {
   font-size: var(--font-size-sm);
   color: var(--color-text-secondary);
   font-weight: 400;
}

/* Navigation Menu */
.nav-menu {
   margin-bottom: var(--spacing-md);
}

.nav-heading {
   font-size: var(--font-size-xs);
   font-weight: 600;
   letter-spacing: 0.1em;
   color: var(--color-text-tertiary);
   margin-bottom: var(--spacing-md);
}

.nav-list {
   list-style: none;
   display: flex;
   flex-direction: column;
   gap: var(--spacing-xs);
}

.nav-link {
   display: flex;
   align-items: center;
   gap: var(--spacing-sm);
   padding: var(--spacing-sm) var(--spacing-md);
   border-radius: var(--radius-md);
   font-size: var(--font-size-sm);
   font-weight: 500;
   color: var(--color-text-secondary);
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   position: relative;
   overflow: hidden;
}

.nav-link::before {
   content: '';
   position: absolute;
   left: 0;
   bottom: 0;
   width: 0;
   height: 2px;
   background: linear-gradient(90deg, var(--color-spotify-green), #00D9FF);
   transition: width 0.3s ease;
   border-radius: 2px;
}

.nav-link:hover::before {
   width: 100%;
}

.nav-link:hover {
   background-color: rgba(255, 255, 255, 0.05);
   color: var(--color-text-primary);
   transform: translateX(4px);
}

.nav-link.active {
   background: linear-gradient(135deg, rgba(29, 185, 84, 0.15) 0%, rgba(29, 185, 84, 0.08) 100%);
   border: 2px solid rgba(29, 185, 84, 0.4);
   border-radius: var(--radius-md);
   color: var(--color-text-primary);
}

.nav-link.active::before {
   width: 0;
   background: transparent;
}

/* Glowing effect for active nav icon */
.nav-link.active .nav-icon {
   color: var(--color-spotify-green);
   animation: navIconGlow 2s ease-in-out infinite;
   filter: drop-shadow(0 0 8px rgba(29, 185, 84, 0.6));
}

.nav-link.active .nav-icon svg {
   stroke: var(--color-spotify-green);
   fill: none;
}

@keyframes navIconGlow {

   0%,
   100% {
      filter: drop-shadow(0 0 5px rgba(29, 185, 84, 0.4));
      transform: scale(1);
   }

   50% {
      filter: drop-shadow(0 0 15px rgba(29, 185, 84, 0.8));
      transform: scale(1.1);
   }
}

.nav-icon {
   font-size: 1.25rem;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 24px;
   color: var(--color-text-secondary);
   font-weight: 300;
   opacity: 0.9;
}

.nav-link.active .nav-icon,
.nav-link:hover .nav-icon {
   color: var(--color-text-primary);
   opacity: 1;
}

.nav-badge {
   margin-left: auto;
   padding: 0.125rem 0.5rem;
   background: var(--color-accent);
   color: var(--color-bg-primary);
   font-size: var(--font-size-xs);
   font-weight: 600;
   border-radius: var(--radius-sm);
   letter-spacing: 0.05em;
}

/* Social Section */
.social-section {
   margin-top: auto;
   padding-top: var(--spacing-sm);
}

.social-heading {
   font-size: var(--font-size-xs);
   font-weight: 600;
   letter-spacing: 0.1em;
   color: var(--color-text-tertiary);
   margin-bottom: var(--spacing-md);
}

.social-icons {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: var(--spacing-md);
}

.social-link {
   width: 36px;
   height: 36px;
   display: flex;
   align-items: center;
   justify-content: center;
   background-color: transparent;
   border-radius: 0;
   font-size: 1rem;
   font-weight: 400;
   color: var(--color-text-secondary);
   transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link svg {
   transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
   background-color: transparent;
   color: var(--color-spotify-green);
   transform: translateY(-3px);
}

.social-link:hover svg {
   color: var(--color-spotify-green);
   transform: scale(1.2);
   filter: drop-shadow(0 0 8px rgba(29, 185, 84, 0.5));
}

/* Sidebar Minimal Spotify Widget */
.sidebar-spotify {
   display: flex;
   align-items: center;
   gap: var(--spacing-sm);
   padding: var(--spacing-sm);
   margin-top: var(--spacing-md);
   border: 1px solid rgba(255, 255, 255, 0.3);
   text-decoration: none;
   border-radius: var(--radius-sm);
   transition: all var(--transition-base);
   cursor: pointer;
}

.sidebar-spotify:hover {
   background: rgba(30, 215, 96, 0.1);
}

.sidebar-spotify-icon {
   flex-shrink: 0;
}

.sidebar-spotify-icon svg {
   display: block;
}

.sidebar-spotify-info {
   display: flex;
   flex-direction: column;
   gap: 2px;
   min-width: 0;
   overflow: hidden;
}

.sidebar-spotify-song {
   font-size: var(--font-size-xs);
   color: var(--color-text-primary);
   font-weight: 500;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

.sidebar-spotify-artist {
   font-size: 10px;
   color: var(--color-text-tertiary);
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

/* ===================================
   Spotify Now Playing Widget
   =================================== */
.spotify-section {
   margin-top: var(--spacing-lg);
   padding-top: var(--spacing-md);
   border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.spotify-widget {
   display: flex;
   align-items: center;
   gap: var(--spacing-sm);
   padding: var(--spacing-sm);
   background: rgba(255, 255, 255, 0.03);
   border-radius: var(--radius-md);
   border: 1px solid rgba(255, 255, 255, 0.06);
   transition: all var(--transition-base);
   position: relative;
   overflow: hidden;
}

.spotify-widget:hover {
   background: rgba(255, 255, 255, 0.05);
   border-color: rgba(29, 185, 84, 0.3);
}

.spotify-widget.playing {
   border-color: rgba(29, 185, 84, 0.4);
}

/* Animated Equalizer Bars */
.spotify-bars {
   display: flex;
   align-items: flex-end;
   gap: 2px;
   height: 16px;
   padding: 2px;
}

.spotify-bars .bar {
   width: 3px;
   background: var(--color-text-tertiary);
   border-radius: 1px;
   transform-origin: bottom;
   animation: none;
}

.spotify-widget.playing .spotify-bars .bar {
   background: var(--color-spotify-green);
   animation: equalizer 0.8s ease-in-out infinite;
}

.spotify-bars .bar:nth-child(1) {
   height: 40%;
   animation-delay: 0s;
}

.spotify-bars .bar:nth-child(2) {
   height: 70%;
   animation-delay: 0.2s;
}

.spotify-bars .bar:nth-child(3) {
   height: 50%;
   animation-delay: 0.4s;
}

.spotify-bars .bar:nth-child(4) {
   height: 80%;
   animation-delay: 0.1s;
}

@keyframes equalizer {

   0%,
   100% {
      transform: scaleY(0.3);
   }

   50% {
      transform: scaleY(1);
   }
}

/* Album Cover */
.spotify-content {
   display: flex;
   align-items: center;
   gap: var(--spacing-sm);
   flex: 1;
   min-width: 0;
}

.spotify-cover {
   position: relative;
   width: 40px;
   height: 40px;
   border-radius: var(--radius-sm);
   overflow: hidden;
   flex-shrink: 0;
   background: var(--color-bg-tertiary);
   /* Fallback music icon */
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23555'%3E%3Cpath d='M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z'/%3E%3C/svg%3E");
   background-size: 60%;
   background-repeat: no-repeat;
   background-position: center;
}

.spotify-cover img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   background: var(--color-bg-tertiary);
}

/* Online/Offline Status Dot */
.status-dot {
   position: absolute;
   bottom: -2px;
   right: -2px;
   width: 12px;
   height: 12px;
   border-radius: 50%;
   border: 2px solid var(--color-bg-sidebar);
   transition: all var(--transition-base);
}

.status-dot.online {
   background: var(--color-spotify-green);
   box-shadow: 0 0 8px rgba(29, 185, 84, 0.6);
   animation: pulse-green 2s infinite;
}

.status-dot.offline {
   background: #72767d;
}

.status-dot.idle {
   background: #faa61a;
}

.status-dot.dnd {
   background: #ed4245;
}

@keyframes pulse-green {

   0%,
   100% {
      box-shadow: 0 0 4px rgba(29, 185, 84, 0.4);
   }

   50% {
      box-shadow: 0 0 12px rgba(29, 185, 84, 0.8);
   }
}

/* Track Info */
.spotify-info {
   flex: 1;
   min-width: 0;
   display: flex;
   flex-direction: column;
   gap: 2px;
}

.spotify-track-name {
   font-size: var(--font-size-sm);
   font-weight: 600;
   color: var(--color-text-primary);
   text-decoration: none;
   transition: color var(--transition-base);
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
   display: block;
}

.spotify-track-name:hover {
   color: var(--color-spotify-green);
}

.spotify-artist {
   font-size: var(--font-size-xs);
   color: var(--color-text-tertiary);
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

/* Spotify Logo */
.spotify-icon {
   width: 20px;
   height: 20px;
   flex-shrink: 0;
   opacity: 0.7;
   transition: all var(--transition-base);
}

.spotify-widget:hover .spotify-icon {
   opacity: 1;
   transform: scale(1.1);
}

/* ===================================
   Spotify Bar (Full Width - Main Content)
   =================================== */
.section-spotify-bar {
   padding: 0 var(--spacing-2xl) var(--spacing-xl);
   margin-bottom: 0;
}

.spotify-bar {
   display: flex;
   align-items: center;
   gap: var(--spacing-lg);
   padding: var(--spacing-md) var(--spacing-xl);
   background: linear-gradient(135deg, rgba(30, 215, 96, 0.1) 0%, rgba(30, 30, 30, 0.9) 100%);
   border-radius: var(--radius-lg);
   border: 1px solid rgba(30, 215, 96, 0.2);
   transition: all var(--transition-base);
   position: relative;
   overflow: hidden;
}

.spotify-bar:hover {
   border-color: rgba(30, 215, 96, 0.4);
   background: linear-gradient(135deg, rgba(30, 215, 96, 0.15) 0%, rgba(30, 30, 30, 0.95) 100%);
}

.spotify-bar.playing {
   border-color: rgba(30, 215, 96, 0.5);
}

.spotify-bar .spotify-bars {
   display: flex;
   align-items: flex-end;
   gap: 3px;
   height: 24px;
   padding: 4px;
}

.spotify-bar .spotify-bars .bar {
   width: 4px;
   background: var(--color-text-tertiary);
   border-radius: 2px;
   transform-origin: bottom;
}

.spotify-bar.playing .spotify-bars .bar {
   background: var(--color-spotify-green);
   animation: equalizer 0.8s ease-in-out infinite;
}

.spotify-bar .spotify-cover {
   position: relative;
   width: 56px;
   height: 56px;
   border-radius: var(--radius-md);
   overflow: hidden;
   flex-shrink: 0;
   background: var(--color-bg-tertiary);
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23555'%3E%3Cpath d='M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z'/%3E%3C/svg%3E");
   background-size: 60%;
   background-repeat: no-repeat;
   background-position: center;
}

.spotify-bar .spotify-cover img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.spotify-bar .status-dot {
   position: absolute;
   bottom: -2px;
   right: -2px;
   width: 14px;
   height: 14px;
   border-radius: 50%;
   border: 2px solid #1a1a1a;
}

.spotify-bar .spotify-info {
   flex: 1;
   min-width: 0;
   display: flex;
   flex-direction: column;
   gap: 2px;
}

.spotify-bar .spotify-label {
   font-size: 10px;
   font-weight: 700;
   letter-spacing: 0.1em;
   color: var(--color-spotify-green);
   text-transform: uppercase;
}

.spotify-bar .spotify-track-name {
   font-size: var(--font-size-lg);
   font-weight: 600;
}

.spotify-bar .spotify-artist {
   font-size: var(--font-size-sm);
}

/* Play Button */
.spotify-play-btn {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 48px;
   height: 48px;
   border-radius: 50%;
   background: var(--color-spotify-green);
   color: #000;
   text-decoration: none;
   transition: all var(--transition-base);
   flex-shrink: 0;
}

.spotify-play-btn:hover {
   transform: scale(1.1);
   background: #1ed760;
   box-shadow: 0 0 20px rgba(30, 215, 96, 0.5);
}

.spotify-play-btn svg {
   width: 24px;
   height: 24px;
   margin-left: 3px;
}

/* Progress Section */
.spotify-progress-section {
   display: flex;
   align-items: center;
   gap: var(--spacing-sm);
   flex: 1;
   max-width: 350px;
}

.spotify-time {
   font-size: 11px;
   font-weight: 500;
   color: var(--color-text-tertiary);
   font-family: monospace;
   min-width: 35px;
}

.spotify-bar .spotify-progress {
   flex: 1;
   height: 4px;
   background: rgba(255, 255, 255, 0.1);
   border-radius: 2px;
   overflow: hidden;
}

.spotify-bar .progress-bar {
   width: 0%;
   height: 100%;
   background: var(--color-spotify-green);
   border-radius: 2px;
   transition: width 0.5s linear;
}

.spotify-bar .spotify-logo {
   width: 32px;
   height: 32px;
   flex-shrink: 0;
   opacity: 0.8;
   transition: all var(--transition-base);
}

.spotify-bar:hover .spotify-logo {
   opacity: 1;
   transform: scale(1.1);
}

/* Spotify Embed Container */
.spotify-embed-container {
   display: none;
   position: relative;
   margin-top: var(--spacing-md);
   border-radius: var(--radius-lg);
   overflow: hidden;
   background: #282828;
   animation: slideDown 0.3s ease-out;
}

.spotify-embed-container.active {
   display: block;
}

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

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

.spotify-embed-container iframe {
   display: block;
   border-radius: var(--radius-lg);
}

.spotify-close-embed {
   position: absolute;
   top: 8px;
   right: 8px;
   width: 32px;
   height: 32px;
   border: none;
   border-radius: 50%;
   background: rgba(0, 0, 0, 0.7);
   color: #fff;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all var(--transition-base);
   z-index: 10;
   opacity: 0;
   font-size: 16px;
   font-weight: bold;
}

.spotify-embed-container:hover .spotify-close-embed {
   opacity: 1;
}

/* ===================================
   About Section - Stylish Dark Design
   =================================== */
.section-about {
   padding: var(--spacing-2xl) 0;
   margin: var(--spacing-2xl) 0;
   position: relative;
   overflow: hidden;
}

.about-container {
   display: grid;
   grid-template-columns: 280px 1fr 280px;
   gap: 0;
   align-items: center;
   min-height: 600px;
   padding: var(--spacing-xl) 0;
   position: relative;
   width: 100%;
}

/* Left and Right Panels */
.about-left-panel,
.about-right-panel {
   display: flex;
   flex-direction: column;
   gap: var(--spacing-lg);
   z-index: 2;
   justify-content: center;
   height: 100%;
}

.about-left-panel {
   text-align: left;
   align-items: flex-start;
   padding-left: var(--spacing-md);
   padding-right: var(--spacing-lg);
}

.about-right-panel {
   text-align: right;
   align-items: flex-end;
   padding-right: var(--spacing-md);
   padding-left: var(--spacing-lg);
}

.about-right-panel .about-category {
   width: 100%;
   display: flex;
   flex-direction: column;
   align-items: flex-end;
}

/* Category Styling */
.about-category {
   margin-bottom: var(--spacing-md);
}

.about-category-title {
   font-size: 1rem;
   font-weight: 700;
   letter-spacing: 0.15em;
   color: var(--color-spotify-green);
   margin-bottom: 6px;
   text-transform: uppercase;
   text-decoration: underline;
   text-underline-offset: 4px;
   text-decoration-color: rgba(29, 185, 84, 0.4);
}

.about-category-item {
   font-size: 0.9rem;
   color: var(--color-text-secondary);
   line-height: 1.6;
   margin-bottom: 4px;
}

.about-category-item a {
   color: var(--color-text-secondary);
   text-decoration: none;
   transition: all var(--transition-fast);
   position: relative;
}

.about-category-item a:hover {
   color: var(--color-spotify-green);
}

.about-category-item a::after {
   content: '';
   position: absolute;
   bottom: -2px;
   left: 0;
   width: 0;
   height: 1px;
   background: var(--color-spotify-green);
   transition: width var(--transition-fast);
}

.about-category-item a:hover::after {
   width: 100%;
}

/* Center Section */
.about-center {
   position: relative;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   z-index: 1;
}

.about-big-text {
   font-size: clamp(5rem, 15vw, 14rem);
   font-weight: 900;
   letter-spacing: 0.2em;
   color: transparent;
   -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
   position: absolute;
   z-index: 0;
   user-select: none;
   pointer-events: none;
   text-transform: uppercase;
}

.about-silhouette {
   position: relative;
   width: 450px;
   height: 600px;
   z-index: 2;
}

.about-silhouette img {
   width: 100%;
   height: 100%;
   object-fit: contain;
   filter: brightness(1.1) contrast(1.1);
   mix-blend-mode: multiply;
}

.about-silhouette-overlay {
   display: none;
}

.about-silhouette::before {
   display: none;
}

.about-tagline {
   font-size: 0.75rem;
   letter-spacing: 0.3em;
   color: var(--color-text-tertiary);
   text-transform: uppercase;
   margin-top: var(--spacing-lg);
   text-align: center;
   opacity: 0.7;
}

/* ===================================
   Focus Shift Scroll Animation
   =================================== */
.about-focus-group .about-category {
   opacity: 0.6;
   filter: blur(0.3px);
   transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
   will-change: opacity, filter;
}

.about-focus-group .about-category.focused {
   opacity: 1;
   filter: blur(0px);
}

.about-focus-group .about-category .about-category-title {
   transition: color 0.5s ease-in-out, text-decoration-color 0.5s ease-in-out;
}

.about-focus-group .about-category.focused .about-category-title {
   text-decoration-color: rgba(29, 185, 84, 0.8);
}

/* Responsive Styles */
@media (max-width: 1024px) {
   .about-container {
      grid-template-columns: 1fr;
      gap: var(--spacing-lg);
      text-align: center;
   }

   .about-left-panel,
   .about-right-panel {
      text-align: center;
      padding: 0;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      gap: var(--spacing-lg);
   }

   .about-category {
      min-width: 150px;
   }

   .about-center {
      order: -1;
   }

   .about-big-text {
      font-size: clamp(3rem, 15vw, 6rem);
   }

   .about-silhouette {
      width: 220px;
      height: 300px;
   }
}

@media (max-width: 640px) {

   .about-left-panel,
   .about-right-panel {
      flex-direction: column;
      gap: var(--spacing-md);
   }

   .about-silhouette {
      width: 180px;
      height: 250px;
   }

   .about-big-text {
      font-size: 3rem;
   }
}

.spotify-close-embed:hover {
   background: rgba(0, 0, 0, 0.8);
   transform: scale(1.1);
}

.spotify-close-embed svg {
   width: 16px;
   height: 16px;
}

/* Play button as button element */
.spotify-play-btn {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 48px;
   height: 48px;
   border-radius: 50%;
   background: var(--color-spotify-green);
   color: #000;
   border: none;
   cursor: pointer;
   transition: all var(--transition-base);
   flex-shrink: 0;
}

.spotify-play-btn:hover {
   transform: scale(1.1);
   background: #1ed760;
   box-shadow: 0 0 20px rgba(30, 215, 96, 0.5);
}

.spotify-play-btn svg {
   width: 24px;
   height: 24px;
   margin-left: 3px;
}

/* Location */
.location {
   margin-top: var(--spacing-md);
   font-size: var(--font-size-xs);
   color: var(--color-text-tertiary);
   text-align: center;
}

/* ===================================
   Main Content
   =================================== */
.main-content {
   margin-left: var(--sidebar-width);
   height: 100vh;
   padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) 0;
   position: relative;
   z-index: 1;
   overflow: hidden;
   background-color: var(--color-bg-sidebar);
   /* Prevent outer scroll */
}

.main-content-inner {
   background-color: #1A1A1A;
   border-radius: var(--radius-xl);
   height: 100%;
   overflow-y: auto;
   overflow-x: hidden;
   padding: var(--spacing-xl);
   scrollbar-width: none;
}

/* Remove the fixed pseudo-element since we're using a real container now */
.main-content::before {
   display: none;
}

.section {
   margin-bottom: var(--spacing-2xl);
   padding: var(--spacing-2xl);
   background-color: transparent;
   border-radius: 0;
   border: none;
}

/* Section Header */
.section-header {
   display: flex;
   align-items: flex-start;
   gap: var(--spacing-md);
   margin-bottom: var(--spacing-xl);
}

.section-icon {
   font-size: 2rem;
   width: 64px;
   height: 64px;
   background-color: var(--color-bg-tertiary);
   border-radius: var(--radius-md);
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
   color: var(--color-text-primary);
   font-weight: 300;
}

.section-info {
   flex: 1;
}

.section-title {
   font-size: var(--font-size-2xl);
   font-weight: 700;
   margin-bottom: 0.5rem;
}

.section-subtitle {
   font-size: var(--font-size-base);
   color: var(--color-text-secondary);
   font-weight: 400;
}

.section-cta {
   padding: var(--spacing-sm) var(--spacing-lg);
   background-color: var(--color-bg-primary);
   border: 1px solid var(--color-border);
   border-radius: var(--radius-md);
   font-size: var(--font-size-sm);
   font-weight: 600;
   display: flex;
   align-items: center;
   gap: var(--spacing-sm);
   transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   white-space: nowrap;
   position: relative;
   overflow: hidden;
}

.section-cta::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, transparent, rgba(29, 185, 84, 0.2), transparent);
   transition: left 0.5s ease;
}

.section-cta:hover::before {
   left: 100%;
}

.section-cta:hover {
   background: linear-gradient(135deg, rgba(29, 185, 84, 0.15) 0%, rgba(0, 217, 255, 0.1) 100%);
   border-color: rgba(29, 185, 84, 0.6);
   box-shadow: 0 0 20px rgba(29, 185, 84, 0.25), 0 8px 25px rgba(0, 0, 0, 0.3);
   transform: translateY(-3px) scale(1.05);
   color: var(--color-spotify-green);
}

.section-cta:active {
   transform: translateY(0) scale(0.98);
   box-shadow: 0 0 10px rgba(29, 185, 84, 0.2);
}

.cta-icon {
   font-size: var(--font-size-lg);
   transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-cta:hover .cta-icon {
   transform: translate(3px, -3px);
}

/* ===================================
   Home Section
   =================================== */
.section-home {
   background: transparent;
   border: none;
   padding: var(--spacing-xl) var(--spacing-2xl);
   /* Match horizontal padding with other sections */
}

.hero-content {
   display: grid;
   grid-template-columns: 1.2fr 1fr;
   gap: var(--spacing-2xl);
   align-items: flex-start;
   /* Align text top with image top */
   margin-bottom: var(--spacing-2xl);
   margin-left: 4rem;
   padding: 0;
}

.hero-subtitle,
.hero-role {
   font-size: 0.7rem;
   font-weight: 600;
   letter-spacing: 0.15em;
   text-transform: uppercase;
   margin-bottom: var(--spacing-xs);
}

.hero-subtitle {
   color: var(--color-accent);
   display: inline;
}

.hero-role {
   color: var(--color-text-secondary);
   display: inline;
}

.hero-role::before {
   content: '  |  ';
   color: var(--color-text-tertiary);
}

.hero-title {
   font-size: 2.75rem;
   font-weight: 700;
   letter-spacing: -0.02em;
   line-height: 1.1;
   margin-top: var(--spacing-md);
   margin-bottom: var(--spacing-lg);
   color: var(--color-text-primary);
}

.hero-description {
   font-size: var(--font-size-base);
   color: var(--color-text-secondary);
   line-height: 1.9;
   margin-bottom: var(--spacing-lg);
   max-width: 60%;
}

.hero-companies {
   margin-top: var(--spacing-xl);
}

.companies-label {
   font-size: var(--font-size-xs);
   font-weight: 600;
   letter-spacing: 0.1em;
   color: var(--color-text-tertiary);
   margin-bottom: var(--spacing-md);
}

.company-logos {
   display: flex;
   flex-wrap: wrap;
   gap: var(--spacing-md);
}

.company-logo {
   padding: var(--spacing-sm) var(--spacing-md);
   background-color: var(--color-bg-tertiary);
   border-radius: var(--radius-sm);
   font-size: var(--font-size-sm);
   font-weight: 500;
   color: var(--color-text-secondary);
   transition: all var(--transition-base);
}

.company-logo:hover {
   background-color: rgba(255, 255, 255, 0.08);
   color: var(--color-text-primary);
}

/* Inline text style for skills */
.hero-companies-inline {
   margin-bottom: var(--spacing-lg);
}

.company-text {
   font-size: var(--font-size-sm);
   color: var(--color-text-secondary);
   line-height: 1.8;
   letter-spacing: 0.02em;
}

.skill-item {
   transition: all var(--transition-base);
   cursor: pointer;
}

.skill-item:hover {
   color: #FFFFFF;
   text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Skills Section - Icon Cards */
.skills-section {
   margin-top: var(--spacing-lg);
   margin-bottom: var(--spacing-xl);
}

.skills-grid {
   display: grid;
   grid-template-columns: repeat(7, 1fr);
   gap: var(--spacing-sm);
}

.skill-card {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: var(--spacing-xs);
   padding: var(--spacing-md);
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid rgba(255, 255, 255, 0.08);
   border-radius: var(--radius-md);
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   cursor: pointer;
}

.skill-card:hover {
   background: rgba(29, 185, 84, 0.1);
   border-color: rgba(29, 185, 84, 0.4);
   transform: translateY(-4px);
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(29, 185, 84, 0.15);
}

.skill-icon {
   width: 40px;
   height: 40px;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
   transform: scale(1.15);
}

.skill-name {
   font-size: var(--font-size-xs);
   color: var(--color-text-secondary);
   font-weight: 500;
   text-align: center;
   transition: color 0.3s ease;
}

.skill-card:hover .skill-name {
   color: var(--color-text-primary);
}

/* Learning & Projects Row */
.learning-projects-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: var(--spacing-xl);
   margin-top: var(--spacing-lg);
}

.learning-section,
.projects-section {
   flex: 1;
}

/* Card grid for learning/projects */
.learning-cards,
.upcoming-cards {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: var(--spacing-sm);
}

/* Pill-shaped cards - Learning (Spotify Green theme) */
.learning-card {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: var(--spacing-sm);
   padding: var(--spacing-sm) var(--spacing-lg);
   background: rgba(29, 185, 84, 0.05);
   border: 1px solid rgba(29, 185, 84, 0.2);
   border-radius: 50px;
   transition: all 0.3s ease;
   width: 220px;
}

.learning-card:hover {
   background: rgba(29, 185, 84, 0.12);
   border-color: rgba(29, 185, 84, 0.5);
   transform: translateX(4px);
   box-shadow: 0 4px 15px rgba(29, 185, 84, 0.2);
}

/* Pill-shaped cards - Upcoming Projects (Turquoise/Teal theme) */
.upcoming-card {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: var(--spacing-sm);
   padding: var(--spacing-sm) var(--spacing-lg);
   background: rgba(20, 184, 166, 0.05);
   border: 1px solid rgba(20, 184, 166, 0.2);
   border-radius: 50px;
   transition: all 0.3s ease;
   width: 220px;
}

.upcoming-card:hover {
   background: rgba(20, 184, 166, 0.12);
   border-color: rgba(20, 184, 166, 0.5);
   transform: translateX(4px);
   box-shadow: 0 4px 15px rgba(20, 184, 166, 0.2);
}

.card-icon {
   font-size: 1rem;
   opacity: 0.9;
   flex-shrink: 0;
}

.card-content {
   flex: 1;
}

.card-name {
   font-size: var(--font-size-xs);
   color: var(--color-text-secondary);
   font-weight: 500;
   display: block;
   margin-bottom: 4px;
   white-space: nowrap;
   text-align: center;
}

/* Card progress bar - Learning (cyan/teal gradient) */
.card-progress {
   height: 4px;
   background: rgba(255, 255, 255, 0.08);
   border-radius: 2px;
   overflow: hidden;
}

.card-progress .progress-fill {
   height: 100%;
   background: linear-gradient(90deg, #1DB954, #4ADE80);
   border-radius: 2px;
   transition: width 1s ease;
}

/* Turquoise/Teal progress for upcoming projects */
.card-progress.orange .progress-fill {
   background: linear-gradient(90deg, #14B8A6, #2DD4BF);
}

.hero-image {
   position: relative;
   border-radius: var(--radius-xl);
   overflow: hidden;
   width: 320px;
   height: 400px;
   border: 1px solid rgba(255, 255, 255, 0.15);
   background-color: var(--color-bg-tertiary);
   padding: 0.5rem;
   justify-self: center;
   margin: 0 auto;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.05);
   animation: float 6s ease-in-out infinite;
   transition: all 0.4s ease;
}

.hero-image:hover {
   animation-play-state: paused;
   transform: scale(1.02);
   box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(29, 185, 84, 0.15);
}

.hero-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: calc(var(--radius-lg) - 0.25rem);
}

.image-caption {
   position: absolute;
   bottom: 1rem;
   right: 1rem;
   font-size: 0.625rem;
   font-weight: 600;
   color: var(--color-text-primary);
   background: rgba(0, 0, 0, 0.7);
   backdrop-filter: blur(10px);
   padding: 0.375rem 0.625rem;
   border-radius: var(--radius-sm);
}

.section-preview {
   padding: 0;
   background-color: transparent;
   border-radius: 0;
   border: none;
}

/* ===================================
   Projects Grid
   =================================== */
.projects-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
   gap: var(--spacing-xl);
   justify-items: center;
}

.project-card-wrapper {
   display: flex;
   flex-direction: column;
   gap: var(--spacing-md);
   width: 100%;
   max-width: 400px;
}

.project-card {
   position: relative;
   background-color: var(--color-bg-tertiary);
   border-radius: var(--radius-lg);
   overflow: hidden;
   aspect-ratio: 3/4;
   cursor: pointer;
   transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   border: 1px solid rgba(255, 255, 255, 0.1);
   padding: 0.5rem;
}

.project-card:hover {
   transform: translateY(-8px) scale(1.02);
   border-color: rgba(29, 185, 84, 0.4);
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(29, 185, 84, 0.1);
}

.project-year {
   position: absolute;
   top: 1.25rem;
   right: 1.25rem;
   background: rgba(0, 0, 0, 0.7);
   backdrop-filter: blur(10px);
   padding: 0.5rem 1rem;
   border-radius: var(--radius-sm);
   font-size: var(--font-size-xs);
   font-weight: 600;
   z-index: 2;
   transition: all 0.3s ease;
}

.project-card:hover .project-year {
   background: rgba(29, 185, 84, 0.9);
   color: #000;
}

.project-image {
   width: 100%;
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 0;
   background: var(--card-color);
   border-radius: calc(var(--radius-lg) - 0.25rem);
   overflow: hidden;
}

.project-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 0;
   transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover .project-image img {
   transform: scale(1.08);
}

.project-info {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: var(--spacing-sm);
}

.project-meta {
   flex: 1;
}

.project-category {
   font-size: var(--font-size-xs);
   font-weight: 600;
   letter-spacing: 0.1em;
   color: var(--color-text-tertiary);
   margin-bottom: 0.25rem;
}

.project-title {
   font-size: var(--font-size-base);
   font-weight: 600;
   color: var(--color-text-primary);
   margin: 0;
}

.project-arrow {
   font-size: var(--font-size-lg);
   color: var(--color-text-secondary);
   flex-shrink: 0;
   transition: all var(--transition-base);
}

.project-card-wrapper:hover .project-arrow {
   color: var(--color-text-primary);
   transform: translate(2px, -2px);
}

/* ===================================
   Creative Grid
   =================================== */
.creative-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: var(--spacing-lg);
}

.creative-card-wrapper {
   display: flex;
   flex-direction: column;
   gap: var(--spacing-sm);
}

.creative-card-wrapper-large {
   grid-column: span 2;
   grid-row: span 2;
}

/* Passport-size card (smaller, portrait) */
.creative-card-passport {
   aspect-ratio: 3/4;
   max-width: 180px;
}

.creative-card {
   position: relative;
   border-radius: var(--radius-lg);
   overflow: hidden;
   aspect-ratio: 4/3;
   cursor: pointer;
   transition: all var(--transition-base);
   border: 1px solid rgba(255, 255, 255, 0.1);
   background-color: var(--color-bg-tertiary);
   padding: 0.5rem;
}

.creative-card:hover {
   transform: scale(1.01);
   border-color: rgba(255, 255, 255, 0.2);
}

.creative-card img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: calc(var(--radius-lg) - 0.25rem);
}

.creative-info {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: var(--spacing-sm);
   padding: 0 var(--spacing-xs);
}

.creative-title {
   font-size: var(--font-size-xs);
   font-weight: 600;
   letter-spacing: 0.05em;
   color: var(--color-text-secondary);
}

.creative-tag {
   padding: 0.25rem 0.5rem;
   background: rgba(255, 255, 255, 0.05);
   border-radius: var(--radius-sm);
   font-size: var(--font-size-xs);
   font-weight: 500;
   color: var(--color-text-tertiary);
   border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================
   Story Section (in row with ME.TXT)
   =================================== */
.story-section {
   flex: 1;
   display: flex;
   flex-direction: row;
   align-items: center;
   justify-content: flex-start;
   gap: 1.5rem;
   padding: var(--spacing-md);
   padding-left: 6rem;
   background: transparent;
}

.story-image {
   flex-shrink: 0;
   width: 180px;
   height: 220px;
   border-radius: var(--radius-lg);
   overflow: hidden;
   border: 1px solid rgba(255, 255, 255, 0.1);
   background-color: var(--color-bg-tertiary);
   padding: 0.4rem;
}

.story-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: calc(var(--radius-lg) - 0.2rem);
}

.story-content {
   flex: 1;
   text-align: left;
   padding-top: 0;
}

.story-title {
   font-size: var(--font-size-xl);
   font-weight: 700;
   margin-bottom: var(--spacing-sm);
   margin-top: 0;
}

.story-text {
   font-size: var(--font-size-sm);
   color: var(--color-text-secondary);
   line-height: 1.7;
   margin: 0 0 var(--spacing-md) 0;
   max-width: 500px;
}

.story-actions {
   display: flex;
   gap: var(--spacing-sm);
   justify-content: flex-start;
}

.btn-primary,
.btn-secondary {
   padding: 0.75rem 1.5rem;
   border-radius: 2rem;
   font-size: var(--font-size-sm);
   font-weight: 600;
   transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 0.5rem;
   cursor: pointer;
   background-color: rgba(255, 255, 255, 0.05);
   border: 1px solid rgba(255, 255, 255, 0.15);
   color: var(--color-text-primary);
   position: relative;
   overflow: hidden;
}

.btn-primary:hover,
.btn-secondary:hover {
   background-color: rgba(29, 185, 84, 0.15);
   border-color: rgba(29, 185, 84, 0.5);
   box-shadow: 0 8px 25px rgba(29, 185, 84, 0.2);
   transform: translateY(-2px) scale(1.02);
}

.btn-primary:active,
.btn-secondary:active {
   transform: translateY(0) scale(0.98);
   box-shadow: 0 4px 15px rgba(29, 185, 84, 0.15);
}

/* ===================================
   Responsive Design
   =================================== */

/* Mobile Menu Toggle Removed - Sidebar Always Visible */

/* Large screens (1200px and below) */
@media (max-width: 1200px) {
   .projects-grid {
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
   }

   .hero-content {
      margin-left: 2rem;
   }

   .hero-description {
      max-width: 80%;
   }

   .spotify-progress-section {
      max-width: 280px;
   }
}

/* Medium screens (968px and below) */
@media (max-width: 968px) {
   :root {
      --sidebar-width: 240px;
   }

   .hero-content {
      grid-template-columns: 1fr;
      margin-left: 0;
      text-align: center;
      gap: var(--spacing-xl);
   }

   .hero-text {
      order: 2;
   }

   .hero-image {
      order: 1;
      justify-self: center;
      width: 280px;
      height: 350px;
   }

   .hero-description {
      max-width: 100%;
      margin-left: auto;
      margin-right: auto;
   }

   .hero-companies-inline {
      text-align: center;
   }

   /* Responsive skills grid */
   .skills-grid {
      grid-template-columns: repeat(4, 1fr);
   }

   .learning-projects-row {
      grid-template-columns: 1fr;
      gap: var(--spacing-lg);
   }

   .learning-cards,
   .upcoming-cards {
      grid-template-columns: 1fr 1fr;
   }

   .creative-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .creative-card-wrapper-large {
      grid-column: span 1;
      grid-row: span 1;
   }

   .section-story-metxt-row {
      flex-direction: column;
      gap: var(--spacing-xl);
   }

   .metxt-wrapper {
      width: 100%;
      display: flex;
      justify-content: center;
   }

   .story-section {
      padding-left: var(--spacing-lg);
   }

   /* Spotify bar adjustments for tablets */
   .spotify-bar {
      flex-wrap: wrap;
      gap: var(--spacing-md);
      padding: var(--spacing-md);
   }

   .spotify-progress-section {
      order: 4;
      flex: 1 1 100%;
      max-width: 100%;
      margin-top: var(--spacing-sm);
   }
}

/* Tablet and mobile screens (768px and below) */
@media (max-width: 768px) {

   /* Sidebar stays visible but reduces width */
   .sidebar {
      width: 200px;
      transition: width var(--transition-base);
   }
   
   /* Adjust sidebar content for smaller width */
   .sidebar-content {
      padding: var(--spacing-sm) var(--spacing-md);
   }
   
   .profile {
      flex-direction: column;
      text-align: center;
      gap: var(--spacing-sm);
   }
   
   .profile-image {
      width: 50px;
      height: 50px;
   }
   
   .profile-name {
      font-size: var(--font-size-base);
   }
   
   .profile-title {
      font-size: var(--font-size-xs);
   }
   
   .nav-link {
      font-size: var(--font-size-sm);
      padding: var(--spacing-sm);
   }

   /* Main content adjusts for smaller sidebar */
   .main-content {
      margin-left: 200px;
      padding: var(--spacing-sm);
   }

   .main-content-inner {
      padding: var(--spacing-md);
      border-radius: var(--radius-lg);
   }

   .section {
      padding: var(--spacing-md);
   }

   .section-home {
      padding: var(--spacing-md) var(--spacing-sm);
   }

   /* Hero section mobile */
   .hero-content {
      gap: var(--spacing-lg);
   }

   .hero-title {
      font-size: 2rem;
   }

   .hero-image {
      width: 240px;
      height: 300px;
   }

   .hero-subtitle,
   .hero-role {
      font-size: 0.65rem;
   }

   /* Projects grid single column */
   .projects-grid {
      grid-template-columns: 1fr;
   }

   .project-card-wrapper {
      max-width: 100%;
   }

   /* Creative grid single column */
   .creative-grid {
      grid-template-columns: 1fr;
   }

   /* Section header stacked */
   .section-header {
      flex-direction: column;
      gap: var(--spacing-md);
   }

   .section-icon {
      width: 48px;
      height: 48px;
      font-size: 1.5rem;
   }

   .section-title {
      font-size: var(--font-size-xl);
   }

   .section-cta {
      align-self: flex-start;
   }

   /* Story section mobile - Enhanced compact layout */
   .section-story-metxt-row {
      flex-direction: column;
      gap: var(--spacing-lg);
      padding: var(--spacing-md) 0;
   }

   .story-section {
      flex-direction: column;
      align-items: center;
      gap: var(--spacing-md);
      text-align: center;
      padding: var(--spacing-lg);
      background: rgba(255, 255, 255, 0.02);
      border-radius: var(--radius-lg);
      border: 1px solid rgba(255, 255, 255, 0.08);
   }

   .story-image {
      width: 140px;
      height: 180px;
      margin: 0 auto;
      flex-shrink: 0;
      border-radius: var(--radius-lg);
      padding: 0.3rem;
   }

   .story-image img {
      border-radius: calc(var(--radius-lg) - 0.2rem);
   }

   .story-content {
      text-align: center;
      flex: 1;
   }

   .story-title {
      font-size: var(--font-size-lg);
      margin-bottom: var(--spacing-sm);
   }

   .story-text {
      font-size: var(--font-size-sm);
      line-height: 1.6;
      max-width: 100%;
      margin-bottom: var(--spacing-md);
   }

   .story-actions {
      justify-content: center;
      gap: var(--spacing-sm);
   }

   .btn-primary,
   .btn-secondary {
      padding: 0.625rem 1.25rem;
      font-size: var(--font-size-xs);
      border-radius: 1.5rem;
   }

   /* ME.TXT section mobile - Enhanced compact design */
   .metxt-wrapper {
      width: 100%;
   }

   .metxt-container {
      width: 100%;
      max-width: 100%;
      padding: 0.75rem 1rem 1rem;
      border-radius: var(--radius-md);
   }

   .metxt-header {
      margin-bottom: 0.75rem;
   }

   .metxt-title {
      font-size: 0.85rem;
   }

   .metxt-btn {
      width: 28px;
      height: 28px;
      border-radius: 6px;
   }

   .metxt-stack-area {
      min-height: 200px;
      padding: 8px 30px;
   }

   .metxt-stack {
      width: 260px;
      height: 180px;
   }

   .metxt-card {
      width: 130px;
      height: 165px;
      margin-left: -65px;
      border-width: 3px;
      border-radius: 10px;
   }

   .card-image {
      height: 50%;
   }

   .card-body {
      padding: 0.75rem 0.85rem;
   }

   .card-title {
      font-size: 0.85rem;
      margin-bottom: 0.25rem;
   }

   .card-title span {
      font-size: 0.9rem;
   }

   .card-desc {
      font-size: 0.7rem;
      line-height: 1.4;
   }

   /* Spotify bar mobile - Enhanced compact horizontal layout */
   .section-spotify-bar {
      padding: 0 var(--spacing-xs) var(--spacing-md);
   }

   .spotify-bar {
      flex-direction: row;
      align-items: center;
      gap: var(--spacing-sm);
      padding: var(--spacing-sm);
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, rgba(30, 215, 96, 0.08) 0%, rgba(30, 30, 30, 0.95) 100%);
   }

   .spotify-play-btn {
      width: 40px;
      height: 40px;
      flex-shrink: 0;
      margin: 0;
      order: -1;
   }

   .spotify-play-btn svg {
      width: 18px;
      height: 18px;
      margin-left: 2px;
   }

   .spotify-bar .spotify-cover {
      width: 44px;
      height: 44px;
      margin: 0;
      flex-shrink: 0;
      border-radius: var(--radius-sm);
   }

   .spotify-bar .spotify-info {
      flex: 1;
      min-width: 0;
      text-align: left;
   }

   .spotify-bar .spotify-label {
      display: none;
   }

   .spotify-bar .spotify-track-name {
      font-size: var(--font-size-sm);
      text-align: left;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
   }

   .spotify-bar .spotify-artist {
      font-size: 0.7rem;
      text-align: left;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
   }

   .spotify-progress-section {
      display: none;
   }

   .spotify-bar .spotify-logo {
      display: block;
      width: 24px;
      height: 24px;
      flex-shrink: 0;
   }

   /* Spotify embed container mobile */
   .spotify-embed-container {
      margin-top: var(--spacing-sm);
      border-radius: var(--radius-md);
   }

   .spotify-embed-container iframe {
      border-radius: var(--radius-md);
   }
}

/* Small mobile screens (520px and below) */
@media (max-width: 520px) {
   
   /* Further reduce sidebar width for very small screens */
   .sidebar {
      width: 70px;
      overflow-x: hidden;
   }
   
   /* Hide text content in sidebar, show only icons */
   .sidebar .profile-info,
   .sidebar .nav-list li a span {
      display: none;
   }
   
   /* Center profile image */
   .sidebar .profile {
      justify-content: center;
      padding: var(--spacing-xs);
   }
   
   .sidebar .profile-image {
      width: 45px;
      height: 45px;
   }
   
   /* Center navigation icons */
   .sidebar .nav-list {
      align-items: center;
   }
   
   .sidebar .nav-link {
      justify-content: center;
      padding: var(--spacing-sm);
   }
   
   /* Hide social links or make them icon-only */
   .sidebar .social-links {
      justify-content: center;
   }
   
   .main-content {
      margin-left: 70px;
      padding: var(--spacing-xs);
   }

   .main-content-inner {
      padding: var(--spacing-sm);
      border-radius: var(--radius-md);
   }

   .section {
      padding: var(--spacing-sm);
      margin-bottom: var(--spacing-lg);
   }

   .hero-title {
      font-size: 1.75rem;
   }

   .hero-image {
      width: 200px;
      height: 260px;
   }

   .hero-description {
      font-size: var(--font-size-sm);
   }

   .companies-label {
      font-size: 0.65rem;
   }

   .company-text {
      font-size: var(--font-size-xs);
   }

   /* Story section */
   .story-image {
      width: 140px;
      height: 180px;
   }

   .story-title {
      font-size: var(--font-size-lg);
   }

   .story-text {
      font-size: var(--font-size-xs);
   }

   .btn-primary,
   .btn-secondary {
      padding: 0.625rem 1.25rem;
      font-size: var(--font-size-xs);
   }

   /* ME.TXT */
   .metxt-container {
      width: 100%;
      padding: 1rem;
   }

   .metxt-stack {
      width: 240px;
      height: 220px;
   }

   .metxt-stack-area {
      min-height: 230px;
      padding: 10px 20px;
   }

   .metxt-card {
      width: 140px;
      height: 180px;
      margin-left: -70px;
   }

   /* Project cards */
   .project-card {
      aspect-ratio: 4/5;
   }

   /* Creative cards */
   .creative-card {
      aspect-ratio: 16/10;
   }

   /* Spotify bar */
   .spotify-bar {
      padding: var(--spacing-sm);
   }

   .spotify-bar .spotify-cover {
      width: 56px;
      height: 56px;
   }

   .spotify-play-btn {
      width: 48px;
      height: 48px;
   }

   .spotify-play-btn svg {
      width: 20px;
      height: 20px;
   }

   /* Section headers */
   .section-icon {
      width: 40px;
      height: 40px;
      font-size: 1.25rem;
   }

   .section-title {
      font-size: var(--font-size-lg);
   }

   .section-subtitle {
      font-size: var(--font-size-sm);
   }

   .section-cta {
      padding: var(--spacing-xs) var(--spacing-md);
      font-size: var(--font-size-xs);
   }
}

/* Extra small screens (380px and below) */
@media (max-width: 380px) {
   .mobile-menu-toggle {
      width: 42px;
      height: 42px;
      top: var(--spacing-sm);
      left: var(--spacing-sm);
   }

   .main-content {
      padding-top: 56px;
   }

   .hero-title {
      font-size: 1.5rem;
   }

   .hero-image {
      width: 180px;
      height: 230px;
   }

   .hero-subtitle,
   .hero-role {
      font-size: 0.6rem;
   }

   .story-image {
      width: 120px;
      height: 160px;
   }

   .metxt-stack {
      width: 200px;
      height: 200px;
   }

   .metxt-card {
      width: 120px;
      height: 160px;
      margin-left: -60px;
   }

   .card-body {
      padding: 0.75rem;
   }

   .card-title {
      font-size: 0.85rem;
   }

   .card-desc {
      font-size: 0.75rem;
   }
}

/* ===================================
   Scrollbar Styling
   =================================== */
::-webkit-scrollbar {
   width: 0px;
   display: none;
}

::-webkit-scrollbar-track {
   background: transparent;
}

::-webkit-scrollbar-thumb {
   background: transparent;
   border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
   background: transparent;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
   from {
      opacity: 0;
      transform: translateY(20px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

@keyframes float {

   0%,
   100% {
      transform: translateY(0);
   }

   50% {
      transform: translateY(-12px);
   }
}

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

   100% {
      background-position: 200% center;
   }
}

@keyframes wiggle {

   0%,
   100% {
      transform: rotate(0deg);
   }

   25% {
      transform: rotate(-2deg);
   }

   75% {
      transform: rotate(2deg);
   }
}

@keyframes glow-pulse {

   0%,
   100% {
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
   }

   50% {
      box-shadow: 0 15px 50px rgba(29, 185, 84, 0.25), 0 10px 40px rgba(0, 0, 0, 0.3);
   }
}

@keyframes scaleIn {
   from {
      opacity: 0;
      transform: scale(0.9);
   }

   to {
      opacity: 1;
      transform: scale(1);
   }
}

@keyframes slideInUp {
   from {
      opacity: 0;
      transform: translateY(30px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

@keyframes borderGlow {

   0%,
   100% {
      border-color: rgba(255, 255, 255, 0.1);
   }

   50% {
      border-color: rgba(29, 185, 84, 0.4);
   }
}

.section {
   animation: fadeIn var(--transition-slow) ease-out;
}

/* ===================================
   Story + ME.TXT Row Section
   =================================== */
.section-story-metxt-row {
   display: flex;
   flex-direction: row-reverse;
   align-items: flex-start;
   gap: 2rem;
   padding: var(--spacing-lg) 0;
}

.metxt-wrapper {
   flex-shrink: 0;
}

.metxt-container {
   background: var(--color-bg-tertiary);
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: var(--radius-lg);
   padding: 1rem 1.5rem 1.5rem;
   width: 360px;
   display: flex;
   flex-direction: column;
   box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.05),
      0 20px 50px rgba(0, 0, 0, 0.5);
   overflow: hidden;
   animation: fadeIn 0.8s ease-out;
   transition: all 0.4s ease;
}

.metxt-container:hover {
   box-shadow:
      0 0 0 1px rgba(29, 185, 84, 0.2),
      0 25px 60px rgba(0, 0, 0, 0.6),
      0 0 30px rgba(29, 185, 84, 0.1);
   border-color: rgba(29, 185, 84, 0.3);
}

.metxt-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 1rem;
}

.metxt-title {
   font-size: 0.95rem;
   font-weight: 600;
   color: rgba(255, 255, 255, 0.9);
   letter-spacing: 0.5px;
}

.metxt-controls {
   display: flex;
   gap: 0.4rem;
}

.metxt-btn {
   width: 32px;
   height: 32px;
   border-radius: 8px;
   background: rgba(255, 255, 255, 0.06);
   border: 1px solid rgba(255, 255, 255, 0.1);
   color: rgba(255, 255, 255, 0.5);
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition: all 0.2s ease;
}

.metxt-btn:hover {
   background: rgba(29, 185, 84, 0.2);
   color: var(--color-spotify-green);
   border-color: rgba(29, 185, 84, 0.4);
   transform: scale(1.1);
   box-shadow: 0 0 15px rgba(29, 185, 84, 0.3);
}

.metxt-stack-area {
   display: flex;
   justify-content: center;
   align-items: center;
   min-height: 260px;
   perspective: 800px;
   padding: 10px 40px;
   overflow: hidden;
   user-select: none;
}

.metxt-stack {
   position: relative;
   width: 300px;
   height: 220px;
   transform-style: preserve-3d;
}

.metxt-card {
   position: absolute;
   top: 0;
   left: 50%;
   width: 160px;
   height: 200px;
   margin-left: -80px;
   border-radius: 12px;
   overflow: hidden;
   transform-origin: center center;
   transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
   display: flex;
   flex-direction: column;
   background: #1a1c1e;
   border: 4px solid;
   cursor: pointer;
   will-change: transform, opacity;
   animation: cardIdle 4s ease-in-out infinite;
}

@keyframes cardIdle {

   0%,
   100% {
      transform: translateX(-80px) translateY(0);
   }

   50% {
      transform: translateX(-80px) translateY(-3px);
   }
}

.metxt-card:hover {
   filter: brightness(1.1);
}

/* Side cards are clickable */
.metxt-card.side-left,
.metxt-card.side-right {
   pointer-events: auto;
}

/* Active center card */
.metxt-card.active {
   cursor: grab;
}

.metxt-card.active:active {
   cursor: grabbing;
}

/* Card thumbnail overlay for active card */
.card-thumbnail {
   position: absolute;
   bottom: 80px;
   right: 12px;
   width: 50px;
   height: 50px;
   border-radius: 8px;
   border: 2px solid rgba(255, 255, 255, 0.3);
   overflow: hidden;
   opacity: 0;
   transform: scale(0.8);
   transition: all 0.3s ease;
   z-index: 10;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.metxt-card.active .card-thumbnail {
   opacity: 1;
   transform: scale(1);
}

.card-thumbnail img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

/* Active card styling - animated glow */
.metxt-card.active {
   border-color: #f0b429 !important;
   box-shadow:
      0 15px 40px rgba(0, 0, 0, 0.4),
      0 0 25px rgba(240, 180, 41, 0.3) !important;
   animation: activeCardPulse 3s ease-in-out infinite;
}

@keyframes activeCardPulse {

   0%,
   100% {
      box-shadow:
         0 15px 40px rgba(0, 0, 0, 0.4),
         0 0 20px rgba(240, 180, 41, 0.2);
   }

   50% {
      box-shadow:
         0 18px 45px rgba(0, 0, 0, 0.5),
         0 0 35px rgba(240, 180, 41, 0.4);
   }
}

/* Rainbow Border Colors for stacked cards - with subtle glow animation */
.metxt-card[data-color="green"] {
   border-color: #00ff88;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 255, 136, 0.15);
   animation: greenGlow 4s ease-in-out infinite;
}

@keyframes greenGlow {

   0%,
   100% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 255, 136, 0.1);
   }

   50% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 255, 136, 0.25);
   }
}

.metxt-card[data-color="cyan"] {
   border-color: #00d4ff;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 212, 255, 0.15);
   animation: cyanGlow 4s ease-in-out infinite 0.5s;
}

@keyframes cyanGlow {

   0%,
   100% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 212, 255, 0.1);
   }

   50% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 212, 255, 0.25);
   }
}

.metxt-card[data-color="blue"] {
   border-color: #4d7cff;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(77, 124, 255, 0.15);
   animation: blueGlow 4s ease-in-out infinite 1s;
}

@keyframes blueGlow {

   0%,
   100% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 10px rgba(77, 124, 255, 0.1);
   }

   50% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(77, 124, 255, 0.25);
   }
}

.metxt-card[data-color="purple"] {
   border-color: #a855f7;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(168, 85, 247, 0.15);
   animation: purpleGlow 4s ease-in-out infinite 1.5s;
}

@keyframes purpleGlow {

   0%,
   100% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 10px rgba(168, 85, 247, 0.1);
   }

   50% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(168, 85, 247, 0.25);
   }
}

.metxt-card[data-color="pink"] {
   border-color: #ff6eb4;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 110, 180, 0.15);
   animation: pinkGlow 4s ease-in-out infinite 2s;
}

@keyframes pinkGlow {

   0%,
   100% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 110, 180, 0.1);
   }

   50% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 110, 180, 0.25);
   }
}

.metxt-card[data-color="orange"] {
   border-color: #ff6b35;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 107, 53, 0.2);
   animation: orangeGlow 4s ease-in-out infinite 2.5s;
}

@keyframes orangeGlow {

   0%,
   100% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 107, 53, 0.15);
   }

   50% {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 25px rgba(255, 107, 53, 0.3);
   }
}

.card-image {
   height: 55%;
   width: 100%;
   position: relative;
   overflow: hidden;
   background: #1a1a2e;
}

.card-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.card-image-icon {
   position: absolute;
   top: 10px;
   right: 10px;
   font-size: 1rem;
   background: rgba(255, 255, 255, 0.15);
   border-radius: 6px;
   padding: 4px 8px;
}

.card-body {
   flex: 1;
   padding: 1.1rem 1.2rem;
   display: flex;
   flex-direction: column;
   background: linear-gradient(180deg, #1a2e28 0%, #162520 100%);
}

.card-title {
   font-size: 1rem;
   color: #fff;
   margin-bottom: 0.5rem;
   font-weight: 700;
   display: flex;
   align-items: center;
   gap: 0.5rem;
}

.card-title span {
   font-size: 1.1rem;
}

.card-desc {
   font-size: 0.85rem;
   color: rgba(255, 255, 255, 0.7);
   line-height: 1.5;
}

/* Responsive */
@media (max-width: 520px) {
   .metxt-container {
      width: 95%;
      padding: 1.25rem 1.5rem 2rem;
   }

   .metxt-stack {
      width: 220px;
      height: 280px;
   }
}

/* ===================================
   Preloader Styles
   =================================== */
.preloader {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: #000000;
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 10000;
   transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
   opacity: 0;
   visibility: hidden;
}

.preloader-content {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 2rem;
}

.preloader-logo {
   position: relative;
   width: 80px;
   height: 80px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.preloader-circle {
   stroke-dasharray: 251;
   stroke-dashoffset: 251;
   animation: preloader-stroke 2s ease-in-out infinite;
}

@keyframes preloader-stroke {
   0% {
      stroke-dashoffset: 251;
      transform: rotate(0deg);
   }

   50% {
      stroke-dashoffset: 0;
   }

   100% {
      stroke-dashoffset: -251;
      transform: rotate(360deg);
   }
}

.preloader-text {
   position: absolute;
   font-size: 2rem;
   font-weight: 700;
   color: #fff;
   animation: preloader-pulse 1s ease-in-out infinite;
}

@keyframes preloader-pulse {

   0%,
   100% {
      opacity: 0.5;
      transform: scale(0.95);
   }

   50% {
      opacity: 1;
      transform: scale(1);
   }
}

.preloader-bar {
   width: 150px;
   height: 3px;
   background: rgba(255, 255, 255, 0.1);
   border-radius: 3px;
   overflow: hidden;
}

.preloader-progress {
   width: 0%;
   height: 100%;
   background: linear-gradient(90deg, #1DB954, #00D9FF);
   border-radius: 3px;
   animation: preloader-loading 1.5s ease-in-out infinite;
}

@keyframes preloader-loading {
   0% {
      width: 0%;
      margin-left: 0;
   }

   50% {
      width: 70%;
      margin-left: 0;
   }

   100% {
      width: 0%;
      margin-left: 100%;
   }
}

/* ===================================
   Light Theme Variables - High Contrast Teal-Green
   Optimized for readability and engagement
   =================================== */
[data-theme="light"] {
   /* Base colors - Pure crisp backgrounds */
   --color-bg-primary: #FFFFFF;
   --color-bg-secondary: #FAFAFA;
   --color-bg-tertiary: #F3F4F6;
   --color-bg-sidebar: #FEFEFE;

   /* Text colors - High contrast for readability */
   --color-text-primary: #1A1A1A;
   --color-text-secondary: #3D3D3D;
   --color-text-tertiary: #6B6B6B;

   /* Accent - Vibrant teal-green */
   --color-accent: #2D9B83;
   --color-accent-hover: #238B73;
   --color-accent-light: rgba(45, 155, 131, 0.12);

   /* Border - Visible but subtle */
   --color-border: #E0E0E0;
}

[data-theme="light"] body {
   background-color: #FFFFFF;
}

[data-theme="light"] .preloader {
   background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
}

[data-theme="light"] .preloader-text {
   color: #1A1A1A;
}

[data-theme="light"] .preloader-bar {
   background: rgba(45, 155, 131, 0.2);
}

[data-theme="light"] .preloader-bar::after {
   background: linear-gradient(90deg, #2D9B83, #4AC9A8);
}

/* Sidebar */
[data-theme="light"] .sidebar {
   background: linear-gradient(180deg, #FEFEFE 0%, #F7F7F8 100%);
   border-right: 1px solid rgba(45, 155, 131, 0.12);
}

[data-theme="light"] .profile-title {
   color: #2D9B83;
}

[data-theme="light"] .nav-link {
   color: #3D3D3D;
}

[data-theme="light"] .nav-link:hover {
   background-color: rgba(45, 155, 131, 0.08);
   color: #2D9B83;
}

[data-theme="light"] .nav-link.active {
   background-color: rgba(45, 155, 131, 0.12);
   color: #238B73;
}

[data-theme="light"] .nav-link.active::before {
   background: #2D9B83;
}

/* Main Content - Subtle gray for card contrast */
[data-theme="light"] .main-content {
   background: #F5F5F5;
}

[data-theme="light"] .main-content-inner {
   background: #F8F8F8;
}

/* Spotify Bar */
[data-theme="light"] .spotify-bar {
   background: linear-gradient(135deg, rgba(45, 155, 131, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
   border-color: rgba(45, 155, 131, 0.2);
}

[data-theme="light"] .spotify-song {
   color: #1A1A1A;
}

[data-theme="light"] .spotify-artist {
   color: #3D3D3D;
}

/* Section Headers */
[data-theme="light"] .section-header {
   border-color: rgba(45, 155, 131, 0.15);
}

[data-theme="light"] .section-title {
   color: #1A1A1A;
}

[data-theme="light"] .section-subtitle {
   color: #3D3D3D;
}

[data-theme="light"] .section-icon {
   color: #2D9B83;
}

/* Buttons & CTAs */
[data-theme="light"] .section-cta {
   background: rgba(45, 155, 131, 0.08);
   border-color: rgba(45, 155, 131, 0.2);
   color: #238B73;
}

[data-theme="light"] .section-cta:hover {
   background: rgba(45, 155, 131, 0.15);
   border-color: rgba(45, 155, 131, 0.4);
   color: #2D9B83;
   box-shadow: 0 0 20px rgba(45, 155, 131, 0.15);
}

[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-secondary {
   background: rgba(45, 155, 131, 0.08);
   border-color: rgba(45, 155, 131, 0.2);
   color: #238B73;
}

[data-theme="light"] .btn-primary:hover,
[data-theme="light"] .btn-secondary:hover {
   background: rgba(45, 155, 131, 0.15);
   border-color: rgba(45, 155, 131, 0.4);
   box-shadow: 0 8px 25px rgba(45, 155, 131, 0.15);
}

/* Cards - High Visibility */
[data-theme="light"] .project-card {
   background: #FFFFFF;
   border: 2px solid #E0E0E0;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .project-card:hover {
   border-color: #7C8F59;
   box-shadow: 0 12px 40px rgba(45, 155, 131, 0.2);
   transform: translateY(-6px);
}

[data-theme="light"] .creative-card {
   background: #FFFFFF;
   border: 2px solid #E0E0E0;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .creative-card:hover {
   border-color: #7C8F59;
   box-shadow: 0 8px 30px rgba(45, 155, 131, 0.15);
}

/* Skill Cards - High Visibility */
[data-theme="light"] .skill-card {
   background: #FFFFFF;
   border: 1px solid #D0D0D0;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .skill-card:hover {
   background: rgba(45, 155, 131, 0.08);
   border-color: #7C8F59;
   box-shadow: 0 8px 20px rgba(45, 155, 131, 0.15);
   transform: translateY(-3px);
}

[data-theme="light"] .skill-card .skill-name {
   color: #3D3D3D;
}

[data-theme="light"] .skill-card:hover .skill-name {
   color: #1A1A1A;
}

/* Learning & Project Cards */
[data-theme="light"] .learning-card {
   background: rgba(45, 155, 131, 0.06);
   border-color: rgba(45, 155, 131, 0.15);
}

[data-theme="light"] .learning-card:hover {
   background: rgba(45, 155, 131, 0.1);
   border-color: rgba(45, 155, 131, 0.3);
}

[data-theme="light"] .upcoming-card {
   background: rgba(139, 155, 107, 0.06);
   border-color: rgba(139, 155, 107, 0.15);
}

[data-theme="light"] .upcoming-card:hover {
   background: rgba(139, 155, 107, 0.1);
   border-color: rgba(139, 155, 107, 0.3);
}

[data-theme="light"] .card-progress .progress-fill {
   background: linear-gradient(90deg, #2D9B83, #4AC9A8);
}

[data-theme="light"] .card-progress.orange .progress-fill {
   background: linear-gradient(90deg, #3DB895, #6FD4B5);
}

/* Hero Section */
[data-theme="light"] .hero-title {
   color: #1A1A1A;
}

[data-theme="light"] .hero-subtitle {
   color: #2D9B83;
}

[data-theme="light"] .hero-description {
   color: #3D3D3D;
}

[data-theme="light"] .hero-image {
   border-color: rgba(45, 155, 131, 0.15);
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 30px rgba(45, 155, 131, 0.05);
}

[data-theme="light"] .hero-image:hover {
   box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 0 40px rgba(45, 155, 131, 0.1);
}

/* Stats Section - High Visibility */
[data-theme="light"] .stat-card {
   background: #FFFFFF;
   border: 2px solid #E0E0E0;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .stat-card:hover {
   border-color: #7C8F59;
   box-shadow: 0 8px 30px rgba(45, 155, 131, 0.2);
   transform: translateY(-4px);
}

[data-theme="light"] .stat-number {
   color: #1A1A1A;
   font-weight: 700;
}

[data-theme="light"] .stat-label {
   color: #3D3D3D;
   font-weight: 600;
}

[data-theme="light"] .stat-icon {
   color: #2D9B83;
}

/* Story Section */
[data-theme="light"] .story-image {
   border-color: rgba(45, 155, 131, 0.12);
}

[data-theme="light"] .story-title {
   color: #1A1A1A;
}

[data-theme="light"] .story-text {
   color: #3D3D3D;
}

/* ME.TXT Cards */
[data-theme="light"] .metxt-card {
   background: #FFFFFF;
   border-color: rgba(45, 155, 131, 0.15);
}

[data-theme="light"] .metxt-card[data-color="green"]::before {
   background: linear-gradient(135deg, rgba(45, 155, 131, 0.2), rgba(143, 166, 107, 0.1));
}

/* Modal */
[data-theme="light"] .modal-content {
   background: rgba(255, 255, 255, 0.98);
   border-color: rgba(45, 155, 131, 0.15);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea {
   background: rgba(250, 250, 248, 0.8);
   border-color: rgba(45, 155, 131, 0.15);
   color: #1A1A1A;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus {
   border-color: #7C8F59;
   box-shadow: 0 0 0 3px rgba(45, 155, 131, 0.1);
}

[data-theme="light"] .form-submit {
   background: linear-gradient(135deg, #2D9B83, #238B73);
}

[data-theme="light"] .form-submit:hover {
   background: linear-gradient(135deg, #238B73, #4A5935);
   box-shadow: 0 10px 30px rgba(45, 155, 131, 0.3);
}

/* GitHub Widget */
[data-theme="light"] .github-widget {
   background: rgba(255, 255, 255, 0.95);
   border-color: rgba(45, 155, 131, 0.12);
}

[data-theme="light"] .sidebar-github {
   background: rgba(45, 155, 131, 0.05);
   border-color: rgba(45, 155, 131, 0.1);
}

[data-theme="light"] .sidebar-github:hover {
   background: rgba(45, 155, 131, 0.08);
   border-color: rgba(45, 155, 131, 0.18);
}

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-thumb {
   background: rgba(45, 155, 131, 0.3);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
   background: rgba(45, 155, 131, 0.5);
}

/* Social Links */
[data-theme="light"] .social-link {
   background: rgba(45, 155, 131, 0.06);
   border-color: rgba(45, 155, 131, 0.12);
   color: #3D3D3D;
}

[data-theme="light"] .social-link:hover {
   background: rgba(45, 155, 131, 0.12);
   border-color: rgba(45, 155, 131, 0.25);
   color: #238B73;
}

/* Location */
[data-theme="light"] .location {
   color: #8A8A80;
}

[data-theme="light"] .location a:hover {
   color: #2D9B83;
}

/* ===================================
   Theme Transition Animation System
   =================================== */

/* Smooth color transitions for all theme-affected properties */
:root {
   --theme-transition-duration: 0.6s;
   --theme-transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Apply transitions to themeable elements */
body,
.sidebar,
.main-content,
.main-content-inner,
.nav-link,
.stat-card,
.skill-card,
.learning-card,
.upcoming-card,
.project-card,
.creative-card,
.spotify-bar,
.spotify-widget,
.section-header,
.hero-content,
.story-section,
.metxt-card,
.github-widget,
.profile,
.social-link,
.btn-primary,
.btn-secondary,
.section-cta {
   transition:
      background var(--theme-transition-duration) var(--theme-transition-timing),
      background-color var(--theme-transition-duration) var(--theme-transition-timing),
      border-color var(--theme-transition-duration) var(--theme-transition-timing),
      color var(--theme-transition-duration) var(--theme-transition-timing),
      box-shadow var(--theme-transition-duration) var(--theme-transition-timing),
      opacity var(--theme-transition-duration) var(--theme-transition-timing);
}

/* Theme transition overlay */
.theme-transition-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   pointer-events: none;
   z-index: 99999;
   opacity: 0;
}

/* Circular reveal animation origin point */
.theme-transition-overlay.active {
   animation: themeReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Ripple effect from toggle button */
.theme-ripple {
   position: fixed;
   border-radius: 50%;
   transform: scale(0);
   pointer-events: none;
   z-index: 99998;
   opacity: 0.3;
}

.theme-ripple.active {
   animation: themeRipple 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes themeRipple {
   0% {
      transform: scale(0);
      opacity: 0.5;
   }

   100% {
      transform: scale(4);
      opacity: 0;
   }
}

/* Flash effect on theme change */
.theme-flash {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   pointer-events: none;
   z-index: 99997;
   background: radial-gradient(circle at var(--click-x, 50%) var(--click-y, 50%),
         rgba(255, 255, 255, 0.15) 0%,
         transparent 70%);
   opacity: 0;
}

.theme-flash.active {
   animation: flashPulse 0.5s ease-out forwards;
}

@keyframes flashPulse {
   0% {
      opacity: 1;
   }

   100% {
      opacity: 0;
   }
}

/* Morphing background animation */
html.theme-morphing::before {
   content: '';
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   background: inherit;
   z-index: 99996;
   animation: morphBackground 0.6s ease-out forwards;
   pointer-events: none;
}

@keyframes morphBackground {
   0% {
      clip-path: circle(0% at var(--morph-x, 50%) var(--morph-y, 50%));
   }

   100% {
      clip-path: circle(150% at var(--morph-x, 50%) var(--morph-y, 50%));
   }
}

/* Particle burst effect */
.theme-particles {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   pointer-events: none;
   z-index: 99995;
   overflow: hidden;
}

.theme-particle {
   position: absolute;
   width: 8px;
   height: 8px;
   border-radius: 50%;
   animation: particleBurst 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes particleBurst {
   0% {
      transform: translate(0, 0) scale(1);
      opacity: 1;
   }

   100% {
      transform: translate(var(--tx), var(--ty)) scale(0);
      opacity: 0;
   }
}

/* Shimmer effect across elements */
html.theme-transitioning * {
   animation: themeShimmer 0.5s ease-out;
}

@keyframes themeShimmer {
   0% {
      filter: brightness(1);
   }

   30% {
      filter: brightness(1.2);
   }

   100% {
      filter: brightness(1);
   }
}

/* Icon spin animation on toggle */
.theme-toggle.transitioning svg {
   animation: iconTransition 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes iconTransition {
   0% {
      transform: rotate(0deg) scale(1);
   }

   50% {
      transform: rotate(180deg) scale(0.8);
   }

   100% {
      transform: rotate(360deg) scale(1);
   }
}

/* Scale pulse on toggle button */
.theme-toggle:active {
   transform: scale(0.95);
}

.theme-toggle.transitioning {
   animation: togglePulse 0.6s ease-out;
}

@keyframes togglePulse {
   0% {
      box-shadow: 0 0 0 0 var(--color-accent);
   }

   50% {
      box-shadow: 0 0 20px 10px transparent;
   }

   100% {
      box-shadow: none;
   }
}

/* View Transitions API styling */
::view-transition-old(root),
::view-transition-new(root) {
   animation: none;
   mix-blend-mode: normal;
}

::view-transition-old(root) {
   animation: fadeSlideOut 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

::view-transition-new(root) {
   animation: fadeSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeSlideOut {
   0% {
      opacity: 1;
      transform: scale(1);
   }

   100% {
      opacity: 0;
      transform: scale(0.98);
   }
}

@keyframes fadeSlideIn {
   0% {
      opacity: 0;
      transform: scale(1.02);
   }

   100% {
      opacity: 1;
      transform: scale(1);
   }
}

/* Theme-specific accent colors for particles */
[data-theme="dark"] .theme-particle {
   background: var(--color-spotify-green);
}

/* Glow effect on theme toggle during transition */
.theme-toggle.transitioning::after {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   width: 200%;
   height: 200%;
   transform: translate(-50%, -50%);
   background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
   opacity: 0;
   animation: glowPulse 0.6s ease-out;
   pointer-events: none;
}

@keyframes glowPulse {
   0% {
      opacity: 0.5;
      transform: translate(-50%, -50%) scale(0.5);
   }

   100% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(1.5);
   }
}

/* ===================================
   Theme Toggle Button - Animated Sun/Moon
   =================================== */
.theme-toggle-wrapper {
   margin-bottom: var(--spacing-sm);
}

.theme-toggle {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   padding: var(--spacing-sm) var(--spacing-md);
   background: linear-gradient(135deg, rgba(100, 100, 150, 0.1) 0%, rgba(50, 50, 80, 0.2) 100%);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: var(--radius-lg);
   color: var(--color-text-secondary);
   cursor: pointer;
   transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
   position: relative;
   overflow: hidden;
}

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

.theme-toggle:hover::before {
   left: 100%;
}

.theme-toggle:hover {
   background: linear-gradient(135deg, rgba(100, 100, 200, 0.2) 0%, rgba(80, 80, 150, 0.3) 100%);
   border-color: rgba(147, 112, 219, 0.4);
   transform: scale(1.02);
   box-shadow: 0 0 20px rgba(147, 112, 219, 0.2);
}

/* Sun Icon - default in dark mode (shows moon) */
.theme-toggle .sun-icon {
   display: none;
   transform-origin: center;
   transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle .moon-icon {
   display: block;
   color: #a0a0ff;
   filter: drop-shadow(0 0 8px rgba(160, 160, 255, 0.6));
   transform-origin: center;
   animation: moonFloat 3s ease-in-out infinite;
   transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes moonFloat {

   0%,
   100% {
      transform: rotate(-10deg) scale(1);
   }

   50% {
      transform: rotate(10deg) scale(1.05);
   }
}

/* Light theme styles - Olive Green */
[data-theme="light"] .theme-toggle {
   background: linear-gradient(135deg, rgba(45, 155, 131, 0.1) 0%, rgba(143, 166, 107, 0.15) 100%);
   border-color: rgba(45, 155, 131, 0.2);
}

[data-theme="light"] .theme-toggle:hover {
   background: linear-gradient(135deg, rgba(45, 155, 131, 0.18) 0%, rgba(143, 166, 107, 0.22) 100%);
   border-color: rgba(45, 155, 131, 0.4);
   box-shadow: 0 0 20px rgba(45, 155, 131, 0.2);
}

[data-theme="light"] .theme-toggle .sun-icon {
   display: block;
   color: #2D9B83;
   filter: drop-shadow(0 0 10px rgba(45, 155, 131, 0.6));
   animation: sunSpin 10s linear infinite, sunPulse 2s ease-in-out infinite;
}

[data-theme="light"] .theme-toggle .moon-icon {
   display: none;
}

@keyframes sunSpin {
   from {
      transform: rotate(0deg);
   }

   to {
      transform: rotate(360deg);
   }
}

@keyframes sunPulse {

   0%,
   100% {
      filter: drop-shadow(0 0 8px rgba(45, 155, 131, 0.5));
   }

   50% {
      filter: drop-shadow(0 0 15px rgba(45, 155, 131, 0.8));
   }
}

/* Toggle animation class for smooth transition */
.theme-toggle.transitioning .sun-icon,
.theme-toggle.transitioning .moon-icon {
   animation: iconSwitch 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes iconSwitch {
   0% {
      transform: rotate(0deg) scale(1);
      opacity: 1;
   }

   50% {
      transform: rotate(180deg) scale(0);
      opacity: 0;
   }

   100% {
      transform: rotate(360deg) scale(1);
      opacity: 1;
   }
}

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

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

.reveal-left {
   opacity: 0;
   transform: translateX(-40px);
   transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
   opacity: 1;
   transform: translateX(0);
}

.reveal-right {
   opacity: 0;
   transform: translateX(40px);
   transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
   opacity: 1;
   transform: translateX(0);
}

.reveal-scale {
   opacity: 0;
   transform: scale(0.9);
   transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
   opacity: 1;
   transform: scale(1);
}

/* Staggered animations for cards */
.project-card,
.creative-card-wrapper,
.stat-card {
   opacity: 0;
   transform: translateY(30px);
   transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.visible,
.creative-card-wrapper.visible,
.stat-card.visible {
   opacity: 1;
   transform: translateY(0);
}

/* ===================================
   Stats Counter Section
   =================================== */
.stats-section {
   margin-top: var(--spacing-2xl);
   padding: var(--spacing-2xl) 0;
}

.stats-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: var(--spacing-xl);
}

.stat-card {
   position: relative;
   display: flex;
   flex-direction: column;
   align-items: center;
   padding: var(--spacing-xl) var(--spacing-lg);
   background: linear-gradient(145deg, rgba(30, 30, 30, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
   border: 1px solid rgba(255, 255, 255, 0.06);
   border-radius: var(--radius-xl);
   backdrop-filter: blur(10px);
   transition:
      transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
      background 0.4s ease,
      border-color 0.4s ease,
      box-shadow 0.5s ease;
   overflow: hidden;
}

.stat-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 2px;
   background: linear-gradient(90deg, transparent, rgba(29, 185, 84, 0.5), transparent);
   opacity: 0;
   transition: opacity 0.4s ease;
}

.stat-card::after {
   content: '';
   position: absolute;
   top: -50%;
   left: -50%;
   width: 200%;
   height: 200%;
   background: radial-gradient(circle at center, rgba(29, 185, 84, 0.1) 0%, transparent 50%);
   opacity: 0;
   transition: opacity 0.4s ease;
   pointer-events: none;
}

.stat-card:hover {
   background: linear-gradient(145deg, rgba(40, 40, 40, 0.9) 0%, rgba(25, 25, 25, 0.95) 100%);
   border-color: rgba(29, 185, 84, 0.4);
   transform: translateY(-8px) scale(1.02);
   box-shadow:
      0 20px 40px rgba(0, 0, 0, 0.3),
      0 0 30px rgba(29, 185, 84, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-card:hover::before {
   opacity: 1;
}

.stat-card:hover::after {
   opacity: 1;
}

.stat-icon {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
   width: 64px;
   height: 64px;
   background: linear-gradient(135deg, rgba(29, 185, 84, 0.15) 0%, rgba(0, 217, 255, 0.1) 100%);
   border: 1px solid rgba(29, 185, 84, 0.2);
   border-radius: 50%;
   margin-bottom: var(--spacing-lg);
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-icon svg {
   width: 28px;
   height: 28px;
   color: var(--color-spotify-green);
   transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
   background: linear-gradient(135deg, rgba(29, 185, 84, 0.25) 0%, rgba(0, 217, 255, 0.2) 100%);
   border-color: rgba(29, 185, 84, 0.4);
   box-shadow: 0 0 20px rgba(29, 185, 84, 0.3);
   transform: scale(1.1);
}

.stat-card:hover .stat-icon svg {
   transform: scale(1.1);
}

/* Clock Icon Animation - Hands spin on hover */
.clock-icon {
   overflow: visible;
}

.clock-hands {
   transform-origin: 12px 12px;
   transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card-clock:hover .clock-hands {
   transform: rotate(360deg);
   transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Star Icon Animation */
.star-icon {
   overflow: visible;
}

.star-shape {
   transform-origin: 12px 12px;
   transition: transform 0.8s ease-in-out;
}

.stat-card-star:hover .star-shape {
   transform: rotate(360deg);
}

/* Tick Icon Animation */
.tick-icon {
   overflow: visible;
}

.tick-circle {
   transform-origin: 12px 12px;
   transition: transform 0.6s ease-in-out;
}

.tick-check {
   stroke-dasharray: 20;
   stroke-dashoffset: 0;
   transition: none;
}

.stat-card-tick:hover .tick-circle {
   transform: rotate(360deg);
}

.stat-card-tick:hover .tick-check {
   animation: tickDraw 0.8s ease forwards;
}

@keyframes tickDraw {
   0% {
      stroke-dashoffset: 20;
   }

   50% {
      stroke-dashoffset: 20;
   }

   100% {
      stroke-dashoffset: 0;
   }
}

/* Certification Icon Animation - 3D Sphere Rotation */
.stat-card-cert .stat-icon {
   perspective: 200px;
}

.cert-icon {
   overflow: visible;
   transform-style: preserve-3d;
   transition: transform 1s ease-in-out;
}

.stat-card-cert:hover .cert-icon {
   animation: sphereRotate 1.5s ease-in-out;
}

@keyframes sphereRotate {
   0% {
      transform: rotateY(0deg);
   }

   100% {
      transform: rotateY(360deg);
   }
}

.stat-number {
   font-size: 3rem;
   font-weight: 800;
   background: linear-gradient(135deg, #FFFFFF 0%, #B0B0B0 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   margin-bottom: var(--spacing-xs);
   letter-spacing: -0.02em;
   line-height: 1;
}

.stat-number::after {
   content: '+';
   font-size: 1.8rem;
   font-weight: 700;
   background: linear-gradient(135deg, #1DB954 0%, #00D9FF 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
}

.stat-label {
   font-size: var(--font-size-sm);
   font-weight: 500;
   color: var(--color-text-tertiary);
   text-align: center;
   text-transform: uppercase;
   letter-spacing: 0.08em;
   transition: color 0.3s ease;
}

.stat-card:hover .stat-label {
   color: var(--color-text-secondary);
}

@media (max-width: 900px) {
   .stats-grid {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media (max-width: 500px) {
   .stats-grid {
      grid-template-columns: 1fr;
      gap: var(--spacing-md);
   }

   .stat-card {
      padding: var(--spacing-lg);
   }

   .stat-number {
      font-size: 2.5rem;
   }
}

/* ===================================
   Contact Modal Styles
   =================================== */
.modal-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.8);
   backdrop-filter: blur(10px);
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 1000;
   opacity: 0;
   visibility: hidden;
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-content {
   position: relative;
   width: 90%;
   max-width: 500px;
   background: rgba(30, 30, 30, 0.95);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: var(--radius-xl);
   padding: var(--spacing-2xl);
   transform: scale(0.9) translateY(20px);
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

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

.modal-close {
   position: absolute;
   top: var(--spacing-md);
   right: var(--spacing-md);
   width: 40px;
   height: 40px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(255, 255, 255, 0.05);
   border: none;
   border-radius: 50%;
   color: var(--color-text-secondary);
   cursor: pointer;
   transition: all var(--transition-base);
}

.modal-close:hover {
   background: rgba(255, 255, 255, 0.1);
   color: var(--color-text-primary);
   transform: rotate(90deg);
}

.modal-header {
   text-align: center;
   margin-bottom: var(--spacing-xl);
}

.modal-title {
   font-size: var(--font-size-2xl);
   font-weight: 700;
   color: var(--color-text-primary);
   margin-bottom: var(--spacing-xs);
}

.modal-subtitle {
   font-size: var(--font-size-sm);
   color: var(--color-text-secondary);
}

.contact-form {
   display: flex;
   flex-direction: column;
   gap: var(--spacing-md);
}

.form-group {
   display: flex;
   flex-direction: column;
   gap: var(--spacing-xs);
}

.form-group label {
   font-size: var(--font-size-sm);
   font-weight: 500;
   color: var(--color-text-secondary);
}

.form-group input,
.form-group textarea {
   padding: var(--spacing-sm) var(--spacing-md);
   background: rgba(255, 255, 255, 0.05);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: var(--radius-md);
   color: var(--color-text-primary);
   font-family: var(--font-family);
   font-size: var(--font-size-base);
   transition: all var(--transition-base);
   resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
   outline: none;
   border-color: var(--color-spotify-green);
   background: rgba(29, 185, 84, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
   color: var(--color-text-tertiary);
}

.form-submit {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: var(--spacing-sm);
   padding: var(--spacing-md) var(--spacing-lg);
   background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
   border: none;
   border-radius: var(--radius-md);
   color: #000;
   font-family: var(--font-family);
   font-size: var(--font-size-base);
   font-weight: 600;
   cursor: pointer;
   transition: all var(--transition-base);
   margin-top: var(--spacing-sm);
}

.form-submit:hover {
   transform: translateY(-2px);
   box-shadow: 0 10px 30px rgba(29, 185, 84, 0.3);
}

.form-submit:active {
   transform: translateY(0);
}

.form-success {
   display: none;
   flex-direction: column;
   align-items: center;
   gap: var(--spacing-md);
   padding: var(--spacing-xl);
   text-align: center;
}

.form-success.active {
   display: flex;
}

.form-success p {
   font-size: var(--font-size-lg);
   font-weight: 600;
   color: var(--color-spotify-green);
}

.contact-form.hidden {
   display: none;
}

/* ===================================
   GitHub Widget Styles
   =================================== */
.github-widget {
   position: fixed;
   bottom: 20px;
   right: 20px;
   width: 200px;
   background: rgba(30, 30, 30, 0.95);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: var(--radius-lg);
   padding: var(--spacing-md);
   z-index: 100;
   backdrop-filter: blur(10px);
   transform: translateY(100px);
   opacity: 0;
   transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.github-widget.visible {
   transform: translateY(0);
   opacity: 1;
}

.github-header {
   display: flex;
   align-items: center;
   gap: var(--spacing-sm);
   padding-bottom: var(--spacing-sm);
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
   margin-bottom: var(--spacing-sm);
   color: var(--color-text-primary);
   font-weight: 600;
   font-size: var(--font-size-sm);
}

.github-stats {
   display: flex;
   justify-content: space-between;
   margin-bottom: var(--spacing-sm);
}

.github-stat {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 2px;
}

.github-stat-value {
   font-size: var(--font-size-lg);
   font-weight: 700;
   color: var(--color-text-primary);
}

.github-stat-label {
   font-size: 10px;
   color: var(--color-text-tertiary);
   text-transform: uppercase;
   letter-spacing: 0.5px;
}

.github-link {
   display: block;
   text-align: center;
   padding: var(--spacing-xs) var(--spacing-sm);
   background: rgba(255, 255, 255, 0.05);
   border-radius: var(--radius-sm);
   color: var(--color-text-secondary);
   font-size: var(--font-size-xs);
   text-decoration: none;
   transition: all var(--transition-base);
}

.github-link:hover {
   background: rgba(255, 255, 255, 0.1);
   color: var(--color-text-primary);
}

@media (max-width: 768px) {
   .github-widget {
      display: none;
   }
}

/* Hide floating github widget - now in sidebar */
.github-widget {
   display: none;
}

/* ===================================
   Sidebar GitHub Widget
   =================================== */
.sidebar-github {
   margin-bottom: var(--spacing-sm);
   padding: var(--spacing-sm);
   background: rgba(255, 255, 255, 0.03);
   border: 1px solid rgba(255, 255, 255, 0.08);
   border-radius: var(--radius-md);
   transition: all var(--transition-base);
}

.sidebar-github:hover {
   background: rgba(255, 255, 255, 0.05);
   border-color: rgba(255, 255, 255, 0.15);
}

.sidebar-github-header {
   display: flex;
   align-items: center;
   gap: var(--spacing-xs);
   padding-bottom: var(--spacing-sm);
   margin-bottom: var(--spacing-sm);
   border-bottom: 1px solid rgba(255, 255, 255, 0.08);
   color: var(--color-text-primary);
   font-weight: 600;
   font-size: var(--font-size-xs);
}

.sidebar-github-stats {
   display: flex;
   justify-content: space-between;
   margin-bottom: var(--spacing-sm);
}

.sidebar-github-stat {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 2px;
}

.sidebar-stat-value {
   font-size: var(--font-size-base);
   font-weight: 700;
   color: var(--color-text-primary);
}

.sidebar-stat-label {
   font-size: 9px;
   color: var(--color-text-tertiary);
   text-transform: uppercase;
   letter-spacing: 0.3px;
}

.sidebar-github-link {
   display: block;
   text-align: center;
   padding: var(--spacing-xs);
   background: rgba(255, 255, 255, 0.05);
   border-radius: var(--radius-sm);
   color: var(--color-text-secondary);
   font-size: var(--font-size-xs);
   text-decoration: none;
   transition: all var(--transition-base);
}

.sidebar-github-link:hover {
   background: rgba(255, 255, 255, 0.1);
   color: var(--color-text-primary);
}

[data-theme="light"] .sidebar-github {
   background: rgba(0, 0, 0, 0.03);
   border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .sidebar-github:hover {
   background: rgba(0, 0, 0, 0.05);
   border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .sidebar-github-header {
   border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .sidebar-github-link {
   background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .sidebar-github-link:hover {
   background: rgba(0, 0, 0, 0.1);
}

[data-theme="cyber"] .stat-card:hover {
   border-color: rgba(0, 212, 255, 0.5);
   box-shadow: 0 0 40px rgba(0, 212, 255, 0.2), 0 20px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="cyber"] .stat-icon {
   background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(168, 85, 247, 0.1) 100%);
   border: 1px solid rgba(0, 212, 255, 0.3);
   box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

[data-theme="cyber"] .stat-icon svg {
   color: #00d4ff;
   filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
}

[data-theme="cyber"] .skill-card,
[data-theme="cyber"] .learning-card,
[data-theme="cyber"] .upcoming-card {
   background: rgba(19, 29, 42, 0.6);
   border: 1px solid rgba(0, 212, 255, 0.15);
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="cyber"] .skill-card:hover,
[data-theme="cyber"] .learning-card:hover,
[data-theme="cyber"] .upcoming-card:hover {
   border-color: rgba(0, 212, 255, 0.4);
   box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

[data-theme="cyber"] .spotify-bar {
   background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(10, 15, 24, 0.95) 100%);
   border: 1px solid rgba(0, 212, 255, 0.3);
   box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

[data-theme="cyber"] .social-link:hover {
   color: #00d4ff;
   filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.6));
}

[data-theme="cyber"] .theme-toggle {
   background: rgba(0, 212, 255, 0.1);
   border: 1px solid rgba(0, 212, 255, 0.3);
}

[data-theme="cyber"] .theme-toggle:hover {
   box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

[data-theme="cyber"] .btn-primary,
[data-theme="cyber"] .btn-secondary {
   border-color: rgba(0, 212, 255, 0.4);
   color: #e0f4ff;
}

[data-theme="cyber"] .btn-primary:hover,
[data-theme="cyber"] .btn-secondary:hover {
   background: rgba(0, 212, 255, 0.15);
   box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

[data-theme="cyber"] .section-cta {
   border-color: rgba(0, 212, 255, 0.4);
}

[data-theme="cyber"] .section-cta:hover {
   color: #00d4ff;
   border-color: #00d4ff;
   box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* ===================================
   PEACH Theme - Warm Coral (Reference 2)
   Soft peachy/coral warm tones
   =================================== */
[data-theme="peach"] {
   --color-bg-primary: #fff8f5;
   --color-bg-secondary: #fff5f0;
   --color-bg-tertiary: #ffede5;
   --color-bg-sidebar: #fef6f3;
   --color-text-primary: #4a3228;
   --color-text-secondary: #7d5a4f;
   --color-text-tertiary: #a88072;
   --color-accent: #e07850;
   --color-accent-hover: #d06840;
   --color-accent-light: rgba(224, 120, 80, 0.12);
   --color-border: #f5d4c8;
}

[data-theme="peach"] body {
   background: linear-gradient(180deg, #fff8f5 0%, #ffeee5 100%);
}

[data-theme="peach"] .preloader {
   background: linear-gradient(135deg, #fff8f5 0%, #ffede5 100%);
}

[data-theme="peach"] .preloader-text {
   color: #4a3228;
}

[data-theme="peach"] .preloader-bar {
   background: rgba(224, 120, 80, 0.2);
}

[data-theme="peach"] .preloader-bar::after {
   background: linear-gradient(90deg, #e07850, #f4a77d);
}

[data-theme="peach"] .sidebar {
   background: linear-gradient(180deg, #fef6f3 0%, #ffeee8 100%);
   border-right: 1px solid rgba(224, 120, 80, 0.15);
}

[data-theme="peach"] .profile-title {
   color: #e07850;
}

[data-theme="peach"] .nav-link {
   color: #7d5a4f;
}

[data-theme="peach"] .nav-link:hover {
   background: rgba(224, 120, 80, 0.08);
   color: #e07850;
}

[data-theme="peach"] .nav-link.active {
   background: linear-gradient(90deg, rgba(224, 120, 80, 0.15) 0%, rgba(224, 120, 80, 0.05) 100%);
   color: #e07850;
}

[data-theme="peach"] .nav-link.active::before {
   background: linear-gradient(180deg, #e07850, #f4a77d);
}

[data-theme="peach"] .nav-link.active .nav-icon {
   color: #e07850;
}

[data-theme="peach"] .main-content {
   background: linear-gradient(180deg, #fff5f0 0%, #ffede5 100%);
}

[data-theme="peach"] .main-content-inner {
   background: transparent;
}

[data-theme="peach"] .hero-title {
   color: #4a3228;
}

[data-theme="peach"] .hero-image {
   border: 3px solid rgba(224, 120, 80, 0.2);
   box-shadow: 0 20px 60px rgba(224, 120, 80, 0.15);
}

[data-theme="peach"] .stat-card {
   background: linear-gradient(145deg, #ffffff 0%, #fff8f5 100%);
   border: 1px solid rgba(224, 120, 80, 0.12);
   box-shadow: 0 8px 30px rgba(224, 120, 80, 0.08);
}

[data-theme="peach"] .stat-card:hover {
   border-color: rgba(224, 120, 80, 0.25);
   box-shadow: 0 15px 40px rgba(224, 120, 80, 0.12);
}

[data-theme="peach"] .stat-icon {
   background: linear-gradient(135deg, rgba(224, 120, 80, 0.12) 0%, rgba(244, 167, 125, 0.08) 100%);
   border: 1px solid rgba(224, 120, 80, 0.2);
}

[data-theme="peach"] .stat-icon svg {
   color: #e07850;
}

[data-theme="peach"] .stat-number {
   color: #4a3228;
}

[data-theme="peach"] .stat-label {
   color: #7d5a4f;
}

[data-theme="peach"] .skill-card,
[data-theme="peach"] .learning-card,
[data-theme="peach"] .upcoming-card {
   background: rgba(255, 255, 255, 0.8);
   border: 1px solid rgba(224, 120, 80, 0.12);
}

[data-theme="peach"] .skill-card:hover,
[data-theme="peach"] .learning-card:hover,
[data-theme="peach"] .upcoming-card:hover {
   border-color: rgba(224, 120, 80, 0.25);
   background: #ffffff;
}

[data-theme="peach"] .spotify-bar {
   background: linear-gradient(135deg, rgba(224, 120, 80, 0.08) 0%, rgba(255, 248, 245, 0.95) 100%);
   border: 1px solid rgba(224, 120, 80, 0.15);
}

[data-theme="peach"] .social-link:hover {
   color: #e07850;
}

[data-theme="peach"] .theme-toggle {
   background: rgba(224, 120, 80, 0.1);
   border: 1px solid rgba(224, 120, 80, 0.2);
}

[data-theme="peach"] .btn-primary,
[data-theme="peach"] .btn-secondary {
   border-color: rgba(224, 120, 80, 0.3);
   color: #4a3228;
}

[data-theme="peach"] .btn-primary:hover,
[data-theme="peach"] .btn-secondary:hover {
   background: rgba(224, 120, 80, 0.1);
   border-color: #e07850;
}

[data-theme="peach"] .section-title {
   color: #4a3228;
}

[data-theme="peach"] .section-cta {
   border-color: rgba(224, 120, 80, 0.3);
   color: #7d5a4f;
}

[data-theme="peach"] .section-cta:hover {
   border-color: #e07850;
   color: #e07850;
}

/* ===================================
   AURORA Theme - Holographic Pastels (Reference 3)
   Dreamy gradient iridescent background
   =================================== */
/* ===================================
   SUNSET Theme - Tropical Gradient (Reference 4)
   Vibrant orange/teal gradient
   =================================== */
[data-theme="sunset"] {
   --color-bg-primary: #fef7f0;
   --color-bg-secondary: #fff5eb;
   --color-bg-tertiary: #fff0e0;
   --color-bg-sidebar: #fef9f5;
   --color-text-primary: #3d2c1e;
   --color-text-secondary: #6b5344;
   --color-text-tertiary: #8a7262;
   --color-accent: #f97316;
   --color-accent-hover: #ea580c;
   --color-accent-light: rgba(249, 115, 22, 0.12);
   --color-border: #fcd9b4;
}

[data-theme="sunset"] body {
   background:
      radial-gradient(ellipse at 0% 0%, rgba(34, 197, 194, 0.25) 0%, transparent 50%),
      radial-gradient(ellipse at 100% 0%, rgba(249, 115, 22, 0.2) 0%, transparent 45%),
      radial-gradient(ellipse at 50% 100%, rgba(251, 191, 36, 0.2) 0%, transparent 50%),
      radial-gradient(ellipse at 100% 100%, rgba(20, 184, 166, 0.15) 0%, transparent 45%),
      linear-gradient(135deg, #fef7f0 0%, #fff5eb 50%, #fef0e5 100%);
}

[data-theme="sunset"] .preloader {
   background: linear-gradient(135deg, #fef7f0 0%, #fff5eb 100%);
}

[data-theme="sunset"] .preloader-text {
   color: #3d2c1e;
}

[data-theme="sunset"] .preloader-bar::after {
   background: linear-gradient(90deg, #14b8a6, #f97316, #fbbf24);
}

[data-theme="sunset"] .sidebar {
   background: linear-gradient(180deg, rgba(254, 249, 245, 0.95) 0%, rgba(255, 245, 235, 0.95) 100%);
   border-right: 1px solid rgba(249, 115, 22, 0.12);
}

[data-theme="sunset"] .profile-title {
   background: linear-gradient(90deg, #f97316, #fbbf24);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
}

[data-theme="sunset"] .nav-link {
   color: #6b5344;
}

[data-theme="sunset"] .nav-link:hover {
   background: rgba(249, 115, 22, 0.08);
   color: #f97316;
}

[data-theme="sunset"] .nav-link.active {
   background: linear-gradient(90deg, rgba(249, 115, 22, 0.12) 0%, rgba(251, 191, 36, 0.08) 100%);
   color: #ea580c;
}

[data-theme="sunset"] .nav-link.active::before {
   background: linear-gradient(180deg, #f97316, #fbbf24);
}

[data-theme="sunset"] .main-content {
   background: transparent;
}

[data-theme="sunset"] .hero-title {
   color: #3d2c1e;
}

[data-theme="sunset"] .hero-image {
   border: 3px solid rgba(249, 115, 22, 0.2);
   box-shadow: 0 20px 60px rgba(249, 115, 22, 0.15);
}

[data-theme="sunset"] .stat-card {
   background: rgba(255, 255, 255, 0.75);
   border: 1px solid rgba(249, 115, 22, 0.12);
   backdrop-filter: blur(8px);
   box-shadow: 0 8px 30px rgba(249, 115, 22, 0.08);
}

[data-theme="sunset"] .stat-card:hover {
   border-color: rgba(249, 115, 22, 0.25);
   box-shadow: 0 15px 40px rgba(249, 115, 22, 0.12);
}

[data-theme="sunset"] .stat-icon {
   background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(251, 191, 36, 0.1) 100%);
   border: 1px solid rgba(249, 115, 22, 0.2);
}

[data-theme="sunset"] .stat-icon svg {
   color: #f97316;
}

[data-theme="sunset"] .stat-number {
   color: #3d2c1e;
}

[data-theme="sunset"] .skill-card,
[data-theme="sunset"] .learning-card,
[data-theme="sunset"] .upcoming-card {
   background: rgba(255, 255, 255, 0.65);
   border: 1px solid rgba(249, 115, 22, 0.12);
   backdrop-filter: blur(5px);
}

[data-theme="sunset"] .skill-card:hover,
[data-theme="sunset"] .learning-card:hover,
[data-theme="sunset"] .upcoming-card:hover {
   border-color: rgba(249, 115, 22, 0.25);
   background: rgba(255, 255, 255, 0.85);
}

[data-theme="sunset"] .spotify-bar {
   background: rgba(255, 255, 255, 0.7);
   border: 1px solid rgba(249, 115, 22, 0.15);
   backdrop-filter: blur(8px);
}

[data-theme="sunset"] .social-link:hover {
   color: #f97316;
}

[data-theme="sunset"] .theme-toggle {
   background: rgba(249, 115, 22, 0.1);
   border: 1px solid rgba(249, 115, 22, 0.2);
}

[data-theme="sunset"] .btn-primary,
[data-theme="sunset"] .btn-secondary {
   border-color: rgba(249, 115, 22, 0.3);
   color: #3d2c1e;
}

[data-theme="sunset"] .btn-primary:hover,
[data-theme="sunset"] .btn-secondary:hover {
   background: rgba(249, 115, 22, 0.1);
   border-color: #f97316;
}

[data-theme="sunset"] .section-title {
   color: #3d2c1e;
}

[data-theme="sunset"] .section-cta {
   border-color: rgba(249, 115, 22, 0.3);
   color: #6b5344;
}

[data-theme="sunset"] .section-cta:hover {
   border-color: #f97316;
   color: #f97316;
}

/* ===================================
   BOTANICAL Theme - Watercolor Nature (Reference 5)
   Artistic green leaves with warm undertones
   =================================== */
[data-theme="botanical"] {
   --color-bg-primary: #f8faf5;
   --color-bg-secondary: #f5f8f2;
   --color-bg-tertiary: #eef4e8;
   --color-bg-sidebar: #fafcf8;
   --color-text-primary: #2d3a2e;
   --color-text-secondary: #4a5d4b;
   --color-text-tertiary: #6b7d6c;
   --color-accent: #5a9a68;
   --color-accent-hover: #4a8a58;
   --color-accent-light: rgba(90, 154, 104, 0.12);
   --color-border: #d4e4d6;
}

[data-theme="botanical"] body {
   background:
      radial-gradient(ellipse at 10% 90%, rgba(90, 154, 104, 0.08) 0%, transparent 40%),
      radial-gradient(ellipse at 90% 10%, rgba(90, 154, 104, 0.06) 0%, transparent 35%),
      radial-gradient(ellipse at 80% 80%, rgba(167, 199, 152, 0.1) 0%, transparent 45%),
      linear-gradient(180deg, #f8faf5 0%, #f0f5eb 100%);
}

[data-theme="botanical"] .preloader {
   background: linear-gradient(135deg, #f8faf5 0%, #f0f5eb 100%);
}

[data-theme="botanical"] .preloader-text {
   color: #2d3a2e;
   font-style: italic;
}

[data-theme="botanical"] .preloader-bar::after {
   background: linear-gradient(90deg, #5a9a68, #7bb68a, #a7c798);
}

[data-theme="botanical"] .sidebar {
   background: linear-gradient(180deg, rgba(250, 252, 248, 0.98) 0%, rgba(245, 248, 242, 0.98) 100%);
   border-right: 1px solid rgba(90, 154, 104, 0.12);
}

[data-theme="botanical"] .profile-title {
   color: #5a9a68;
   font-style: italic;
}

[data-theme="botanical"] .nav-link {
   color: #4a5d4b;
}

[data-theme="botanical"] .nav-link:hover {
   background: rgba(90, 154, 104, 0.08);
   color: #5a9a68;
}

[data-theme="botanical"] .nav-link.active {
   background: linear-gradient(90deg, rgba(90, 154, 104, 0.12) 0%, rgba(167, 199, 152, 0.08) 100%);
   color: #4a8a58;
}

[data-theme="botanical"] .nav-link.active::before {
   background: linear-gradient(180deg, #5a9a68, #7bb68a);
}

[data-theme="botanical"] .main-content {
   background: transparent;
}

[data-theme="botanical"] .hero-title {
   color: #2d3a2e;
   font-style: italic;
}

[data-theme="botanical"] .hero-image {
   border: 4px solid #c9a67a;
   box-shadow: 8px 8px 0 rgba(201, 166, 122, 0.3);
   border-radius: 4px;
}

[data-theme="botanical"] .stat-card {
   background: rgba(255, 255, 255, 0.85);
   border: 1px solid rgba(90, 154, 104, 0.15);
   box-shadow: 0 8px 30px rgba(90, 154, 104, 0.06);
}

[data-theme="botanical"] .stat-card:hover {
   border-color: rgba(90, 154, 104, 0.3);
   box-shadow: 0 12px 35px rgba(90, 154, 104, 0.1);
}

[data-theme="botanical"] .stat-icon {
   background: linear-gradient(135deg, rgba(90, 154, 104, 0.15) 0%, rgba(167, 199, 152, 0.1) 100%);
   border: 1px solid rgba(90, 154, 104, 0.2);
}

[data-theme="botanical"] .stat-icon svg {
   color: #5a9a68;
}

[data-theme="botanical"] .stat-number {
   color: #2d3a2e;
}

[data-theme="botanical"] .skill-card,
[data-theme="botanical"] .learning-card,
[data-theme="botanical"] .upcoming-card {
   background: rgba(255, 255, 255, 0.75);
   border: 1px solid rgba(90, 154, 104, 0.12);
}

[data-theme="botanical"] .skill-card:hover,
[data-theme="botanical"] .learning-card:hover,
[data-theme="botanical"] .upcoming-card:hover {
   border-color: rgba(90, 154, 104, 0.25);
   background: rgba(255, 255, 255, 0.9);
}

[data-theme="botanical"] .spotify-bar {
   background: rgba(255, 255, 255, 0.8);
   border: 1px solid rgba(90, 154, 104, 0.15);
}

[data-theme="botanical"] .social-link:hover {
   color: #5a9a68;
}

[data-theme="botanical"] .theme-toggle {
   background: rgba(90, 154, 104, 0.1);
   border: 1px solid rgba(90, 154, 104, 0.2);
}

[data-theme="botanical"] .btn-primary,
[data-theme="botanical"] .btn-secondary {
   border-color: rgba(90, 154, 104, 0.3);
   color: #2d3a2e;
}

[data-theme="botanical"] .btn-primary:hover,
[data-theme="botanical"] .btn-secondary:hover {
   background: rgba(90, 154, 104, 0.1);
   border-color: #5a9a68;
}

[data-theme="botanical"] .section-title {
   color: #2d3a2e;
}

[data-theme="botanical"] .section-cta {
   border-color: rgba(90, 154, 104, 0.3);
   color: #4a5d4b;
}

[data-theme="botanical"] .section-cta:hover {
   border-color: #5a9a68;
   color: #5a9a68;
}

/* End of theme styles */

[data-theme="ocean"] .nav-link.active {
   background-color: rgba(0, 180, 216, 0.15);
   color: #00B4D8;
}

[data-theme="ocean"] .nav-link.active::before {
   background: #00B4D8;
}

[data-theme="ocean"] .nav-link.active .nav-icon {
   color: #00B4D8;
   filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.6));
}

[data-theme="ocean"] .main-content {
   background: #0A1929;
}

[data-theme="ocean"] .main-content-inner {
   background: #0D1F33;
}

[data-theme="ocean"] .social-link:hover {
   color: #00B4D8;
}

[data-theme="ocean"] .social-link:hover svg {
   color: #00B4D8;
   filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.5));
}

[data-theme="ocean"] .stat-card {
   background: linear-gradient(145deg, rgba(18, 42, 66, 0.8) 0%, rgba(10, 25, 41, 0.9) 100%);
   border-color: rgba(0, 180, 216, 0.2);
}

[data-theme="ocean"] .stat-card:hover {
   border-color: rgba(0, 180, 216, 0.5);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 180, 216, 0.15);
}

[data-theme="ocean"] .stat-icon {
   background: linear-gradient(135deg, rgba(0, 180, 216, 0.15) 0%, rgba(0, 119, 182, 0.1) 100%);
   border-color: rgba(0, 180, 216, 0.3);
}

[data-theme="ocean"] .stat-icon svg {
   color: #00B4D8;
}

[data-theme="ocean"] .spotify-bar {
   background: linear-gradient(135deg, rgba(0, 180, 216, 0.1) 0%, rgba(10, 25, 41, 0.9) 100%);
   border-color: rgba(0, 180, 216, 0.3);
}

[data-theme="ocean"] .skill-card,
[data-theme="ocean"] .learning-card,
[data-theme="ocean"] .upcoming-card {
   background: rgba(18, 42, 66, 0.5);
   border-color: rgba(0, 180, 216, 0.15);
}

[data-theme="ocean"] .skill-card:hover,
[data-theme="ocean"] .learning-card:hover,
[data-theme="ocean"] .upcoming-card:hover {
   border-color: rgba(0, 180, 216, 0.4);
   background: rgba(18, 42, 66, 0.7);
}

[data-theme="ocean"] .project-card,
[data-theme="ocean"] .creative-card {
   border-color: rgba(0, 180, 216, 0.15);
}

[data-theme="ocean"] .btn-primary,
[data-theme="ocean"] .btn-secondary {
   border-color: rgba(0, 180, 216, 0.3);
   color: #E3F2FD;
}

[data-theme="ocean"] .btn-primary:hover,
[data-theme="ocean"] .btn-secondary:hover {
   background: rgba(0, 180, 216, 0.15);
   border-color: #00B4D8;
}

[data-theme="ocean"] .section-cta {
   border-color: rgba(0, 180, 216, 0.3);
   color: #90CAF9;
}

[data-theme="ocean"] .section-cta:hover {
   border-color: #00B4D8;
   color: #00B4D8;
}

[data-theme="ocean"] .theme-toggle {
   background: rgba(0, 180, 216, 0.1);
   border-color: rgba(0, 180, 216, 0.3);
}

[data-theme="ocean"] .theme-toggle:hover {
   background: rgba(0, 180, 216, 0.2);
}

/* ===================================
   Purple Theme - Elegant Violet
   =================================== */
[data-theme="purple"] {
   --color-bg-primary: #1A1128;
   --color-bg-secondary: #1F1533;
   --color-bg-tertiary: #2A1D42;
   --color-bg-sidebar: #130D1E;
   --color-text-primary: #F3E5F5;
   --color-text-secondary: #CE93D8;
   --color-text-tertiary: #9C64A6;
   --color-accent: #AB47BC;
   --color-accent-hover: #8E24AA;
   --color-accent-light: rgba(171, 71, 188, 0.15);
   --color-border: #3D2A52;
}

[data-theme="purple"] body {
   background-color: #130D1E;
}

[data-theme="purple"] .preloader {
   background: linear-gradient(135deg, #1A1128 0%, #130D1E 100%);
}

[data-theme="purple"] .preloader-text {
   color: #F3E5F5;
}

[data-theme="purple"] .preloader-bar {
   background: rgba(171, 71, 188, 0.2);
}

[data-theme="purple"] .preloader-bar::after {
   background: linear-gradient(90deg, #8E24AA, #AB47BC);
}

[data-theme="purple"] .sidebar {
   background: linear-gradient(180deg, #1A1128 0%, #130D1E 100%);
   border-right: 1px solid rgba(171, 71, 188, 0.15);
}

[data-theme="purple"] .profile-title {
   color: #AB47BC;
}

[data-theme="purple"] .nav-link {
   color: #CE93D8;
}

[data-theme="purple"] .nav-link:hover {
   background-color: rgba(171, 71, 188, 0.1);
   color: #AB47BC;
}

[data-theme="purple"] .nav-link.active {
   background-color: rgba(171, 71, 188, 0.15);
   color: #AB47BC;
}

[data-theme="purple"] .nav-link.active::before {
   background: #AB47BC;
}

[data-theme="purple"] .nav-link.active .nav-icon {
   color: #AB47BC;
   filter: drop-shadow(0 0 8px rgba(171, 71, 188, 0.6));
}

[data-theme="purple"] .main-content {
   background: #1A1128;
}

[data-theme="purple"] .main-content-inner {
   background: #1F1533;
}

[data-theme="purple"] .social-link:hover {
   color: #AB47BC;
}

[data-theme="purple"] .social-link:hover svg {
   color: #AB47BC;
   filter: drop-shadow(0 0 8px rgba(171, 71, 188, 0.5));
}

[data-theme="purple"] .stat-card {
   background: linear-gradient(145deg, rgba(42, 29, 66, 0.8) 0%, rgba(26, 17, 40, 0.9) 100%);
   border-color: rgba(171, 71, 188, 0.2);
}

[data-theme="purple"] .stat-card:hover {
   border-color: rgba(171, 71, 188, 0.5);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(171, 71, 188, 0.15);
}

[data-theme="purple"] .stat-icon {
   background: linear-gradient(135deg, rgba(171, 71, 188, 0.15) 0%, rgba(142, 36, 170, 0.1) 100%);
   border-color: rgba(171, 71, 188, 0.3);
}

[data-theme="purple"] .stat-icon svg {
   color: #AB47BC;
}

[data-theme="purple"] .spotify-bar {
   background: linear-gradient(135deg, rgba(171, 71, 188, 0.1) 0%, rgba(26, 17, 40, 0.9) 100%);
   border-color: rgba(171, 71, 188, 0.3);
}

[data-theme="purple"] .skill-card,
[data-theme="purple"] .learning-card,
[data-theme="purple"] .upcoming-card {
   background: rgba(42, 29, 66, 0.5);
   border-color: rgba(171, 71, 188, 0.15);
}

[data-theme="purple"] .skill-card:hover,
[data-theme="purple"] .learning-card:hover,
[data-theme="purple"] .upcoming-card:hover {
   border-color: rgba(171, 71, 188, 0.4);
   background: rgba(42, 29, 66, 0.7);
}

[data-theme="purple"] .project-card,
[data-theme="purple"] .creative-card {
   border-color: rgba(171, 71, 188, 0.15);
}

[data-theme="purple"] .btn-primary,
[data-theme="purple"] .btn-secondary {
   border-color: rgba(171, 71, 188, 0.3);
   color: #F3E5F5;
}

[data-theme="purple"] .btn-primary:hover,
[data-theme="purple"] .btn-secondary:hover {
   background: rgba(171, 71, 188, 0.15);
   border-color: #AB47BC;
}

[data-theme="purple"] .section-cta {
   border-color: rgba(171, 71, 188, 0.3);
   color: #CE93D8;
}

[data-theme="purple"] .section-cta:hover {
   border-color: #AB47BC;
   color: #AB47BC;
}

[data-theme="purple"] .theme-toggle {
   background: rgba(171, 71, 188, 0.1);
   border-color: rgba(171, 71, 188, 0.3);
}

[data-theme="purple"] .theme-toggle:hover {
   background: rgba(171, 71, 188, 0.2);
}

/* ===================================
   Forest Theme - Deep Emerald Green
   =================================== */
[data-theme="forest"] {
   --color-bg-primary: #0D1F17;
   --color-bg-secondary: #112920;
   --color-bg-tertiary: #163528;
   --color-bg-sidebar: #081410;
   --color-text-primary: #E8F5E9;
   --color-text-secondary: #A5D6A7;
   --color-text-tertiary: #66BB6A;
   --color-accent: #4CAF50;
   --color-accent-hover: #388E3C;
   --color-accent-light: rgba(76, 175, 80, 0.15);
   --color-border: #1E4D33;
}

[data-theme="forest"] body {
   background-color: #081410;
}

[data-theme="forest"] .preloader {
   background: linear-gradient(135deg, #0D1F17 0%, #081410 100%);
}

[data-theme="forest"] .preloader-text {
   color: #E8F5E9;
}

[data-theme="forest"] .preloader-bar {
   background: rgba(76, 175, 80, 0.2);
}

[data-theme="forest"] .preloader-bar::after {
   background: linear-gradient(90deg, #2E7D32, #4CAF50);
}

[data-theme="forest"] .sidebar {
   background: linear-gradient(180deg, #0D1F17 0%, #081410 100%);
   border-right: 1px solid rgba(76, 175, 80, 0.15);
}

[data-theme="forest"] .profile-title {
   color: #4CAF50;
}

[data-theme="forest"] .nav-link {
   color: #A5D6A7;
}

[data-theme="forest"] .nav-link:hover {
   background-color: rgba(76, 175, 80, 0.1);
   color: #4CAF50;
}

[data-theme="forest"] .nav-link.active {
   background-color: rgba(76, 175, 80, 0.15);
   color: #4CAF50;
}

[data-theme="forest"] .nav-link.active::before {
   background: #4CAF50;
}

[data-theme="forest"] .nav-link.active .nav-icon {
   color: #4CAF50;
   filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.6));
}

[data-theme="forest"] .main-content {
   background: #0D1F17;
}

[data-theme="forest"] .main-content-inner {
   background: #112920;
}

[data-theme="forest"] .social-link:hover {
   color: #4CAF50;
}

[data-theme="forest"] .social-link:hover svg {
   color: #4CAF50;
   filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.5));
}

[data-theme="forest"] .stat-card {
   background: linear-gradient(145deg, rgba(22, 53, 40, 0.8) 0%, rgba(13, 31, 23, 0.9) 100%);
   border-color: rgba(76, 175, 80, 0.2);
}

[data-theme="forest"] .stat-card:hover {
   border-color: rgba(76, 175, 80, 0.5);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(76, 175, 80, 0.15);
}

[data-theme="forest"] .stat-icon {
   background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(46, 125, 50, 0.1) 100%);
   border-color: rgba(76, 175, 80, 0.3);
}

[data-theme="forest"] .stat-icon svg {
   color: #4CAF50;
}

[data-theme="forest"] .spotify-bar {
   background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(13, 31, 23, 0.9) 100%);
   border-color: rgba(76, 175, 80, 0.3);
}

[data-theme="forest"] .skill-card,
[data-theme="forest"] .learning-card,
[data-theme="forest"] .upcoming-card {
   background: rgba(22, 53, 40, 0.5);
   border-color: rgba(76, 175, 80, 0.15);
}

[data-theme="forest"] .skill-card:hover,
[data-theme="forest"] .learning-card:hover,
[data-theme="forest"] .upcoming-card:hover {
   border-color: rgba(76, 175, 80, 0.4);
   background: rgba(22, 53, 40, 0.7);
}

[data-theme="forest"] .project-card,
[data-theme="forest"] .creative-card {
   border-color: rgba(76, 175, 80, 0.15);
}

[data-theme="forest"] .btn-primary,
[data-theme="forest"] .btn-secondary {
   border-color: rgba(76, 175, 80, 0.3);
   color: #E8F5E9;
}

[data-theme="forest"] .btn-primary:hover,
[data-theme="forest"] .btn-secondary:hover {
   background: rgba(76, 175, 80, 0.15);
   border-color: #4CAF50;
}

[data-theme="forest"] .section-cta {
   border-color: rgba(76, 175, 80, 0.3);
   color: #A5D6A7;
}

[data-theme="forest"] .section-cta:hover {
   border-color: #4CAF50;
   color: #4CAF50;
}

[data-theme="forest"] .theme-toggle {
   background: rgba(76, 175, 80, 0.1);
   border-color: rgba(76, 175, 80, 0.3);
}

[data-theme="forest"] .theme-toggle:hover {
   background: rgba(76, 175, 80, 0.2);
}

/* ===================================
   Rose Theme - Warm Pink Tones
   =================================== */
[data-theme="rose"] {
   --color-bg-primary: #1F1419;
   --color-bg-secondary: #2A1820;
   --color-bg-tertiary: #381D28;
   --color-bg-sidebar: #150E12;
   --color-text-primary: #FCE4EC;
   --color-text-secondary: #F48FB1;
   --color-text-tertiary: #C2607B;
   --color-accent: #E91E63;
   --color-accent-hover: #C2185B;
   --color-accent-light: rgba(233, 30, 99, 0.15);
   --color-border: #4A2332;
}

[data-theme="rose"] body {
   background-color: #150E12;
}

[data-theme="rose"] .preloader {
   background: linear-gradient(135deg, #1F1419 0%, #150E12 100%);
}

[data-theme="rose"] .preloader-text {
   color: #FCE4EC;
}

[data-theme="rose"] .preloader-bar {
   background: rgba(233, 30, 99, 0.2);
}

[data-theme="rose"] .preloader-bar::after {
   background: linear-gradient(90deg, #C2185B, #E91E63);
}

[data-theme="rose"] .sidebar {
   background: linear-gradient(180deg, #1F1419 0%, #150E12 100%);
   border-right: 1px solid rgba(233, 30, 99, 0.15);
}

[data-theme="rose"] .profile-title {
   color: #E91E63;
}

[data-theme="rose"] .nav-link {
   color: #F48FB1;
}

[data-theme="rose"] .nav-link:hover {
   background-color: rgba(233, 30, 99, 0.1);
   color: #E91E63;
}

[data-theme="rose"] .nav-link.active {
   background-color: rgba(233, 30, 99, 0.15);
   color: #E91E63;
}

[data-theme="rose"] .nav-link.active::before {
   background: #E91E63;
}

[data-theme="rose"] .nav-link.active .nav-icon {
   color: #E91E63;
   filter: drop-shadow(0 0 8px rgba(233, 30, 99, 0.6));
}

[data-theme="rose"] .main-content {
   background: #1F1419;
}

[data-theme="rose"] .main-content-inner {
   background: #2A1820;
}

[data-theme="rose"] .social-link:hover {
   color: #E91E63;
}

[data-theme="rose"] .social-link:hover svg {
   color: #E91E63;
   filter: drop-shadow(0 0 8px rgba(233, 30, 99, 0.5));
}

[data-theme="rose"] .stat-card {
   background: linear-gradient(145deg, rgba(56, 29, 40, 0.8) 0%, rgba(31, 20, 25, 0.9) 100%);
   border-color: rgba(233, 30, 99, 0.2);
}

[data-theme="rose"] .stat-card:hover {
   border-color: rgba(233, 30, 99, 0.5);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(233, 30, 99, 0.15);
}

[data-theme="rose"] .stat-icon {
   background: linear-gradient(135deg, rgba(233, 30, 99, 0.15) 0%, rgba(194, 24, 91, 0.1) 100%);
   border-color: rgba(233, 30, 99, 0.3);
}

[data-theme="rose"] .stat-icon svg {
   color: #E91E63;
}

[data-theme="rose"] .spotify-bar {
   background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(31, 20, 25, 0.9) 100%);
   border-color: rgba(233, 30, 99, 0.3);
}

[data-theme="rose"] .skill-card,
[data-theme="rose"] .learning-card,
[data-theme="rose"] .upcoming-card {
   background: rgba(56, 29, 40, 0.5);
   border-color: rgba(233, 30, 99, 0.15);
}

[data-theme="rose"] .skill-card:hover,
[data-theme="rose"] .learning-card:hover,
[data-theme="rose"] .upcoming-card:hover {
   border-color: rgba(233, 30, 99, 0.4);
   background: rgba(56, 29, 40, 0.7);
}

[data-theme="rose"] .project-card,
[data-theme="rose"] .creative-card {
   border-color: rgba(233, 30, 99, 0.15);
}

[data-theme="rose"] .btn-primary,
[data-theme="rose"] .btn-secondary {
   border-color: rgba(233, 30, 99, 0.3);
   color: #FCE4EC;
}

[data-theme="rose"] .btn-primary:hover,
[data-theme="rose"] .btn-secondary:hover {
   background: rgba(233, 30, 99, 0.15);
   border-color: #E91E63;
}

[data-theme="rose"] .section-cta {
   border-color: rgba(233, 30, 99, 0.3);
   color: #F48FB1;
}

[data-theme="rose"] .section-cta:hover {
   border-color: #E91E63;
   color: #E91E63;
}

[data-theme="rose"] .theme-toggle {
   background: rgba(233, 30, 99, 0.1);
   border-color: rgba(233, 30, 99, 0.3);
}

[data-theme="rose"] .theme-toggle:hover {
   background: rgba(233, 30, 99, 0.2);
}

/* ===================================
   Smooth Transition Animations
   =================================== */

/* Page Load Fade-In Animation */
@keyframes fadeInUp {
   from {
      opacity: 0;
      transform: translateY(40px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

/* View Transition API Customization */
::view-transition-old(root) {
   animation: 0.4s cubic-bezier(0.22, 1, 0.36, 1) both fade-out;
}

::view-transition-new(root) {
   animation: 0.6s cubic-bezier(0.22, 1, 0.36, 1) both fade-in;
}

@keyframes fade-in {
   from {
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

@keyframes fade-out {
   from {
      opacity: 1;
   }

   to {
      opacity: 0;
   }
}

/* Global Transition Fallback for Theme Switching */
html.theme-transitioning,
html.theme-transitioning * {
   transition: background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      fill 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      stroke 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

@keyframes fadeInDown {
   from {
      opacity: 0;
      transform: translateY(-30px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

@keyframes fadeInLeft {
   from {
      opacity: 0;
      transform: translateX(-40px);
   }

   to {
      opacity: 1;
      transform: translateX(0);
   }
}

@keyframes fadeInRight {
   from {
      opacity: 0;
      transform: translateX(40px);
   }

   to {
      opacity: 1;
      transform: translateX(0);
   }
}

@keyframes fadeIn {
   from {
      opacity: 0;
   }

   to {
      opacity: 1;
   }
}

@keyframes scaleIn {
   from {
      opacity: 0;
      transform: scale(0.9);
   }

   to {
      opacity: 1;
      transform: scale(1);
   }
}

@keyframes slideInFromBottom {
   0% {
      opacity: 0;
      transform: translateY(60px) scale(0.95);
   }

   100% {
      opacity: 1;
      transform: translateY(0) scale(1);
   }
}

@keyframes softBounce {
   0% {
      transform: translateY(0);
   }

   50% {
      transform: translateY(-8px);
   }

   100% {
      transform: translateY(0);
   }
}

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

   100% {
      background-position: 200% 0;
   }
}

@keyframes glowPulse {

   0%,
   100% {
      box-shadow: 0 0 5px rgba(29, 185, 84, 0.2);
   }

   50% {
      box-shadow: 0 0 20px rgba(29, 185, 84, 0.4), 0 0 40px rgba(29, 185, 84, 0.2);
   }
}

/* Page load animations for main elements (Desktop only) */
@media (min-width: 769px) {
   .sidebar {
      animation: fadeInLeft 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
   }
}

.main-content-inner {
   animation: fadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

/* Hero section staggered animations */
.hero-content {
   animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-subtitle,
.hero-role {
   animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-title {
   animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.hero-description {
   animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero-image {
   animation: scaleIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

/* Scroll reveal animation classes */
.reveal {
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-left {
   opacity: 0;
   transform: translateX(-40px);
   transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.revealed {
   opacity: 1;
   transform: translateX(0);
}

.reveal-right {
   opacity: 0;
   transform: translateX(40px);
   transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.revealed {
   opacity: 1;
   transform: translateX(0);
}

.reveal-scale {
   opacity: 0;
   transform: scale(0.9);
   transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.revealed {
   opacity: 1;
   transform: scale(1);
}

/* Staggered animation delays for children */
.stagger-children>*:nth-child(1) {
   transition-delay: 0.05s;
}

.stagger-children>*:nth-child(2) {
   transition-delay: 0.1s;
}

.stagger-children>*:nth-child(3) {
   transition-delay: 0.15s;
}

.stagger-children>*:nth-child(4) {
   transition-delay: 0.2s;
}

.stagger-children>*:nth-child(5) {
   transition-delay: 0.25s;
}

.stagger-children>*:nth-child(6) {
   transition-delay: 0.3s;
}

.stagger-children>*:nth-child(7) {
   transition-delay: 0.35s;
}

.stagger-children>*:nth-child(8) {
   transition-delay: 0.4s;
}

/* Enhanced smooth hover transitions */
.project-card,
.creative-card,
.skill-card,
.learning-card,
.upcoming-card {
   transition: transform var(--transition-base),
      box-shadow var(--transition-base),
      border-color var(--transition-base),
      background var(--transition-base);
}

/* Smooth button transitions */
.btn-primary,
.btn-secondary,
.section-cta,
.nav-link {
   transition: all var(--transition-base);
}

/* Enhanced nav link hover underline animation */
.nav-link::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: var(--spacing-md);
   right: var(--spacing-md);
   height: 2px;
   background: linear-gradient(90deg, #1DB954, #00D9FF);
   transform: scaleX(0);
   transform-origin: right;
   transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
   border-radius: 2px;
}

.nav-link:hover::after {
   transform: scaleX(1);
   transform-origin: left;
}

.nav-link.active::after {
   transform: scaleX(0);
}

/* Smooth profile image hover */
.profile-image {
   transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-image:hover {
   transform: scale(1.05);
   box-shadow: 0 0 20px rgba(29, 185, 84, 0.3);
}

/* Smooth section header animation */
.section-header {
   animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section-icon {
   transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-header:hover .section-icon {
   transform: rotate(-5deg) scale(1.05);
   background-color: rgba(29, 185, 84, 0.15);
}

/* Skills grid entrance animation */
.skills-grid {
   animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

.skill-card {
   animation: slideInFromBottom 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.skills-grid .skill-card:nth-child(1) {
   animation-delay: 0.1s;
}

.skills-grid .skill-card:nth-child(2) {
   animation-delay: 0.15s;
}

.skills-grid .skill-card:nth-child(3) {
   animation-delay: 0.2s;
}

.skills-grid .skill-card:nth-child(4) {
   animation-delay: 0.25s;
}

.skills-grid .skill-card:nth-child(5) {
   animation-delay: 0.3s;
}

.skills-grid .skill-card:nth-child(6) {
   animation-delay: 0.35s;
}

.skills-grid .skill-card:nth-child(7) {
   animation-delay: 0.4s;
}

/* Smooth icon hover scale */
.skill-icon,
.card-icon,
.social-link svg,
.nav-icon svg {
   transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Learning and projects row animation */
.learning-projects-row {
   animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.learning-card,
.upcoming-card {
   animation: fadeInLeft 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.learning-cards .learning-card:nth-child(1) {
   animation-delay: 0.1s;
}

.learning-cards .learning-card:nth-child(2) {
   animation-delay: 0.15s;
}

.learning-cards .learning-card:nth-child(3) {
   animation-delay: 0.2s;
}

.learning-cards .learning-card:nth-child(4) {
   animation-delay: 0.25s;
}

.upcoming-cards .upcoming-card:nth-child(1) {
   animation-delay: 0.15s;
}

.upcoming-cards .upcoming-card:nth-child(2) {
   animation-delay: 0.2s;
}

.upcoming-cards .upcoming-card:nth-child(3) {
   animation-delay: 0.25s;
}

.upcoming-cards .upcoming-card:nth-child(4) {
   animation-delay: 0.3s;
}

/* Spotify bar smooth animation */
.spotify-bar {
   animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.spotify-bar:hover {
   transform: translateY(-2px);
}

/* Story section animation */
.story-section {
   animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.story-image {
   transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-image:hover {
   transform: scale(1.03) rotate(-1deg);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Projects grid animation */
.projects-grid {
   animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.project-card-wrapper {
   animation: slideInFromBottom 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.projects-grid .project-card-wrapper:nth-child(1) {
   animation-delay: 0.1s;
}

.projects-grid .project-card-wrapper:nth-child(2) {
   animation-delay: 0.2s;
}

.projects-grid .project-card-wrapper:nth-child(3) {
   animation-delay: 0.3s;
}

.projects-grid .project-card-wrapper:nth-child(4) {
   animation-delay: 0.4s;
}

/* Creative grid animation */
.creative-grid {
   animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.creative-card-wrapper {
   animation: scaleIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.creative-grid .creative-card-wrapper:nth-child(1) {
   animation-delay: 0.1s;
}

.creative-grid .creative-card-wrapper:nth-child(2) {
   animation-delay: 0.15s;
}

.creative-grid .creative-card-wrapper:nth-child(3) {
   animation-delay: 0.2s;
}

.creative-grid .creative-card-wrapper:nth-child(4) {
   animation-delay: 0.25s;
}

.creative-grid .creative-card-wrapper:nth-child(5) {
   animation-delay: 0.3s;
}

.creative-grid .creative-card-wrapper:nth-child(6) {
   animation-delay: 0.35s;
}

/* Enhanced project card image zoom */
.project-card .project-image img {
   transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-image img {
   transform: scale(1.1);
}

/* Creative card smooth zoom */
.creative-card img {
   transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.creative-card:hover img {
   transform: scale(1.06);
}

/* ME.TXT section smoothing */
.metxt-container {
   animation: fadeInRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.metxt-card {
   transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Stats section animation */
.stats-grid {
   animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.stat-card {
   animation: slideInFromBottom 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
   transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.stats-grid .stat-card:nth-child(1) {
   animation-delay: 0.1s;
}

.stats-grid .stat-card:nth-child(2) {
   animation-delay: 0.2s;
}

.stats-grid .stat-card:nth-child(3) {
   animation-delay: 0.3s;
}

.stat-card:hover {
   transform: translateY(-6px);
}

/* GitHub section animation */
.github-section {
   animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.github-card {
   transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.github-card:hover {
   transform: translateY(-3px);
}

/* Smooth link hover effects */
a {
   transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Image loading smooth fade-in */
img {
   transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

img[loading="lazy"] {
   opacity: 0;
}

img[loading="lazy"].loaded,
img:not([loading="lazy"]) {
   opacity: 1;
}

/* Theme toggle smooth animation */
.theme-toggle {
   transition: all var(--transition-base);
}

.theme-toggle:hover {
   transform: translateY(-2px) scale(1.02);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

   *,
   *::before,
   *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
   }

   .reveal,
   .reveal-left,
   .reveal-right,
   .reveal-scale {
      opacity: 1;
      transform: none;
   }
}

/* ===================================
   CREATIVE ENHANCEMENT: Scroll Progress Indicator
   =================================== */
.scroll-progress-container {
   display: none;
   /* Hidden - scroll indicator removed */
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 4px;
   background: rgba(255, 255, 255, 0.1);
   z-index: 9999;
   backdrop-filter: blur(5px);
}

.scroll-progress-bar {
   height: 100%;
   width: 0%;
   background: linear-gradient(90deg, #1DB954, #00D9FF, #9D4EDD, #FF6B35);
   background-size: 300% 100%;
   animation: scrollGradient 3s linear infinite;
   transition: width 0.1s ease-out;
   box-shadow: 0 0 10px rgba(29, 185, 84, 0.5), 0 0 20px rgba(0, 217, 255, 0.3);
}

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

   50% {
      background-position: 100% 50%;
   }

   100% {
      background-position: 0% 50%;
   }
}

/* ===================================
   CREATIVE ENHANCEMENT: Floating Orbs Background
   =================================== */
.interactive-grid-canvas {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   pointer-events: none;
   z-index: -1;
   opacity: 0.8;
}

/* ===================================
   CREATIVE ENHANCEMENT: Inspirational Quotes Marquee
   =================================== */
.quotes-marquee {
   position: fixed;
   bottom: 0;
   left: 0;
   width: 100%;
   background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.95) 100%);
   padding: 12px 0;
   overflow: hidden;
   z-index: 50;
   border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quotes-track {
   display: flex;
   gap: 80px;
   animation: marqueeScroll 60s linear infinite;
   white-space: nowrap;
}

.quote-item {
   font-size: 0.875rem;
   color: var(--color-text-tertiary);
   font-style: italic;
   opacity: 0.7;
   transition: opacity 0.3s ease, color 0.3s ease;
}

.quote-item:hover {
   opacity: 1;
   color: var(--color-text-primary);
}

@keyframes marqueeScroll {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

.quotes-marquee:hover .quotes-track {
   animation-play-state: paused;
}

/* ===================================
   CREATIVE ENHANCEMENT: Easter Egg Confetti
   =================================== */
.easter-egg-container {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   pointer-events: none;
   z-index: 10000;
   overflow: hidden;
}

.confetti {
   position: absolute;
   width: 10px;
   height: 10px;
   border-radius: 2px;
   animation: confettiFall 4s ease-out forwards;
}

@keyframes confettiFall {
   0% {
      transform: translateY(-100vh) rotate(0deg);
      opacity: 1;
   }

   100% {
      transform: translateY(100vh) rotate(720deg);
      opacity: 0;
   }
}

.easter-egg-message {
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   background: linear-gradient(135deg, rgba(29, 185, 84, 0.95), rgba(157, 78, 221, 0.95));
   padding: 30px 50px;
   border-radius: 20px;
   text-align: center;
   z-index: 10001;
   animation: easterEggPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.easter-egg-message h2 {
   font-size: 2rem;
   color: white;
   margin-bottom: 10px;
}

.easter-egg-message p {
   font-size: 1rem;
   color: rgba(255, 255, 255, 0.9);
}

@keyframes easterEggPop {
   0% {
      transform: translate(-50%, -50%) scale(0);
      opacity: 0;
   }

   100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
   }
}

/* ===================================
   CREATIVE ENHANCEMENT: Glassmorphism Modal
   =================================== */
.glass-modal-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.6);
   backdrop-filter: blur(10px);
   -webkit-backdrop-filter: blur(10px);
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 9998;
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.4s ease, visibility 0.4s ease;
}

.glass-modal-overlay.active {
   opacity: 1;
   visibility: visible;
}

.glass-modal-content {
   background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
   backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
   border: 1px solid rgba(255, 255, 255, 0.2);
   border-radius: 24px;
   padding: 0;
   max-width: 600px;
   width: 90%;
   max-height: 80vh;
   overflow: hidden;
   transform: scale(0.9) translateY(20px);
   transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   box-shadow:
      0 25px 50px rgba(0, 0, 0, 0.3),
      inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

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

.glass-modal-close {
   position: absolute;
   top: 16px;
   right: 16px;
   width: 40px;
   height: 40px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.1);
   border: 1px solid rgba(255, 255, 255, 0.2);
   color: white;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition: all 0.3s ease;
   z-index: 10;
}

.glass-modal-close:hover {
   background: rgba(255, 255, 255, 0.2);
   transform: rotate(90deg);
}

.glass-modal-image {
   width: 100%;
   height: 250px;
   background-size: cover;
   background-position: center;
   position: relative;
}

.glass-modal-image::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   height: 80px;
   background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

.glass-modal-info {
   padding: 24px;
}

.glass-modal-title {
   font-size: 1.5rem;
   font-weight: 600;
   color: white;
   margin-bottom: 12px;
}

.glass-modal-description {
   font-size: 0.95rem;
   color: rgba(255, 255, 255, 0.8);
   line-height: 1.6;
   margin-bottom: 20px;
}

.glass-modal-tags {
   display: flex;
   gap: 8px;
   flex-wrap: wrap;
}

.glass-modal-tag {
   padding: 6px 14px;
   background: rgba(29, 185, 84, 0.2);
   border: 1px solid rgba(29, 185, 84, 0.4);
   border-radius: 20px;
   font-size: 0.75rem;
   color: var(--color-spotify-green);
   font-weight: 500;
}

/* ===================================
   CREATIVE ENHANCEMENT: Audio Visualizer Ring
   =================================== */
.spotify-bar .spotify-cover {
   position: relative;
}

.audio-visualizer-ring {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 80px;
   height: 80px;
   pointer-events: none;
}

.audio-bar {
   position: absolute;
   width: 3px;
   background: linear-gradient(180deg, #1DB954, #00D9FF);
   border-radius: 2px;
   transform-origin: center bottom;
   opacity: 0;
   transition: opacity 0.3s ease;
}

.spotify-bar.playing .audio-bar {
   opacity: 1;
   animation: audioPulse 0.5s ease-in-out infinite alternate;
}

@keyframes audioPulse {
   0% {
      transform: scaleY(0.3);
   }

   100% {
      transform: scaleY(1);
   }
}

/* Position bars in a circle */
.audio-bar:nth-child(1) {
   top: 0;
   left: 50%;
   transform: translateX(-50%) rotate(0deg);
   animation-delay: 0s;
}

.audio-bar:nth-child(2) {
   top: 10%;
   right: 10%;
   transform: rotate(45deg);
   animation-delay: 0.1s;
}

.audio-bar:nth-child(3) {
   top: 50%;
   right: 0;
   transform: translateY(-50%) rotate(90deg);
   animation-delay: 0.2s;
}

.audio-bar:nth-child(4) {
   bottom: 10%;
   right: 10%;
   transform: rotate(135deg);
   animation-delay: 0.3s;
}

.audio-bar:nth-child(5) {
   bottom: 0;
   left: 50%;
   transform: translateX(-50%) rotate(180deg);
   animation-delay: 0.4s;
}

.audio-bar:nth-child(6) {
   bottom: 10%;
   left: 10%;
   transform: rotate(225deg);
   animation-delay: 0.5s;
}

.audio-bar:nth-child(7) {
   top: 50%;
   left: 0;
   transform: translateY(-50%) rotate(270deg);
   animation-delay: 0.6s;
}

.audio-bar:nth-child(8) {
   top: 10%;
   left: 10%;
   transform: rotate(315deg);
   animation-delay: 0.7s;
}

/* ===================================
   CREATIVE ENHANCEMENT: Enhanced Theme Toggle with Sky Animation
   =================================== */
.theme-toggle-wrapper {
   position: relative;
}

.theme-sky {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border-radius: var(--radius-lg);
   overflow: hidden;
   pointer-events: none;
   z-index: 0;
}

.sky-star {
   position: absolute;
   width: 2px;
   height: 2px;
   background: white;
   border-radius: 50%;
   opacity: 0;
   transition: opacity 0.5s ease;
}

[data-theme="dark"] .sky-star {
   opacity: 0.5;
   animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {

   0%,
   100% {
      opacity: 0.3;
      transform: scale(1);
   }

   50% {
      opacity: 1;
      transform: scale(1.5);
   }
}

.theme-toggle-orb {
   position: absolute;
   width: 20px;
   height: 20px;
   border-radius: 50%;
   transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
   z-index: 1;
}

/* Sun orb for light themes */
[data-theme="light"] .theme-toggle-orb {
   background: linear-gradient(135deg, #FFD700, #FFA500);
   box-shadow:
      0 0 20px rgba(255, 215, 0, 0.6),
      0 0 40px rgba(255, 165, 0, 0.4);
   transform: translateX(100%) scale(1);
}

/* Moon orb for dark themes */
[data-theme="dark"] .theme-toggle-orb {
   background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
   box-shadow:
      0 0 10px rgba(255, 255, 255, 0.4),
      0 0 20px rgba(200, 200, 200, 0.2);
   transform: translateX(0) scale(1);
}

/* Mobile adjustments for new features */
@media (max-width: 768px) {
   .quotes-marquee {
      padding: 8px 0;
   }

   .quote-item {
      font-size: 0.75rem;
   }

   .scroll-progress-container {
      height: 3px;
   }

   .glass-modal-content {
      width: 95%;
      max-height: 85vh;
   }

   .glass-modal-image {
      height: 180px;
   }

   .audio-visualizer-ring {
      width: 60px;
      height: 60px;
   }
}

/* ===================================
   ADVANCED ENHANCEMENT: Cursor Trail Effect
   =================================== */
.cursor-trail {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   pointer-events: none;
   z-index: 9997;
}

.cursor-dot {
   position: absolute;
   width: 12px;
   height: 12px;
   border-radius: 50%;
   background: radial-gradient(circle, rgba(29, 185, 84, 0.8), transparent);
   pointer-events: none;
   transform: translate(-50%, -50%);
   transition: opacity 0.3s ease;
}

.cursor-dot.fading {
   animation: cursorFade 0.5s ease-out forwards;
}

@keyframes cursorFade {
   to {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.5);
   }
}

/* ===================================
   ADVANCED ENHANCEMENT: Noise Texture Overlay
   =================================== */
.noise-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   pointer-events: none;
   z-index: 9996;
   opacity: 0.03;
   background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
   background-repeat: repeat;
   animation: noiseMove 0.5s steps(5) infinite;
}

@keyframes noiseMove {
   0% {
      transform: translate(0, 0);
   }

   10% {
      transform: translate(-2%, -2%);
   }

   20% {
      transform: translate(2%, 2%);
   }

   30% {
      transform: translate(-1%, 1%);
   }

   40% {
      transform: translate(1%, -1%);
   }

   50% {
      transform: translate(-2%, 1%);
   }

   60% {
      transform: translate(2%, -1%);
   }

   70% {
      transform: translate(0, 2%);
   }

   80% {
      transform: translate(-1%, -2%);
   }

   90% {
      transform: translate(1%, 1%);
   }

   100% {
      transform: translate(0, 0);
   }
}

/* ===================================
   ADVANCED ENHANCEMENT: Morphing Blob Background
   =================================== */
.blob-container {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   pointer-events: none;
   z-index: -2;
   overflow: hidden;
   opacity: 0.3;
}

.blob {
   position: absolute;
   border-radius: 50%;
   filter: blur(80px);
   animation: blobMorph 20s ease-in-out infinite;
}

.blob-1 {
   width: 500px;
   height: 500px;
   background: linear-gradient(135deg, rgba(29, 185, 84, 0.4), rgba(0, 217, 255, 0.2));
   top: -10%;
   left: -10%;
   animation-delay: 0s;
}

.blob-2 {
   width: 400px;
   height: 400px;
   background: linear-gradient(135deg, rgba(157, 78, 221, 0.3), rgba(255, 107, 53, 0.2));
   bottom: -5%;
   right: -5%;
   animation-delay: -7s;
}

.blob-3 {
   width: 350px;
   height: 350px;
   background: linear-gradient(135deg, rgba(0, 217, 255, 0.3), rgba(29, 185, 84, 0.2));
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   animation-delay: -14s;
}

@keyframes blobMorph {

   0%,
   100% {
      transform: translate(0, 0) scale(1) rotate(0deg);
      border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
   }

   25% {
      transform: translate(30px, -50px) scale(1.1) rotate(90deg);
      border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
   }

   50% {
      transform: translate(-20px, 20px) scale(0.9) rotate(180deg);
      border-radius: 50% 60% 40% 60% / 40% 50% 60% 50%;
   }

   75% {
      transform: translate(50px, 30px) scale(1.05) rotate(270deg);
      border-radius: 40% 50% 60% 50% / 60% 40% 50% 60%;
   }
}

/* ===================================
   ADVANCED ENHANCEMENT: Page Transition Overlay
   =================================== */
.page-transition-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
   z-index: 99999;
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.4s ease;
}

.page-transition-overlay.active {
   opacity: 1;
   pointer-events: all;
}

.transition-loader {
   width: 50px;
   height: 50px;
   border: 3px solid rgba(29, 185, 84, 0.2);
   border-top-color: var(--color-spotify-green);
   border-radius: 50%;
   animation: spin 0.8s linear infinite;
}

@keyframes spin {
   to {
      transform: rotate(360deg);
   }
}

/* ===================================
   ADVANCED ENHANCEMENT: Code Terminal Widget
   =================================== */
.code-terminal {
   position: fixed;
   bottom: 80px;
   right: 20px;
   width: 350px;
   max-width: 90vw;
   background: #1e1e1e;
   border-radius: 12px;
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
   overflow: hidden;
   z-index: 100;
   transform: translateY(20px);
   opacity: 0;
   transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.code-terminal.visible {
   transform: translateY(0);
   opacity: 1;
}

.terminal-header {
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 12px 16px;
   background: #2d2d2d;
   border-bottom: 1px solid #3d3d3d;
}

.terminal-dot {
   width: 12px;
   height: 12px;
   border-radius: 50%;
}

.terminal-dot.red {
   background: #ff5f56;
}

.terminal-dot.yellow {
   background: #ffbd2e;
}

.terminal-dot.green {
   background: #27ca40;
}

.terminal-title {
   font-size: 0.75rem;
   color: #888;
   font-family: monospace;
   margin-left: auto;
}

.terminal-body {
   padding: 16px;
   font-family: 'JetBrains Mono', 'Fira Code', monospace;
   font-size: 0.8rem;
   line-height: 1.6;
   color: #d4d4d4;
   min-height: 150px;
   max-height: 250px;
   overflow-y: auto;
}

.terminal-code {
   margin: 0;
   white-space: pre-wrap;
}

.terminal-cursor {
   animation: terminalBlink 1s step-end infinite;
   color: var(--color-spotify-green);
}

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

/* Syntax highlighting */
.terminal-code .keyword {
   color: #c586c0;
}

.terminal-code .function {
   color: #dcdcaa;
}

.terminal-code .string {
   color: #ce9178;
}

.terminal-code .number {
   color: #b5cea8;
}

.terminal-code .comment {
   color: #6a9955;
}

.terminal-code .variable {
   color: #9cdcfe;
}

/* ===================================
   ADVANCED ENHANCEMENT: Typing Game Modal
   =================================== */
.typing-game-modal {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.8);
   backdrop-filter: blur(10px);
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 9999;
   opacity: 0;
   visibility: hidden;
   transition: all 0.4s ease;
}

.typing-game-modal.active {
   opacity: 1;
   visibility: visible;
}

.typing-game-content {
   background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
   backdrop-filter: blur(20px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 24px;
   padding: 40px;
   max-width: 600px;
   width: 90%;
   text-align: center;
   position: relative;
}

.typing-game-close {
   position: absolute;
   top: 16px;
   right: 16px;
   background: rgba(255, 255, 255, 0.1);
   border: none;
   color: white;
   width: 36px;
   height: 36px;
   border-radius: 50%;
   cursor: pointer;
   font-size: 1.2rem;
   transition: all 0.3s ease;
}

.typing-game-close:hover {
   background: rgba(255, 255, 255, 0.2);
   transform: rotate(90deg);
}

.typing-game-title {
   font-size: 1.5rem;
   color: white;
   margin-bottom: 20px;
}

.typing-game-stats {
   display: flex;
   justify-content: center;
   gap: 30px;
   margin-bottom: 25px;
}

.typing-game-stats span {
   background: rgba(29, 185, 84, 0.2);
   padding: 8px 16px;
   border-radius: 20px;
   color: var(--color-spotify-green);
   font-size: 0.9rem;
   font-weight: 600;
}

.typing-display {
   background: rgba(0, 0, 0, 0.3);
   padding: 20px;
   border-radius: 12px;
   margin-bottom: 20px;
   min-height: 80px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.typing-target {
   font-size: 1.2rem;
   color: rgba(255, 255, 255, 0.8);
   font-family: monospace;
   letter-spacing: 1px;
}

.typing-target .correct {
   color: var(--color-spotify-green);
}

.typing-target .incorrect {
   color: #ff5f56;
   text-decoration: underline;
}

.typing-target .current {
   background: rgba(29, 185, 84, 0.3);
   border-radius: 2px;
}

.typing-input {
   width: 100%;
   padding: 16px;
   background: rgba(255, 255, 255, 0.1);
   border: 2px solid rgba(255, 255, 255, 0.2);
   border-radius: 12px;
   color: white;
   font-size: 1.1rem;
   font-family: monospace;
   margin-bottom: 20px;
   outline: none;
   transition: all 0.3s ease;
}

.typing-input:focus {
   border-color: var(--color-spotify-green);
   box-shadow: 0 0 20px rgba(29, 185, 84, 0.2);
}

.typing-start-btn {
   background: linear-gradient(135deg, #1DB954, #1ed760);
   color: black;
   border: none;
   padding: 14px 40px;
   border-radius: 999px;
   font-size: 1rem;
   font-weight: 600;
   cursor: pointer;
   transition: all 0.3s ease;
}

.typing-start-btn:hover {
   transform: translateY(-3px);
   box-shadow: 0 10px 30px rgba(29, 185, 84, 0.4);
}

/* ===================================
   ADVANCED ENHANCEMENT: Achievements Panel
   =================================== */
.achievements-panel {
   position: fixed;
   top: 20px;
   right: 20px;
   z-index: 9000;
}

.achievements-toggle {
   display: flex;
   align-items: center;
   gap: 8px;
   background: rgba(255, 255, 255, 0.1);
   backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.2);
   padding: 10px 16px;
   border-radius: 999px;
   color: white;
   cursor: pointer;
   transition: all 0.3s ease;
}

.achievements-toggle:hover {
   background: rgba(255, 255, 255, 0.15);
   transform: scale(1.05);
}

.achievement-count {
   background: var(--color-spotify-green);
   color: black;
   width: 24px;
   height: 24px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 0.75rem;
   font-weight: 700;
}

.achievements-dropdown {
   position: absolute;
   top: 100%;
   right: 0;
   margin-top: 10px;
   width: 300px;
   max-height: 400px;
   overflow-y: auto;
   background: rgba(30, 30, 30, 0.95);
   backdrop-filter: blur(20px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 16px;
   padding: 20px;
   opacity: 0;
   visibility: hidden;
   transform: translateY(-10px);
   transition: all 0.3s ease;
}

.achievements-panel.open .achievements-dropdown {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}

.achievements-dropdown h3 {
   font-size: 1rem;
   color: white;
   margin-bottom: 15px;
   padding-bottom: 10px;
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.achievement-item {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 12px;
   border-radius: 10px;
   margin-bottom: 8px;
   background: rgba(255, 255, 255, 0.05);
   transition: all 0.3s ease;
}

.achievement-item.locked {
   opacity: 0.5;
   filter: grayscale(1);
}

.achievement-item.unlocked {
   background: rgba(29, 185, 84, 0.1);
   border: 1px solid rgba(29, 185, 84, 0.3);
}

.achievement-icon {
   font-size: 1.5rem;
}

.achievement-info {
   flex: 1;
}

.achievement-name {
   font-size: 0.85rem;
   font-weight: 600;
   color: white;
   margin-bottom: 2px;
}

.achievement-desc {
   font-size: 0.75rem;
   color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   ADVANCED ENHANCEMENT: Sound Toggle
   =================================== */
.sound-toggle {
   position: fixed;
   bottom: 80px;
   left: 20px;
   width: 50px;
   height: 50px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.1);
   backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.2);
   color: white;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.3s ease;
   z-index: 100;
}

.sound-toggle:hover {
   background: rgba(29, 185, 84, 0.2);
   border-color: rgba(29, 185, 84, 0.4);
   transform: scale(1.1);
}

.sound-toggle.muted {
   opacity: 0.5;
}

/* ===================================
   ADVANCED ENHANCEMENT: Skills Radar Chart
   =================================== */
.radar-chart-container {
   position: fixed;
   bottom: 150px;
   right: 20px;
   width: 200px;
   height: 200px;
   background: rgba(30, 30, 30, 0.8);
   backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: 16px;
   padding: 10px;
   z-index: 90;
   opacity: 0;
   transform: translateX(20px);
   transition: all 0.5s ease;
}

.radar-chart-container.visible {
   opacity: 1;
   transform: translateX(0);
}

#skills-radar {
   width: 100%;
   height: 100%;
}

/* ===================================
   ADVANCED ENHANCEMENT: Achievement Toast
   =================================== */
.achievement-toast {
   position: fixed;
   top: 80px;
   right: 20px;
   display: flex;
   align-items: center;
   gap: 15px;
   padding: 16px 24px;
   background: linear-gradient(135deg, rgba(29, 185, 84, 0.9), rgba(0, 217, 255, 0.9));
   border-radius: 16px;
   box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
   z-index: 10000;
   transform: translateX(400px);
   transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.achievement-toast.show {
   transform: translateX(0);
}

.toast-icon {
   font-size: 2rem;
}

.toast-content {
   display: flex;
   flex-direction: column;
}

.toast-title {
   font-weight: 700;
   color: white;
   font-size: 0.9rem;
}

.toast-desc {
   font-size: 0.8rem;
   color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   ADVANCED ENHANCEMENT: Secret Page Hint
   =================================== */
.secret-hint {
   position: fixed;
   bottom: 50px;
   left: 50%;
   transform: translateX(-50%) translateY(100px);
   padding: 12px 24px;
   background: rgba(157, 78, 221, 0.9);
   color: white;
   border-radius: 999px;
   font-size: 0.9rem;
   z-index: 100;
   opacity: 0;
   transition: all 0.5s ease;
}

.secret-hint.visible {
   transform: translateX(-50%) translateY(0);
   opacity: 1;
}

/* ===================================
   ADVANCED ENHANCEMENT: Scroll-Triggered Text Reveal
   =================================== */
.reveal-text {
   opacity: 0;
   transform: translateY(30px);
   transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.char-reveal .char {
   display: inline-block;
   opacity: 0;
   transform: translateY(20px);
   transition: all 0.3s ease;
}

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

/* ===================================
   ADVANCED ENHANCEMENT: Parallax Elements
   =================================== */
.parallax-element {
   transition: transform 0.1s ease-out;
   will-change: transform;
}

/* ===================================
   ADVANCED ENHANCEMENT: Image Hover Distortion
   =================================== */
.distort-image {
   position: relative;
   overflow: hidden;
}

.distort-image::after {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: inherit;
   opacity: 0;
   transition: opacity 0.3s ease;
   filter: url('#ripple-filter');
}

.distort-image:hover::after {
   opacity: 0.5;
   animation: rippleDistort 0.6s ease-out;
}

@keyframes rippleDistort {
   0% {
      transform: scale(1);
   }

   50% {
      transform: scale(1.02);
   }

   100% {
      transform: scale(1);
   }
}

/* ===================================
   ADVANCED ENHANCEMENT: GitHub Contribution Placeholder
   =================================== */
.github-heatmap {
   display: grid;
   grid-template-columns: repeat(52, 10px);
   gap: 3px;
   padding: 10px;
   background: rgba(0, 0, 0, 0.3);
   border-radius: 8px;
}

.heatmap-cell {
   width: 10px;
   height: 10px;
   border-radius: 2px;
   background: rgba(255, 255, 255, 0.1);
   transition: all 0.2s ease;
}

.heatmap-cell.level-1 {
   background: rgba(29, 185, 84, 0.2);
}

.heatmap-cell.level-2 {
   background: rgba(29, 185, 84, 0.4);
}

.heatmap-cell.level-3 {
   background: rgba(29, 185, 84, 0.6);
}

.heatmap-cell.level-4 {
   background: rgba(29, 185, 84, 0.8);
}

.heatmap-cell.level-5 {
   background: var(--color-spotify-green);
}

/* ===================================
   ADVANCED ENHANCEMENT: Reading Time Badge
   =================================== */
.reading-time-badge {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   padding: 6px 12px;
   background: rgba(255, 255, 255, 0.1);
   border-radius: 20px;
   font-size: 0.75rem;
   color: var(--color-text-secondary);
}

.reading-time-badge svg {
   width: 14px;
   height: 14px;
}

/* Mobile adjustments for advanced features */
@media (max-width: 768px) {
   .code-terminal {
      width: calc(100% - 40px);
      right: 20px;
      bottom: 100px;
   }

   .radar-chart-container {
      display: none;
   }

   .achievements-panel {
      top: 10px;
      right: 10px;
   }

   .achievements-dropdown {
      width: 260px;
   }

   .sound-toggle {
      bottom: 100px;
      left: 10px;
      width: 40px;
      height: 40px;
   }

   .blob {
      filter: blur(60px);
   }

   .blob-1 {
      width: 300px;
      height: 300px;
   }

   .blob-2 {
      width: 250px;
      height: 250px;
   }

   .blob-3 {
      width: 200px;
      height: 200px;
   }

   .typing-game-content {
      padding: 25px;
   }

   .typing-game-stats {
      flex-wrap: wrap;
      gap: 10px;
   }
}

/* ===================================
   Rounded Container Borders - All Themes
   =================================== */

/* Dark Theme (default) */
[data-theme="dark"] .main-content-inner {
   border: 1px solid rgba(255, 255, 255, 0.1);
   border-radius: var(--radius-xl);
}

/* Light Theme */
[data-theme="light"] .main-content-inner {
   border: 1px solid rgba(0, 0, 0, 0.1);
   border-radius: var(--radius-xl);
}

/* Peach Theme */
[data-theme="peach"] .main-content-inner {
   border: 1px solid rgba(224, 120, 80, 0.15);
   border-radius: var(--radius-xl);
}

/* Sunset Theme */
[data-theme="sunset"] .main-content-inner {
   border: 1px solid rgba(249, 115, 22, 0.15);
   border-radius: var(--radius-xl);
}

/* Botanical Theme */
[data-theme="botanical"] .main-content-inner {
   border: 1px solid rgba(90, 154, 104, 0.15);
   border-radius: var(--radius-xl);
}

.timeline-title {
   text-align: center;
   font-size: var(--font-size-sm);
   font-weight: 600;
   letter-spacing: 0.15em;
   color: var(--color-text-tertiary);
   margin-bottom: var(--spacing-2xl);
   text-transform: uppercase;
}

.timeline-container {
   display: grid;
   grid-template-columns: 1fr auto 1fr;
   gap: var(--spacing-md);
   position: relative;
   min-height: 400px;
}

/* Timeline Sides */
.timeline-side {
   display: flex;
   flex-direction: column;
   gap: var(--spacing-lg);
}

.timeline-left {
   align-items: flex-end;
   text-align: right;
}

.timeline-right {
   align-items: flex-start;
   text-align: left;
}

.timeline-label {
   font-size: var(--font-size-xs);
   font-weight: 600;
   letter-spacing: 0.12em;
   color: var(--color-text-tertiary);
   text-transform: uppercase;
   margin-bottom: var(--spacing-sm);
}

/* Center Line */
.timeline-center {
   position: relative;
   width: 60px;
   display: flex;
   justify-content: center;
   align-items: flex-start;
   padding-top: 30px;
}

.timeline-line {
   position: absolute;
   top: 30px;
   bottom: 20px;
   width: 3px;
   background: rgba(255, 255, 255, 0.1);
   border-radius: 3px;
   overflow: hidden;
}

.timeline-line-fill {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 70%;
   background: linear-gradient(180deg, #1DB954 0%, #00D9FF 50%, rgba(0, 217, 255, 0.3) 100%);
   border-radius: 3px;
   animation: timelineFill 2s ease-out forwards;
}

@keyframes timelineFill {
   0% {
      height: 0%;
   }

   100% {
      height: 70%;
   }
}

.timeline-pulse {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 16px;
   height: 16px;
   background: radial-gradient(circle, #1DB954 30%, transparent 70%);
   border-radius: 50%;
   animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

   0%,
   100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.8;
   }

   50% {
      transform: translate(-50%, -50%) scale(1.5);
      opacity: 0.3;
   }
}

/* Timeline Items */
.timeline-item {
   position: relative;
   display: flex;
   align-items: center;
   gap: var(--spacing-md);
   opacity: 0;
   animation: timelineItemReveal 0.6s ease-out forwards;
}

.timeline-left .timeline-item {
   flex-direction: row-reverse;
}

.timeline-item:nth-child(2) {
   animation-delay: 0.1s;
}

.timeline-item:nth-child(3) {
   animation-delay: 0.2s;
}

.timeline-item:nth-child(4) {
   animation-delay: 0.3s;
}

.timeline-item:nth-child(5) {
   animation-delay: 0.4s;
}

@keyframes timelineItemReveal {
   0% {
      opacity: 0;
      transform: translateY(20px);
   }

   100% {
      opacity: 1;
      transform: translateY(0);
   }
}

/* Timeline Nodes */
.timeline-node {
   width: 14px;
   height: 14px;
   border-radius: 50%;
   border: 2px solid;
   background: var(--color-bg-secondary);
   position: relative;
   z-index: 2;
   transition: all 0.3s ease;
   flex-shrink: 0;
}

.learning-node {
   border-color: var(--color-spotify-green);
   box-shadow: 0 0 10px rgba(29, 185, 84, 0.4);
}

.project-node {
   border-color: #00D9FF;
   box-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}

.timeline-item:hover .timeline-node {
   transform: scale(1.3);
   box-shadow: 0 0 20px rgba(29, 185, 84, 0.6);
}

.timeline-item:hover .project-node {
   box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
}

/* Node connector lines */
.timeline-left .timeline-item::after {
   content: '';
   position: absolute;
   right: -30px;
   top: 50%;
   width: 30px;
   height: 2px;
   background: linear-gradient(90deg, rgba(29, 185, 84, 0.5), rgba(29, 185, 84, 0.1));
   transform: translateY(-50%);
}

.timeline-right .timeline-item::before {
   content: '';
   position: absolute;
   left: -30px;
   top: 50%;
   width: 30px;
   height: 2px;
   background: linear-gradient(90deg, rgba(0, 217, 255, 0.1), rgba(0, 217, 255, 0.5));
   transform: translateY(-50%);
}

/* Timeline Cards */
.timeline-card {
   display: flex;
   align-items: center;
   gap: var(--spacing-md);
   padding: var(--spacing-md) var(--spacing-lg);
   background: linear-gradient(135deg, rgba(29, 185, 84, 0.08) 0%, rgba(29, 185, 84, 0.02) 100%);
   border: 1px solid rgba(29, 185, 84, 0.2);
   border-radius: var(--radius-lg);
   min-width: 200px;
   max-width: 280px;
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   position: relative;
   overflow: hidden;
}

.timeline-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 2px;
   background: linear-gradient(90deg, transparent, #1DB954, transparent);
   opacity: 0;
   transition: opacity 0.3s ease;
}

.timeline-card:hover {
   transform: translateY(-3px);
   border-color: rgba(29, 185, 84, 0.4);
   box-shadow: 0 10px 30px rgba(29, 185, 84, 0.15);
}

.timeline-card:hover::before {
   opacity: 1;
}

.timeline-card.project-card {
   background: linear-gradient(135deg, rgba(0, 217, 255, 0.08) 0%, rgba(0, 217, 255, 0.02) 100%);
   border-color: rgba(0, 217, 255, 0.2);
}

.timeline-card.project-card::before {
   background: linear-gradient(90deg, transparent, #00D9FF, transparent);
}

.timeline-card.project-card:hover {
   border-color: rgba(0, 217, 255, 0.4);
   box-shadow: 0 10px 30px rgba(0, 217, 255, 0.15);
}

.timeline-left .timeline-card {
   flex-direction: row-reverse;
}

/* Timeline Icons */
.timeline-icon {
   font-size: 1.5rem;
   flex-shrink: 0;
}

/* Timeline Content */
.timeline-content {
   display: flex;
   flex-direction: column;
   gap: var(--spacing-xs);
   flex: 1;
}

.timeline-name {
   font-size: var(--font-size-sm);
   font-weight: 600;
   color: var(--color-text-primary);
}

/* Timeline Progress */
.timeline-progress {
   display: flex;
   align-items: center;
   gap: var(--spacing-sm);
}

.progress-track {
   flex: 1;
   height: 4px;
   background: rgba(255, 255, 255, 0.1);
   border-radius: 4px;
   overflow: hidden;
}

.progress-track .progress-fill {
   height: 100%;
   background: linear-gradient(90deg, #1DB954, #4ade80);
   border-radius: 4px;
   transition: width 1s ease-out;
}

.progress-track.orange .progress-fill {
   background: linear-gradient(90deg, #00D9FF, #06b6d4);
}

.progress-percent {
   font-size: 0.7rem;
   font-weight: 600;
   color: var(--color-text-tertiary);
   min-width: 32px;
}

/* Theme Variations */
[data-theme="light"] .timeline-line {
   background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .timeline-card {
   background: linear-gradient(135deg, rgba(45, 155, 131, 0.08) 0%, rgba(45, 155, 131, 0.02) 100%);
   border-color: rgba(45, 155, 131, 0.2);
}

[data-theme="light"] .timeline-card.project-card {
   background: linear-gradient(135deg, rgba(0, 150, 200, 0.08) 0%, rgba(0, 150, 200, 0.02) 100%);
   border-color: rgba(0, 150, 200, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
   .timeline-container {
      grid-template-columns: 1fr;
      gap: var(--spacing-xl);
   }

   .timeline-center {
      display: none;
   }

   .timeline-side {
      align-items: stretch;
      text-align: left;
   }

   .timeline-left .timeline-item {
      flex-direction: row;
   }

   .timeline-left .timeline-card {
      flex-direction: row;
   }

   .timeline-left .timeline-item::after,
   .timeline-right .timeline-item::before {
      display: none;
   }

   .timeline-card {
      max-width: 100%;
      min-width: auto;
   }

   .timeline-node {
      position: absolute;
      left: -10px;
      top: 50%;
      transform: translateY(-50%);
   }

   .timeline-item {
      padding-left: var(--spacing-md);
      margin-left: var(--spacing-sm);
      border-left: 2px solid rgba(29, 185, 84, 0.3);
   }

   .timeline-right .timeline-item {
      border-left-color: rgba(0, 217, 255, 0.3);
   }
}

/* ===================================
   Loading Skeleton Animation
   =================================== */
@keyframes skeleton-loading {
   0% {
      background-position: -200% 0;
   }

   100% {
      background-position: 200% 0;
   }
}

.skeleton {
   background: linear-gradient(90deg,
         var(--color-bg-tertiary) 0%,
         rgba(255, 255, 255, 0.08) 50%,
         var(--color-bg-tertiary) 100%);
   background-size: 200% 100%;
   animation: skeleton-loading 1.5s ease-in-out infinite;
   border-radius: var(--radius-sm);
}

.skeleton-text {
   height: 1em;
   width: 100%;
   display: block;
}

.skeleton-text.short {
   width: 60%;
}

.skeleton-circle {
   border-radius: 50%;
}

/* Apply skeleton to Spotify widget while loading */
.spotify-bar.loading .spotify-track-name,
.spotify-bar.loading .spotify-artist {
   color: transparent;
   background: linear-gradient(90deg,
         var(--color-bg-tertiary) 0%,
         rgba(255, 255, 255, 0.08) 50%,
         var(--color-bg-tertiary) 100%);
   background-size: 200% 100%;
   animation: skeleton-loading 1.5s ease-in-out infinite;
   border-radius: var(--radius-sm);
}

.sidebar-github-stat.loading .sidebar-stat-value {
   color: transparent;
   background: linear-gradient(90deg,
         var(--color-bg-tertiary) 0%,
         rgba(255, 255, 255, 0.08) 50%,
         var(--color-bg-tertiary) 100%);
   background-size: 200% 100%;
   animation: skeleton-loading 1.5s ease-in-out infinite;
   border-radius: var(--radius-sm);
   min-width: 20px;
}

/* ===================================
   Improved Keyboard Focus States
   =================================== */
:focus-visible {
   outline: 2px solid var(--color-accent);
   outline-offset: 2px;
}

/* Custom focus ring for buttons and interactive elements */
.nav-link:focus-visible,
.social-link:focus-visible,
.theme-toggle:focus-visible,
.spotify-play-btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.metxt-btn:focus-visible {
   outline: 2px solid var(--color-spotify-green);
   outline-offset: 2px;
   box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.2);
}

.project-card:focus-visible,
.creative-card:focus-visible,
.skill-card:focus-visible,
.learning-card:focus-visible,
.upcoming-card:focus-visible {
   outline: 2px solid var(--color-accent);
   outline-offset: 4px;
}

/* Skip to content link for accessibility */
.skip-to-content {
   position: fixed;
   top: -100%;
   left: 50%;
   transform: translateX(-50%);
   background: var(--color-accent);
   color: var(--color-bg-primary);
   padding: var(--spacing-sm) var(--spacing-md);
   border-radius: var(--radius-sm);
   font-weight: 600;
   z-index: 9999;
   transition: top 0.3s ease;
}

.skip-to-content:focus {
   top: var(--spacing-md);
}

/* ===================================
   Global Focus Styles for Accessibility
   =================================== */
:focus-visible {
   outline: 2px solid var(--color-spotify-green);
   outline-offset: 2px;
}

/* Remove default focus outline when using mouse */
:focus:not(:focus-visible) {
   outline: none;
}

/* ===================================
   Reduced Motion Preferences
   =================================== */
@media (prefers-reduced-motion: reduce) {

   *,
   *::before,
   *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
   }

   .skeleton,
   .skeleton-text,
   .spotify-bars .bar,
   .status-dot.online,
   .nav-link.active .nav-icon {
      animation: none !important;
   }

   .preloader-progress {
      animation: none !important;
   }
}

/* ===================================
   Floating Connect Button
   =================================== */
.floating-connect-btn {
   position: fixed;
   bottom: 32px;
   right: 32px;
   z-index: 1000;
   text-decoration: none;
   transition: transform 0.3s ease;
}

.floating-connect-btn:hover {
   transform: translateY(-4px) scale(1.05);
}

.floating-connect-icon {
   width: 80px;
   height: 80px;
   border-radius: 50%;
   overflow: hidden;
   box-shadow: 0 4px 25px rgba(29, 185, 84, 0.3);
   transition: all 0.3s ease;
   animation: pulse-glow 2s ease-in-out infinite;
}

.floating-connect-icon img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   animation: slow-rotate 20s linear infinite;
}

@keyframes slow-rotate {
   from {
      transform: rotate(0deg);
   }

   to {
      transform: rotate(360deg);
   }
}

@keyframes pulse-glow {

   0%,
   100% {
      box-shadow: 0 4px 25px rgba(29, 185, 84, 0.3);
   }

   50% {
      box-shadow: 0 6px 35px rgba(29, 185, 84, 0.5);
   }
}

.floating-connect-btn:hover .floating-connect-icon {
   box-shadow: 0 8px 40px rgba(29, 185, 84, 0.6);
}

@media (max-width: 768px) {
   .floating-connect-btn {
      bottom: 20px;
      right: 20px;
   }

   .floating-connect-icon {
      width: 64px;
      height: 64px;
   }
}

/* ===================================
   Comprehensive Mobile Responsive Styles
   =================================== */

/* Tablet Breakpoint: 1024px and below */
@media (max-width: 1024px) {
   :root {
      --sidebar-width: 240px;
   }

   .section {
      padding: var(--spacing-xl);
   }

   .hero-content {
      gap: var(--spacing-xl);
   }

   .skills-grid {
      grid-template-columns: repeat(3, 1fr);
   }

   .learning-projects-row {
      flex-direction: column;
      gap: var(--spacing-lg);
   }

   .learning-cards,
   .upcoming-cards {
      grid-template-columns: repeat(2, 1fr);
   }

   .about-container {
      gap: var(--spacing-lg);
   }

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

   .projects-grid,
   .creative-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .section-story-metxt-row {
      flex-direction: column;
   }
}

/* Mobile Breakpoint: 768px and below */
@media (max-width: 768px) {

   /* Mobile Menu Toggle Button - Visible on mobile */
   .mobile-menu-toggle {
      display: flex;
      position: fixed;
      top: 20px;
      left: 20px;
      z-index: 1002;
      width: 44px;
      height: 44px;
      background: var(--color-bg-secondary);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: var(--radius-md);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      cursor: pointer;
      transition: all var(--transition-base);
   }

   .mobile-menu-toggle span,
   .mobile-menu-toggle::before,
   .mobile-menu-toggle::after {
      content: '';
      display: block;
      width: 20px;
      height: 2px;
      background: var(--color-text-primary);
      border-radius: 2px;
      transition: all 0.3s ease;
   }

   .mobile-menu-toggle.active span {
      opacity: 0;
   }

   .mobile-menu-toggle.active::before {
      transform: translateY(7px) rotate(45deg);
   }

   .mobile-menu-toggle.active::after {
      transform: translateY(-7px) rotate(-45deg);
   }

   /* Mobile Overlay */
   .mobile-overlay {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      z-index: 999;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
   }

   .mobile-overlay.active {
      opacity: 1;
      visibility: visible;
   }

   /* Sidebar - Hidden by default on mobile, slides in when .open */
   .sidebar {
      position: fixed;
      left: 0;
      top: 0;
      height: 100vh;
      width: 280px;
      z-index: 1001;
      transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
      overflow-y: auto;
      transform: translateX(-100%);
      animation: none !important;
      visibility: hidden;
      /* Ensure it is hidden from AT */
   }

   .sidebar.open {
      transform: translateX(0);
      visibility: visible;
   }

   /* Main Content - Full width on mobile */
   .main-content {
      margin-left: 0 !important;
      width: 100% !important;
      padding: var(--spacing-md);
      padding-top: 80px;
   }

   .main-content-inner {
      padding: var(--spacing-lg);
   }

   /* Hero Section - Stack vertically */
   .hero-content {
      flex-direction: column-reverse;
      text-align: center;
      gap: var(--spacing-lg);
   }

   .hero-text {
      align-items: center;
   }

   .hero-title {
      font-size: var(--font-size-2xl);
   }

   .hero-subtitle,
   .hero-role {
      font-size: var(--font-size-sm);
   }

   .hero-description {
      font-size: var(--font-size-sm);
      max-width: 100%;
   }

   .hero-image {
      width: 200px;
      height: 200px;
      margin: 0 auto;
   }

   .hero-image img {
      width: 100%;
      height: 100%;
   }

   /* Skills Grid - 2 columns on mobile */
   .skills-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--spacing-sm);
   }

   .skill-card {
      padding: var(--spacing-sm);
   }

   .skill-icon {
      width: 36px;
      height: 36px;
   }

   .skill-name {
      font-size: var(--font-size-xs);
   }

   /* Learning & Upcoming Cards - 2 columns */
   .learning-cards,
   .upcoming-cards {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--spacing-sm);
   }

   .learning-card,
   .upcoming-card {
      padding: var(--spacing-sm);
   }

   .card-icon {
      font-size: 1.2rem;
   }

   .card-name {
      font-size: var(--font-size-xs);
   }

   /* About Section - Stacked layout */
   .about-container {
      flex-direction: column;
      text-align: center;
      gap: var(--spacing-xl);
   }

   .about-left-panel,
   .about-right-panel {
      width: 100%;
      text-align: center;
   }

   .about-center {
      order: -1;
   }

   .about-big-text {
      font-size: 3rem;
   }

   .about-silhouette {
      width: 180px;
      height: 240px;
      margin: 0 auto;
   }

   .about-category {
      margin-bottom: var(--spacing-md);
   }

   /* Stats Section - 2x2 grid */
   .stats-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--spacing-md);
   }

   .stat-card {
      padding: var(--spacing-md);
   }

   .stat-number {
      font-size: var(--font-size-xl);
   }

   /* Projects Grid - Single column */
   .projects-grid,
   .creative-grid {
      grid-template-columns: 1fr;
      gap: var(--spacing-md);
   }

   .project-card,
   .creative-card-wrapper {
      width: 100%;
   }

   /* Section Headers */
   .section-header {
      flex-direction: column;
      text-align: center;
      gap: var(--spacing-md);
   }

   .section-cta {
      align-self: center;
   }

   /* Story + ME.TXT Row */
   .section-story-metxt-row {
      flex-direction: column;
      gap: var(--spacing-xl);
   }

   .story-section,
   .metxt-wrapper {
      width: 100%;
   }

   .story-section {
      flex-direction: column;
      text-align: center;
   }

   .story-image {
      width: 100%;
      max-width: 300px;
      margin: 0 auto;
   }

   .story-content {
      padding: var(--spacing-md);
   }

   /* Spotify Bar */
   .spotify-bar {
      flex-direction: column;
      padding: var(--spacing-md);
      gap: var(--spacing-md);
      text-align: center;
   }

   .spotify-bar .spotify-info {
      align-items: center;
   }

   .spotify-bar .spotify-cover {
      width: 80px;
      height: 80px;
   }

   .spotify-play-btn {
      width: 44px;
      height: 44px;
   }

   /* ME.TXT Stack */
   .metxt-container {
      padding: var(--spacing-md);
   }

   .metxt-stack-area {
      min-height: 280px;
   }

   /* Section Padding */
   .section {
      padding: var(--spacing-lg) var(--spacing-md);
   }
}

/* Small Mobile: 480px and below */
@media (max-width: 480px) {

   /* Further reduce sizes */
   .hero-title {
      font-size: var(--font-size-xl);
   }

   .hero-image {
      width: 160px;
      height: 160px;
   }

   /* Skills Grid - 2 columns on small screens */
   .skills-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--spacing-xs);
   }

   /* Learning/Upcoming - Single column */
   .learning-cards,
   .upcoming-cards {
      grid-template-columns: 1fr;
   }

   /* Stats - Single column */
   .stats-grid {
      grid-template-columns: 1fr;
   }

   /* About */
   .about-big-text {
      font-size: 2.5rem;
   }

   .about-silhouette {
      width: 140px;
      height: 200px;
   }

   /* Buttons - Full width */
   .story-actions {
      flex-direction: column;
      gap: var(--spacing-sm);
   }

   .btn-primary,
   .btn-secondary {
      width: 100%;
      justify-content: center;
   }

   /* Floating connect button */
   .floating-connect-btn {
      bottom: 16px;
      right: 16px;
   }

   .floating-connect-icon {
      width: 56px;
      height: 56px;
   }

   /* Main content padding */
   .main-content {
      padding: var(--spacing-sm);
      padding-top: 70px;
   }

   .main-content-inner {
      padding: var(--spacing-md);
   }
}

/* ===================================
   Print Stylesheet
   =================================== */
@media print {

   /* Hide non-essential elements */
   .sidebar,
   .mobile-menu-toggle,
   .mobile-overlay,
   .preloader,
   .floating-connect-btn,
   .theme-toggle-wrapper,
   .spotify-bar,
   .section-spotify-bar,
   .sidebar-spotify,
   .skip-link,
   .secret-hint,
   .achievement-toast,
   .radar-chart-container {
      display: none !important;
   }

   /* Reset layout for print */
   body {
      background: white !important;
      color: black !important;
      font-size: 12pt;
      line-height: 1.5;
   }

   .main-content {
      margin-left: 0 !important;
      padding: 0 !important;
      width: 100% !important;
   }

   .main-content-inner {
      max-width: none !important;
      padding: 20px !important;
   }

   /* Ensure sections print properly */
   .section {
      page-break-inside: avoid;
      margin-bottom: 20px;
      padding: 20px 0;
   }

   /* Reset colors for print */
   .hero-title,
   .profile-name,
   .section-title,
   .about-category-title,
   .stat-number {
      color: black !important;
      -webkit-text-fill-color: black !important;
      background: none !important;
   }

   /* Show URLs for links */
   a[href^="http"]::after {
      content: " (" attr(href) ")";
      font-size: 10pt;
      color: #666;
   }

   /* Hide decorative elements */
   .hero-image::before,
   .profile-image::before,
   .skill-card::before,
   .project-card::before {
      display: none !important;
   }

   /* Simplify cards */
   .skill-card,
   .learning-card,
   .upcoming-card,
   .project-card {
      box-shadow: none !important;
      border: 1px solid #ccc !important;
      background: white !important;
   }

   /* Page break controls */
   .section-home {
      page-break-after: always;
   }

   h1,
   h2,
   h3 {
      page-break-after: avoid;
   }

   img {
      max-width: 200px !important;
      page-break-inside: avoid;
   }
}

/* ===================================
   Advanced Animations (Tilt, Magnetic, Text Reveal)
   =================================== */

/* 3D Tilt Effect */
.tilt-card {
   transform-style: preserve-3d;
   transform: perspective(1000px);
}

.tilt-glare {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 50%);
   pointer-events: none;
   z-index: 10;
   opacity: 0;
   transition: opacity 0.3s;
   mix-blend-mode: overlay;
   border-radius: inherit;
}

/* Magnetic Button Effect */
.magnetic-btn {
   display: inline-block;
   transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
   will-change: transform;
}

/* Text Reveal Animation */
.reveal-text {
   opacity: 0;
   transform: translateY(20px);
   transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
   display: inline-block;
   will-change: opacity, transform;
}

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

.word-wrapper {
   overflow: hidden;
   vertical-align: bottom;
   display: inline-block;
   padding-bottom: 2px;
   /* Prevent descender clipping */
}

/* Page Transition Overlay */
.page-transition-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: var(--color-bg-sidebar);
   z-index: 9999;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.5s ease-out;
}

.page-transition-overlay.active {
   opacity: 1;
   pointer-events: all;
}

/* Staggered load animation for content */
.main-content-inner.animate-entry {
   animation: contentSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes contentSlideUp {
   from {
      opacity: 0;
      transform: translateY(40px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}