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

:root {
    --bg: #070914;
    --glass: rgba(15, 19, 36, 0.72);
    --glass-heavy: rgba(10, 13, 27, 0.9);
    --border: rgba(255, 255, 255, 0.12);
    --text: #f7f8ff;
    --muted: #9298b5;
    --accent: #8c7cff;
    --accent2: #5ee7ff;
    --danger: #ff6174;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: var(--bg);
    color: var(--text);
}

button,
input,
textarea {
    font: inherit;
}

button {
    border: none;
    cursor: pointer;
    color: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent2);
    outline-offset: 2px;
}


/* =========================================
   BOOT
========================================= */

#bootScreen {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(circle at 50% 40%, #22245b 0%, transparent 35%),
        radial-gradient(circle at 20% 80%, #142d50 0%, transparent 30%),
        #04050d;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

#bootScreen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.boot-logo {
    width: 110px;
    height: 110px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 28px;
}

.boot-core {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.3),
            rgba(255,255,255,.05)
        );

    border: 1px solid rgba(255,255,255,.25);

    box-shadow:
        0 0 45px rgba(130,110,255,.7),
        inset 0 0 20px rgba(255,255,255,.1);

    font-size: 32px;
    font-weight: 800;

    animation: bootPulse 2s infinite ease-in-out;
}

.boot-orbit {
    position: absolute;
    border: 1px solid rgba(160,150,255,.35);
    border-radius: 50%;
}

.orbit-one {
    width: 100px;
    height: 55px;
    transform: rotate(25deg);
    animation: orbit 4s linear infinite;
}

.orbit-two {
    width: 55px;
    height: 100px;
    transform: rotate(-25deg);
    animation: orbitReverse 5s linear infinite;
}

@keyframes orbit {
    to {
        transform: rotate(385deg);
    }
}

@keyframes orbitReverse {
    to {
        transform: rotate(-385deg);
    }
}

@keyframes bootPulse {
    50% {
        transform: scale(1.08);
        box-shadow:
            0 0 70px rgba(130,110,255,.9),
            inset 0 0 20px rgba(255,255,255,.1);
    }
}

#bootScreen h1 {
    font-size: 32px;
    letter-spacing: -1px;
}

#bootScreen p {
    color: var(--muted);
    margin-top: 5px;
}

.boot-loader {
    width: 240px;
    height: 4px;

    margin-top: 38px;

    background: rgba(255,255,255,.08);
    border-radius: 20px;
    overflow: hidden;
}

#bootProgress {
    width: 0%;
    height: 100%;

    background: linear-gradient(
        90deg,
        var(--accent),
        var(--accent2)
    );

    transition: width .15s linear;
}

#bootStatus {
    margin-top: 12px;
    font-size: 12px;
    color: #777d9b;
}


/* =========================================
   DESKTOP
========================================= */

#desktop {
    position: fixed;
    inset: 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 18% 20%,
            rgba(111,91,255,.22),
            transparent 28%
        ),
        radial-gradient(
            circle at 80% 15%,
            rgba(52,211,255,.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(220,70,255,.1),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #070914,
            #0b1020 50%,
            #080814
        );
}

#desktop.wallpaper-two {
    background:
        radial-gradient(circle at 20% 20%, rgba(0,190,255,.2), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0,80,255,.18), transparent 35%),
        linear-gradient(135deg, #03111d, #061a2b, #050914);
}

#desktop.wallpaper-three {
    background:
        radial-gradient(circle at 50% 40%, rgba(132,88,255,.25), transparent 32%),
        radial-gradient(circle at 20% 80%, rgba(48,30,120,.35), transparent 35%),
        linear-gradient(135deg, #05030f, #100823, #03030a);
}

#desktop.wallpaper-four {
    background:
        radial-gradient(circle at 30% 30%, rgba(255,108,81,.2), transparent 30%),
        radial-gradient(circle at 75% 75%, rgba(255,65,150,.18), transparent 32%),
        linear-gradient(135deg, #13070b, #180b1d, #090610);
}

.ambient {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.ambient-one {
    width: 300px;
    height: 300px;
    background: rgba(111, 92, 255, .12);
    left: -100px;
    top: 20%;
}

.ambient-two {
    width: 260px;
    height: 260px;
    background: rgba(0, 210, 255, .08);
    right: 5%;
    top: 10%;
}

.ambient-three {
    width: 300px;
    height: 300px;
    background: rgba(220, 80, 255, .07);
    right: 20%;
    bottom: -100px;
}


/* =========================================
   TOP BAR
========================================= */

.topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 14px;

    background: rgba(7, 9, 20, .62);
    backdrop-filter: blur(25px);

    border-bottom: 1px solid rgba(255,255,255,.05);

    z-index: 9000;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.system-logo {
    width: 24px;
    height: 24px;

    border-radius: 7px;

    background: linear-gradient(
        135deg,
        #8e7dff,
        #55ddff
    );

    font-size: 12px;
    font-weight: 900;

    box-shadow: 0 0 15px rgba(120,100,255,.4);
}

.top-title {
    font-size: 13px;
    font-weight: 700;
}

.menu-button,
.status-button {
    background: transparent;
    color: #aeb3ca;

    padding: 5px 7px;
    border-radius: 7px;

    font-size: 12px;
}

.menu-button:hover,
.status-button:hover {
    background: rgba(255,255,255,.08);
    color: white;
}

.top-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    color: #aeb3ca;
    font-size: 12px;
}

.status-item {
    color: #8990ad;
    font-size: 11px;
}

.status-dot {
    display: inline-block;

    width: 6px;
    height: 6px;

    margin-right: 4px;

    border-radius: 50%;
    background: #5cf09a;

    box-shadow: 0 0 8px #5cf09a;
}

#topClock {
    font-size: 12px;
    min-width: 40px;
    text-align: right;
}


/* =========================================
   MENUS
========================================= */

.dropdown-menu {
    position: absolute;

    top: 43px;

    display: none;
    flex-direction: column;

    min-width: 180px;

    padding: 6px;

    background: rgba(17,20,37,.94);
    backdrop-filter: blur(25px);

    border: 1px solid var(--border);
    border-radius: 12px;

    box-shadow: 0 20px 60px rgba(0,0,0,.45);

    z-index: 9500;
}

.dropdown-menu.show {
    display: flex;
}

#systemMenu {
    left: 80px;
}

#viewMenu {
    left: 135px;
}

.dropdown-menu button {
    padding: 9px 11px;
    text-align: left;

    background: transparent;
    border-radius: 7px;

    color: #c7caDA;
    font-size: 12px;
}

.dropdown-menu button:hover {
    background: rgba(255,255,255,.08);
    color: white;
}


/* =========================================
   DESKTOP ICONS
========================================= */

#desktopIcons {
    position: absolute;

    top: 65px;
    left: 20px;

    display: flex;
    flex-direction: column;

    gap: 12px;

    z-index: 2;
}

#desktopIcons.hidden {
    display: none;
}

.desktop-icon {
    width: 78px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 5px;

    padding: 7px 4px;

    background: transparent;

    border-radius: 10px;

    color: #dfe2f2;
    font-size: 11px;
}

.desktop-icon:hover {
    background: rgba(255,255,255,.08);
}

.desktop-icon-image {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.1);

    font-size: 25px;

    box-shadow:
        0 10px 25px rgba(0,0,0,.18);
}


/* =========================================
   WELCOME
========================================= */

.welcome-card {
    position: absolute;

    width: min(680px, 70vw);
    min-height: 270px;

    left: 50%;
    top: 47%;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 42px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.025)
        );

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 30px;

    backdrop-filter: blur(25px);

    box-shadow:
        0 40px 100px rgba(0,0,0,.3),
        inset 0 1px rgba(255,255,255,.08);

    overflow: hidden;

    z-index: 1;

    transition:
        opacity .3s,
        transform .3s;
}

.welcome-card.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -47%) scale(.97);
}

.welcome-content {
    position: relative;
    z-index: 2;

    max-width: 430px;
}

.welcome-small {
    color: #8f86ff;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
}

.welcome-card h2 {
    margin-top: 10px;

    font-size: 31px;
    letter-spacing: -1.2px;
}

.welcome-card p {
    margin-top: 12px;

    color: var(--muted);
    line-height: 1.6;
    font-size: 13px;
}

.welcome-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.primary-button,
.secondary-button {
    padding: 10px 15px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 700;

    transition:
        transform .2s,
        box-shadow .2s;
}

.primary-button {
    background: linear-gradient(
        135deg,
        #8d7cff,
        #5fbeff
    );

    color: white;

    box-shadow: 0 8px 25px rgba(112,100,255,.3);
}

.secondary-button {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

.welcome-orb {
    width: 150px;
    height: 150px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.orb-core,
.about-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(154,137,255,.9),
            rgba(62,210,255,.65)
        );

    box-shadow:
        0 0 50px rgba(121,105,255,.4),
        inset 0 0 20px rgba(255,255,255,.2);

    font-size: 42px;
    font-weight: 900;
}

.orb-core {
    width: 75px;
    height: 75px;
}

.orb-ring {
    position: absolute;

    width: 135px;
    height: 55px;

    border: 1px solid rgba(141,126,255,.5);
    border-radius: 50%;

    transform: rotate(25deg);

    animation: ringRotate 6s linear infinite;
}

.ring-two {
    transform: rotate(-25deg);
    animation-duration: 8s;
}

@keyframes ringRotate {
    to {
        transform: rotate(385deg);
    }
}


/* =========================================
   WINDOWS
========================================= */

.app-window {
    position: absolute;

    display: none;
    flex-direction: column;

    min-width: 300px;
    min-height: 220px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(20,24,43,.91),
            rgba(10,13,27,.94)
        );

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 17px;

    backdrop-filter: blur(35px);

    box-shadow:
        0 40px 100px rgba(0,0,0,.45),
        0 5px 20px rgba(0,0,0,.25);

    z-index: 100;

    animation: windowOpen .28s cubic-bezier(.2,.8,.2,1);
}

.app-window.open {
    display: flex;
}

.app-window.minimized {
    opacity: 0;
    transform: scale(.85) translateY(80px);
    pointer-events: none;
}

.app-window.maximized {
    left: 8px !important;
    top: 46px !important;
    width: calc(100% - 16px) !important;
    height: calc(100% - 125px) !important;
}

@keyframes windowOpen {
    from {
        opacity: 0;
        transform: scale(.94) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.window-titlebar {
    height: 43px;

    flex-shrink: 0;

    display: flex;
    align-items: center;

    padding: 0 13px;

    background: rgba(255,255,255,.035);

    border-bottom: 1px solid rgba(255,255,255,.07);

    cursor: grab;
    user-select: none;
}

.window-titlebar:active {
    cursor: grabbing;
}

.window-controls {
    display: flex;
    gap: 7px;

    width: 80px;
}

.window-controls button {
    width: 13px;
    height: 13px;

    border-radius: 50%;

    font-size: 0;
}

.window-controls button:hover {
    filter: brightness(1.25);
}

.window-close {
    background: #ff5f67;
}

.window-minimize {
    background: #ffc14f;
}

.window-maximize {
    background: #42d978;
}

.window-title {
    position: absolute;

    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 12px;
    font-weight: 700;

    color: #d7d9e8;
}

.window-space {
    margin-left: auto;
}


/* =========================================
   FILES
========================================= */

.window-body {
    flex: 1;
    min-height: 0;
}

.files-body {
    display: flex;
}

.sidebar {
    width: 180px;

    flex-shrink: 0;

    padding: 18px 10px;

    background: rgba(0,0,0,.14);

    border-right: 1px solid rgba(255,255,255,.06);
}

.sidebar-heading {
    margin: 8px 9px;

    color: #6e748f;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.sidebar-item {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 9px 10px;

    background: transparent;

    border-radius: 8px;

    color: #a9aec4;

    font-size: 12px;

    text-align: left;
}

.sidebar-item:hover,
.sidebar-item.active {
    background: rgba(255,255,255,.08);
    color: white;
}

.file-content {
    flex: 1;

    padding: 25px;

    overflow: auto;
}

.file-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 24px;
}

.file-header h3 {
    font-size: 19px;
}

.file-header span {
    display: block;
    color: #727995;
    font-size: 11px;
    margin-top: 3px;
}

.round-button {
    width: 32px;
    height: 32px;

    border-radius: 9px;

    background: rgba(255,255,255,.08);

    font-size: 18px;
}

.file-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(135px, 1fr));

    gap: 12px;
}

.file-card {
    min-height: 120px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 17px;

    background: rgba(255,255,255,.045);

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 13px;

    text-align: left;

    transition:
        transform .2s,
        background .2s;
}

.file-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.08);
}

.file-card-icon {
    font-size: 32px;
    margin-bottom: 13px;
}

.file-card span:not(.file-card-icon) {
    font-size: 12px;
    font-weight: 700;
}

.file-card small {
    color: #6f7590;
    margin-top: 3px;
}


/* =========================================
   NOTES
========================================= */

.notes-toolbar {
    height: 46px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 0 13px;

    border-bottom: 1px solid rgba(255,255,255,.06);
}

.notes-toolbar button {
    padding: 6px 10px;

    border-radius: 7px;

    background: rgba(255,255,255,.07);

    font-size: 11px;
}

#noteSaved {
    margin-left: auto;

    color: #6f7590;
    font-size: 10px;
}

#notesArea {
    width: 100%;
    height: calc(100% - 89px);

    padding: 25px;

    resize: none;

    border: none;
    outline: none;

    background: transparent;

    color: #e9ebf6;

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================
   BROWSER
========================================= */

.browser-toolbar {
    height: 48px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 7px 12px;

    border-bottom: 1px solid rgba(255,255,255,.06);
}

.browser-toolbar button {
    width: 30px;
    height: 30px;

    border-radius: 8px;

    background: rgba(255,255,255,.07);

    font-size: 13px;
}

.browser-toolbar input {
    flex: 1;

    height: 30px;

    padding: 0 12px;

    border-radius: 8px;

    background: rgba(0,0,0,.25);

    border: 1px solid rgba(255,255,255,.08);

    color: white;

    outline: none;

    font-size: 11px;
}

.browser-toolbar button:last-child {
    width: 42px;
}

.browser-home {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.browser-logo {
    width: 75px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 23px;

    background: linear-gradient(
        135deg,
        #8c7cff,
        #52ddff
    );

    box-shadow:
        0 20px 50px rgba(102,90,255,.25);

    font-size: 34px;
    font-weight: 900;
}

.browser-home h2 {
    margin-top: 18px;
}

.browser-home p {
    color: #777e9a;
    font-size: 12px;
    margin-top: 6px;
}

.search-box {
    display: flex;

    width: min(520px, 80%);

    margin-top: 25px;

    padding: 5px;

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 12px;
}

.search-box input {
    flex: 1;

    padding: 9px 11px;

    background: transparent;
    border: none;
    outline: none;

    color: white;

    font-size: 12px;
}

.search-box button {
    padding: 8px 14px;

    border-radius: 8px;

    background: linear-gradient(
        135deg,
        #8c7cff,
        #5ecaff
    );

    font-size: 11px;
}

.quick-links {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.quick-links button {
    padding: 8px 11px;

    border-radius: 8px;

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.06);

    font-size: 10px;
}

.browser-frame {
    display: none;

    width: 100%;
    height: calc(100% - 91px);

    border: none;

    background: white;
}


/* =========================================
   CALCULATOR
========================================= */

.calculator {
    padding: 15px;
}

.calculator-display {
    height: 110px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;

    padding: 10px 7px 18px;

    overflow: hidden;
}

.calculator-display span {
    min-height: 20px;

    color: #747b96;

    font-size: 12px;
}

.calculator-display strong {
    font-size: 38px;
    font-weight: 500;

    letter-spacing: -1px;
}

.calculator-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 8px;
}

.calculator-grid button {
    height: 58px;

    border-radius: 12px;

    background: rgba(255,255,255,.07);

    font-size: 16px;

    transition:
        background .15s,
        transform .1s;
}

.calculator-grid button:hover {
    background: rgba(255,255,255,.13);
}

.calculator-grid button:active {
    transform: scale(.94);
}

.calc-special {
    color: #b7b1ff;
}

.calc-operation {
    background: rgba(123,107,255,.2) !important;
    color: #c9c2ff;
}

.calc-equals {
    background: linear-gradient(
        135deg,
        #8374ff,
        #5ccaff
    ) !important;
}

.zero {
    grid-column: span 2;
}


/* =========================================
   SETTINGS
========================================= */

.settings-layout {
    display: flex;
    height: 100%;
}

.settings-sidebar {
    width: 190px;

    padding: 18px 12px;

    background: rgba(0,0,0,.14);

    border-right: 1px solid rgba(255,255,255,.06);
}

.settings-tab {
    width: 100%;

    padding: 11px;

    margin-bottom: 5px;

    border-radius: 9px;

    background: transparent;

    color: #9298b3;

    text-align: left;

    font-size: 12px;
}

.settings-tab:hover,
.settings-tab.active {
    background: rgba(255,255,255,.08);
    color: white;
}

.settings-content {
    flex: 1;

    padding: 28px;

    overflow: auto;
}

.settings-content h2 {
    font-size: 22px;
}

.settings-description {
    color: #737a95;

    font-size: 12px;

    margin-top: 6px;
    margin-bottom: 22px;
}

.setting-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px;

    margin-bottom: 10px;

    background: rgba(255,255,255,.045);

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 12px;
}

.setting-card strong,
.setting-card span {
    display: block;
}

.setting-card strong {
    font-size: 12px;
}

.setting-card span {
    color: #717792;
    font-size: 10px;
    margin-top: 3px;
}

.switch input {
    display: none;
}

.switch span {
    display: block;

    width: 42px;
    height: 23px;

    border-radius: 20px;

    background: #31364d;

    position: relative;

    cursor: pointer;

    transition: .2s;
}

.switch span::after {
    content: "";

    position: absolute;

    width: 17px;
    height: 17px;

    left: 3px;
    top: 3px;

    border-radius: 50%;

    background: white;

    transition: .2s;
}

.switch input:checked + span {
    background: #7668ff;
}

.switch input:checked + span::after {
    transform: translateX(19px);
}

.settings-content h3 {
    font-size: 12px;
    margin: 25px 0 10px;
}

.wallpaper-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 9px;
}

.wallpaper-option {
    height: 70px;

    border-radius: 11px;

    border: 1px solid rgba(255,255,255,.1);

    font-size: 10px;

    display: flex;
    align-items: flex-end;
    justify-content: flex-start;

    padding: 9px;

    text-align: left;

    overflow: hidden;
}

.wallpaper-one {
    background:
        radial-gradient(circle at 30% 30%, #6758ff, transparent 50%),
        #080a18;
}

.wallpaper-two {
    background:
        radial-gradient(circle at 70% 20%, #27cfff, transparent 50%),
        #031322;
}

.wallpaper-three {
    background:
        radial-gradient(circle at 50% 30%, #b26cff, transparent 50%),
        #080310;
}

.wallpaper-four {
    background:
        radial-gradient(circle at 30% 20%, #ff735d, transparent 50%),
        #16070d;
}


/* =========================================
   GAMES
========================================= */

.games-content {
    height: 100%;

    display: flex;
    flex-direction: column;

    padding: 25px;
}

.game-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-heading h2 {
    font-size: 22px;
    margin-top: 5px;
}

.game-heading p {
    color: #727995;
    font-size: 11px;
    margin-top: 4px;
}

.game-score {
    min-width: 90px;

    padding: 11px 15px;

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 12px;

    text-align: center;
}

.game-score span {
    display: block;

    color: #6e7591;

    font-size: 8px;
    letter-spacing: 1px;
}

.game-score strong {
    font-size: 24px;
}

.game-area {
    position: relative;

    flex: 1;

    margin-top: 20px;

    overflow: hidden;

    border-radius: 17px;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(113,92,255,.14),
            transparent 35%
        ),
        rgba(0,0,0,.2);

    border: 1px solid rgba(255,255,255,.06);
}

.game-start {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    z-index: 3;

    background: rgba(8,10,22,.35);

    backdrop-filter: blur(5px);
}

.game-controller {
    font-size: 45px;
}

.game-start h3 {
    margin-top: 12px;
    font-size: 19px;
}

.game-start p {
    margin: 5px 0 17px;

    color: #777e99;
    font-size: 11px;
}

#gameStar {
    position: absolute;

    display: none;

    width: 50px;
    height: 50px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #fff 0%,
            #8d7cff 20%,
            #5547e8 55%,
            transparent 70%
        );

    color: white;

    font-size: 30px;

    filter:
        drop-shadow(0 0 18px #8b7dff);

    animation: starFloat .8s infinite alternate;
}

@keyframes starFloat {
    to {
        transform: scale(1.13) rotate(8deg);
    }
}

.game-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 12px;

    color: #747b96;
    font-size: 10px;
}


/* =========================================
   ABOUT
========================================= */

.small-window {
    min-height: 300px;
}

.about-content {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 25px;

    text-align: center;
}

.about-logo {
    width: 72px;
    height: 72px;

    font-size: 32px;

    border-radius: 22px;

    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 21px;
}

.about-version {
    color: #777e99;

    font-size: 10px;

    margin-top: 3px;
}

.about-content > p:not(.about-version) {
    color: #858ba3;

    font-size: 11px;
    line-height: 1.5;

    max-width: 280px;

    margin-top: 15px;
}

.about-line {
    width: 180px;
    height: 1px;

    background: rgba(255,255,255,.08);

    margin: 20px 0 12px;
}

.about-content > span {
    color: #707691;
    font-size: 10px;
}


/* =========================================
   CONTROL CENTER
========================================= */

.control-center {
    position: absolute;

    right: 12px;
    top: 46px;

    width: 310px;

    padding: 16px;

    display: none;

    background: rgba(16,19,35,.94);

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 18px;

    backdrop-filter: blur(30px);

    box-shadow: 0 30px 70px rgba(0,0,0,.45);

    z-index: 9600;
}

.control-center.show {
    display: block;

    animation: controlOpen .2s ease;
}

@keyframes controlOpen {
    from {
        opacity: 0;
        transform: translateY(-5px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.control-heading {
    display: flex;
    justify-content: space-between;

    margin-bottom: 12px;
}

.control-heading strong {
    font-size: 12px;
}

.control-heading span {
    color: #676e89;
    font-size: 10px;
}

.control-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;
}

.control-tile {
    display: grid;

    grid-template-columns: 34px 1fr;
    grid-template-rows: 1fr 1fr;

    padding: 11px;

    border-radius: 11px;

    background: rgba(255,255,255,.05);

    text-align: left;
}

.control-tile:hover,
.control-tile.active {
    background: rgba(126,111,255,.16);
}

.control-tile span {
    grid-row: span 2;

    display: flex;
    align-items: center;

    font-size: 17px;
}

.control-tile small {
    color: #747b95;
    font-size: 8px;
}

.control-tile b {
    font-size: 10px;
}

.brightness {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 12px;

    padding: 9px;

    border-radius: 10px;

    background: rgba(255,255,255,.05);
}

.brightness input {
    flex: 1;
}


/* =========================================
   NOTIFICATION
========================================= */

#notification {
    position: absolute;

    top: 58px;
    right: 20px;

    width: 280px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 13px;

    background: rgba(17,20,37,.93);

    border: 1px solid rgba(255,255,255,.11);

    border-radius: 14px;

    backdrop-filter: blur(25px);

    box-shadow: 0 20px 50px rgba(0,0,0,.35);

    z-index: 9700;

    opacity: 0;
    transform: translateX(30px);

    pointer-events: none;

    transition:
        opacity .3s,
        transform .3s;
}

#notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(124,108,255,.16);

    font-size: 17px;
}

#notification strong {
    font-size: 11px;
}

#notification p {
    color: #777e99;

    font-size: 10px;

    margin-top: 3px;
}


/* =========================================
   DOCK
========================================= */

.dock {
    position: absolute;

    bottom: 15px;
    left: 50%;

    transform: translateX(-50%);

    height: 68px;

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 8px 10px;

    background: rgba(14,17,31,.68);

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 20px;

    backdrop-filter: blur(30px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.35),
        inset 0 1px rgba(255,255,255,.08);

    z-index: 9000;
}

.dock-app {
    position: relative;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(255,255,255,.055);

    font-size: 24px;

    transition:
        transform .18s cubic-bezier(.2,.8,.2,1),
        background .18s;
}

.dock-app:hover {
    transform:
        translateY(-9px)
        scale(1.1);

    background: rgba(255,255,255,.11);
}

.dock-app label {
    position: absolute;

    bottom: -27px;

    left: 50%;

    transform: translateX(-50%);

    padding: 4px 7px;

    border-radius: 5px;

    background: rgba(8,10,18,.92);

    color: white;

    font-size: 8px;

    opacity: 0;
    pointer-events: none;

    white-space: nowrap;

    transition: opacity .15s;
}

.dock-app:hover label {
    opacity: 1;
}

.dock-divider {
    width: 1px;
    height: 35px;

    background: rgba(255,255,255,.12);

    margin: 0 3px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 700px) {

    .top-title,
    .menu-button,
    .top-center,
    .status-item {
        display: none;
    }

    .welcome-card {
        width: 90vw;
        padding: 28px;
    }

    .welcome-orb {
        display: none;
    }

    .welcome-card h2 {
        font-size: 24px;
    }

    .app-window {
        left: 8px !important;
        top: 50px !important;

        width: calc(100% - 16px) !important;
        height: calc(100% - 125px) !important;
    }

    .sidebar,
    .settings-sidebar {
        width: 130px;
    }

    .dock {
        max-width: 94vw;
        overflow-x: auto;
    }

    .desktop-icon {
        display: none;
    }

    .control-center {
        right: 8px;
        width: calc(100% - 16px);
    }

    .wallpaper-grid {
        grid-template-columns: 1fr 1fr;
    }
}
