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

body {
    font-family: 'Courier New', monospace;
    background: #000;
    overflow-x: hidden;
    cursor: none;
}

.cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 3px solid #0ff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.1s, border-color 0.3s;
    box-shadow: 0 0 20px #0ff, inset 0 0 20px #0ff;
}

.cursor-trail {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #0ff;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: trailFade 1s forwards;
}

@keyframes trailFade {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0; transform: scale(0); }
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.glitch-wrapper {
    position: relative;
}

.glitch {
    font-size: 8rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    color: #fff;
    animation: glitch 1s infinite;
}

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

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00de;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00de;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff, 0.025em 0.04em 0 #fffc00; }
    15% { text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff, 0.025em 0.04em 0 #fffc00; }
    16% { text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff, -0.05em -0.05em 0 #fffc00; }
    49% { text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff, -0.05em -0.05em 0 #fffc00; }
    50% { text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff, 0 -0.04em 0 #fffc00; }
    99% { text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff, 0 -0.04em 0 #fffc00; }
    100% { text-shadow: -0.05em 0 0 #00fffc, -0.025em -0.04em 0 #fc00ff, -0.04em -0.025em 0 #fffc00; }
}

@keyframes glitch-anim {
    0% { clip: rect(61px, 9999px, 12px, 0); }
    5% { clip: rect(33px, 9999px, 144px, 0); }
    10% { clip: rect(121px, 9999px, 115px, 0); }
    15% { clip: rect(144px, 9999px, 162px, 0); }
    20% { clip: rect(62px, 9999px, 180px, 0); }
    25% { clip: rect(34px, 9999px, 42px, 0); }
    30% { clip: rect(147px, 9999px, 179px, 0); }
    35% { clip: rect(99px, 9999px, 63px, 0); }
    40% { clip: rect(188px, 9999px, 122px, 0); }
    45% { clip: rect(154px, 9999px, 14px, 0); }
    50% { clip: rect(63px, 9999px, 37px, 0); }
    55% { clip: rect(161px, 9999px, 147px, 0); }
    60% { clip: rect(109px, 9999px, 175px, 0); }
    65% { clip: rect(157px, 9999px, 88px, 0); }
    70% { clip: rect(173px, 9999px, 131px, 0); }
    75% { clip: rect(62px, 9999px, 70px, 0); }
    80% { clip: rect(24px, 9999px, 153px, 0); }
    85% { clip: rect(138px, 9999px, 40px, 0); }
    90% { clip: rect(79px, 9999px, 136px, 0); }
    95% { clip: rect(25px, 9999px, 34px, 0); }
    100% { clip: rect(173px, 9999px, 166px, 0); }
}

.subtitle {
    font-size: 2rem;
    color: #0ff;
    margin-top: 2rem;
    animation: pulse 2s infinite;
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff, 0 0 30px #0ff;
}

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

.scroll-hint {
    position: absolute;
    bottom: 50px;
    font-size: 1.5rem;
    color: #f0f;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

.section {
    min-height: 100vh;
    padding: 100px 50px;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, #000 0%, transparent 100%);
    pointer-events: none;
}

.photo-container {
    text-align: center;
    margin-bottom: 100px;
}

.photo-wrapper {
    display: inline-block;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(0px) rotate(0deg); }
    75% { transform: translateY(-20px) rotate(-5deg); }
}

.photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid #0ff;
    box-shadow: 0 0 50px #0ff, 0 0 100px #f0f, inset 0 0 50px rgba(0, 255, 255, 0.2);
    animation: rotate-border 10s linear infinite;
    object-fit: cover;
}

@keyframes rotate-border {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

h2 {
    font-size: 4rem;
    color: #fff;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    display: inline-block;
    width: 100%;
    animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
    0% { color: #ff0000; text-shadow: 0 0 20px #ff0000; }
    16% { color: #ff7f00; text-shadow: 0 0 20px #ff7f00; }
    33% { color: #ffff00; text-shadow: 0 0 20px #ffff00; }
    50% { color: #00ff00; text-shadow: 0 0 20px #00ff00; }
    66% { color: #0000ff; text-shadow: 0 0 20px #0000ff; }
    83% { color: #8b00ff; text-shadow: 0 0 20px #8b00ff; }
    100% { color: #ff0000; text-shadow: 0 0 20px #ff0000; }
}

.content-box {
    background: rgba(0, 255, 255, 0.05);
    border: 2px solid #0ff;
    border-radius: 20px;
    padding: 60px;
    margin: 50px auto;
    max-width: 1200px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 255, 255, 0.3); }
    50% { box-shadow: 0 0 60px rgba(255, 0, 255, 0.5); }
}

.content-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 255, 0.1), transparent);
    animation: sweep 3s linear infinite;
    pointer-events: none;
}

@keyframes sweep {
    0% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(360deg); }
}

.content-box p {
    color: #0ff;
    font-size: 1.2rem;
    line-height: 2.5;
    position: relative;
    z-index: 1;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 5px rgba(0, 255, 255, 0.5); }
    to { text-shadow: 0 0 15px rgba(0, 255, 255, 0.8); }
}

.paper {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    border: 2px solid #f0f;
    border-radius: 15px;
    padding: 40px;
    margin: 80px auto;
    max-width: 1000px;
    transition: all 0.5s;
    box-shadow: 0 10px 40px rgba(255, 0, 255, 0.3);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(0deg) scale(1);
}

.paper:hover {
    transform: perspective(1000px) rotateY(10deg) scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 0, 255, 0.5);
}

.paper-title {
    font-size: 1.8rem;
    color: #f0f;
    margin-bottom: 20px;
    animation: slideIn 1s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes slideIn {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.paper-authors {
    color: #0ff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.paper-venue {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.paper-links {
    position: relative;
    z-index: 10;
}

.paper-links a {
    display: inline-block;
    margin: 10px 15px 10px 0;
    padding: 15px 30px;
    background: linear-gradient(45deg, #f0f, #0ff);
    color: #000;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
    animation: linkPulse 2s infinite;
    position: relative;
    z-index: 10;
}

@keyframes linkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 30px #f0f; }
}

.paper-links a:hover {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 0 50px #0ff;
}

.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #f0f, #0ff, #f0f);
    animation: loading 2s linear infinite;
    z-index: 99998;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.particle {
    position: fixed;
    pointer-events: none;
    z-index: 100;
}

@keyframes particleFloat {
    0% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0; 
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-120vh) rotate(360deg); 
        opacity: 0; 
    }
}

.warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 255, 0.95);
    color: #000;
    padding: 50px;
    border: 5px solid #0ff;
    border-radius: 20px;
    font-size: 2rem;
    font-weight: bold;
    z-index: 100000;
    display: none;
    text-align: center;
    animation: warningShake 0.5s infinite;
}

@keyframes warningShake {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    25% { transform: translate(-48%, -50%) rotate(2deg); }
    75% { transform: translate(-52%, -50%) rotate(-2deg); }
}

.easter-egg {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    animation: spin 3s linear infinite;
    cursor: pointer;
    z-index: 99997;
    border: 3px solid #0ff;
    box-shadow: 0 0 30px #f0f, 0 0 60px #0ff;
    overflow: hidden;
}

.easter-egg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: hue-rotate(0deg);
    animation: eggHue 3s linear infinite;
}

@keyframes eggHue {
    0% { filter: hue-rotate(0deg) brightness(1.2); }
    100% { filter: hue-rotate(360deg) brightness(1.2); }
}

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

@keyframes fire {
    0%, 100% { 
        color: #ff0000; 
        text-shadow: 0 0 20px #ff0000, 0 0 40px #ff6600, 0 0 60px #ff9900, 0 -5px 80px #ffcc00;
    }
    25% { 
        color: #ff6600; 
        text-shadow: 0 0 30px #ff0000, 0 0 50px #ff6600, 0 0 70px #ff9900, 0 -10px 90px #ffcc00;
    }
    50% { 
        color: #ff9900; 
        text-shadow: 0 0 25px #ff0000, 0 0 45px #ff6600, 0 0 65px #ff9900, 0 -7px 85px #ffcc00;
    }
    75% { 
        color: #ffcc00; 
        text-shadow: 0 0 35px #ff0000, 0 0 55px #ff6600, 0 0 75px #ff9900, 0 -12px 95px #ffcc00;
    }
}

.on-fire {
    animation: fire 0.5s ease-in-out infinite !important;
}
