/* === Modern Tech Theme CSS for sunjianyin.com === */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-card: rgba(26, 26, 46, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);
    
    /* Neon Colors */
    --neon-blue: #00d4ff;
    --neon-purple: #8b5cf6;
    --neon-green: #00ff88;
    --neon-pink: #ff0080;
    --neon-orange: #ff6b35;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b4b4b4;
    --text-muted: #6b7280;
    --text-accent: var(--neon-blue);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    --gradient-secondary: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    --gradient-accent: linear-gradient(135deg, var(--neon-pink), var(--neon-orange));
    
    /* Shadows */
    --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.2);
    
    /* Border */
    --border-neon: 1px solid rgba(0, 212, 255, 0.3);
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-20px) translateY(-10px); }
    50% { transform: translateX(20px) translateY(10px); }
    75% { transform: translateX(-10px) translateY(20px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADER === */
.site-header {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: var(--border-glass);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.site-title {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8)); }
}

.site-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 10px;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.8;
}

/* === MAIN CONTENT === */
.main-content {
    padding: 40px 0;
    position: relative;
}

/* === HERO SECTION === */
.hero-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 60vh;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.typing-text {
    display: block;
    color: var(--text-primary);
    margin-bottom: 10px;
}

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

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 50px;
    max-width: 90%;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* === 3D TECH CUBE === */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.tech-cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s infinite linear;
}

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

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--neon-blue);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    opacity: 0.8;
}

.cube-face.front { transform: rotateY(0deg) translateZ(100px); }
.cube-face.back { transform: rotateY(180deg) translateZ(100px); }
.cube-face.right { transform: rotateY(90deg) translateZ(100px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(100px); }
.cube-face.top { transform: rotateX(90deg) translateZ(100px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }

.cube-face::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: var(--gradient-primary);
    opacity: 0.3;
    border-radius: 10px;
}

/* === HEADER DECORATIONS === */
.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
}

.tech-line {
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
}

.tech-dots {
    display: flex;
    gap: 8px;
}

.tech-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-blue);
    animation: pulse 2s infinite;
}

.tech-dots span:nth-child(2) { animation-delay: 0.3s; }
.tech-dots span:nth-child(3) { animation-delay: 0.6s; }

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 60px;
    position: relative;
    color: var(--text-primary);
}

.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gradient-secondary);
    border-radius: 1px;
}

/* === TITLE DECORATIONS === */
.title-decoration {
    color: var(--neon-blue);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    opacity: 0.7;
}

/* === TIMELINE SECTION === */
.timeline-section {
    margin-bottom: 100px;
}

/* === TIMELINE TOGGLE === */
.timeline-toggle, .about-toggle {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
}

.timeline-toggle:hover, .about-toggle:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.toggle-icon {
    margin-left: 15px;
    font-size: 1.2rem;
    color: var(--neon-blue);
    transition: all 0.3s ease;
    display: inline-block;
}

.timeline-toggle:hover .toggle-icon, .about-toggle:hover .toggle-icon {
    transform: scale(1.2);
    color: var(--neon-green);
}

/* === TIMELINE HINT === */
.timeline-hint, .about-hint {
    text-align: center;
    margin: 30px 0;
    opacity: 0.8;
    animation: pulseHint 2s ease-in-out infinite;
}

.hint-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', monospace;
}

.hint-arrow {
    color: var(--neon-blue);
    font-size: 1.5rem;
    animation: bounceArrow 1.5s ease-in-out infinite;
}

@keyframes pulseHint {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

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

.timeline {
    position: relative;
    padding: 40px 0;
    transition: all 0.5s ease;
    overflow: hidden;
}

/* === TIMELINE STATES === */
.timeline.collapsed, .about-grid.collapsed {
    max-height: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(-20px);
    overflow: hidden;
}

.timeline.expanded, .about-grid.expanded {
    max-height: none;
    padding: 40px 0;
    opacity: 1;
    transform: translateY(0);
}

.about-grid {
    transition: all 0.5s ease;
    overflow: hidden;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: var(--shadow-neon);
}

.timeline-item {
    padding: 30px 0;
    position: relative;
    width: 50%;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

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

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 80px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 80px;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--neon-blue);
    top: 50px;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    transition: all 0.3s ease;
}

.timeline-item:hover::after {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 15px;
    border: var(--border-glass);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-content::before {
    transform: scaleX(1);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 600;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-family: 'JetBrains Mono', monospace;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.timeline-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.timeline-link:hover {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.timeline-link:hover::after {
    transform: translateX(5px);
}

/* === TECH TAGS === */
.timeline-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tech-tag {
    padding: 4px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--neon-blue);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--neon-blue);
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* === ABOUT SECTION === */
.about-section {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    padding: 80px 0;
    border: var(--border-glass);
    border-radius: 20px;
    margin: 100px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-section.collapsed {
    padding: 20px 0;
    margin: 20px 0;
    max-height: 300px;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: rotate 20s linear infinite;
    z-index: -1;
}

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

.about-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-content p:first-child {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* === ABOUT GRID === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin: 0 auto;
    max-width: calc(100% - 80px);
    min-height: 600px;
}

/* === SKILLS CONTAINER === */
.skills-container {
    margin: 40px auto 0 auto;
    max-width: calc(100% - 80px);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.skills-container.collapsed {
    opacity: 0;
    transform: translateY(20px);
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.skills-card {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

.skills-card:hover::before {
    left: 100%;
}

.skills-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 40px rgba(0, 255, 136, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .skills-container {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .about-grid {
        gap: 20px;
        min-height: auto;
    }
    
    .skills-container {
        margin-top: 20px;
    }
    
    .profile-card,
    .about-text,
    .skills-card {
        padding: 20px;
    }
}

/* === PROFESSIONAL PROFILE CARD === */
.profile-card {
    order: 1;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.profile-card:hover::before {
    left: 100%;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* === AVATAR SECTION === */
.avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
}

.avatar-outer-ring {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--neon-blue), var(--neon-green), var(--neon-purple), var(--neon-blue));
    padding: 4px;
    animation: breathingGlow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
    transition: all 0.6s ease;
}

.avatar-outer-ring:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px rgba(0, 212, 255, 0.8));
    animation: breathingGlow 2s ease-in-out infinite;
}

@keyframes breathingGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5));
        background: conic-gradient(from 0deg, var(--neon-blue), var(--neon-green), var(--neon-purple), var(--neon-blue));
    }
    50% { 
        filter: drop-shadow(0 0 40px rgba(0, 255, 136, 0.7));
        background: conic-gradient(from 0deg, var(--neon-green), var(--neon-blue), var(--neon-green), var(--neon-blue));
    }
}

.avatar-middle-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-dark);
    padding: 8px;
    position: relative;
    overflow: hidden;
}

.avatar-inner-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 255, 136, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    transition: all 0.6s ease;
    filter: brightness(0.9) contrast(1.1) saturate(1.1);
}

.avatar-inner-container:hover .avatar-image {
    filter: brightness(1.1) contrast(1.2) saturate(1.2);
    transform: scale(1.08);
}

.avatar-inner-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 255, 136, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s ease;
}

.avatar-inner-container:hover {
    box-shadow: 
        inset 0 0 30px rgba(0, 212, 255, 0.3),
        0 0 40px rgba(0, 255, 136, 0.4);
    border-color: rgba(0, 255, 136, 0.5);
}

/* === SCAN LINE EFFECT === */
.avatar-scan-line {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
    border-radius: 1px;
    animation: scanLine 6s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes scanLine {
    0%, 100% { 
        top: -2px;
        opacity: 0;
    }
    50% { 
        top: 50%;
        opacity: 1;
    }
    100% { 
        top: 100%;
        opacity: 0;
    }
}

/* === PARTICLE EFFECTS === */
.avatar-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 50%;
}

.avatar-particles::before,
.avatar-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-blue);
    border-radius: 50%;
    animation: floatParticle 4s ease-in-out infinite;
    box-shadow: 0 0 10px var(--neon-blue);
}

.avatar-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.avatar-particles::after {
    top: 70%;
    right: 20%;
    animation-delay: 2s;
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

@keyframes floatParticle {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* === STATUS INDICATOR === */
.avatar-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--neon-green);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.status-text {
    font-size: 0.9rem;
    color: var(--neon-green);
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* === PROFILE INFO SECTION === */
.profile-info {
    text-align: center;
    position: relative;
}

/* === NAME SECTION === */
.name-section {
    margin-bottom: 24px;
    position: relative;
}

.profile-name {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    animation: nameGlow 3s ease-in-out infinite alternate;
}

@keyframes nameGlow {
    from { 
        filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    }
    to { 
        filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.5));
    }
}

.name-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-green));
    margin: 12px auto;
    border-radius: 2px;
    animation: underlineExpand 2s ease-in-out infinite alternate;
}

@keyframes underlineExpand {
    from { width: 60px; }
    to { width: 100px; }
}

/* === TITLE SECTION === */
.title-section {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neon-blue);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    letter-spacing: 1px;
}

.profile-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    opacity: 0.9;
}

/* === SLOGAN SECTION === */
.slogan-section {
    margin-bottom: 32px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.slogan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    animation: sloganShine 4s ease-in-out infinite;
}

@keyframes sloganShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.profile-slogan {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* === STATS SECTION === */
.stats-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    padding: 24px 32px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
    animation: statPulse 3s ease-in-out infinite;
    white-space: nowrap;
}

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

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* === CONTACT SECTION === */
.contact-section {
    margin-top: 32px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

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

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.btn-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.contact-btn:hover .btn-icon {
    transform: rotate(15deg) scale(1.1);
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* === TEXT CARD SECTION === */
.about-text {
    order: 2;
}

.text-card {
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.text-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 48px rgba(0, 255, 136, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--neon-green);
    margin: 0;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.card-decoration {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), transparent);
    border-radius: 1px;
}

.card-content {
    position: relative;
}

.card-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 20px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.card-content p:hover {
    opacity: 1;
}

.card-content .about-intro {
    font-size: 1.3rem !important;
    font-weight: 500;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    border-left: 3px solid var(--neon-blue);
    padding-left: 20px;
    margin-left: 0;
    background: rgba(0, 212, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.card-content .about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-green));
    animation: introGlow 3s ease-in-out infinite alternate;
}

@keyframes introGlow {
    from { box-shadow: 0 0 10px rgba(0, 212, 255, 0.5); }
    to { box-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
}

.about-intro {
    font-size: 1.4rem !important;
    color: var(--text-accent) !important;
    font-weight: 600 !important;
    margin-bottom: 30px !important;
}

.about-text {
    padding: 0;
    margin: 0;
}

.about-text p {
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* === SKILLS SECTION === */
.about-skills h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
}

.skill-category {
    margin-bottom: 25px;
}

.skill-category h4 {
    font-size: 1.1rem;
    color: var(--neon-green);
    margin-bottom: 15px;
    font-family: 'JetBrains Mono', monospace;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--neon-green);
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--neon-green);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: var(--neon-green);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    transform: translateY(-2px);
}

/* === LATEST POSTS SECTION === */
.latest-posts {
    padding: 80px 0;
}

/* === POSTS GRID === */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.post-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: var(--border-glass);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.post-card-inner {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.post-category {
    padding: 4px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--neon-purple);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--neon-purple);
    font-family: 'JetBrains Mono', monospace;
}

.post-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.post-title {
    margin-bottom: 15px;
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--neon-blue);
}

.post-excerpt {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-tag {
    padding: 4px 10px;
    background: var(--bg-glass);
    border: 1px solid var(--neon-orange);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--neon-orange);
    font-family: 'JetBrains Mono', monospace;
}

/* === SECTION FOOTER === */
.section-footer {
    text-align: center;
    margin-top: 50px;
}

.all-posts-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 40px auto 0;
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-neon);
    text-align: center;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.all-posts-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

/* === FOOTER === */
.site-footer {
    padding: 60px 0;
    border-top: var(--border-glass);
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    margin-top: 100px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.footer-info {
    text-align: left;
}

.footer-tech {
    text-align: right;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-text a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-text a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.tech-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-family: 'JetBrains Mono', monospace;
}

.tech-stack-footer {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.tech-stack-footer span {
    padding: 4px 10px;
    background: var(--bg-glass);
    border: 1px solid var(--neon-blue);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--neon-blue);
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.tech-stack-footer span:hover {
    background: var(--neon-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.footer-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.footer-line {
    width: 100px;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

/* === RESPONSIVE DESIGN === */
@media screen and (max-width: 768px) {
    .site-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .site-tagline {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-cube {
        width: 150px;
        height: 150px;
    }
    
    .cube-face {
        width: 150px;
        height: 150px;
    }
    
    .cube-face.front { transform: rotateY(0deg) translateZ(75px); }
    .cube-face.back { transform: rotateY(180deg) translateZ(75px); }
    .cube-face.right { transform: rotateY(90deg) translateZ(75px); }
    .cube-face.left { transform: rotateY(-90deg) translateZ(75px); }
    .cube-face.top { transform: rotateX(90deg) translateZ(75px); }
    .cube-face.bottom { transform: rotateX(-90deg) translateZ(75px); }
    
    /* Timeline Toggle Mobile */
    .toggle-icon {
        font-size: 1rem;
        margin-left: 10px;
    }
    
    .timeline-hint {
        margin: 20px 0;
    }
    
    .hint-text {
        font-size: 0.9rem;
    }
    
    .hint-arrow {
        font-size: 1.2rem;
    }
    
    /* Timeline Mobile */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px !important;
        padding-right: 20px !important;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 10px !important;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-year {
        font-size: 1.5rem;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
    
    /* About Section Mobile */
    .about-section {
        margin: 60px 0;
        padding: 60px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-left: 20px;
        min-height: auto;
    }
    
    /* Profile Card Mobile */
    .profile-card {
        padding: 24px;
        margin-bottom: 30px;
    }
    
    .avatar-outer-ring {
        width: 200px;
        height: 200px;
    }
    
    .profile-name {
        font-size: 2.2rem;
    }
    
    .profile-title {
        font-size: 1.2rem;
    }
    
    .profile-slogan {
        font-size: 1rem;
    }
    
    .stats-section {
        padding: 16px 20px;
        gap: 16px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .contact-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .text-card {
        padding: 24px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    /* Posts Grid Mobile */
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-tech {
        text-align: center;
    }
    
    .tech-stack-footer {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .main-content {
        padding: 40px 0;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .site-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .post-item {
        padding: 20px;
    }
    
    .about-grid {
        margin-left: 10px;
        gap: 30px;
    }
    
    /* Profile Card Small Mobile */
    .profile-card {
        padding: 20px;
    }
    
    .avatar-outer-ring {
        width: 160px;
        height: 160px;
    }
    
    .profile-name {
        font-size: 1.8rem;
    }
    
    .profile-title {
        font-size: 1rem;
    }
    
    .profile-subtitle {
        font-size: 0.9rem;
    }
    
    .profile-slogan {
        font-size: 0.9rem;
    }
    
    .stats-section {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .stat-item {
        flex-direction: column;
        gap: 6px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .contact-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .text-card {
        padding: 20px;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
}

/* === PORTFOLIO STYLES === */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.portfolio-item-inner {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    overflow: hidden;
    border: var(--border-glass);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.portfolio-item-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.portfolio-item-inner:hover::before {
    transform: scaleX(1);
}

.portfolio-item-inner:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-item-inner:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 25px;
    flex-grow: 1;
}

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: var(--text-primary);
}

.portfolio-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* === BLOG CARD STYLES === */
.blog .site-main, .archive .site-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.post-card {
    margin-bottom: 0;
}

.post-card-inner {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    overflow: hidden;
    border: var(--border-glass);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

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

.post-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.post-card-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.post-card-inner:hover .post-card-thumbnail img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card .entry-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.post-card .entry-summary {
    color: var(--text-secondary);
    font-size: 1rem;
    flex-grow: 1;
    line-height: 1.6;
}

.post-card .entry-footer {
    border-top: var(--border-glass);
    padding-top: 15px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-card .read-more-link {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.post-card .read-more-link:hover {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}