:root {
    --primary-color: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.25);
    --text-color: #FFFFFF;
    --text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    --blur-amount: 3px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75) contrast(1.1);
    animation: slowZoom 30s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 192, 203, 0.6);
    border-radius: 150% 0 150% 0;
    animation: fall linear infinite;
    box-shadow: 0 0 5px rgba(255, 192, 203, 0.4);
}

@keyframes fall {
    0% {
        opacity: 0;
        transform: translateY(-10%) rotate(0deg) translateX(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(720deg) translateX(50px);
    }
}

.glass-card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: none;
    transition: var(--transition);
}

@media (hover: hover) {
    .glass-card:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
}

.main-container {
    display: flex;
    min-height: 100vh;
    padding: 20px;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.left-sidebar {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding: 40px 0;
    justify-content: center;
}

.mobile-title-wrapper {
    display: none;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
}

.mobile-title {
    font-size: 2rem;
    text-align: center;
    font-weight: 900;
    font-style: italic;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3), 5px 5px 10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
    transform: skewX(-5deg);
    text-transform: uppercase;
    display: flex;
    align-items: baseline;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.avatar-container {
    position: relative;
    width: 150px;
    height: 150px;
    cursor: pointer;
}

.avatar-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: #00d4ff;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(15px);
}

.avatar-container:hover::before {
    opacity: 0.8;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; filter: blur(15px); }
    50% { opacity: 1; filter: blur(20px); }
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1);
    opacity: 0.35;
}

.avatar-container:hover .avatar {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 60px rgba(0, 212, 255, 0.5), 0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 212, 255, 0.9);
    filter: brightness(1.1);
    opacity: 0.5;
}

.avatar-container.playing .avatar {
    animation: spin 3s linear infinite, avatarGlow 2s ease-in-out infinite, pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

@keyframes avatarGlow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.4);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 50px rgba(0, 212, 255, 0.8), 0 0 100px rgba(0, 212, 255, 0.5);
        filter: brightness(1.15);
    }
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.avatar-container:hover .avatar-overlay {
    opacity: 1;
}

.avatar-overlay i {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.5);
    animation: iconGlow 2s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% { transform: scale(1); text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.5); }
    50% { transform: scale(1.15); text-shadow: 0 0 30px rgba(0, 212, 255, 1), 0 0 60px rgba(0, 212, 255, 0.7); }
}

.music-wave {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 4px;
}

.music-wave.playing {
    display: flex;
}

.music-wave span {
    width: 3px;
    height: 15px;
    background: white;
    border-radius: 3px;
    animation: wave 1s ease-in-out infinite;
}

.music-wave span:nth-child(1) { animation-delay: 0s; }
.music-wave span:nth-child(2) { animation-delay: 0.2s; }
.music-wave span:nth-child(3) { animation-delay: 0.4s; }
.music-wave span:nth-child(4) { animation-delay: 0.6s; }

@keyframes wave {
    0%, 100% { height: 15px; }
    50% { height: 25px; }
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(-8px) scale(1.15) rotate(5deg); }
    50% { transform: translateY(-12px) scale(1.2) rotate(-5deg); }
}

.email-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.email-display {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: var(--text-color);
    font-size: 0.95rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    transition: var(--transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    width: 100%;
    justify-content: center;
}

.email-display:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.email-display i {
    font-size: 1.2rem;
    color: rgba(0, 212, 255, 0.9);
}

.email-display span {
    letter-spacing: 0.5px;
    font-weight: 500;
}

.email-tip {
    font-size: 0.85rem;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    text-align: center;
    margin: 0;
    padding: 0;
    letter-spacing: 1px;
    font-weight: 400;
}

.right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
    padding: 20px;
    max-height: 100vh;
}

.right-content::-webkit-scrollbar {
    width: 0;
    display: none;
}

.right-content {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.top-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.main-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 900;
    font-style: italic;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3), 5px 5px 10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
    letter-spacing: 3px;
    animation: fadeInDown 1s ease;
    color: #FFFFFF;
    transform: skewX(-5deg);
    text-transform: uppercase;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.title-greeting {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d, #6bcf7f, #4d96ff, #a78bfa);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowFlow 4s ease infinite, bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 107, 107, 0.6));
    font-weight: 800;
    transform: rotate(-10deg);
}

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

.title-name {
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, #00f5ff, #00d4ff, #fff, #00f5ff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.8)) drop-shadow(0 0 40px rgba(0, 245, 255, 0.4));
}

@keyframes titleGlow {
    0%, 100% { 
        background-position: 0% 50%;
        filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.8)) drop-shadow(0 0 40px rgba(0, 245, 255, 0.4));
    }
    50% { 
        background-position: 100% 50%;
        filter: drop-shadow(0 0 30px rgba(0, 245, 255, 1)) drop-shadow(0 0 60px rgba(0, 245, 255, 0.6));
    }
}

.title-author {
    font-size: 1.2rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 
                 0 0 20px rgba(255, 215, 0, 0.5), 
                 0 0 30px rgba(255, 215, 0, 0.3),
                 2px 2px 5px rgba(0, 0, 0, 0.5);
    animation: authorPulse 2s ease-in-out infinite;
    margin-left: 5px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes authorPulse {
    0%, 100% { 
        transform: translateX(0);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    }
    50% { 
        transform: translateX(3px);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.9));
    }
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 24px;
}

.nav-item {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-item:hover, .nav-item.active {
    background: rgba(255, 255, 255, 0.2);
}

.clock-widget {
    padding: 30px 40px;
    text-align: center;
    position: relative;
    min-width: 350px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.time {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
    letter-spacing: 8px;
    background: linear-gradient(45deg, #00f5ff, #00d4ff, #00f5ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: timeGlow 3s ease-in-out infinite, gradientShift 5s ease infinite;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.5), 0 0 40px rgba(0, 245, 255, 0.3), 0 0 60px rgba(0, 245, 255, 0.2);
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.8));
}

@keyframes timeGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.8)) brightness(1); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 245, 255, 1)) brightness(1.2); }
}

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

.date {
    font-size: 1.1rem;
    opacity: 0.9;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.clock-visual {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
}

.clock-circle {
    width: 100%;
    height: 100%;
    position: relative;
}

.clock-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
}

.clock-ring:nth-child(1) {
    border-top-color: #00f5ff;
    border-right-color: #00f5ff;
    animation: spinClockwise 3s linear infinite;
    opacity: 0.8;
}

.clock-ring:nth-child(2) {
    border-bottom-color: #ffd700;
    border-left-color: #ffd700;
    animation: spinCounterClockwise 4s linear infinite;
    opacity: 0.6;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
}

.clock-ring:nth-child(3) {
    border-top-color: #00d4ff;
    border-right-color: #00d4ff;
    animation: spinClockwise 5s linear infinite;
    opacity: 0.4;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
}

@keyframes spinClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spinCounterClockwise {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.typewriter-section {
    padding: 25px 35px;
    text-align: center;
    margin: 0 20px;
    background: transparent;
}

.typewriter-text {
    font-size: 1.2rem;
    line-height: 1.9;
    text-shadow: var(--text-shadow);
    min-height: 60px;
    font-weight: 300;
    letter-spacing: 0.5px;
    animation: fadeInText 1s ease;
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.projects-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px 40px;
}

.project-card {
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    min-height: 200px;
    opacity: 0.1;
    will-change: transform;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

@media (hover: hover) {
    .project-card:hover::before {
        animation: shine 1.5s ease-in-out;
    }

    @keyframes shine {
        0% { top: -50%; left: -50%; opacity: 0; }
        50% { opacity: 1; }
        100% { top: 50%; left: 50%; opacity: 0; }
    }

    .project-card:hover {
        transform: translateY(-8px);
        border-color: rgba(255, 255, 255, 0.35);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        opacity: 0.3;
    }
}

@media (hover: none) {
    .project-card:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.15);
        opacity: 0.4;
    }
}

.project-content {
    padding: 20px 18px;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8), 0 1px 5px rgba(0, 0, 0, 0.6);
    font-weight: 600;
}

.project-subtitle {
    font-size: 0.85rem;
    opacity: 1;
    margin-bottom: 10px;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.project-description {
    font-size: 0.8rem;
    opacity: 1;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 5;
}

@media (hover: hover) {
    .project-link:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateX(8px);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
    }
}

@media (hover: none) {
    .project-link:active {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(0.95);
    }
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

.clear-screen-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .slider {
    background: rgba(76, 175, 80, 0.3);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
    }
    .left-sidebar {
        width: 100%;
        padding: 20px;
    }
    .mobile-title-wrapper {
        display: flex;
    }
    .main-title-wrapper {
        display: none;
    }
    .top-section {
        justify-content: center;
    }
    .clock-visual {
        display: none;
    }
    .right-content {
        max-height: none;
        overflow-y: visible;
    }
    .projects-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .glass-card, .project-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
        background: rgba(0, 0, 0, 0.4) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        transform: none !important;
        will-change: auto !important;
        pointer-events: none;
    }
    .project-content {
        pointer-events: auto;
        position: relative;
        z-index: 5;
    }
    .project-card:active {
        transform: scale(0.98) !important;
        background: rgba(0, 0, 0, 0.5) !important;
    }
    .project-link {
        padding: 12px 24px;
        background: rgba(255, 255, 255, 0.2);
        pointer-events: auto;
        position: relative;
        z-index: 20;
        display: inline-flex;
    }
    .project-link:active {
        background: rgba(255, 255, 255, 0.3);
    }
    .main-title {
        font-size: 2.5rem;
    }
    .mobile-title {
        font-size: 1.8rem;
    }
    .title-greeting {
        font-size: 1.5rem;
    }
    .title-author {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    .nav-menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        padding: 15px;
        background: rgba(255, 255, 255, 0.1);
    }
    .nav-item {
        padding: 10px 20px;
        font-size: 1.1rem;
    }
    .clock-widget {
        width: 100%;
        padding: 20px;
    }
    .time {
        font-size: 2.2rem;
    }
    .typewriter-text {
        font-size: 1.1rem;
        min-height: 50px;
    }
    .avatar-container {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    .social-icons {
        padding: 10px 0;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 15px 10px;
    }
    .left-sidebar {
        gap: 20px;
        padding: 10px 0;
    }
    .mobile-title {
        font-size: 1.5rem;
    }
    .title-greeting {
        font-size: 1.2rem;
    }
    .title-name {
        font-size: 1.5rem;
    }
    .title-author {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    .time {
        font-size: 2rem;
    }
    .project-title {
        font-size: 1.2rem;
    }
}

.mc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.mc-modal.show {
    display: flex;
}

.mc-modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.mc-modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

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

.mc-modal-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.mc-modal-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.mc-modal-tip {
    display: block;
    margin-top: 15px;
    font-size: 0.95rem;
    color: rgba(0, 212, 255, 0.9);
    font-weight: 500;
}

.mc-modal-countdown {
    font-size: 1.2rem;
    color: rgba(255, 200, 0, 0.9);
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.mc-modal-countdown span {
    font-size: 2rem;
    color: #ffd700;
    font-weight: 700;
}

.mc-modal-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.mc-modal-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.mc-modal-btn:disabled {
    background: linear-gradient(135deg, #666, #888);
    cursor: not-allowed;
    opacity: 0.6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.main-container {
    animation: fadeIn 0.8s ease;
}

.project-card {
    animation: fadeIn 1s ease backwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }