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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    background: #050816;
    opacity: 0;
    animation: fadeInPage 0.9s ease-out forwards;
}

#network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero {
    margin: 0 auto 0;
    width: 100vw;
    min-height: 64vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: rgba(3, 7, 17, 0.85);
    box-shadow: none;
    cursor: crosshair;
}

.banner {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 12px 0 0;
}

.profile-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.profile-tagline {
    text-align: center;
    padding: 0 18px;
}

.profile-tagline h1 {
    margin-bottom: 6px;
    color: #ffffff;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

.profile-tagline p {
    color: #cbd5e1;
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.social-tags {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.social-tag {
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    color: #dbeafe;
    font-weight: 600;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(56,189,248,0.4);
    transition: all 0.25s ease;
    box-shadow: 0 0 10px rgba(56,189,248,0.15);
}

.social-tag:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(56,189,248,0.4), 0 0 30px rgba(56,189,248,0.2);
    border-color: #38bdf8;
}

.nav-bar {
    width: min(100vw, 1080px);
    min-height: 100px;
    margin: -1px auto 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 140px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    overflow: visible;
}

.nav-bar::before {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 20px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0.65), rgba(56, 189, 248, 0));
    opacity: 0.75;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 20;
}

.nav-bar a {
    color: #dbeafe;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-bar a:hover {
    color: #38bdf8;
    transform: translateY(-2px);
}

.pig-trigger {
    position: absolute;
    left: 24px;
    top: 50%;
    width: 120px;
    height: 86px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.pig-sprite {
    width: 118px;
    height: auto;
    display: block;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 9px rgba(255, 154, 203, 0.75)) drop-shadow(0 0 10px rgba(56, 189, 248, 0.45));
    transition: transform 0.2s ease, filter 0.2s ease;
    animation: pigSpriteBob 0.8s ease-in-out infinite alternate;
}

.pig-trigger:hover .pig-sprite,
.pig-trigger:focus-visible .pig-sprite {
    transform: translateY(-5px) scale(1.05);
    filter: drop-shadow(0 0 12px rgba(255, 154, 203, 0.95)) drop-shadow(0 0 16px rgba(56, 189, 248, 0.7));
}

.pig-action-panel {
    width: min(100vw - 32px, 360px);
    margin: 16px auto 0;
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28), 0 0 20px rgba(56, 189, 248, 0.18);
    color: #dbeafe;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
}

.pig-action-panel.show {
    display: flex;
    animation: panelPop 0.25s ease-out both;
}

.pig-action-panel p {
    font-size: 0.95rem;
    line-height: 1.4;
}

#peppermintButton {
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    color: #450a0a;
    font-weight: 800;
    cursor: pointer;
    background: repeating-linear-gradient(45deg, #ffffff 0 7px, #ef4444 7px 14px);
    box-shadow: 0 0 18px rgba(248, 113, 113, 0.45);
    white-space: nowrap;
}

#peppermintButton:hover {
    transform: translateY(-2px);
}

.pig-reveal-card {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: min(92vw, 720px);
    min-height: 320px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.pig-reveal-card.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.pig-reveal-sprite {
    width: min(92vw, 720px);
    display: block;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.65));
}

.pig-custom-picture {
    position: absolute;
    left: 74.5%;
    top: 45%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 170px;
    border-radius: 0;
    overflow: hidden;
    border: none;
    box-shadow: inset 0 0 18px rgba(56, 189, 248, 0.25);
    background: rgba(2, 6, 23, 0.9);
}

.pig-custom-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
}

.robot-assistant {
    position: absolute;
    right: 34px;
    top: 50%;
    width: 65px;
    height: 65px;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: robotFloat 3s ease-in-out infinite;
    cursor: pointer;
    z-index: 25;
}

.robot-head {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(56, 189, 248, 0.08);
    border: 2px solid #38bdf8;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.8), 0 0 35px rgba(56, 189, 248, 0.25);
}

.robot-head:hover {
    box-shadow: 0 0 25px rgba(56, 189, 248, 1), 0 0 60px rgba(56, 189, 248, 0.5);
}

.robot-eye,
.eye {
    width: 8px;
    height: 8px;
    background: #38bdf8;
    border-radius: 50%;
    transition: transform 0.08s linear;
}

.robot-assistant.robot-active .robot-head {
    border-color: #facc15;
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.9), 0 0 45px rgba(250, 204, 21, 0.35);
}

.robot-tip {
    width: min(100vw, 1080px);
    margin: 12px auto 0;
    padding: 14px 18px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.95);
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateY(-8px);
    pointer-events: none;
    text-align: center;
}

.robot-tip.show {
    opacity: 1;
    transform: translateY(0);
}

.robot-assistant[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -42px;
    right: 0;
    transform: translateX(10px);
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(7, 11, 28, 0.95);
    color: #e2e8f0;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    z-index: 50;
}

.page-content {
    width: min(100vw, 1080px);
    margin: 4px auto 32px;
    padding: 18px 28px 32px;
    background: #050816;
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.hero-copy {
    text-align: center;
    color: #cbd5e1;
}

.hero-copy h1 {
    margin-bottom: 12px;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    color: #eff6ff;
}

.hero-copy p {
    max-width: 660px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.about-me {
    padding: 0 10px 10px;
}

.about-me h1 {
    margin-bottom: 18px;
}

.about-me p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.9;
}

.content-section {
    width: 100%;
    margin: 0 auto 24px;
    padding: 26px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 30px;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.16);
}

.content-section h2 {
    margin-bottom: 16px;
    color: #eff6ff;
    font-size: 2rem;
}

.content-section p {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1rem;
}

.profile-wrap {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6), inset 0 0 25px rgba(56, 189, 248, 0.25);
    animation: floatProfile 4s ease-in-out infinite, pulseRing 2.5s ease-in-out infinite;
    transition: transform 0.15s ease-out;
}

.profile {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
}

@keyframes pigSpriteBob {
    from { translate: 0 0; }
    to { translate: 0 -5px; }
}

@keyframes panelPop {
    from { opacity: 0; transform: translateY(-8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes pulseRing {
    0%, 100% {
        box-shadow: 0 0 20px rgba(56, 189, 248, 0.6), inset 0 0 25px rgba(56, 189, 248, 0.25);
    }

    50% {
        box-shadow: 0 0 32px rgba(56, 189, 248, 0.85), inset 0 0 35px rgba(56, 189, 248, 0.35);
    }
}

@keyframes floatProfile {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -14px; }
}

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

@media (max-width: 768px) {
    .hero {
        min-height: 68vh;
    }

    .nav-bar {
        padding: 18px 88px;
        min-height: 132px;
        margin-top: -1px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-bar a {
        font-size: 0.85rem;
    }

    .pig-trigger {
        left: 10px;
        width: 86px;
    }

    .pig-sprite {
        width: 86px;
    }

    .robot-assistant {
        right: 14px;
        transform: translateY(-50%) scale(0.82);
    }

    .profile-wrap {
        width: 200px;
        height: 200px;
    }

    .pig-action-panel {
        flex-direction: column;
        text-align: center;
    }

    .profile-tagline h1 {
        font-size: 1.8rem;
    }

    .profile-tagline p {
        font-size: 0.85rem;
    }
}
