header {
    text-align: center;
    padding: 60px 0 100px;
    position: relative;
    perspective: 1000px;
}

.profile-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(0, 243, 255, 0.5);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.15);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--easing);
}

.profile-wrapper:hover .profile-img img {
    transform: scale(1.1);
}

.orbit-system {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: orbitRotate 10s linear infinite;
    z-index: 1;
}

.orbit-system::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.planet {
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-cyan);
    transform: translateX(-50%);
}

.satellite {
    position: absolute;
    top: 50%;
    right: -4px;
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-purple);
    transform: translateY(-50%);
}

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

header h1 {
    font-size: 3.5rem;
    margin-bottom: 16px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
    position: relative;
    display: inline-block;
}

.glitch-title {
    position: relative;
}

.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-title::before {
    color: #0ff;
    z-index: -1;
    animation: glitch-effect 3s infinite linear alternate-reverse;
}

.glitch-title::after {
    color: #f0f;
    z-index: -2;
    animation: glitch-effect 2s infinite linear alternate-reverse;
}

@keyframes glitch-effect {
    0% { clip: rect(44px, 9999px, 56px, 0); transform: translate(2px,0); }
    20% { clip: rect(12px, 9999px, 80px, 0); transform: translate(-2px,2px); }
    40% { clip: rect(60px, 9999px, 10px, 0); transform: translate(2px,-2px); }
    60% { clip: rect(30px, 9999px, 70px, 0); transform: translate(-2px,2px); }
    80% { clip: rect(10px, 9999px, 50px, 0); transform: translate(2px,-2px); }
    100% { clip: rect(80px, 9999px, 20px, 0); transform: translate(-2px,2px); }
}

.tagline {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    letter-spacing: 0.1em;
    display: block;
    min-height: 1.5em;
}

.grid-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 32px;
    margin-bottom: 80px;
}

.card {
    padding: 40px;
    height: 100%;
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-main);
}

.section-title i {
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 5px var(--accent-cyan));
}

.profile-list {
    list-style: none;
}

.profile-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-sub);
    font-size: 0.95rem;
    transition: transform 0.3s;
}

.profile-list li:hover {
    transform: translateX(10px);
    color: var(--text-main);
}

.profile-list i {
    color: var(--accent-blue);
    width: 24px;
    text-align: center;
}

.social-links {
    margin-top: 32px;
    display: flex;
    gap: 16px;
}

.social-btn {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-sub);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: var(--accent-cyan);
    z-index: -1;
    transition: width 0.3s var(--easing);
}

.social-btn:hover::before {
    width: 100%;
}

.social-btn:hover {
    color: #000;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.works-grid {
    display: grid;
    gap: 24px;
}

.work-item {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--easing);
}

.work-content {
    padding: 28px;
    position: relative;
    z-index: 2;
}

.work-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(0, 243, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.work-item:hover .work-glow {
    opacity: 1;
}

.work-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 243, 255, 0.5);
    box-shadow: 0 10px 40px -10px rgba(0, 243, 255, 0.2);
}

.work-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.work-icon {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    background: rgba(0, 243, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.work-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-en);
}

.work-desc {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.work-link-arrow {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: gap 0.3s;
}

.work-item:hover .work-link-arrow {
    gap: 15px;
    text-shadow: 0 0 8px var(--accent-cyan);
}

.full-section {
    margin-bottom: 80px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.info-card {
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-card h3 {
    margin-bottom: 16px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
}

.contact-section {
    text-align: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 80px 24px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hologram-effect {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 243, 255, 0.05) 3px);
    pointer-events: none;
    z-index: 0;
}

.contact-info {
    margin: 20px 0;
    color: var(--text-main);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.contact-info a {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: transparent;
    color: var(--accent-cyan);
    font-weight: 800;
    border: 2px solid var(--accent-cyan);
    border-radius: 50px;
    margin-top: 24px;
    transition: all 0.3s var(--easing);
    font-family: var(--font-en);
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--accent-cyan);
    transform: translateX(-100%);
    transition: transform 0.3s var(--easing);
    z-index: -1;
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary:hover {
    color: #000;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
    header h1 {
        font-size: 2.5rem;
    }
}
