/* ==================================================
   1. ROOT VARIABLES
================================================== */

:root {
    --bg: #ffeef5;
    --window: #f2f2f2;
    --header: #444;
    --text: #242323;
    --accent: #f47fff;
    --wave1: #e694fa;
    --wave2: #fcb2ff;
}

body.dark {
    --bg: #1e1e1e;
    --window: #2a2a2a;
    --header: #333;
    --text: #ffffff;
    --accent: #ff9ecf;
    --wave1: #79f7fc;
    --wave2: #2279eb;
}


/* ==================================================
   2. BASE LAYOUT
================================================== */

body {
    margin: 0;
    height: 100vh;
    background: var(--bg);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    color: var(--text);
}


/* ==================================================
   3. BACKGROUND WAVES
================================================== */

.bg-wave {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px;
    overflow: hidden;
    z-index: 0;
}

.bg-wave svg {
    width: 200%;
    height: 100%;
    animation: waveMove 18s linear infinite;
}

@keyframes waveMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* ==================================================
   4. TOP CONTROLS
================================================== */

.controls {
    position: fixed;
    top: 15px;
    left: 20px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.control-btn {
    background: var(--window);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}


/* ==================================================
   5. MAIN HOME WINDOW
================================================== */

.window {
    width: 900px;
    height: 560px;
    background: var(--window);
    border-radius: 18px;
    box-shadow: 0 40px 80px rgb(223, 164, 238);
    overflow: hidden;
    position: relative;
    z-index: 5;
}
body.dark .window{
width: 900px;
    height: 560px;
    background: var(--window);
    border-radius: 18px;
    box-shadow: 0 40px 80px rgba(198, 244, 255, 0.993);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.window-header {
    background: var(--header);
    color: white;
    padding: 14px 20px;
    font-weight: 600;
}
body.dark .window-header{
    background: linear-gradient(
        180deg,
        #ffffff,
        #f7e7e7
    );
    color: rgb(46, 45, 46);
}
.window-body {
    height: calc(100% - 50px);
    position: relative;
    padding: 20px;
}


/* ==================================================
   6. HERO SECTION
================================================== */

.hero {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero h1 {
    margin: 0;
    font-size: 50px;
    font-family: 'Montserrat', sans-serif;
}

.hero span {
    font-family: 'Pacifico', cursive;
    font-size: 70px;
    position: relative;
    color: var(--accent);
    cursor: default;
    transition: all .3s ease;
}
body.dark .hero span{
    color:#7de3ff;
}
body.dark .hero span:hover{
    text-shadow:
        0 0 6px #f188f5,
        0 0 12px #f1a5e5,
        0 0 20px #e7b0ec;
}
/* underline */
.hero span::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-6px;
    width:0%;
    height:3px;
    background:#8ec5ff;   /* sky blue */
    transform:translateX(-50%);
    transition:width .35s ease;
}
body.dark .hero span::after{
    background:#ff7fbf;
}
/* hover effects */
.hero span:hover {
    text-shadow:
        0 0 6px #6befff,
        0 0 12px #6befff,
        0 0 18px #6befff;
}

.hero span:hover::after {
    width: 100%;
}

.roles {
    margin-top: 8px;
    font-size: 15px;
    opacity: .8;
}


/* ==================================================
   7. DESKTOP ICONS
================================================== */

.desktop {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

.icon {
    text-align: center;
    cursor: pointer;
}

.icon svg {
    width: 55px;
    height: 55px;
    stroke: currentColor;
    fill: none;
    stroke-width: 4;
    margin-bottom: 6px;
    transition: .2s;
}

.icon:hover svg {
    transform: translateY(-6px);
}


/* ==================================================
   8. POPUP WINDOWS
================================================== */

.popup {
    position: fixed;
    width: 600px;
    height: 450px;
    background: var(--window);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.popup-header {
    background: var(--header);
    color: white;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    cursor: move;
}
body.dark .popup-header{
    background:#e6e2e2;
    color: #000;
}
.popup-body {
    padding: 25px;
    flex: 1;
    overflow-y: auto;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

/* Scrollbar (Webkit) */
.popup-body::-webkit-scrollbar {
    width: 8px;
}

.popup-body::-webkit-scrollbar-track {
    background: transparent;
}

.popup-body::-webkit-scrollbar-thumb {
    background: #6befff;
    border-radius: 20px;
}

.popup-body::-webkit-scrollbar-thumb:hover {
    background: #ff5cad;
}

body.dark .popup-body::-webkit-scrollbar-thumb {
    background: var(--accent);
}

body.dark .popup-body::-webkit-scrollbar-thumb:hover {
    background: #ffb3d9;
}


/* ==================================================
   9. FOOTER SOCIALS
================================================== */

.footer {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    /* column for 2 rows only */
    align-items: center;
    gap: 8px;
    z-index: 10;
}

/* SOCIALS ROW */
.footer-socials {
    display: flex;
    gap: 30px;
}

/* ICON STYLE */
.footer-socials svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
    transition: .2s ease;
}

body.dark .footer-socials svg{
    
    fill: #302e2e;
    transition: .2s ease;
}
.footer-socials svg:hover {
    fill: #252525;
    transform: scale(1.2);
}
body.dark .footer-socials svg:hover {
    fill: #df70ee;
}

/* COPYRIGHT */
.footer-copy {
    font-size: 12px;
    opacity: .6;
    color: #ffffff;
}
body.dark .footer-copy{
    color: #252525;
}
/* ==================================================
   10. CAT BUTTON
================================================== */

.cat-invite {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 999;
}

/* =========================================
   CAT IMAGE
========================================= */
.cat-image {
    width: 55px;
    height: 55px;
}

.cat-inner {
    width: 100%;
    height: 100%;
    animation: catIdle 3s ease-in-out infinite;
    transition: transform .2s ease;
}

.cat-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================
   IDLE FLOAT
========================================= */
@keyframes catIdle {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

/* =========================================
   HOVER SHAKE (OVERRIDES IDLE)
========================================= */
.cat-invite:hover .cat-inner {
    animation: catShake .3s infinite;
}

@keyframes catShake {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    20% {
        transform: translateY(-2px) rotate(4deg);
    }

    40% {
        transform: translateY(2px) rotate(-4deg);
    }

    60% {
        transform: translateY(-2px) rotate(4deg);
    }

    80% {
        transform: translateY(2px) rotate(-4deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* =========================================
   DANCE MODE (WHEN MUSIC PLAYS)
========================================= */
.cat-dance .cat-inner {
    animation: catDance .5s ease-in-out infinite;
}

@keyframes catDance {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(8deg);
    }

    50% {
        transform: rotate(-8deg);
    }

    75% {
        transform: rotate(8deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* =========================================
   ARROW
========================================= */
.cat-arrow {
    font-size: 16px;
    animation: arrowIdle 1.5s infinite;
    transition: transform .2s ease;
}

.cat-invite:hover .cat-arrow {
    transform: translateX(-6px) scale(1.2);
}

@keyframes arrowIdle {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

/* =========================================
   TEXT
========================================= */
.cat-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    animation: textPulse 2s infinite;
    transition: all .2s ease;
}

.cat-invite:hover .cat-text {
    letter-spacing: 1px;
    transform: translateY(-2px);
}

@keyframes textPulse {
    0% {
        opacity: .5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: .5;
    }
}

.cat-text,
.cat-arrow {
    transition: opacity .3s ease, transform .3s ease;
}

/* When music is active */
.cat-invite.music-active .cat-text {
    animation: none;
    /* stop pulse animation */
    opacity: 0;
    /* hide */
}

.cat-invite.music-active .cat-arrow {
    opacity: 0;
}

/* =========================================
   MUSIC NOTES
========================================= */
.cat-notes {
    position: absolute;
    bottom: 70px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
}

/* Individual notes */
.cat-notes span {
    font-size: 14px;
    color: var(--accent);
    animation: noteCurve 2.5s ease-in-out infinite;

}

/* Delay each note */
.cat-notes span:nth-child(1) {
    animation-duration: 2.3s;
}

.cat-notes span:nth-child(2) {
    animation-duration: 2.8s;
}

.cat-notes span:nth-child(3) {
    animation-duration: 3.1s;
}

/* Floating animation */
@keyframes noteCurve {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    50% {
        transform: translate(-8px, -20px) rotate(10deg);
    }

    75% {
        transform: translate(8px, -35px) rotate(-10deg);
    }

    100% {
        transform: translate(0, -50px) rotate(0deg);
        opacity: 0;
    }
}

.cat-invite.music-active .cat-notes {
    opacity: 1;
}

/* =========================================
   DARK MODE GLOW
========================================= */
body.dark .cat-inner img {
    filter: drop-shadow(0 0 8px rgba(255, 158, 207, .5));
}

/* =========================================
   MOBILE
========================================= */
@media (max-width:768px) {
    .cat-invite {
        bottom: 15px;
        right: 15px;
    }

    .cat-image {
        width: 42px;
        height: 42px;
    }
}

/* ==================================================
   11. ABOUT WINDOW
================================================== */

.about-top {
    display: flex;
    align-items: center;
    gap: 25px;
}

.about-image {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    transition: all .3s ease;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.about-image:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(201, 12, 207, 0.25);
}

.about-image:hover img {
    transform: scale(1.1);
}

.about-info {
    display: flex;
    flex-direction: column;
}

.about-name {
    font-size: 28px;
    margin: 0;
    color: var(--accent);
    font-weight: 700;
}

.about-sub {
    margin: 6px 0 0 0;
    opacity: .8;
}

.about-divider {
    height: 1px;
    background: rgba(0, 0, 0, .1);
    margin: 20px 0;
}

body.dark .about-divider {
    background: rgba(255, 255, 255, .15);
}

.about-section {
    margin-bottom: 18px;
}

.about-section h3 {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 6px;
    opacity: .7;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

.grad-date {
    display: inline-block;
    margin-top: 4px;
    font-size: 13px;
    font-style: italic;
    color: var(--accent);
    opacity: 0.85;
}


/* ==================================================
   12. WORK WINDOW
================================================== */

.work-header h2 {
    margin: 0;
    font-size: 22px;
}

.work-header p {
    margin: 5px 0 20px 0;
    opacity: .7;
    font-size: 14px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width:768px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
}


.work-card {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: .3s ease;
}

body.dark .work-card {
    background: rgba(255, 255, 255, 0.05);
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .15);
}

.work-thumb {
    height: 160px;
    overflow: hidden;
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.work-card:hover img {
    transform: scale(1.05);
}

.work-body {
    padding: 15px;
}

.work-body h4 {
    margin: 0 0 6px 0;
}

.work-body p {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: .8;
}

.work-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.work-tags span {
    background: var(--accent);
    color: white;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 6px;
}

.work-btn {
    position: relative;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: inline-block;
    transition: .3s ease;
}

/* animated underline */
.work-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #e99acf;
    transition: width .3s ease;
}

.work-btn:hover::after {
    width: 100%;
}

.work-intro {
    background: #f3e4cc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

body.dark .work-intro {
    background: rgba(211, 20, 132, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    margin-bottom: 30px;
}

@media (max-width:768px) {

    .skills-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .skills-column {
        width: 100%;
    }

}

.skills-column h3 {
    margin-bottom: 15px;
    font-size: 15px;
    letter-spacing: 1px;
    opacity: .7;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tags span {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.06);
    transition: .25s ease;
    white-space: nowrap;
}



body.dark .skill-tags span {
    background: rgba(255, 255, 255, 0.08);
}

body.dark .role-tags span {
    background: rgba(225, 137, 236, 0.08);
}

.roles-section {
    margin-top: 30px;
}

.role-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.role-tags span {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.06);
    transition: .25s ease;
    white-space: nowrap;
}

body.dark .role-tags span {
    background: rgba(255, 255, 255, 0.08);
}

.skill-tags span:hover,
.role-tags span:hover {
    background: var(--accent);
    color: rgb(255, 255, 255);
    transform: translateY(-3px);
}

body.dark .skill-tags span:hover,
body.dark .role-tags span:hover {
    background: var(--accent);
    color: #1e1e1e;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 158, 207, 0.35);
}

.work-divider {
    margin: 25px 0;
    opacity: .2;
}

.work-email {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: .3s ease;
}

/* underline animation */
.work-email::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: .3s ease;
}

.work-email:hover {
    transform: translateY(-2px);
}

.work-email:hover::after {
    width: 100%;
}

/* ==================================================
   15. RESUME WINDOW
================================================== */


.resume-window {
    width: 90vw !important;
    height: 85vh !important;
}

.resume-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

/* download button area */
.resume-actions {
    text-align: right;
}

.resume-download {
    background: var(--accent);
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: .25s ease;
}

.resume-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}

/* pdf viewer */
.resume-viewer {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.05);
}

.resume-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==================================================
   13. faq WINDOW
================================================== */
.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    background: #f3e4cc;
    border-radius: 10px;
    overflow: hidden;
    transition: .3s ease;
}

body.dark .faq-item {
    background: rgba(255, 255, 255, 0.06);
}

.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.faq-icon {
    transition: .3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding: 0 0 18px 0;
    opacity: .85;
    font-size: 14px;
}

/* Active state */
.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ==================================================
   14 . LINKS WINDOW
================================================== */
.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 40px;
    text-align: center;
    margin-bottom: 30px;
}

.link-item {
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    transition: .25s ease;
}

.link-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    background: rgba(231, 117, 197, 0.05);
    border-radius: 16px;
    transition: .3s ease;
}

body.dark .link-icon {
    background: rgba(255, 255, 255, 0.07);
}

.link-item span {
    font-size: 13px;
    text-transform: lowercase;
    opacity: .8;
}

.link-item:hover {
    transform: translateY(-6px);
}

.link-item:hover .link-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

/* bottom note */
.links-note {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.04);
    font-size: 13px;
    opacity: .7;
}

body.dark .links-note {
    background: rgba(255, 255, 255, 0.06);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 40px;
    text-align: center;
    margin-bottom: 30px;
}

.link-item {
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    transition: .25s ease;
}

.link-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.05);
    transition: .3s ease;
}

body.dark .link-icon {
    background: rgba(255, 255, 255, 0.07);
}

.link-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

.link-item span {
    font-size: 13px;
    text-transform: lowercase;
    opacity: .8;
}

.link-item:hover {
    transform: translateY(-6px);
}

.link-item:hover .link-icon {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

.links-note {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.04);
    font-size: 13px;
    opacity: .7;
}

body.dark .links-note {
    background: rgba(255, 255, 255, 0.06);
}

/* ==================================================
   14. CONTACT
================================================== */

.contact-wrapper {
    text-align: center;
    padding: 20px 10px;
}

.contact-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-sub {
    max-width: 480px;
    margin: 0 auto 25px auto;
    font-size: 14px;
    opacity: .8;
    line-height: 1.6;
}

.contact-image {
    margin: 20px 0;
}

.contact-image img {
    width: 220px;
    max-width: 100%;
}

.contact-email-text {
    margin-top: 20px;
    font-size: 14px;
}

.contact-email {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

/* underline animation */
.contact-email::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: .3s ease;
}

.contact-email:hover::after {
    width: 100%;
}

.contact-alt {
    font-size: 15px;
    opacity: .7;
    margin-top: 8px;
}

/* CTA button */
.contact-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 26px;
    border-radius: 8px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: .25s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

body.dark .contact-btn {
    box-shadow: 0 6px 18px rgba(255, 158, 207, .3);
}

/* ==================================================
   15 .desktop INTRO
================================================== */
.boot-screen {
    position: fixed;
    inset: 0;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.boot-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* THIS centers children horizontally */
    text-align: center;
}

.boot-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.boot-text {
    font-size: 14px;
    opacity: .7;
    margin-bottom: 20px;
}

.boot-bar {
    width: 260px;
    height: 8px;
    background: #222;
    border-radius: 50px;
    overflow: hidden;
    margin-top: 15px;
    /* spacing */
}

.boot-progress {
    width: 0%;
    height: 100%;
    background: #ff7fbf;
    transition: width .3s ease;
}

.window,
.controls,
.footer,
.cat {
    opacity: 0;
    pointer-events: none;
}

.boot-button {
    margin-top: 20px;
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    background: var(--accent);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
}

.boot-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
}

.boot-bar.hidden {
    display: none;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 768px) {

    body {
        overflow: auto;
    }

    .window {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }

    .window-body {
        padding: 20px 15px;
    }

    .hero {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 40px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .roles {
        font-size: 14px;
    }

    .desktop {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 40px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .icon {
        width: 70px;
    }

    .icon svg {
        width: 45px;
        height: 45px;
    }

    /* Popups become full screen modal */
    .popup {
        width: 100%;
        height: 100vh;
        top: 0 !important;
        left: 0 !important;
        border-radius: 0;
    }

    .footer {
        bottom: 15px;
        gap: 25px;
    }

    .cat {
        font-size: 32px;
        bottom: 15px;
        right: 15px;
    }

}

/* ==================================================
   SUN TO MOON MODE
================================================== */
.theme-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    cursor: pointer;
    z-index: 9999;
}

.theme-icon {
    width: 26px;
    height: 26px;
    stroke: var(--text);
    stroke-width: 2;
    fill: none;
    transition: all .4s ease;
}

.sun-icon,
.moon-icon {
    transition: opacity .3s ease, transform .4s ease;
}

/* Default = Sun visible */
.moon-icon {
    opacity: 0;
    transform: scale(.6);
}

/* Dark mode = Moon visible */
body.dark .sun-icon {
    opacity: 0;
    transform: scale(.6);
}

body.dark .moon-icon {
    opacity: 1;
    transform: scale(1);
}

/* ==================================================
   volume
================================================== */
.volume-toggle {
    position: fixed;
    top: 20px;
    left: 60px;
    /* adjust spacing from theme toggle */
    cursor: pointer;
    z-index: 9999;
}

.volume-icon {
    width: 26px;
    height: 26px;
    stroke: var(--text);
    stroke-width: 2;
    fill: none;
    transition: all .3s ease;
}

.wave1,
.wave2 {
    transition: opacity .3s ease, transform .3s ease;
}

/* 🔇 When muted */
body.muted .wave1,
body.muted .wave2 {
    opacity: 0;
    transform: scale(.5);
}

/* subtle bounce animation */
.volume-toggle:active .volume-icon {
    transform: scale(0.85);
}

.theme-toggle,
.volume-toggle {
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}