/* ========================================
   Premium Portfolio - Design System
   ======================================== */

:root {
    /* Colors */
    --bg-dark: #0a0a0b;
    --bg-card: #111113;
    --bg-hover: #1a1a1d;
    --text-primary: #fafafa;
    --text-secondary: #888;
    --text-muted: #555;
    --accent-primary: #7c3aed;
    --accent-secondary: #ec4899;
    --accent-tertiary: #06b6d4;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #f97316 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.1));

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-gap: 80px;
    --container-padding: 80px;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor - Lightweight */
.cursor-glow {
    position: fixed;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    will-change: left, top;
}

.custom-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    font-size: 28px;
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.8));
    animation: cursorBounce 0.6s ease-in-out infinite;
    will-change: left, top;
}

@keyframes cursorBounce {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1) rotate(10deg);
    }
}

/* Background Effects */
.bg-mesh {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(236, 72, 153, 0.1), transparent),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(6, 182, 212, 0.1), transparent);
    z-index: -2;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px var(--container-padding);
    background: rgba(10, 10, 11, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-logo .dot {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 15px;
    height: 15px;
}

.social-link:hover {
    color: var(--text-primary);
    border-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-3px);
}

/* Nav Toggle - Hidden on Desktop */
.nav-toggle {
    display: none;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 140px var(--container-padding) 80px;
    position: relative;
}

.hero-content {
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #22c55e;
    margin-bottom: 30px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line:first-child {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.name-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.verified-badge {
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(29, 155, 240, 0.5));
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        filter: drop-shadow(0 0 6px rgba(29, 155, 240, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 12px rgba(29, 155, 240, 0.8));
    }
}

.hero-role {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.role-text {
    color: var(--text-secondary);
}

.separator {
    color: var(--accent-primary);
}

/* Age Counter */
.age-counter {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 25px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    width: fit-content;
}

.age-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.age-value {
    font-size: 1.3rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.5px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    border: none;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.4);
}

.btn-primary .arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
    transform: translate(3px, -3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-4px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.profile-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.profile-ring {
    position: absolute;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.profile-ring:first-of-type {
    width: 350px;
    height: 350px;
    border-style: dashed;
}

.profile-ring.ring-2 {
    width: 420px;
    height: 420px;
    animation-direction: reverse;
    animation-duration: 40s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    background: var(--gradient-subtle);
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    background: var(--bg-card);
}

.profile-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    animation: floatBadge 6s ease-in-out infinite;
}

.floating-badge span:first-child {
    font-size: 1.2rem;
}

.badge-1 {
    top: 30px;
    right: 20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 80px;
    left: -20px;
    animation-delay: -2s;
}

.badge-3 {
    bottom: 20px;
    right: 40px;
    animation-delay: -4s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        height: 60px;
    }

    50% {
        opacity: 0.5;
        height: 80px;
    }
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: var(--section-gap) var(--container-padding);
}

.section-header {
    margin-bottom: 32px;
}

.section-tag {
    display: inline-block;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: monospace;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

/* ========================================
   About Section
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.about-text .lead {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--text-primary);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   Skills Section
   ======================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.skill-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-hover);
    transform: translateY(-8px);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: 16px;
}

.skill-icon svg {
    width: 30px;
    height: 30px;
    color: var(--accent-primary);
}

.skill-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tags span {
    padding: 6px 14px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ========================================
   Music Section
   ======================================== */
.music {
    position: relative;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 6px;
}

.music-player-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Genre Tags */
.music-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 28px;
}

.genre-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.genre-tag:hover {
    background: rgba(124, 58, 237, 0.12);
    border-color: rgba(124, 58, 237, 0.4);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
}

.genre-tag span {
    font-size: 1rem;
}

.music-track {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, rgba(17, 17, 19, 0.95), rgba(26, 26, 29, 0.9));
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 20px 28px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.music-track::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.03), rgba(236, 72, 153, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.music-track:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1), 0 0 0 1px rgba(124, 58, 237, 0.1);
}

.music-track:hover::before {
    opacity: 1;
}

.music-track.is-playing {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 10px 50px rgba(124, 58, 237, 0.15);
}

/* Vinyl Disc */
.track-vinyl-wrapper {
    position: relative;
    flex-shrink: 0;
}

.vinyl-disc {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
            #111 0%,
            #1a1a1a 20%,
            #222 21%,
            #1a1a1a 40%,
            #222 41%,
            #1a1a1a 60%,
            #222 61%,
            #1a1a1a 80%,
            #111 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), inset 0 0 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.music-track.is-playing .vinyl-disc {
    animation: vinylSpin 3s linear infinite;
}

.vinyl-groove {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.vinyl-groove:first-of-type {
    width: 90%;
    height: 90%;
}

.vinyl-groove.groove-2 {
    width: 75%;
    height: 75%;
}

.vinyl-groove.groove-3 {
    width: 60%;
    height: 60%;
}

.vinyl-label {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.4);
}

@keyframes vinylSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Now Playing Badge */
.now-playing-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(124, 58, 237, 0.9);
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: white;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.music-track.is-playing .now-playing-badge {
    opacity: 1;
}

.np-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: npPulse 1.5s ease-in-out infinite;
}

@keyframes npPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

/* Track Details */
.track-details {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.track-meta {
    margin-bottom: 12px;
}

.track-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.track-artist {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Controls */
.track-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.controls-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.music-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-main);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.music-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.5);
}

.music-play-btn svg {
    width: 18px;
    height: 18px;
}

/* Progress Bar */
.music-progress-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-current,
.time-total {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    min-width: 36px;
    text-align: center;
}

.music-progress-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    overflow: visible;
}

.music-progress-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 10px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.music-progress-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%) scale(0);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease;
}

.music-progress-track:hover .music-progress-thumb {
    transform: translate(-50%, -50%) scale(1);
}

/* Volume */
.volume-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 52px;
}

.vol-icon {
    width: 15px;
    height: 15px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.music-volume-slider {
    width: 100px;
    height: 3px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.music-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-primary);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.4);
    transition: transform 0.15s ease;
}

.music-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.music-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-primary);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.4);
}

/* ========================================
   Projects Section
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-10px);
}

.project-card.featured {
    grid-column: span 2;
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    padding: 12px 28px;
    background: white;
    color: var(--bg-dark);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: scale(1.05);
}

.project-info {
    padding: 30px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.project-tags span {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.projects-cta {
    text-align: center;
    margin-top: 60px;
}

.projects-cta .btn svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    text-align: center;
    padding-bottom: 100px;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact .section-header {
    margin-bottom: 30px;
}

.contact-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 50px;
}

.contact-email:hover {
    color: var(--accent-primary);
}

.contact-email svg {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.contact-email:hover svg {
    transform: translate(5px, -5px);
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    padding: 12px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px var(--container-padding);
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer .heart {
    color: #ef4444;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.footer .copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    :root {
        --container-padding: 50px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-role {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 25px;
        --section-gap: 50px;
    }

    /* Music responsive */
    .music-player-wrapper {
        grid-template-columns: 1fr;
    }

    .music-genres {
        gap: 8px;
    }

    .genre-tag {
        padding: 6px 14px;
        font-size: 0.78rem;
    }

    .music-track {
        flex-direction: column;
        text-align: center;
        padding: 20px 18px;
        gap: 16px;
    }

    .track-vinyl-wrapper {
        margin: 0 auto;
    }

    .vinyl-disc {
        width: 76px;
        height: 76px;
    }

    .vinyl-label {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .track-name {
        font-size: 1rem;
    }

    .controls-row {
        flex-direction: column;
        gap: 10px;
    }

    .volume-row {
        padding-left: 0;
        justify-content: center;
    }

    .music-progress-wrapper {
        width: 100%;
    }

    body {
        cursor: auto;
        overflow-x: hidden;
    }

    .cursor-glow,
    .custom-cursor {
        display: none !important;
    }

    /* Mobile Navigation */
    .nav {
        padding: 10px 15px;
        flex-wrap: wrap;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }

    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 11, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border-color);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-social {
        display: none;
    }

    /* Hero Mobile */
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 50px;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 1.8rem;
        letter-spacing: -1px;
    }

    .hero-role {
        flex-direction: column;
        gap: 5px;
    }

    .hero-role .separator {
        display: none;
    }

    .hero-desc {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .age-counter {
        padding: 8px 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .age-value {
        font-size: 1.2rem;
        min-width: auto;
    }

    .age-label {
        font-size: 0.85rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 1.6rem;
    }

    .section-header {
        padding: 0 10px;
    }

    /* Cards */
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-card h3 {
        font-size: 1rem;
    }

    /* Contact */
    .contact-email {
        font-size: 1.2rem;
        word-break: break-all;
    }

    .contact-social {
        flex-wrap: wrap;
    }

    .profile-container {
        width: 300px;
        height: 300px;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }

    .profile-ring:first-of-type {
        width: 260px;
        height: 260px;
    }

    .profile-ring.ring-2 {
        width: 320px;
        height: 320px;
    }

    .age-counter {
        padding: 10px 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .age-value {
        font-size: 1.4rem;
        min-width: auto;
    }

    .age-label {
        font-size: 0.95rem;
    }

    .age-counter {
        margin-left: auto;
        margin-right: auto;
    }

    .custom-cursor,
    .cursor-glow {
        display: none !important;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 8px 15px;
    }

    .floating-badge {
        font-size: 0.75rem;
        padding: 8px 12px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ========================================
   Music Section
   ======================================== */
.music {
    padding: var(--section-gap) var(--container-padding);
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.audio-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.audio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.audio-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.audio-card:hover::before {
    transform: scaleX(1);
}

.audio-visual {
    margin-bottom: 20px;
}

.audio-cover {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 30%, #0f3460 60%, #533483 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(83, 52, 131, 0.3),
        inset 0 0 60px rgba(124, 58, 237, 0.1);
}

.audio-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.3) 0%, transparent 50%);
    animation: glowMove 8s ease-in-out infinite alternate;
}

@keyframes glowMove {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.audio-cover::after {
    content: '♪ ♫ ♪';
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.1);
    animation: floatNotes 4s ease-in-out infinite;
    top: 20px;
    left: 20px;
}

@keyframes floatNotes {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
        opacity: 0.3;
    }
}

.cover-icon {
    font-size: 5rem;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.8));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

.audio-waves {
    position: absolute;
    bottom: 15px;
    display: flex;
    gap: 4px;
    align-items: flex-end;
}

.audio-waves span {
    width: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.audio-waves span:nth-child(1) {
    height: 15px;
    animation-delay: 0s;
}

.audio-waves span:nth-child(2) {
    height: 25px;
    animation-delay: 0.1s;
}

.audio-waves span:nth-child(3) {
    height: 20px;
    animation-delay: 0.2s;
}

.audio-waves span:nth-child(4) {
    height: 30px;
    animation-delay: 0.3s;
}

.audio-waves span:nth-child(5) {
    height: 18px;
    animation-delay: 0.4s;
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.5);
    }
}

.audio-card:not(.playing) .audio-waves span {
    animation: none;
    height: 8px;
}

.audio-info {
    margin-bottom: 20px;
}

.audio-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.audio-artist {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.audio-player {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-main);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
    flex-shrink: 0;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
}

.play-icon {
    color: white;
    font-size: 1rem;
    margin-left: 3px;
}

.progress-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-main);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.audio-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
    min-width: 40px;
    text-align: right;
    font-family: monospace;
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 15px;
    border-left: 1px solid var(--border-color);
    margin-left: 10px;
}

.volume-icon {
    font-size: 1rem;
    cursor: pointer;
}

.volume-slider {
    width: 80px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--accent-primary);
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

/* Responsive for Music */
@media (max-width: 768px) {
    .music-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   COMPREHENSIVE DEVICE RESPONSIVE
   ======================================== */

/* Large Tablets & Small Laptops (iPad Pro, Surface Pro) */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Tablets (iPad Mini, iPad Air) */
@media (max-width: 820px) and (min-width: 769px) {
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .nav-social {
        gap: 8px;
    }

    .social-link {
        width: 30px;
        height: 30px;
    }
}

/* Small Phones (iPhone SE, Galaxy S8, Pixel) */
@media (max-width: 480px) {
    :root {
        --container-padding: 15px;
        --section-gap: 60px;
    }

    .nav {
        padding: 8px 12px;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-desc {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-tag {
        font-size: 0.8rem;
    }

    .skill-card {
        padding: 15px;
    }

    .skill-icon {
        font-size: 1.5rem;
    }

    .skill-card h3 {
        font-size: 0.9rem;
    }

    .skill-tags span {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .profile-container {
        width: 200px;
        height: 200px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .profile-ring:first-of-type {
        width: 160px;
        height: 160px;
    }

    .profile-ring.ring-2 {
        width: 200px;
        height: 200px;
    }

    .floating-badge {
        font-size: 0.65rem;
        padding: 5px 8px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .audio-card {
        padding: 15px;
    }

    .audio-cover {
        height: 120px;
    }

    .cover-icon {
        font-size: 2.5rem;
    }

    .contact-email {
        font-size: 1rem;
    }

    .age-counter {
        padding: 6px 12px;
        gap: 6px;
    }

    .age-value {
        font-size: 1rem;
    }

    .age-label {
        font-size: 0.75rem;
    }
}

/* Extra Small Phones (iPhone SE, Galaxy Fold) */
@media (max-width: 375px) {
    :root {
        --container-padding: 12px;
        --section-gap: 50px;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-role {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .profile-container {
        width: 160px;
        height: 160px;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .profile-ring:first-of-type {
        width: 130px;
        height: 130px;
    }

    .profile-ring.ring-2 {
        width: 160px;
        height: 160px;
    }

    .floating-badge {
        display: none;
    }
}

/* Surface Duo & Foldables */
@media (max-width: 540px) and (min-width: 481px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-container {
        width: 250px;
        height: 250px;
    }
}

/* Landscape Mode for Phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 20px 40px;
    }

    .hero-visual {
        display: none;
    }

    .nav-links {
        max-height: 200px;
        overflow-y: auto;
    }
}

/* Nest Hub & Smart Displays */
@media (max-width: 1024px) and (max-height: 600px) {
    .hero {
        min-height: auto;
        padding-top: 80px;
    }

    .section-header {
        margin-bottom: 30px;
    }
}