/* ======================================================
ROY'S UNIVERSE v3.0
Global Styles
====================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    background: #02030F;
    color: white;

    overflow-x: hidden;
    min-height: 100vh;
}

/* ======================================================
CANVAS BACKGROUND
====================================================== */

#space {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;

    pointer-events: auto;
}

/* ======================================================
PAGE CONTAINER
====================================================== */

main {
    width: min(1200px, 90%);
    margin: auto;
}

/* ======================================================
LINKS
====================================================== */

a {
    text-decoration: none;
    color: inherit;
}

/* ======================================================
LISTS
====================================================== */

ul {
    list-style: none;
}

/* ======================================================
TEXT SELECTION
====================================================== */

::selection {
    background: #42d4ff;
    color: #001018;
}

/* ======================================================
SCROLLBAR
====================================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #07101d;
}

::-webkit-scrollbar-thumb {
    background: #2d6ca5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5ecbff;
}

/* ======================================================
UTILITY CLASSES
====================================================== */

.center {
    text-align: center;
}

.glow {
    color: #9ce8ff;

    text-shadow:
        0 0 10px #52d3ff,
        0 0 25px #52d3ff;
}

/* ======================================================
NAVIGATION
====================================================== */

nav {
    position: fixed;

    top: 20px;
    left: 50%;

    transform: translateX(-50%);

    width: min(1200px, 92%);

    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 18px 30px;

    background: rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 18px;

    z-index: 1000;

    box-shadow:
        0 0 35px rgba(0, 180, 255, 0.08);
}

.logo {
    font-size: 1.4rem;

    font-weight: 700;

    letter-spacing: 1px;

    color: #8fe9ff;
}

nav ul {
    display: flex;

    gap: 28px;

    align-items: center;
}

nav ul li a {
    color: white;

    font-size: 0.95rem;

    transition: 0.3s;

    position: relative;
}

nav ul li a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: #57d7ff;

    transition: 0.3s;
}

nav ul li a:hover {
    color: #7fe5ff;
}

nav ul li a:hover::after {
    width: 100%;
}

/* ======================================================
HERO SECTION
====================================================== */

header {
    position: relative;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 120px 20px;

    z-index: 10;
}

header h1 {
    font-size: clamp(3rem, 8vw, 6rem);

    letter-spacing: 8px;

    margin-bottom: 25px;

    color: white;

    text-shadow:
        0 0 15px rgba(120, 220, 255, 0.6),
        0 0 40px rgba(80, 180, 255, 0.35);

    animation:
        glow 5s ease-in-out infinite;
}

header p {
    max-width: 700px;

    font-size: 1.2rem;

    color: #c8e9ff;

    margin-bottom: 45px;

    line-height: 1.8;
}

.button {
    display: inline-block;

    padding: 16px 40px;

    border-radius: 40px;

    border: 1px solid rgba(95, 220, 255, 0.5);

    color: white;

    background: rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(10px);

    transition: 0.35s;

    font-weight: 600;

    letter-spacing: 1px;

    box-shadow:
        0 0 25px rgba(80, 180, 255, 0.15);

    animation:
        float 4s ease-in-out infinite;
}

.button:hover {
    transform: translateY(-4px);

    background: rgba(80, 180, 255, 0.15);

    box-shadow:
        0 0 35px rgba(80, 180, 255, 0.35);
}

/* ======================================================
OBSERVATORY DASHBOARD
====================================================== */

#dashboard {
    position: fixed;

    top: 100px;
    right: 30px;

    left: auto;

    width: 270px;

    padding: 22px;

    background: rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(120, 220, 255, 0.15);

    border-radius: 20px;

    box-shadow:
        0 0 35px rgba(80, 180, 255, 0.12);

    z-index: 20;
}

#dashboard h3 {
    color: #82e7ff;

    font-size: 15px;

    letter-spacing: 2px;

    margin-bottom: 18px;

    text-align: center;
}

.status {
    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 8px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);

    font-size: 0.9rem;
}

.status:last-child {
    border-bottom: none;
}

.online {
    color: #52ff8f;

    font-weight: bold;

    text-shadow:
        0 0 8px #52ff8f;
}

/* ======================================================
DASHBOARD GLOW
====================================================== */

#dashboard::before {
    content: "";

    position: absolute;

    inset: -2px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(0, 255, 255, 0.15),
            rgba(90, 120, 255, 0.08),
            transparent
        );

    z-index: -1;

    filter: blur(18px);
}

/* ======================================================
ANIMATIONS
====================================================== */

@keyframes float {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glow {

    0% {
        text-shadow:
            0 0 12px rgba(120, 220, 255, 0.3);
    }

    50% {
        text-shadow:
            0 0 30px rgba(120, 220, 255, 0.8);
    }

    100% {
        text-shadow:
            0 0 12px rgba(120, 220, 255, 0.3);
    }
}

/* ======================================================
FOOTER
====================================================== */

footer {
    text-align: center;

    padding: 80px 20px;

    color: #8ab6d6;

    opacity: 0.7;
}

/* ======================================================
RESPONSIVE
====================================================== */

@media (max-width: 900px) {

    nav {
        flex-direction: column;

        gap: 15px;

        padding: 18px;
    }

    nav ul {
        flex-wrap: wrap;

        justify-content: center;

        gap: 16px;
    }

    #dashboard {
        position: fixed;

        top: auto;
        bottom: 20px;

        right: 20px;
        left: 20px;

        width: auto;

        margin: 0;
    }

    header h1 {
        letter-spacing: 3px;
    }

}
/* ======================================================
   PERSONAL HERO IDENTITY
====================================================== */

.hero-status {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 25px;

    padding: 8px 15px;

    border: 1px solid rgba(100, 220, 255, 0.18);

    border-radius: 30px;

    background: rgba(80, 180, 255, 0.05);

    color: #8edfff;

    font-size: 0.72rem;

    letter-spacing: 2px;

    backdrop-filter: blur(10px);

    box-shadow:
        0 0 20px rgba(70, 190, 255, 0.08);

}


.status-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #52ff8f;

    box-shadow:
        0 0 8px #52ff8f,
        0 0 16px rgba(82, 255, 143, 0.5);

    animation:
        statusPulse 2s ease-in-out infinite;

}


.hero-intro {

    max-width: 720px;

}


.hero-interests {

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: -20px;

    margin-bottom: 130px;

}


.hero-interests span {

    padding: 8px 14px;

    border-radius: 20px;

    border: 1px solid rgba(140, 220, 255, 0.12);

    background: rgba(255, 255, 255, 0.035);

    color: #9fcce5;

    font-size: 0.78rem;

    letter-spacing: 0.5px;

    backdrop-filter: blur(8px);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;

}


.hero-interests span:hover {

    transform: translateY(-3px);

    border-color:
        rgba(100, 220, 255, 0.35);

    background:
        rgba(80, 180, 255, 0.08);

}


.hero-signature {

    margin-top: 28px;

    color: rgba(170, 215, 235, 0.55);

    font-family:
        "Segoe Script",
        "Brush Script MT",
        cursive;

    font-size: 1.15rem;

    letter-spacing: 1px;

}


@keyframes statusPulse {

    0% {
        opacity: 0.5;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.9);
    }

}


/* ======================================================
   PERSONAL HERO — MOBILE
====================================================== */

@media (max-width: 600px) {

    .hero-status {

        font-size: 0.62rem;

        letter-spacing: 1.3px;

    }

    .hero-interests {

        margin-top: -15px;

        margin-bottom: 38px;

    }

    .hero-interests span {

        font-size: 0.72rem;

        padding: 7px 11px;

    }

}
/* ======================================================
   PERSONAL MISSION LOG
====================================================== */

.mission-log {

    position: relative;

    width: min(760px, 88%);

    margin: -40px auto 120px;

    padding: 24px 28px;

    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid rgba(120, 220, 255, 0.12);

    border-radius: 18px;

    backdrop-filter: blur(14px);

    box-shadow:
        0 0 35px rgba(50, 170, 255, 0.06);

    z-index: 10;

}


/* TOP BAR */

.mission-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-bottom: 14px;

    margin-bottom: 20px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

}


.mission-label {

    color: #7fdfff;

    font-size: 0.7rem;

    letter-spacing: 3px;

    font-weight: 700;

}


.mission-id {

    color:
        rgba(160, 210, 235, 0.45);

    font-family: monospace;

    font-size: 0.7rem;

}


/* MAIN CONTENT */

.mission-content {

    display: flex;

    align-items: center;

    gap: 22px;

}


.mission-icon {

    flex-shrink: 0;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    border:
        1px solid rgba(100, 220, 255, 0.25);

    background:
        rgba(80, 180, 255, 0.07);

    color: #8fe9ff;

    font-size: 1.2rem;

    box-shadow:
        0 0 20px rgba(70, 200, 255, 0.1);

}


.mission-content h2 {

    margin-bottom: 8px;

    color: #dff7ff;

    font-size: 1.1rem;

    font-weight: 600;

}


.mission-content p {

    color: #91b9ce;

    font-size: 0.9rem;

    line-height: 1.7;

}


/* FOOTER */

.mission-footer {

    display: flex;

    justify-content: space-between;

    margin-top: 22px;

    padding-top: 15px;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);

    color:
        rgba(150, 195, 215, 0.5);

    font-size: 0.65rem;

    letter-spacing: 1.5px;

}


.mission-footer strong {

    color: #65dfff;

    font-weight: 600;

}


/* ======================================================
   MISSION LOG — MOBILE
====================================================== */

@media (max-width: 600px) {

    .mission-log {

        margin-top: -20px;

        margin-bottom: 80px;

        padding: 20px;

    }


    .mission-content {

        align-items: flex-start;

        gap: 15px;

    }


    .mission-icon {

        width: 40px;

        height: 40px;

        font-size: 1rem;

    }


    .mission-content p {

        font-size: 0.82rem;

    }


    .mission-footer {

        flex-direction: column;

        gap: 8px;

    }

}
/* ======================================================
   PERSONAL OBSERVATORY LOGO
====================================================== */

.logo {

    display: flex;

    align-items: center;

    gap: 9px;

    position: relative;

    white-space: nowrap;

}


.logo-symbol {

    color: #8fe9ff;

    font-size: 1.15rem;

    text-shadow:
        0 0 8px #52d3ff,
        0 0 18px rgba(82, 211, 255, 0.6);

    animation:
        logoPulse 3s ease-in-out infinite;

}


.logo-text {

    color: #dff8ff;

    font-size: 1rem;

    font-weight: 700;

    letter-spacing: 2px;

}


.logo-subtitle {

    margin-left: 3px;

    padding-left: 9px;

    border-left:
        1px solid rgba(130, 220, 255, 0.25);

    color:
        rgba(150, 205, 225, 0.45);

    font-size: 0.52rem;

    letter-spacing: 1.5px;

}


@keyframes logoPulse {

    0%,
    100% {

        opacity: 0.65;

        transform: scale(0.95);

    }

    50% {

        opacity: 1;

        transform: scale(1.08);

    }

}


/* ======================================================
   NAVIGATION ACTIVE STATE
====================================================== */

nav ul li a {

    opacity: 0.78;

}


nav ul li a:hover {

    opacity: 1;

}


/* ======================================================
   MOBILE LOGO
====================================================== */

@media (max-width: 900px) {

    .logo-subtitle {

        display: none;

    }

}


@media (max-width: 600px) {

    .logo-text {

        font-size: 0.9rem;

        letter-spacing: 1.5px;

    }

}
/* ======================================================
   OBSERVATORY COORDINATES
====================================================== */

.coordinates-panel {

    position: relative;

    width: min(900px, 88%);

    margin: -50px auto 120px;

    padding: 18px 24px;

    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid rgba(120, 220, 255, 0.10);

    border-radius: 14px;

    backdrop-filter: blur(12px);

    z-index: 10;

}


/* TOP */

.coordinates-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 17px;

}


.coordinates-label {

    color: rgba(145, 210, 235, 0.55);

    font-size: 0.62rem;

    letter-spacing: 2.5px;

}


.coordinates-signal {

    color: #58e89b;

    font-size: 0.58rem;

    letter-spacing: 1.5px;

    text-shadow:
        0 0 8px rgba(88, 232, 155, 0.5);

}


/* COORDINATES */

.coordinates-main {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.coordinate {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.coordinate-name {

    color:
        rgba(140, 190, 210, 0.42);

    font-size: 0.55rem;

    letter-spacing: 1.8px;

}


.coordinate strong {

    color: #bdefff;

    font-family: monospace;

    font-size: 0.82rem;

    letter-spacing: 1px;

}


.coordinate-online {

    color: #63e9aa !important;

}


.coordinate-divider {

    width: 1px;

    height: 28px;

    background:
        rgba(130, 210, 235, 0.12);

}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 600px) {

    .coordinates-panel {

        margin-top: -20px;

        padding: 17px;

    }


    .coordinates-main {

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 18px;

    }


    .coordinate-divider {

        display: none;

    }


    .coordinates-signal {

        font-size: 0.5rem;

    }

}
/* ======================================================
   ABOUT PAGE
====================================================== */

.about-page {

    position: relative;

    width: min(1100px, 90%);

    margin: auto;

    padding:
        180px 0 120px;

    z-index: 10;

}


/* HERO */

.about-hero {

    max-width: 800px;

    margin-bottom: 90px;

}


.about-label {

    color: #65dfff;

    font-size: 0.65rem;

    letter-spacing: 3px;

    font-weight: 700;

}


.about-hero h1 {

    margin-top: 18px;

    margin-bottom: 25px;

    font-size: clamp(3rem, 8vw, 6rem);

    line-height: 0.95;

    letter-spacing: 5px;

    color: white;

    text-shadow:
        0 0 20px rgba(100, 220, 255, 0.35);

}


.about-hero p {

    max-width: 680px;

    color: #9fc6da;

    font-size: 1.15rem;

    line-height: 1.8;

}


/* GRID */

.about-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    gap: 22px;

}


.about-card {

    position: relative;

    padding: 32px;

    background:
        rgba(255,255,255,0.035);

    border:
        1px solid rgba(120,220,255,0.10);

    border-radius: 20px;

    backdrop-filter: blur(14px);

}


.about-card:hover {

    border-color:
        rgba(120,220,255,0.22);

}


.card-number {

    color:
        rgba(100,220,255,0.45);

    font-family: monospace;

    font-size: 0.7rem;

}


.about-card h2 {

    margin:
        18px 0 18px;

    color: #dff8ff;

    font-size: 1.5rem;

}


.about-card p {

    color: #91b9ce;

    line-height: 1.8;

    margin-bottom: 15px;

}


/* ORBIT ITEMS */

.orbit-item {

    display: flex;

    justify-content: space-between;

    padding: 15px 0;

    border-bottom:
        1px solid rgba(255,255,255,0.07);

}


.orbit-item:last-child {

    border-bottom: none;

}


.orbit-item span {

    color:
        rgba(150,200,220,0.55);

    font-size: 0.65rem;

    letter-spacing: 1.5px;

}


.orbit-item strong {

    color: #6fe0ff;

    font-size: 0.75rem;

}


/* QUOTE */

.about-quote {

    margin:
        80px 0;

    padding:
        45px;

    border-left:
        2px solid #54d8ff;

    background:
        linear-gradient(
            90deg,
            rgba(60,180,255,0.06),
            transparent
        );

}


.about-quote span {

    color:
        rgba(120,210,235,0.5);

    font-size: 0.6rem;

    letter-spacing: 3px;

}


.about-quote blockquote {

    margin-top: 18px;

    max-width: 800px;

    color: #c9efff;

    font-size: clamp(1.3rem, 3vw, 2rem);

    line-height: 1.6;

}


/* INTERESTS */

.interests-section {

    margin-top: 100px;

}


.interests-section h2 {

    margin:
        15px 0 35px;

    color: #dff8ff;

    font-size: 2rem;

}


.interest-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

}


.interest-card {

    padding: 25px;

    background:
        rgba(255,255,255,0.025);

    border:
        1px solid rgba(120,220,255,0.08);

    border-radius: 16px;

    transition:
        transform 0.3s,
        border-color 0.3s;

}


.interest-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(120,220,255,0.22);

}


.interest-card > span {

    font-size: 1.4rem;

    color: #70ddff;

}


.interest-card h3 {

    margin:
        18px 0 10px;

    color: #dff8ff;

}


.interest-card p {

    color: #789caf;

    font-size: 0.85rem;

    line-height: 1.7;

}


/* MOBILE */

@media (max-width: 800px) {

    .about-page {

        padding-top: 160px;

    }


    .about-grid {

        grid-template-columns: 1fr;

    }


    .interest-grid {

        grid-template-columns:
            1fr 1fr;

    }

}


@media (max-width: 500px) {

    .interest-grid {

        grid-template-columns: 1fr;

    }


    .about-card {

        padding: 24px;

    }


    .about-quote {

        padding: 25px;

    }

}
/* ======================================================
   PHYSICS LAB
====================================================== */

.physics-page {

    position: relative;

    width: min(1100px, 90%);

    margin: auto;

    padding: 180px 0 120px;

    z-index: 10;

}


/* HERO */

.physics-hero {

    max-width: 800px;

    margin-bottom: 70px;

}


.physics-hero h1 {

    margin: 18px 0 25px;

    font-size: clamp(3.5rem, 9vw, 7rem);

    line-height: 0.9;

    letter-spacing: 5px;

    text-shadow:
        0 0 25px rgba(80,210,255,0.35);

}


.physics-hero p {

    max-width: 700px;

    color: #9fc6da;

    font-size: 1.15rem;

    line-height: 1.8;

}


/* LAB STATUS */

.lab-status {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-bottom: 100px;

    padding: 20px 25px;

    background:
        rgba(255,255,255,0.025);

    border:
        1px solid rgba(120,220,255,0.10);

    border-radius: 15px;

}


.lab-status div {

    display: flex;

    flex-direction: column;

    gap: 7px;

    padding: 5px 20px;

    border-right:
        1px solid rgba(255,255,255,0.08);

}


.lab-status div:last-child {

    border-right: none;

}


.lab-status span {

    color:
        rgba(150,200,220,0.45);

    font-size: 0.55rem;

    letter-spacing: 2px;

}


.lab-status strong {

    color: #c9efff;

    font-size: 0.72rem;

    letter-spacing: 1px;

}


.lab-online {

    color: #62e9a4 !important;

    text-shadow:
        0 0 8px rgba(98,233,164,0.5);

}


/* SECTION */

.physics-section {

    margin-top: 100px;

}


.physics-section h2 {

    margin: 15px 0 35px;

    color: #dff8ff;

    font-size: 2rem;

}


/* PHYSICS CARDS */

.physics-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

}


.physics-card {

    position: relative;

    min-height: 270px;

    padding: 30px;

    background:
        rgba(255,255,255,0.025);

    border:
        1px solid rgba(120,220,255,0.09);

    border-radius: 20px;

    transition:
        transform 0.3s,
        border-color 0.3s,
        background 0.3s;

}


.physics-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(100,220,255,0.25);

    background:
        rgba(80,180,255,0.045);

}


.physics-icon {

    display: block;

    margin-bottom: 20px;

    color: #6fe0ff;

    font-size: 1.7rem;

    text-shadow:
        0 0 12px rgba(80,210,255,0.5);

}


.physics-number {

    position: absolute;

    top: 30px;

    right: 30px;

    color:
        rgba(120,200,225,0.3);

    font-family: monospace;

    font-size: 0.7rem;

}


.physics-card h3 {

    margin-bottom: 12px;

    color: #dff8ff;

    font-size: 1.35rem;

}


.physics-card p {

    max-width: 430px;

    color: #789caf;

    line-height: 1.7;

    font-size: 0.9rem;

}


.card-status {

    position: absolute;

    bottom: 25px;

    left: 30px;

    color:
        rgba(100,220,255,0.55);

    font-family: monospace;

    font-size: 0.55rem;

    letter-spacing: 2px;

}


/* LAB NOTE */

.physics-note {

    margin:
        100px 0;

    padding:
        45px;

    border:
        1px solid rgba(100,220,255,0.12);

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(70,180,255,0.06),
            transparent
        );

}


.note-marker {

    color:
        rgba(100,220,255,0.55);

    font-family: monospace;

    font-size: 0.65rem;

    letter-spacing: 2px;

}


.physics-note h2 {

    margin:
        18px 0;

    color: #dff8ff;

    font-size: 2rem;

}


.physics-note p {

    max-width: 700px;

    color: #86afc4;

    line-height: 1.8;

}


/* EXPERIMENTS */

.experiment-list {

    border-top:
        1px solid rgba(255,255,255,0.08);

}


.experiment {

    display: grid;

    grid-template-columns:
        90px 1fr auto;

    gap: 25px;

    align-items: center;

    padding: 25px 10px;

    border-bottom:
        1px solid rgba(255,255,255,0.07);

}


.experiment-id {

    color:
        rgba(100,210,240,0.45);

    font-family: monospace;

    font-size: 0.65rem;

}


.experiment h3 {

    color: #ccefff;

    font-size: 1rem;

    margin-bottom: 6px;

}


.experiment p {

    color: #718fa0;

    font-size: 0.8rem;

}


.experiment-status {

    color:
        rgba(100,220,255,0.55);

    font-family: monospace;

    font-size: 0.55rem;

    letter-spacing: 1px;

}


/* MOBILE */

@media (max-width: 800px) {

    .lab-status {

        grid-template-columns:
            1fr 1fr;

        gap: 15px;

    }


    .lab-status div {

        border-right: none;

    }


    .physics-grid {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 550px) {

    .lab-status {

        grid-template-columns: 1fr;

    }


    .experiment {

        grid-template-columns:
            1fr;

        gap: 10px;

    }


    .physics-note {

        padding: 28px;

    }

}
/* ==========================================================
   ROY'S UNIVERSE
   CODING PAGE
========================================================== */


/* ==========================================================
   CODING HERO
========================================================== */

.coding-hero {

    min-height: 70vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 160px 20px 80px;

    position: relative;

    z-index: 10;

}


.section-label {

    color: #63dfff;

    font-size: 0.75rem;

    letter-spacing: 4px;

    font-weight: 600;

    margin-bottom: 18px;

    text-transform: uppercase;

}


.coding-hero h1 {

    font-size: clamp(3.5rem, 9vw, 7rem);

    letter-spacing: 10px;

    margin-bottom: 30px;

    color: white;

    text-shadow:
        0 0 15px rgba(120, 220, 255, 0.55),
        0 0 45px rgba(80, 180, 255, 0.3);

}


.coding-intro {

    max-width: 750px;

    color: #c8e9ff;

    font-size: 1.15rem;

    line-height: 1.9;

}


/* ==========================================================
   GENERAL CODING SECTIONS
========================================================== */

.coding-section {

    width: min(1100px, 90%);

    margin: 0 auto;

    padding: 100px 0;

    position: relative;

    z-index: 10;

}


.coding-section > h2 {

    text-align: center;

    font-size: clamp(2rem, 4vw, 3rem);

    margin-bottom: 55px;

    color: #e9faff;

    text-shadow:
        0 0 20px rgba(80, 200, 255, 0.25);

}


/* ==========================================================
   CODING CARDS
========================================================== */

.coding-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

}


.coding-card {

    padding: 35px;

    min-height: 220px;

    background:
        rgba(255, 255, 255, 0.055);

    backdrop-filter: blur(15px);

    border:
        1px solid rgba(120, 220, 255, 0.12);

    border-radius: 22px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;

}


.coding-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(100, 220, 255, 0.4);

    box-shadow:
        0 15px 45px rgba(0, 180, 255, 0.12),
        0 0 25px rgba(0, 180, 255, 0.08);

}


.coding-icon {

    display: block;

    font-size: 2.3rem;

    margin-bottom: 20px;

}


.coding-card h3 {

    color: #8fe9ff;

    font-size: 1.25rem;

    margin-bottom: 12px;

}


.coding-card p {

    color: #abcde0;

    line-height: 1.7;

    font-size: 0.95rem;

}


/* ==========================================================
   PROJECT PANELS
========================================================== */

.project-panel {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    padding: 35px;

    margin-bottom: 20px;

    background:
        rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(15px);

    border:
        1px solid rgba(120, 220, 255, 0.12);

    border-radius: 20px;

    transition: 0.35s ease;

}


.project-panel:hover {

    transform:
        translateX(6px);

    border-color:
        rgba(100, 220, 255, 0.35);

}


.project-panel h3 {

    color: white;

    font-size: 1.5rem;

    margin-bottom: 12px;

}


.project-panel p:not(.section-label) {

    max-width: 700px;

    color: #abcde0;

    line-height: 1.7;

}


.project-status {

    flex-shrink: 0;

    padding: 9px 16px;

    border-radius: 30px;

    border:
        1px solid rgba(80, 255, 180, 0.35);

    color: #63ffb0;

    font-size: 0.7rem;

    letter-spacing: 2px;

    font-weight: 700;

    text-shadow:
        0 0 8px rgba(80, 255, 180, 0.5);

}


/* ==========================================================
   LEARNING LIST
========================================================== */

.learning-list {

    max-width: 800px;

    margin: auto;

}


.learning-item {

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 22px 10px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);

}


.learning-item span {

    color: #52d8ff;

    font-family: monospace;

    font-size: 0.85rem;

}


.learning-item p {

    color: #d5edff;

    font-size: 1.05rem;

}


/* ==========================================================
   CODING PHILOSOPHY
========================================================== */

.philosophy {

    text-align: center;

    max-width: 850px;

}


.philosophy h2 {

    font-size: clamp(2rem, 5vw, 3.5rem);

    color: white;

    margin-bottom: 25px;

    line-height: 1.2;

}


.philosophy > p:last-child {

    color: #abcde0;

    font-size: 1.05rem;

    line-height: 1.9;

}


/* ==========================================================
   TERMINAL
========================================================== */

.terminal {

    width: min(850px, 90%);

    margin: 80px auto 150px;

    position: relative;

    z-index: 10;

    background:
        rgba(4, 12, 24, 0.85);

    backdrop-filter: blur(18px);

    border:
        1px solid rgba(90, 210, 255, 0.2);

    border-radius: 15px;

    overflow: hidden;

    box-shadow:
        0 0 40px rgba(0, 180, 255, 0.08);

}


.terminal-header {

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 12px 16px;

    background:
        rgba(255, 255, 255, 0.05);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);

}


.terminal-header span {

    width: 9px;

    height: 9px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.3);

}


.terminal-header p {

    margin-left: 12px;

    color: #7fa9bd;

    font-family: monospace;

    font-size: 0.75rem;

}


.terminal-body {

    padding: 30px;

    font-family: monospace;

    line-height: 2;

    font-size: 0.9rem;

    color: #91dfff;

}


.terminal-active {

    color: #63ffb0;

}


/* ==========================================================
   CODING PAGE MOBILE
========================================================== */

@media (max-width: 700px) {

    .coding-hero {

        padding-top: 180px;

    }


    .coding-hero h1 {

        letter-spacing: 5px;

    }


    .coding-grid {

        grid-template-columns: 1fr;

    }


    .project-panel {

        flex-direction: column;

        align-items: flex-start;

    }


    .coding-section {

        padding: 70px 0;

    }


    .terminal {

        margin-bottom: 100px;

    }

}
/* ==========================================================
   INTERACTIVE TERMINAL
========================================================== */

.coding-terminal {

    max-width: 850px;

}


.terminal-input-row {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0 30px 25px;

    font-family: monospace;

    color: #63dfff;

}


.terminal-input-row input {

    flex: 1;

    min-width: 0;

    border: none;

    outline: none;

    background: transparent;

    color: #dff8ff;

    font-family: monospace;

    font-size: 0.9rem;

}


.terminal-input-row input::placeholder {

    color: rgba(150, 210, 230, 0.35);

}


#terminalOutput {

    max-height: 350px;

    overflow-y: auto;

}


#terminalOutput p {

    margin: 0;

}


#terminalOutput strong {

    color: #63ffb0;

}
/* ==========================================================
   ROY'S UNIVERSE
   CODING PAGE — EDITORIAL / ARCHIVE DESIGN
========================================================== */


/* ==========================================================
   CODING PAGE FOUNDATION
========================================================== */

.coding-page {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    z-index: 10;
}


/* ==========================================================
   SHARED TYPOGRAPHY
========================================================== */

.coding-page .section-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: #72dfff;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.coding-page h1,
.coding-page h2,
.coding-page h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-weight: 400;
}

.coding-page h2 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -1px;
}

.coding-page p {
    line-height: 1.8;
}


/* ==========================================================
   HERO
========================================================== */

.coding-hero {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coding-hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.18);

    color: #78dfff;

    font-size: 0.65rem;

    letter-spacing: 3px;
}

.coding-hero-content {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(250px, 0.7fr);

    gap: 80px;

    align-items: end;

    padding:
        100px 0
        70px;
}

.coding-hero h1 {
    font-size: clamp(5rem, 14vw, 11rem);

    line-height: 0.78;

    letter-spacing: -6px;

    color: #f4fbff;

    text-shadow:
        0 0 25px rgba(70, 200, 255, 0.18);
}

.coding-hero h1 span {
    display: block;

    color: transparent;

    -webkit-text-stroke:
        1px rgba(130, 225, 255, 0.75);
}

.coding-hero-description {
    max-width: 390px;
}

.coding-hero-description > p:first-child {
    font-size: 1.15rem;

    color: #d6edf8;
}

.coding-note {
    margin-top: 30px;

    color: #7897a9;

    font-size: 0.85rem;

    font-style: italic;
}

.coding-hero-line {
    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(100, 220, 255, 0.7),
            rgba(255, 255, 255, 0.08),
            transparent
        );
}


/* ==========================================================
   FEATURE SECTION
========================================================== */

.coding-feature {
    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    min-height: 650px;

    margin:
        100px 0
        180px;

    gap: 80px;

    align-items: center;
}

.coding-feature-image {
    min-height: 620px;

    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(120, 220, 255, 0.18);

    background:
        rgba(255, 255, 255, 0.025);
}

.image-placeholder {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 30px;

    background:
        radial-gradient(
            circle at 60% 40%,
            rgba(40, 150, 255, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 25% 70%,
            rgba(90, 70, 255, 0.13),
            transparent 30%
        ),
        #050a17;
}

.image-placeholder::before {
    content: "";

    position: absolute;

    inset: 12%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(120, 220, 255, 0.25),
            rgba(30, 80, 150, 0.08) 40%,
            transparent 70%
        );

    filter: blur(20px);
}

.image-placeholder span,
.image-placeholder p {
    position: relative;

    z-index: 2;

    font-size: 0.65rem;

    letter-spacing: 3px;

    color: #75dfff;
}

.image-placeholder p {
    color: rgba(255, 255, 255, 0.45);
}

.coding-feature-text {
    max-width: 470px;
}

.coding-feature-text h2 {
    margin-bottom: 35px;
}

.coding-feature-text p:not(.section-label) {
    color: #a9c3d1;

    margin-bottom: 25px;

    font-size: 1rem;
}


/* ==========================================================
   SECTION HEADINGS
========================================================== */

.section-heading {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 70px;

    padding-bottom: 25px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.12);
}

.section-number {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 4rem;

    color:
        rgba(120, 220, 255, 0.18);
}


/* ==========================================================
   BUILD SECTION
========================================================== */

.build-section {
    margin-bottom: 180px;
}

.coding-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 2px;

    background:
        rgba(255, 255, 255, 0.1);
}

.coding-card {
    min-height: 470px;

    padding: 0;

    position: relative;

    background:
        rgba(3, 8, 20, 0.88);

    transition:
        transform 0.4s ease,
        background 0.4s ease;
}

.coding-card:hover {
    background:
        rgba(7, 20, 40, 0.96);

    transform:
        translateY(-5px);
}

.coding-card-image {
    height: 220px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(80, 210, 255, 0.18),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #07182b,
            #02030f
        );
}

.coding-card-image::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    border:
        1px solid
        rgba(110, 220, 255, 0.25);

    box-shadow:
        0 0 60px
        rgba(60, 190, 255, 0.15);
}

.coding-card-image span {
    position: absolute;

    top: 20px;
    left: 22px;

    z-index: 2;

    font-size: 0.65rem;

    letter-spacing: 2px;

    color: #75dfff;
}

.coding-card-content {
    padding: 35px;
}

.card-label {
    color: #63889a;

    font-size: 0.65rem;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 15px;
}

.coding-card h3 {
    font-size: 2rem;

    color: #f2f9fc;

    margin-bottom: 20px;
}

.coding-card p:last-child {
    color: #8fa9b8;

    font-size: 0.92rem;
}


/* ==========================================================
   PROJECT ARCHIVE
========================================================== */

.project-archive {
    margin-bottom: 180px;
}

.project-entry {
    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    min-height: 560px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.12);

    align-items: stretch;
}

.project-entry.reverse {
    grid-template-columns:
        0.95fr
        1.05fr;
}

.project-entry.reverse .project-image {
    order: 2;
}

.project-entry.reverse .project-info {
    order: 1;
}

.project-image {
    min-height: 560px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 45% 45%,
            rgba(80, 190, 255, 0.25),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #07172a,
            #02030f
        );
}

.project-image::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(200, 245, 255, 0.9),
            rgba(40, 120, 180, 0.4) 25%,
            rgba(5, 20, 40, 0.9) 65%,
            transparent 70%
        );

    box-shadow:
        0 0 80px
        rgba(70, 200, 255, 0.18);
}

.project-image span {
    position: absolute;

    top: 25px;
    left: 25px;

    color: #75dfff;

    font-size: 0.65rem;

    letter-spacing: 3px;

    z-index: 2;
}

.project-info {
    position: relative;

    padding:
        60px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background:
        rgba(255, 255, 255, 0.018);
}

.project-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}

.project-status {
    font-size: 0.6rem;

    letter-spacing: 2px;

    color: #65ffb0;

    border:
        1px solid
        rgba(100, 255, 180, 0.25);

    padding:
        7px 12px;
}

.project-info h3 {
    font-size: clamp(2.2rem, 4vw, 4rem);

    line-height: 1;

    margin:
        20px 0
        30px;

    color: #f4fbff;
}

.project-info > p {
    max-width: 480px;

    color: #9db5c2;

    font-size: 0.95rem;
}

.project-index {
    position: absolute;

    bottom: 25px;
    right: 35px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 5rem;

    color:
        rgba(100, 210, 255, 0.08);
}


/* ==========================================================
   LEARNING
========================================================== */

.learning-section {
    display: grid;

    grid-template-columns:
        0.8fr
        1.2fr;

    gap: 100px;

    margin-bottom: 180px;

    align-items: start;
}

.learning-intro h2 {
    margin-bottom: 30px;
}

.learning-intro > p:last-child {
    max-width: 350px;

    color: #849eac;
}

.learning-list {
    border-top:
        1px solid
        rgba(255, 255, 255, 0.15);
}

.learning-item {
    display: grid;

    grid-template-columns:
        50px 1fr 30px;

    align-items: center;

    gap: 20px;

    padding:
        25px 5px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.1);

    transition:
        padding 0.3s ease,
        background 0.3s ease;
}

.learning-item:hover {
    padding-left: 15px;

    background:
        rgba(80, 190, 255, 0.04);
}

.learning-item > span:first-child {
    color: #527589;

    font-size: 0.7rem;

    letter-spacing: 2px;
}

.learning-item p {
    color: #d7edf5;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.25rem;
}

.learning-mark {
    color: #69dfff;

    transition:
        transform 0.3s ease;
}

.learning-item:hover .learning-mark {
    transform:
        translateX(5px);
}


/* ==========================================================
   PHILOSOPHY
========================================================== */

.philosophy {
    display: grid;

    grid-template-columns:
        160px
        1fr;

    gap: 60px;

    margin-bottom: 180px;

    padding:
        90px 0;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.12);
}

.philosophy-number {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 7rem;

    color:
        rgba(90, 210, 255, 0.1);
}

.philosophy-content {
    max-width: 800px;
}

.philosophy-content h2 {
    font-size:
        clamp(3rem, 7vw, 6rem);

    margin-bottom: 45px;
}

.philosophy-content > p:last-child {
    max-width: 650px;

    color: #9db7c5;

    font-size: 1rem;
}


/* ==========================================================
   TERMINAL
========================================================== */

.coding-terminal-section {
    margin-bottom: 120px;
}

.terminal-intro {
    margin-bottom: 45px;
}

.terminal-intro h2 {
    font-size: clamp(2rem, 5vw, 4rem);
}

.terminal-window {
    border:
        1px solid
        rgba(100, 210, 255, 0.2);

    background:
        rgba(1, 5, 12, 0.92);

    box-shadow:
        0 0 70px
        rgba(30, 150, 220, 0.08);

    font-family:
        "Courier New",
        monospace;
}

.terminal-header {
    display: flex;

    align-items: center;

    gap: 20px;

    min-height: 50px;

    padding:
        0 20px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.1);

    color: #628394;
}

.terminal-controls {
    display: flex;

    gap: 7px;
}

.terminal-controls span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    border:
        1px solid
        rgba(110, 220, 255, 0.35);
}

.terminal-header p {
    margin: 0;

    font-size: 0.7rem;

    letter-spacing: 1px;
}

.terminal-body {
    min-height: 300px;

    padding: 30px;

    color: #75dcff;

    font-size: 0.85rem;

    line-height: 1.9;
}

.terminal-body p {
    margin-bottom: 8px;
}

.terminal-active {
    color: #d7f7ff;
}

.terminal-input-row {
    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        18px 30px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);

    color: #75dcff;
}

.terminal-input-row input {
    flex: 1;

    border: none;

    outline: none;

    background: transparent;

    color: #dff8ff;

    font-family:
        "Courier New",
        monospace;

    font-size: 0.85rem;
}

.terminal-input-row input::placeholder {
    color: #45616e;
}


/* ==========================================================
   END
========================================================== */

.coding-end {
    text-align: center;

    padding:
        80px 0
        20px;

    color: #63808e;
}

.coding-end p {
    color: #70dcff;

    font-size: 0.65rem;

    letter-spacing: 4px;

    margin-bottom: 15px;
}

.coding-end span {
    font-size: 0.6rem;

    letter-spacing: 2px;
}


/* ==========================================================
   CODING PAGE RESPONSIVE
========================================================== */

@media (max-width: 900px) {

    .coding-page {
        width: min(92%, 700px);

        padding-top: 150px;
    }


    .coding-hero {
        min-height: 65vh;
    }


    .coding-hero-content {
        grid-template-columns: 1fr;

        gap: 40px;

        padding:
            70px 0
            50px;
    }


    .coding-hero h1 {
        font-size:
            clamp(4rem, 18vw, 7rem);

        letter-spacing: -3px;
    }


    .coding-feature {
        grid-template-columns: 1fr;

        margin:
            80px 0
            120px;

        gap: 50px;
    }


    .coding-feature-image {
        min-height: 450px;
    }


    .coding-grid {
        grid-template-columns: 1fr;
    }


    .project-entry,
    .project-entry.reverse {
        grid-template-columns: 1fr;
    }


    .project-entry.reverse .project-image,
    .project-entry.reverse .project-info {
        order: initial;
    }


    .project-image {
        min-height: 400px;
    }


    .project-info {
        min-height: 420px;

        padding: 40px 30px;
    }


    .learning-section {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .philosophy {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .philosophy-number {
        font-size: 4rem;
    }

}


@media (max-width: 600px) {

    .coding-page {
        width: 90%;
    }


    .coding-hero-meta {
        font-size: 0.55rem;

        letter-spacing: 2px;
    }


    .coding-hero h1 {
        font-size: 4rem;
    }


    .coding-feature-image {
        min-height: 350px;
    }


    .section-heading {
        align-items: flex-start;
    }


    .section-number {
        font-size: 2.5rem;
    }


    .coding-card {
        min-height: auto;
    }


    .coding-card-content {
        padding: 28px;
    }


    .project-image {
        min-height: 320px;
    }


    .project-info {
        padding: 35px 25px;
    }


    .project-info h3 {
        font-size: 2.4rem;
    }


    .terminal-input-row {
        padding:
            15px 18px;
    }


    .terminal-input-row span {
        font-size: 0.7rem;
    }


    .terminal-body {
        padding: 20px;

        min-height: 250px;
    }

}