:root {
    --glow-color: #00aaff;
    --glow-color-hover: #00ffff;
    --primary-text: #ffffff;
    --secondary-text: #cccccc;
    --background-color: #000005;
}

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

@keyframes subtlePulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.02); opacity: 1; }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.5; }
    25% { opacity: 1; }
    50% { opacity: 0.3; }
    75% { opacity: 0.9; }
}

@keyframes slowDrift {
    from { transform: translate(0, 0); }
    to { transform: translate(20px, 10px); }
}

@keyframes shoot {
    from { transform: rotate(65deg) translateX(0); opacity: 1; }
    70% { opacity: 1; }
    to { transform: rotate(65deg) translateX(150vh); opacity: 0; }
}

@keyframes click-outer-effect {
    50% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
}

@keyframes click-inner-effect {
    50% {
        transform: translate(-50%, -50%) scale(1.8);
        box-shadow: 0 0 10px 2px var(--glow-color);
    }
}

@keyframes letter-fade-in {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 15px 0px var(--glow-color);
    }
    50% {
        box-shadow: 0 0 25px 5px var(--glow-color-hover);
    }
}

body, html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    -ms-overflow-style: none;  
    scrollbar-width: none;  
    background-color: var(--background-color);
    font-family: 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    color: var(--primary-text);
    cursor: none; 
    -webkit-user-select: none; 
    -moz-user-select: none;    
    -ms-user-select: none;     
    user-select: none;         
}

body::-webkit-scrollbar {
    display: none; 
}

.parallax-container {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    pointer-events: none; 
    animation: fadeIn 3s ease-out;
}

.parallax-layer {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    will-change: transform; 
}

.custom-cursor-outer {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--glow-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.3s ease-out, transform 0.2s ease-out, border-width 0.15s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out;
    box-shadow: 0 0 15px var(--glow-color), inset 0 0 10px var(--glow-color);
}

.custom-cursor-inner {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--glow-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: opacity 0.3s ease-out, transform 0.2s ease-out, box-shadow 0.2s ease-out;
    box-shadow: 0 0 5px var(--glow-color);
}

.custom-cursor-outer.animate-click {
    animation: click-outer-effect 0.4s ease-out;
}
.custom-cursor-inner.animate-click {
    animation: click-inner-effect 0.4s ease-out;
}

.custom-cursor-outer.title-hover {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.custom-cursor-inner.title-hover {
    transform: translate(-50%, -50%) scale(2.5);
    box-shadow: 0 0 12px 2px var(--glow-color);
}

@media (hover: none) or (pointer: coarse) {
    .custom-cursor-outer,
    .custom-cursor-inner {
        display: none;
    }

    body, html {
        cursor: auto;
    }

    #custom-context-menu li a,
    .social-link {
        cursor: pointer;
    }
}

.content-wrapper {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.content-inner {
    text-align: center;
    color: var(--primary-text);
    animation: subtlePulse 8s ease-in-out infinite;
}

.main-title {
    font-size: 8vw;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.8vw;
    text-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--glow-color), 0 0 40px black;
    transition: text-shadow 0.3s ease, letter-spacing 0.3s ease;
    text-transform: uppercase;
}

.main-title:hover {
    text-shadow: 0 0 15px var(--glow-color-hover), 0 0 30px var(--glow-color-hover), 0 0 50px black;
    letter-spacing: 1vw;
}

.main-title span {
    display: inline-block;
    opacity: 0;
    animation: letter-fade-in 0.6s ease-out forwards;
}

.subtitle {
    font-size: 2vw;
    margin: 0;
    font-weight: 400;
    color: var(--secondary-text);
    letter-spacing: 0.1vw;
}

#custom-context-menu {
    position: fixed;
    z-index: 10000;
    width: 220px;
    background-color: rgba(10, 20, 30, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glow-color);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 170, 255, 0.2);
    display: none;
    padding: 6px;
    font-size: 16px;
}

#custom-context-menu.visible {
    display: block;
    animation: fadeIn 0.15s ease-out;
}

#custom-context-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#custom-context-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--primary-text);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 4px;
    cursor: none;
}

#custom-context-menu li a:hover {
    background-color: var(--glow-color);
    color: var(--background-color);
    text-shadow: none;
}

#layer-1 { z-index: 1; }
#layer-2 {
    z-index: 2;
    background: 
        radial-gradient(ellipse at 20% 80%, hsla(260, 50%, 10%, 0.8) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, hsla(200, 50%, 15%, 0.7) 0%, transparent 60%);
    filter: blur(20px);
    animation: slowDrift 120s linear infinite alternate;
}
#layer-3 { z-index: 3; }
#layer-4 {
    z-index: 4;
    background: 
        radial-gradient(circle at 50% 50%, hsla(320, 60%, 20%, 0.5) 0%, transparent 40%),
        radial-gradient(circle at 10% 20%, hsla(220, 70%, 30%, 0.6) 0%, transparent 35%);
    filter: blur(10px);
    mix-blend-mode: screen;
    animation: slowDrift 90s linear infinite alternate-reverse;
}
#layer-5 { z-index: 5; }
#layer-6 {
    z-index: 6;
    background:
        radial-gradient(circle at 90% 85%, hsla(0, 0%, 100%, 0.05) 0%, transparent 10%),
        radial-gradient(circle at 30% 15%, hsla(0, 0%, 100%, 0.03) 0%, transparent 15%);
    filter: blur(2px);
}
#layer-7 { z-index: 7; }
#layer-8 {
    z-index: 101;
    background: radial-gradient(ellipse at center, transparent 50%, black 100%);
    pointer-events: none;
}

#layer-8::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQr3_4EGCHYFddYoEzMFsCcAxKIflpB5psvfXnH+EFwoG64qAQ4TKOZcaIZdfrlvpyyjUINiYj1QWL3K8beZoaHltFrfgnAF_FEA0e5S_KCgvr74G7OEnSzNu8oFHc17sI6P_0iALOGIsqUONFlH79GzaqGgGGX09Y3crMVoHcV1RAfgpEpnnk/a1O/FXe2WkFEHvyB6h9PaVl4reA7wFKL2_okPSbUkLgXqwG9mJjBCeETuiFlL0_HbYOBegG89xgl2wGwoCg2YOnBbBtM3wEl2ARERQBLg4iRGoWbQJEClOfVAh1GgGigLw1kY6YxYA2GIg2MIESDrk1SpE4YBFoOKQDjPpHpEVTjYQh2gSDtrAn8fldI4yATeS7g0DURfX2HYAFoGGUgTWg7XMrpC2CI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3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d3d... [truncated]');
    opacity: 0.08;
    animation: slowDrift 200s linear infinite;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    will-change: transform, opacity;
    animation-name: starTwinkle;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.star.type-1 { width: 1px; height: 1px; box-shadow: 0 0 4px 1px white; }
.star.type-2 { width: 2px; height: 2px; box-shadow: 0 0 6px 1px white; }
.star.type-3 { width: 3px; height: 3px; background-color: #f0f8ff; box-shadow: 0 0 8px 2px #f0f8ff; }
.star.type-4 { width: 1px; height: 1px; background-color: #fffacd; box-shadow: 0 0 5px 1px #fffacd; }

.shooting-star {
    position: absolute;
    height: 3px; 
    border-radius: 999px;
    animation-name: shoot;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    will-change: transform, opacity;
    pointer-events: none;
}

.shooting-star.star-white {
    background: linear-gradient(to left, white 4px, rgba(255, 255, 255, 0));
    filter: drop-shadow(0 0 8px white);
}
.shooting-star.star-blue {
    background: linear-gradient(to left, #a0e9ff 4px, rgba(160, 233, 255, 0));
    filter: drop-shadow(0 0 8px #a0e9ff);
}
.shooting-star.star-yellow {
    background: linear-gradient(to left, #fffacd 4px, rgba(255, 250, 205, 0));
    filter: drop-shadow(0 0 8px #fffacd);
}
main {
    position: relative;
    z-index: 10; 
    width: 100%;
}

#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#about {
    min-height: 100vh;
    padding: 80px 10%;
    background-color: rgba(0, 0, 5, 0.7); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-sizing: border-box;
    color: var(--secondary-text);
    font-size: 1.2rem;
    line-height: 1.8;
}

#about h2 {
    font-size: 3rem;
    color: var(--primary-text);
    text-shadow: 0 0 8px var(--glow-color);
}

#about h2,
#about p,
#about .social-links {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#about.is-visible h2,
#about.is-visible p,
#about.is-visible .social-links {
    opacity: 1;
    transform: translateY(0);
}

#about.is-visible p { transition-delay: 0.2s; }
#about.is-visible .social-links { transition-delay: 0.4s; }

#about p {
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
}

.social-links {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--secondary-text);
    cursor: none;
    will-change: transform;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-link:hover {
    transform: scale(1.05);
    color: var(--primary-text);
}

.social-link:hover img {
    box-shadow: 0 0 25px 5px var(--glow-color-hover);
}

.social-link img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--glow-color);
    box-shadow: 0 0 15px 0px var(--glow-color);
    margin-bottom: 15px;
    object-fit: cover;
    will-change: box-shadow;
    transition: box-shadow 0.3s ease;
}


@media (max-width: 768px) {
    .main-title {
        font-size: 12vw;
        letter-spacing: 1vw;
    }
    .subtitle {
        font-size: 3vw;
    }
    #about {
        padding: 60px 5%;
    }
    #about h2 {
        font-size: 2.5rem;
    }
    .social-link img {
        width: 100px;
        height: 100px;
    }
}


@media (max-width: 480px) {
    .main-title {
        font-size: 15vw;
        letter-spacing: 1.5vw;
    }
    .subtitle {
        font-size: 4vw;
    }
    .social-links {
        flex-direction: column;
        gap: 30px;
    }
}