/* ===== CSS Variables ===== */
:root {
    --bg-primary: #050508;
    --bg-secondary: #0a0a12;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent-cyan: #00d4ff;
    --accent-pink: #ff6b9d;
    --accent-purple: #7b2cbf;
    --accent-orange: #ffa726;
    --text-primary: #ffffff;
    --text-secondary: #a0a8b8;
    --text-muted: #5a6070;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --gradient-hero: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 50%, #ff6b9d 100%);
    --gradient-text: linear-gradient(90deg, #00d4ff, #ff6b9d);
    --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== Particle Canvas ===== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== Cursor Glow ===== */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition:
        left 0.3s ease-out,
        top 0.3s ease-out;
    filter: blur(60px);
}

/* ===== Stars Layer ===== */
.stars-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 50px 90px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 160px 40px, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200px 200px;
    animation: twinkle 8s ease-in-out infinite;
}

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

/* ===== Ambient Glows ===== */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(100px);
    opacity: 0.4;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent 70%);
    top: -10%;
    right: -10%;
    animation: float-glow-1 20s ease-in-out infinite;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.25), transparent 70%);
    bottom: -5%;
    left: -5%;
    animation: float-glow-2 25s ease-in-out infinite;
}

.glow-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.2), transparent 70%);
    top: 50%;
    left: 50%;
    animation: float-glow-3 18s ease-in-out infinite;
}

@keyframes float-glow-1 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-30px, 30px) scale(1.1);
    }
    66% {
        transform: translate(20px, -20px) scale(0.9);
    }
}

@keyframes float-glow-2 {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

@keyframes float-glow-3 {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* ===== Navigation ===== */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-bracket {
    color: var(--accent-cyan);
    font-weight: 300;
}

.logo-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-text);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

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

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 100px 20px 60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

/* ===== Avatar ===== */
.avatar-section {
    margin-bottom: 32px;
}

.avatar-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
}

.avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
    transition: var(--transition);
}

.avatar-wrapper:hover .avatar {
    transform: translate(-50%, -50%) scale(1.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.3);
}

.avatar-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent-cyan);
    border-right-color: var(--accent-pink);
    animation: spin 4s linear infinite;
}

.avatar-ring-inner {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: var(--accent-purple);
    border-left-color: var(--accent-cyan);
    animation: spin-reverse 3s linear infinite;
}

.avatar-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* ===== Hero Title ===== */
.hero-title {
    margin-bottom: 32px;
}

.greeting-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.wave {
    font-size: 2rem;
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%,
    100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(20deg);
    }
    75% {
        transform: rotate(-10deg);
    }
}

.greeting-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.main-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.title-line {
    display: block;
}

.highlight-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 2px;
}

/* ===== Roles ===== */
.roles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.role-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.role-badge:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.role-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* ===== Location ===== */
.location-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.location-icon {
    width: 18px;
    height: 18px;
}

/* ===== Buttons ===== */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-hero);
    color: white;
    box-shadow: 0 4px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-pink);
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255, 107, 157, 0.2);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fade-in-up 1s ease-out 2s both;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scroll-wheel {
    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent-cyan);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
}

/* ===== Skills Section ===== */
.skills-section {
    position: relative;
    z-index: 2;
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.interests-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.interest-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.interest-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.interest-card:hover::before {
    transform: scaleX(1);
}

.interest-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.interest-card:hover .interest-icon {
    transform: scale(1.2);
}

.interest-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.interest-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Social Section ===== */
.social-section {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.badge-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.badge-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.badge-card.homepage:hover {
    border-color: var(--accent-cyan);
}

.badge-card.github:hover {
    border-color: #6e5494;
}

.badge-card.gitee:hover {
    border-color: #c71d23;
}

.badge-card.juejin:hover {
    border-color: #1e80ff;
}

.badge-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.badge-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.badge-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.badge-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== Contact Section ===== */
.contact-section {
    position: relative;
    z-index: 2;
    padding: 120px 20px;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.footer-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== Grid Background ===== */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.4);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-bar {
        padding: 16px 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .hero-section {
        padding: 80px 16px 40px;
    }

    .avatar-wrapper {
        width: 140px;
        height: 140px;
    }

    .avatar {
        width: 120px;
        height: 120px;
    }

    .avatar-pulse {
        width: 140px;
        height: 140px;
    }

    .main-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .greeting-text {
        font-size: 1rem;
    }

    .roles-container {
        gap: 10px;
    }

    .role-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

    .interest-card {
        padding: 24px 16px;
    }

    .interest-icon {
        font-size: 2.5rem;
    }

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

    .contact-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .cursor-glow {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

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

    .interest-card h3 {
        font-size: 1rem;
    }

    .interest-card p {
        font-size: 0.75rem;
    }
}

/* ===== Music Modal ===== */
.music-modal {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.music-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.music-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.6);
    backdrop-filter: blur(4px);
}

.music-modal-content {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 20px 20px 0 0;
    padding: 28px 24px 24px;
    text-align: center;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.music-modal.active .music-modal-content {
    transform: translateY(0);
}

/* PC端：右下角弹出 */
@media (min-width: 769px) {
    .music-modal {
        left: auto;
        right: 24px;
        bottom: 24px;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .music-modal-overlay {
        display: none;
    }

    .music-modal-content {
        border-radius: 20px;
        max-width: 340px;
        box-shadow:
            0 8px 40px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.05);
        transform: translateY(20px) scale(0.95);
        opacity: 0;
        transition:
            transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
            opacity 0.3s ease;
    }

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

.music-modal-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    animation: music-bounce 2s ease-in-out infinite;
}

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

.music-modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.music-modal-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.music-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.music-modal-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.music-modal-btn-primary {
    background: var(--gradient-hero);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.music-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.4);
}

.music-modal-btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.music-modal-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .music-modal-content {
        padding: 24px 20px 20px;
    }

    .music-modal-actions {
        flex-direction: column;
    }

    .music-modal-btn {
        width: 100%;
    }
}

/* ===== Animation Utilities ===== */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
