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

:root {
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-dark: #1a1a1a;
    --color-gray: #808080;
    --color-gray-light: #cccccc;
    --font-display: 'Playfair Display', serif;
    --font-mono: 'Space Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-mono);
    background: var(--color-black);
    color: var(--color-white);
    overflow-x: hidden;
    cursor: none;
}

.celestial-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(ellipse at center, #0a0a0a 0%, #000000 100%);
}

.pluto {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #8a8a8a, #2a2a2a 40%, #000000 100%);
    box-shadow: 
        inset -30px -30px 80px rgba(0,0,0,0.8),
        inset 30px 30px 60px rgba(255,255,255,0.1),
        0 0 100px rgba(255,255,255,0.1);
    top: 20%;
    left: 15%;
    animation: plutoFloat 60s ease-in-out infinite;
}

.moon {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #ffffff, #cccccc 50%, #888888 100%);
    box-shadow: 
        inset -15px -15px 40px rgba(0,0,0,0.6),
        inset 15px 15px 30px rgba(255,255,255,0.3),
        0 0 80px rgba(255,255,255,0.3);
    top: 30%;
    right: 20%;
    animation: moonOrbit 40s linear infinite;
}

.orbit {
    position: absolute;
    width: 600px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    animation: orbitRotate 100s linear infinite;
}

@keyframes plutoFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, -30px) rotate(90deg); }
    50% { transform: translate(0, -50px) rotate(180deg); }
    75% { transform: translate(-50px, -30px) rotate(270deg); }
}

@keyframes moonOrbit {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-100px, 50px); }
    50% { transform: translate(-150px, 0); }
    75% { transform: translate(-100px, -50px); }
    100% { transform: translate(0, 0); }
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(-20deg); }
    to { transform: translate(-50%, -50%) rotate(340deg); }
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 60px 70px, white, transparent),
        radial-gradient(1px 1px at 50px 50px, white, transparent),
        radial-gradient(1px 1px at 130px 80px, white, transparent),
        radial-gradient(2px 2px at 90px 10px, white, transparent),
        radial-gradient(1px 1px at 200px 150px, white, transparent),
        radial-gradient(2px 2px at 300px 100px, white, transparent),
        radial-gradient(1px 1px at 400px 180px, white, transparent);
    background-repeat: repeat;
    background-size: 500px 500px;
    animation: twinkle 5s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.5; }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    pointer-events: none;
}

.hamburger {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 2000;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--color-white);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: var(--color-white);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

.hamburger:hover .hamburger-line {
    background: var(--color-black);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1500;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav.active {
    right: 0;
}

.nav-content {
    display: flex;
    flex-direction: column;
    padding: 6rem 3rem 3rem;
    gap: 2rem;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    transition: all 0.3s ease;
    position: relative;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    padding-left: 1rem;
}

.nav-link-external {
    color: var(--color-gray-light);
}

.scroll-indicator {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--color-white);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

.scroll-text {
    writing-mode: vertical-rl;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 4rem;
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.active {
    opacity: 1;
    transform: translateY(0);
}

.section-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
}

.glitch-wrapper {
    margin-bottom: 2rem;
}

.glitch {
    font-family: var(--font-display);
    font-size: clamp(1rem, 10vw, 8rem);
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 0.1em;
    animation: glitchAnim 5s 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 var(--color-gray);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitchAnim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--color-white);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitchAnim 3s infinite linear alternate-reverse;
}

@keyframes glitchAnim {
    0% { clip: rect(10px, 9999px, 90px, 0); }
    10% { clip: rect(70px, 9999px, 30px, 0); }
    20% { clip: rect(40px, 9999px, 60px, 0); }
    30% { clip: rect(80px, 9999px, 20px, 0); }
    40% { clip: rect(50px, 9999px, 50px, 0); }
    50% { clip: rect(20px, 9999px, 80px, 0); }
    60% { clip: rect(60px, 9999px, 40px, 0); }
    70% { clip: rect(30px, 9999px, 70px, 0); }
    80% { clip: rect(90px, 9999px, 10px, 0); }
    90% { clip: rect(10px, 9999px, 90px, 0); }
    100% { clip: rect(50px, 9999px, 50px, 0); }
}

.title-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.line {
    width: 100px;
    height: 1px;
    background: var(--color-white);
    animation: expandLine 1s ease 0.5s both;
}

@keyframes expandLine {
    from { width: 0; }
    to { width: 100px; }
}

.subtitle {
    font-size: 1rem;
    letter-spacing: 0.3em;
    animation: fadeInUp 1s ease 0.8s both;
}

.social-grid {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 4rem;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--color-white);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease both;
}

.social-item:nth-child(1) { animation-delay: 1s; }
.social-item:nth-child(2) { animation-delay: 1.2s; }
.social-item:nth-child(3) { animation-delay: 1.4s; }

.social-icon {
    width: 60px;
    height: 60px;
    border: 1px solid var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}

.social-item:hover .social-icon {
    background: var(--color-white);
    color: var(--color-black);
    transform: translateY(-5px);
}

.social-item:hover .social-icon svg {
    color: var(--color-black);
    stroke: var(--color-black);
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    letter-spacing: 0.1em;
}

.section-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-gray);
    z-index: -1;
    transform: translate(5px, 5px);
}

.gallery-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-description {
    font-size: 1.1rem;
    color: var(--color-gray-light);
    letter-spacing: 0.1em;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gray);
    transition: all 0.5s ease;
}

.card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transition: all 0.5s ease;
}

.card-inner.placeholder {
    background: 
        repeating-linear-gradient(
            45deg,
            var(--color-gray-dark),
            var(--color-gray-dark) 10px,
            var(--color-black) 10px,
            var(--color-black) 20px
        );
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .card-overlay {
    opacity: 1;
}

.gallery-card:hover .card-inner {
    transform: scale(1.05);
    border-color: var(--color-white);
}

.card-number {
    font-size: 4rem;
    font-weight: 700;
    opacity: 0.3;
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.0rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.card-year {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    margin-top: 0.5rem;
    opacity: 0.7;
}

.view-all-wrapper {
    text-align: center;
    margin-top: 4rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.3em;
    padding: 1.2rem 3rem;
    border: 1px solid var(--color-white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    transition: left 0.3s ease;
}

.view-all-btn:hover::before {
    left: 0;
}

.btn-text,
.btn-icon {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.view-all-btn:hover .btn-text,
.view-all-btn:hover .btn-icon {
    color: var(--color-black);
}

.view-all-btn:hover .btn-icon svg {
    stroke: var(--color-black);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.profile-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: start;
}

.profile-image-wrapper {
    position: relative;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-white);
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--color-gray-dark) 0%, var(--color-black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
}

.profile-info {
    padding-top: 1rem;
}

.profile-name {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.profile-bio {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--color-gray-light);
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.tag {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--color-gray);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.tag:hover {
    border-color: var(--color-white);
    background: var(--color-white);
    color: var(--color-black);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-field {
    position: relative;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-gray);
    color: var(--color-white);
    font-family: var(--font-mono);
    font-size: 1rem;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-bottom-color: var(--color-white);
}

.form-field label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.form-field input:focus + label,
.form-field textarea:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:not(:placeholder-shown) + label {
    top: -1.5rem;
    font-size: 0.7rem;
    opacity: 1;
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.field-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

.form-field input:focus ~ .field-line,
.form-field textarea:focus ~ .field-line {
    width: 100%;
}

.submit-btn {
    background: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    padding: 1.2rem 3rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    transition: left 0.3s ease;
}

.submit-btn:hover::before {
    left: 0;
}

.btn-text,
.btn-arrow {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.submit-btn:hover .btn-text,
.submit-btn:hover .btn-arrow {
    color: var(--color-black);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.info-block {
    border: 1px solid var(--color-gray);
    padding: 2rem;
}

.info-label {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.info-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--color-white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    filter: none;
    border: 1px solid var(--color-white);
}

.modal-info {
    margin-top: 2rem;
    text-align: center;
}

.modal-number {
    font-size: 1.5rem;
    opacity: 0.3;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin: 1rem 0;
}

.modal-year {
    letter-spacing: 0.3em;
    opacity: 0.7;
}

.modal-close,
.modal-nav {
    position: absolute;
    background: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.modal-close {
    top: 2rem;
    right: 2rem;
}

.modal-close:hover,
.modal-nav:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.modal-prev {
    left: 2rem;
}

.modal-next {
    right: 2rem;
}

.footer {
    background: var(--color-black);
    border-top: 1px solid var(--color-gray);
    padding: 3rem 0;
    text-align: center;
}

.footer-content p {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .hamburger {
        top: 1.5rem;
        right: 1.5rem;
    }

    .main-nav {
        max-width: 100%;
    }

    .section {
        padding: 4rem 2rem;
    }

    .gallery-masonry {
        grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    }

    .profile-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .profile-image {
        margin: 0 auto;
    }

    .profile-tags {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .glitch {
         font-size: clamp(2.2rem, 12vw, 3rem);
    }

    .section {
        padding: 6rem 1.25rem;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .social-grid {
        gap: 2rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    body {
        cursor: auto;
    }

    .pluto {
        width: 200px;
        height: 200px;
    }

    .moon {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 5rem 1rem;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-card {
        aspect-ratio: 4/5;
    }

    .view-all-btn {
        width: 100%;
        justify-content: center;
    }
}

