:root {
    --color-bg: #0a0e27;
    --color-bg-secondary: #0f1629;
    --color-card-bg: rgba(255, 255, 255, 0.05);
    --color-text: #e8eaf6;
    --color-text-secondary: #b0b8d0;
    --color-accent: #6366f1;
    --color-accent-secondary: #8b5cf6;
    --color-accent-hover: #818cf8;
    --color-accent-tertiary: #ec4899;
    --color-border: rgba(99, 102, 241, 0.2);
    --shadow-card: 0 10px 40px rgba(99, 102, 241, 0.15);
    --animation-speed: 0.4s;
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out-back: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --text-max: 68ch;
    --glow-primary: rgba(99, 102, 241, 0.5);
    --glow-secondary: rgba(139, 92, 246, 0.4);
    --glow-tertiary: rgba(236, 72, 153, 0.4);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-text: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #f97316, #6366f1);
    --gradient-bg: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
}

[data-theme="light"] {
    --color-bg: #f8fafc;
    --color-bg-secondary: #f1f5f9;
    --color-card-bg: #ffffff;
    --color-text: #1e293b;
    --color-text-secondary: #64748b;
    --color-accent: #6366f1;
    --color-accent-hover: #4f46e5;
    --color-accent-tertiary: #ec4899;
    --color-border: rgba(99, 102, 241, 0.15);
    --shadow-card: 0 4px 20px rgba(99, 102, 241, 0.1);
    --glow-primary: rgba(99, 102, 241, 0.25);
    --glow-secondary: rgba(139, 92, 246, 0.2);
    --glow-tertiary: rgba(236, 72, 153, 0.2);
}

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

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

* {
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

body {
    font-family: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--gradient-bg);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.75;
    overflow-x: hidden;
    transition: background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    letter-spacing: -0.01em;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 120% 100% at 0% 0%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 100% 120% at 100% 100%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 80% 80% at 50% 50%, rgba(236, 72, 153, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 90% 70% at 20% 80%, rgba(99, 102, 241, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 70% 90% at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 55%),
        linear-gradient(135deg, #0a0e27 0%, #1a1f3a 30%, #0a0e27 60%, #1a1f3a 100%);
    background-size: 100% 100%;
    z-index: -10;
    animation: auroraFlow 40s ease-in-out infinite;
    pointer-events: none;
    will-change: background-position, filter;
}

@keyframes auroraFlow {
    0%, 100% {
        background-position: 0% 0%;
        filter: hue-rotate(0deg) brightness(1);
    }
    25% {
        background-position: 100% 30%;
        filter: hue-rotate(8deg) brightness(1.05);
    }
    50% {
        background-position: 50% 100%;
        filter: hue-rotate(-5deg) brightness(1.02);
    }
    75% {
        background-position: 0% 70%;
        filter: hue-rotate(5deg) brightness(1.03);
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E"),
        radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 55%),
        radial-gradient(circle at 85% 75%, rgba(139, 92, 246, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.06) 0%, transparent 65%),
        radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    z-index: -9;
    pointer-events: none;
    animation: textureMove 50s linear infinite;
    mix-blend-mode: soft-light;
    opacity: 0.6;
}

@keyframes textureMove {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(-15px, -15px) scale(1.02);
        opacity: 0.65;
    }
    50% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    75% {
        transform: translate(15px, 15px) scale(1.02);
        opacity: 0.65;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
}

[data-theme="light"] body::before {
    background: 
        radial-gradient(ellipse 100% 80% at 10% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 80% 100% at 90% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 70% at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 70%),
        linear-gradient(135deg, #fafafa 0%, #f4f4f5 25%, #fafafa 50%, #f4f4f5 75%, #fafafa 100%);
}

[data-theme="light"] body::after {
    background: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E"),
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.03) 0%, transparent 50%);
    mix-blend-mode: multiply;
}

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

main {
    padding-top: 2rem;
    padding-bottom: 4rem;
}


.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    pointer-events: none;
    overflow: hidden;
    will-change: transform;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    mix-blend-mode: soft-light;
    will-change: transform, opacity;
    background: radial-gradient(circle, var(--blob-color-1) 0%, var(--blob-color-2) 50%, transparent 100%);
    transition: opacity 0.8s var(--ease-smooth);
}

.blob-1 {
    top: -10%;
    left: -5%;
    width: 800px;
    height: 800px;
    --blob-color-1: rgba(99, 102, 241, 0.7);
    --blob-color-2: rgba(139, 92, 246, 0.35);
    animation: blob1 35s infinite ease-in-out;
}

.blob-2 {
    bottom: -10%;
    right: -5%;
    width: 700px;
    height: 700px;
    --blob-color-1: rgba(139, 92, 246, 0.65);
    --blob-color-2: rgba(168, 85, 247, 0.3);
    animation: blob2 30s infinite ease-in-out;
}

.blob-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    --blob-color-1: rgba(236, 72, 153, 0.6);
    --blob-color-2: rgba(244, 114, 182, 0.25);
    animation: blob3 32s infinite ease-in-out;
}

@keyframes blob1 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(120px, 100px) scale(1.25) rotate(90deg);
        opacity: 0.35;
    }
    50% {
        transform: translate(-60px, 140px) scale(0.9) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translate(80px, -50px) scale(1.15) rotate(270deg);
        opacity: 0.35;
    }
}

@keyframes blob2 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(-100px, -80px) scale(1.3) rotate(-90deg);
        opacity: 0.35;
    }
    50% {
        transform: translate(90px, -120px) scale(0.85) rotate(-180deg);
        opacity: 0.3;
    }
    75% {
        transform: translate(-50px, 60px) scale(1.2) rotate(-270deg);
        opacity: 0.35;
    }
}

@keyframes blob3 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.25;
    }
    33% {
        transform: translate(-50%, -60%) scale(1.35) rotate(120deg);
        opacity: 0.3;
    }
    66% {
        transform: translate(-50%, -40%) scale(0.8) rotate(240deg);
        opacity: 0.25;
    }
}

[data-theme="light"] .blob {
    opacity: 0.15;
    mix-blend-mode: multiply;
}


.bg-3d-scene {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 70vh;
    height: 70vh;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.12;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 30s infinite linear;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid;
    border-image: var(--gradient-primary) 1;
    box-sizing: border-box;
    opacity: 0.4;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.02), transparent);
}

.cube-face:nth-child(1) {
    transform: rotateY(0deg) translateZ(35vh);
}

.cube-face:nth-child(2) {
    transform: rotateY(90deg) translateZ(35vh);
}

.cube-face:nth-child(3) {
    transform: rotateY(180deg) translateZ(35vh);
}

.cube-face:nth-child(4) {
    transform: rotateY(-90deg) translateZ(35vh);
}

.cube-face:nth-child(5) {
    transform: rotateX(90deg) translateZ(35vh);
}

.cube-face:nth-child(6) {
    transform: rotateX(-90deg) translateZ(35vh);
}

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

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

[data-theme="light"] .bg-3d-scene {
    opacity: 0.04;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.8), rgba(10, 14, 39, 0.75));
    backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    transition: all 0.6s var(--ease-out-expo);
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(99, 102, 241, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    z-index: 10;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all 0.6s var(--ease-out-expo);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.01em;
    will-change: transform, color, background, box-shadow;
    backface-visibility: hidden;
    transform: translateZ(0);
    border: 1px solid transparent;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.08));
    opacity: 0;
    transition: opacity 0.6s var(--ease-out-expo);
    z-index: -1;
    will-change: opacity;
    filter: blur(8px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    transition: width 0.6s var(--ease-out-expo);
    border-radius: 3px 3px 0 0;
    will-change: width;
}

.nav-link:hover {
    color: var(--color-text);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px) translateZ(0);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-link:hover::before {
    opacity: 0.4;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: var(--color-text);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 2px 6px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-link.active::before {
    opacity: 0.5;
}

.nav-link.active::after {
    width: 80%;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--color-text);
    transition: all 0.6s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    will-change: transform, background, box-shadow, border-color;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.icon-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.6s var(--ease-out-expo);
    will-change: opacity;
    border-radius: 50%;
}

.icon-btn::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.2));
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.6s var(--ease-out-expo);
    will-change: opacity;
    z-index: -1;
}

.icon-btn i {
    position: relative;
    z-index: 1;
    transition: color 0.6s var(--ease-out-expo);
}

.icon-btn:hover {
    transform: scale(1.12) rotate(5deg) translateZ(0);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 8px 28px rgba(99, 102, 241, 0.4),
        0 4px 12px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
}

.icon-btn:hover::before {
    opacity: 1;
}

.icon-btn:hover::after {
    opacity: 0.6;
}

.icon-btn:hover i {
    color: #fff;
}


.hero {
    padding-top: 60px;
    padding-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}


.hero-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 2rem auto 2rem;
    padding: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899, #6366f1);
    background-size: 300% 300%;
    animation: avatarGlow 4s ease infinite, floatAvatar 6s ease-in-out infinite;
    box-shadow:
        0 0 40px rgba(139, 92, 246, 0.4),
        0 0 80px rgba(139, 92, 246, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero-avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    background-size: 300% 300%;
    animation: avatarGlow 4s ease infinite;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.6;
}

@keyframes avatarGlow {

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

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

@keyframes floatAvatar {

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

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

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


.hero-name {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-text);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 8s linear infinite;
    position: relative;
    display: inline-block;
    letter-spacing: -0.03em;
    line-height: 1.2;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes gradientText {
    0% {
        background-position: 0% 50%;
    }

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

.hero-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #6366f1, #8b5cf6, transparent);
    border-radius: 4px;
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {

    0%,
    100% {
        opacity: 0.5;
        width: 40%;
    }

    50% {
        opacity: 1;
        width: 80%;
    }
}

.hero-username {
    font-size: 1.25rem;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero:hover .hero-username {
    transform: scale(1.02);
}

.hero-bio {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: var(--text-max);
    margin: 0 auto 3rem;
    line-height: 2;
    letter-spacing: 0.01em;
    font-weight: 400;
}


.section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 5rem 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, var(--color-text), var(--color-text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.section-title:hover {
    transform: scale(1.02);
}

.section-title i {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::before,
.section-title::after {
    content: '';
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), rgba(139, 92, 246, 0.6), transparent);
    border-radius: 2px;
}


.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1.5px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(30px) saturate(200%);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(99, 102, 241, 0.05);
    transition: all 0.6s var(--ease-out-expo);
    transform-style: preserve-3d;
    transform: perspective(1000px) translateZ(0);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow, background, border-color;
    backface-visibility: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: var(--radius-lg);
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out-expo);
    pointer-events: none;
    z-index: -1;
}

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


.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.8s var(--ease-smooth);
    z-index: 0;
    pointer-events: none;
    will-change: left;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.03) translateZ(0);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25),
        0 12px 30px rgba(99, 102, 241, 0.25),
        0 0 0 2px rgba(99, 102, 241, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(139, 92, 246, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
}

.glass-card:hover::after {
    left: 100%;
}

[data-theme="light"] .glass-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .glass-card:hover {
    box-shadow:
        0 20px 50px rgba(139, 92, 246, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.08);
}


.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 650px;
    margin: 0 auto;
}

.platform-card {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    position: relative;
    transition: all 0.6s var(--ease-out-expo);
    will-change: transform, box-shadow, background;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.platform-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.15));
    opacity: 0;
    z-index: -1;
    filter: blur(8px);
    transition: opacity 0.6s var(--ease-out-expo);
    will-change: opacity;
}

.platform-card:hover::after {
    opacity: 0.6;
}

.platform-card:hover {
    transform: translateY(-6px) translateX(4px) translateZ(0);
}

.platform-icon {
    width: 48px;
    height: 48px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    will-change: transform, filter;
    backface-visibility: hidden;
}

.platform-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.5s var(--ease-out-expo);
    will-change: opacity;
}

.platform-card:hover .platform-icon::after {
    opacity: 0.3;
}


.platform-card.facebook:hover .platform-icon {
    background: linear-gradient(135deg, #1877F2, #42a5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(24, 119, 242, 0.6));
    transform: scale(1.15);
}

.platform-card.telegram:hover .platform-icon {
    background: linear-gradient(135deg, #229ED9, #40c4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(34, 158, 217, 0.6));
    transform: scale(1.15);
}

.platform-card.github:hover .platform-icon {
    background: linear-gradient(135deg, #f0f6fc, #c9d1d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(240, 246, 252, 0.5));
    transform: scale(1.15);
}

.platform-card.tiktok:hover .platform-icon {
    background: linear-gradient(135deg, #ff0050, #00f2ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 0, 80, 0.6));
    transform: scale(1.15);
}

.platform-card.instagram:hover .platform-icon {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(225, 48, 108, 0.6));
    transform: scale(1.15);
}

.platform-card.threads:hover .platform-icon {
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    transform: scale(1.15);
}

[data-theme="light"] .platform-card.threads:hover .platform-icon {
    background: linear-gradient(135deg, #000000, #424242);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.3));
}

.platform-card.locket:hover .platform-icon {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    animation: heartBeat 1s ease-in-out infinite;
    transform: scale(1.15);
}

@keyframes heartBeat {

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

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.15);
    }
}

.platform-card.zalo:hover .platform-icon {
    background: linear-gradient(135deg, #0068FF, #4a9eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(0, 104, 255, 0.6));
    transform: scale(1.15);
}

.platform-card.soundcloud:hover .platform-icon {
    background: linear-gradient(135deg, #ff5500, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(255, 85, 0, 0.6));
    transform: scale(1.15);
}

.platform-info {
    flex: 1;
}

.platform-name {
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
    letter-spacing: 0.01em;
    transition: all 0.5s var(--ease-out-expo);
    will-change: transform, color;
    backface-visibility: hidden;
}

.platform-card:hover .platform-name {
    transform: translateX(6px) translateZ(0);
}

.platform-desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    display: block;
    letter-spacing: 0.01em;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}


.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.info-card {
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.6s var(--ease-out-expo);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: all 0.5s var(--ease-out-expo);
    will-change: width, opacity;
}

.info-card:hover::before {
    opacity: 1;
    width: 80px;
}

.info-card:hover {
    transform: translateY(-6px) scale(1.02) translateZ(0);
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.info-value {
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    background: linear-gradient(135deg, var(--color-text), var(--color-text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.01em;
    transition: all 0.5s var(--ease-out-expo);
    will-change: transform, filter;
    backface-visibility: hidden;
}

.info-card:hover .info-value {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
}

.info-card.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.info-value-clickable {
    font-size: 0.9rem;
    color: var(--color-accent);
    cursor: pointer;
    transition: all 0.3s ease;
}

.info-value-clickable:hover {
    color: var(--color-accent-hover);
    transform: scale(1.05);
}

.info-card-reveal {
    transition: all 0.4s var(--ease-out-expo);
    will-change: padding;
}

.info-card-reveal.revealed {
    padding-bottom: 1.5rem;
}

.info-reveal-content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    animation: revealSlideDown 0.5s var(--ease-out-expo);
}

@keyframes revealSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
}

.reveal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.reveal-item:last-child {
    margin-bottom: 0;
}

.reveal-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    flex: 1;
    text-align: left;
    transition: all 0.4s var(--ease-out-expo);
    word-break: break-all;
}

.reveal-link:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.copy-btn-small {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--color-border);
    color: var(--color-accent);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    flex-shrink: 0;
    will-change: transform, background;
    backface-visibility: hidden;
}

.copy-btn-small:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--color-accent);
    transform: scale(1.08) translateZ(0);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.copy-btn-small:active {
    transform: scale(0.95);
}

.copy-btn-small.copied {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    color: #22c55e;
}

.click-text {
    margin-left: 0.5rem;
}


.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 650px;
    margin: 0 auto 6rem;
}

.project-card {
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    will-change: transform;
    backface-visibility: hidden;
}

.project-media {
    position: relative;
    overflow: hidden;
}

.qr-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.project-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #ffffff;
    transform: translateZ(0);
    transition: transform 0.7s var(--ease-out-expo);
    border-bottom: 1px solid var(--color-border);
    will-change: transform;
    backface-visibility: hidden;
}

.project-card:hover .project-thumb {
    transform: scale(1.1) translateZ(0);
}


.bank-mb {
    --glow-color: rgba(59, 130, 246, 0.5);
}

.bank-tp {
    --glow-color: rgba(147, 51, 234, 0.5);
}

.bank-vtb {
    --glow-color: rgba(59, 130, 246, 0.5);
}

.bank-tcb {
    --glow-color: rgba(239, 68, 68, 0.5);
}

.bank-mb:hover {
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3), 0 0 30px rgba(59, 130, 246, 0.2);
}

.bank-tp:hover {
    box-shadow: 0 20px 50px rgba(147, 51, 234, 0.3), 0 0 30px rgba(147, 51, 234, 0.2);
}

.bank-vtb:hover {
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3), 0 0 30px rgba(59, 130, 246, 0.2);
}

.bank-tcb:hover {
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.3), 0 0 30px rgba(239, 68, 68, 0.2);
}

.bank-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.project-content {
    padding: 1.5rem;
    background: var(--color-card-bg);
    position: relative;
    z-index: 2;
}

.project-topline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.bank-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    padding: 3px;
    flex: 0 0 auto;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-text), var(--color-text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.75rem;
    max-width: 950px;
    margin: 0 auto 6rem;
}

.skill-card {
    padding: 2rem;
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
    will-change: transform, border-color;
    backface-visibility: hidden;
}

.skill-card:hover {
    transform: translateY(-6px) scale(1.03) translateZ(0);
    border-color: rgba(99, 102, 241, 0.3);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s var(--ease-out-expo);
    will-change: transform, filter;
    backface-visibility: hidden;
}

.skill-card:hover .skill-icon {
    transform: scale(1.15) translateZ(0);
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.6));
}

.skill-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.skill-level {
    width: 100%;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    border-radius: 10px;
    transition: width 1s ease-out;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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


.copy-btn {
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    will-change: transform, background, box-shadow;
    backface-visibility: hidden;
}

.copy-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-expo);
    will-change: opacity;
}

.copy-btn span,
.copy-btn {
    position: relative;
    z-index: 1;
}

.copy-btn:hover {
    border-color: #a855f7;
    color: #ffffff;
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.4);
}

.copy-btn:hover::before {
    opacity: 1;
}

.copy-btn.copied {
    background: linear-gradient(135deg, #22c55e, #10b981);
    border-color: #22c55e;
    color: #ffffff;
}

.copy-btn.copied::after {
    content: '✓ Đã copy';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(34, 197, 94, 0.9);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}


.email-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.email-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: rgba(139, 92, 246, 0.05);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.3s ease;
}

.email-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(5px);
}

.email-item a {
    flex: 1 1 220px;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: var(--color-text);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
}

.email-item .copy-btn {
    margin-top: 0;
    margin-left: auto;
}


.footer {
    text-align: center;
    padding: 5rem 0 3rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.02));
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.footer p {
    background: linear-gradient(90deg, var(--color-text-secondary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s ease;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

.overlay-content {
    background: linear-gradient(135deg, rgba(20, 20, 25, 0.95), rgba(10, 10, 15, 0.98));
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 90%;
    width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow:
        0 25px 80px rgba(139, 92, 246, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(30px) scale(0.9);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2001;
    pointer-events: auto;
}

[data-theme="light"] .overlay-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.95));
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.overlay.active .overlay-content {
    transform: translateY(0) scale(1);
    animation: modal-pop 0.5s var(--ease-out-expo);
}

@keyframes modal-pop {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

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


.overlay-content::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(6, 182, 212, 0.3));
    filter: blur(25px);
    opacity: 0.5;
    z-index: -1;
}

.close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text);
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
    z-index: 10;
    will-change: transform, background, box-shadow;
    backface-visibility: hidden;
}

.close-btn:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: white;
    transform: rotate(90deg) scale(1.12) translateZ(0);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.6);
}


.modal-title {
    margin-bottom: 1.5rem;
}

.settings-group {
    text-align: left;
    margin-bottom: 2rem;
}

.settings-group:not(:first-of-type) {
    margin-top: 1.5rem;
}

.setting-label {
    display: block;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--color-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.effect-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.effect-btn {
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.4s var(--ease-out-expo);
    letter-spacing: 0.01em;
    will-change: transform, background, box-shadow;
    backface-visibility: hidden;
    cursor: pointer;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.effect-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.effect-btn.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
    transform: translateY(-1px);
}

.effect-btn:active,
.icon-btn:active,
.copy-btn:active {
    transform: scale(0.95);
}


.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out-expo);
    z-index: 1200;
    backdrop-filter: blur(10px);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1) translateZ(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-5px) scale(1.08) translateZ(0);
    box-shadow: 0 10px 36px rgba(99, 102, 241, 0.5);
}


.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    animation: ripple 700ms ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(3);
        opacity: 0;
    }
}


.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}


.platform-card:nth-child(1) {
    transition-delay: 0.05s;
}

.platform-card:nth-child(2) {
    transition-delay: 0.1s;
}

.platform-card:nth-child(3) {
    transition-delay: 0.15s;
}

.platform-card:nth-child(4) {
    transition-delay: 0.2s;
}

.platform-card:nth-child(5) {
    transition-delay: 0.25s;
}

.platform-card:nth-child(6) {
    transition-delay: 0.3s;
}

.platform-card:nth-child(7) {
    transition-delay: 0.35s;
}

.platform-card:nth-child(8) {
    transition-delay: 0.4s;
}

.platform-card:nth-child(9) {
    transition-delay: 0.45s;
}

.platform-card:nth-child(10) {
    transition-delay: 0.5s;
}

.project-card:nth-child(1) {
    transition-delay: 0.05s;
}

.project-card:nth-child(2) {
    transition-delay: 0.15s;
}

.project-card:nth-child(3) {
    transition-delay: 0.25s;
}

.project-card:nth-child(4) {
    transition-delay: 0.35s;
}

.info-card:nth-child(1) {
    transition-delay: 0.05s;
}

.info-card:nth-child(2) {
    transition-delay: 0.1s;
}

.info-card:nth-child(3) {
    transition-delay: 0.15s;
}

.info-card:nth-child(4) {
    transition-delay: 0.2s;
}

.info-card:nth-child(5) {
    transition-delay: 0.25s;
}

.info-card:nth-child(6) {
    transition-delay: 0.3s;
}


.glass-card:focus-within,
.glass-card:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.close-btn:focus-visible,
.effect-btn:focus-visible,
.icon-btn:focus-visible,
.copy-btn:focus-visible,
.back-to-top:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

.music-section {
    margin: 1rem auto 2rem;
    max-width: 1000px;
    padding: 0 20px;
}

.music-player-inline {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.15) 0%, 
        rgba(139, 92, 246, 0.12) 50%, 
        rgba(236, 72, 153, 0.1) 100%);
    backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 0.75rem 1.25rem;
    box-shadow: 
        0 20px 60px rgba(99, 102, 241, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.music-player-inline::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.5s ease;
}

.music-player-inline:hover::before {
    left: 100%;
}

.music-player-inline:hover {
    transform: translateY(-3px) translateZ(0);
    box-shadow: 
        0 28px 80px rgba(99, 102, 241, 0.2),
        0 14px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.music-player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
    gap: 0.5rem;
}

.music-info-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.music-play-pause-inline {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    flex-shrink: 0;
    font-size: 0.9rem;
    box-shadow: 
        0 8px 24px rgba(99, 102, 241, 0.4),
        0 4px 12px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.music-play-pause-inline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.music-play-pause-inline:hover::before {
    width: 100%;
    height: 100%;
}

.music-play-pause-inline:hover {
    transform: scale(1.12) rotate(5deg) translateZ(0);
    box-shadow: 
        0 14px 36px rgba(99, 102, 241, 0.5),
        0 8px 20px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.music-play-pause-inline:active {
    transform: scale(0.95);
}

.music-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.music-title-inline {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    display: block;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.music-artist {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.01em;
}

.music-time-display {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.time-separator {
    color: var(--color-text-secondary);
    opacity: 0.5;
}

.music-progress-container {
    margin-bottom: 0.35rem;
}

.music-slider-inline {
    width: 100%;
    height: 3px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.2);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.music-slider-inline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    border-radius: 10px;
    transition: width 0.1s ease;
}

.music-slider-inline::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    border: 2px solid #6366f1;
    cursor: pointer;
    box-shadow: 
        0 0 0 3px rgba(99, 102, 241, 0.2),
        0 3px 10px rgba(99, 102, 241, 0.6);
    transition: all 0.3s ease;
}

.music-slider-inline::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    box-shadow: 
        0 0 0 5px rgba(99, 102, 241, 0.3),
        0 5px 14px rgba(99, 102, 241, 0.8);
}

.music-slider-inline::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    border: 2px solid #6366f1;
    cursor: pointer;
    box-shadow: 
        0 0 0 3px rgba(99, 102, 241, 0.2),
        0 3px 10px rgba(99, 102, 241, 0.6);
    transition: all 0.3s ease;
}

.music-slider-inline::-moz-range-thumb:hover {
    transform: scale(1.3);
    box-shadow: 
        0 0 0 5px rgba(99, 102, 241, 0.3),
        0 5px 14px rgba(99, 102, 241, 0.8);
}

.music-controls-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

.music-control-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    flex-shrink: 0;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
    will-change: transform, background, box-shadow;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.music-control-btn:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.2));
    border-color: rgba(99, 102, 241, 0.6);
    color: #818cf8;
    transform: scale(1.12) translateY(-3px) translateZ(0);
    box-shadow: 
        0 6px 16px rgba(99, 102, 241, 0.35),
        0 3px 8px rgba(139, 92, 246, 0.25);
}

.music-control-btn.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    color: #6366f1;
}

.volume-slider-inline {
    width: 65px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .music-section {
        max-width: 900px;
        margin: 2rem auto 2rem;
    }
    
    .hero-avatar {
        width: 120px;
        height: 120px;
    }
    
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .section-title {
        margin: 3rem 0 2rem;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header-container {
        padding: 0 16px;
    }
    
    .header {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1.15rem;
    }
    
    section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .section-title {
        margin: 2.5rem 0 1.5rem;
        font-size: 1.75rem;
    }
    
    main {
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }
    
    .music-section {
        max-width: 100%;
        margin: 1.5rem auto 1.5rem;
        padding: 0 15px;
    }
    
    .music-player-inline {
        padding: 0.6rem 1rem;
    }
    
    .music-player-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        margin-bottom: 0.5rem;
    }

    .music-info-inline {
        width: 100%;
        gap: 0.5rem;
    }
    
    .music-play-pause-inline {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .music-time-display {
        align-self: flex-end;
        font-size: 0.75rem;
    }
    
    .music-title-inline {
        font-size: 0.85rem;
    }
    
    .music-artist {
        font-size: 0.7rem;
    }

    .music-controls-inline {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
    }
    
    .music-control-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .volume-slider-inline {
        width: 100px;
    }
    
    .music-progress-container {
        margin-bottom: 0.5rem;
    }
    
    .hero {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .hero-avatar {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .music-section {
        margin: 1.25rem auto 1.25rem;
        padding: 0 12px;
    }
    
    .music-player-inline {
        padding: 0.5rem 0.875rem;
        border-radius: var(--radius-md);
    }
    
    .music-play-pause-inline {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .music-title-inline {
        font-size: 0.8rem;
    }
    
    .music-artist {
        font-size: 0.65rem;
    }
    
    .music-time-display {
        font-size: 0.7rem;
    }
    
    .music-control-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    .volume-slider-inline {
        width: 80px;
    }
    
    .hero-avatar {
        width: 120px;
        height: 120px;
    }
    
    .platform-grid,
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .header-container {
        padding: 0 12px;
    }
    
    .header {
        padding: 0.6rem 0;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .section-title {
        margin: 2rem 0 1.25rem;
        font-size: 1.5rem;
    }
    
    main {
        padding-top: 1rem;
        padding-bottom: 2.5rem;
    }
    
    button,
    .icon-btn,
    .music-play-pause-inline,
    .music-control-btn {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-link,
    .platform-card,
    .glass-card {
        min-height: 44px;
    }

    html {
        -webkit-text-size-adjust: 100%;
    }

    body {
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .hero-avatar {
        width: 100px;
        height: 100px;
    }
    
    section {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .section-title {
        margin: 1.5rem 0 1rem;
        font-size: 1.5rem;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .header-container {
        max-width: 1400px;
    }
    
    .music-section {
        max-width: 1300px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .header-container {
        max-width: 1600px;
    }
    
    .music-section {
        max-width: 1500px;
    }
}


.project-thumb.loading {
    background: linear-gradient(110deg, #ffffff 30%, #f0f0f0 45%, #ffffff 60%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

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


.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    z-index: 10000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (hover: none) {
    .custom-cursor {
        display: none !important;
    }
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}

.custom-cursor.hover .cursor-outline {
    width: 60px;
    height: 60px;
    border-color: rgba(168, 85, 247, 0.8);
}

.custom-cursor.click .cursor-outline {
    width: 30px;
    height: 30px;
}

@media (max-width: 768px) {
    .custom-cursor {
        display: none !important;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
}

[data-tooltip]:hover::after,
[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

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

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-group {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(20, 20, 25, 0.98), rgba(10, 10, 15, 0.98));
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(139, 92, 246, 0.2);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-group.active {
        right: 0;
    }

    [data-theme="light"] .nav-group {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.98));
        border-left-color: rgba(139, 92, 246, 0.1);
    }

    .nav-group .nav {
        width: 100%;
        margin-bottom: 2rem;
    }

    .nav-group .nav-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        list-style: none;
    }

    .nav-group .nav-link {
        display: block;
        padding: 1rem;
        border-radius: var(--radius-md);
        background: rgba(139, 92, 246, 0.05);
        border: 1px solid rgba(139, 92, 246, 0.1);
        transition: all 0.3s ease;
    }

    .nav-group .nav-link:hover {
        background: rgba(139, 92, 246, 0.15);
        transform: translateX(5px);
    }

    .nav-group .header-actions {
        flex-direction: column;
        width: 100%;
    }
}


.bg-3d-scene {
    width: 90vw;
    height: 90vw;
    opacity: 0.08;
}

.platform-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
}

.project-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
}

.section-title::before,
.section-title::after {
    width: 30px;
}

.blob {
    filter: blur(80px);
}

.blob-1 {
    width: 300px;
    height: 300px;
}

.blob-2 {
    width: 250px;
    height: 250px;
}

.blob-3 {
    width: 200px;
    height: 200px;
}


@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    #particle-canvas,
    .bg-3d-scene,
    .bg-blobs {
        display: none !important;
    }

    body::before,
    body::after {
        animation: none !important;
    }
}


.qr-large {
    width: 100%;
    border-radius: 16px;
    margin: 1.5rem 0;
    border: 1px solid var(--color-border);
    background: #ffffff;
}

.banking-square {
    width: min(75vw, 380px);
    height: min(75vw, 380px);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.qr-square {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    border: 2px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9333ea, #0891b2);
}


* {
    scrollbar-width: thin;
    scrollbar-color: #6366f1 var(--color-bg);
}


.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hidden {
    display: none !important;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-accent);
    color: var(--color-text);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: logoPulse 2s ease-in-out infinite;
}

.loader-logo span {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes logoPulse {

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

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.loader-spinner {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.spinner-ring {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    animation: spinnerBounce 1.4s ease-in-out infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes spinnerBounce {

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

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

.loader-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.1em;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow:
        0 25px 60px rgba(139, 92, 246, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(139, 92, 246, 0.1);
}

@keyframes iconPulse {

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

    50% {
        transform: scale(1.1);
    }
}

.platform-card:hover .platform-icon {
    animation: iconPulse 1s ease-in-out infinite;
}

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.active {
    transform: translateY(0);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, transparent 70%);
    animation: ripple 700ms ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes float {

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

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

.hero-avatar {
    animation: avatarGlow 4s ease infinite, floatAvatar 6s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.glass-card::before {
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }

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

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

.glass-card:hover::after {
    background: linear-gradient(135deg, var(--glow-primary), var(--glow-secondary));
    background-size: 200% 200%;
    animation: gradientBorder 3s ease infinite;
    opacity: 0.6;
    filter: blur(20px);
}















html.theme-transitioning * {
    transition: background-color 0.5s ease,
        color 0.5s ease,
        border-color 0.5s ease,
        box-shadow 0.5s ease !important;
}


.parallax-slow {
    will-change: transform;
}

.parallax-medium {
    will-change: transform;
}

.parallax-fast {
    will-change: transform;
}