:root {
    --main: hsl(204, 100%, 100%);
}

html {
    font-family: Arial, Helvetica, sans-serif;
}
body {
    background: linear-gradient(76deg, hsl(204, 40%, 10%), hsl(238, 40%, 10%), hsl(303, 40%, 10%), hsl(0, 40%, 10%));
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    margin: 0;
    padding: 0;
}
header {
    background: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(14px);
    padding: 12px 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

footer {
    background: rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(14px) brightness(0.5);
    padding: 12px 20px;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Navbar with dropdown menu */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.nav-brand {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.nav-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background 0.15s ease, transform 0.15s ease;
}

.nav-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
}

.nav-menu-toggle-bar {
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-menu-toggle.open .nav-menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-menu-toggle.open .nav-menu-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-menu-toggle.open .nav-menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 10px;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
    background: rgba(15, 15, 25, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 100;
}

.nav-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-menu li {
    width: 100%;
}

.nav-menu .menu-toggle,
.nav-menu #menu-togglep {
    width: 100%;
    margin: 0;
    text-align: left;
    border-radius: 12px;
}
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}
p {
    color: #ffffff;
}
.namecard {
    background-color: black;
    border-radius: 20px;
    margin: 20px;
}
.namecard h2 {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 5px;
}
img {
    max-width: 200px;
    max-height: 200px;
}
#links {
    text-align: left !important;
}

/* Bubble cards layout */
.bubbles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    max-width: 90vw;
    margin: 0 auto 40px auto;
}

.bubble-card {
    border: 2px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    width: 360px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
    gap: 12px;
    box-shadow: 0 8px 20px rgb(0, 0, 0);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.bubble-card:hover {
    transform: rotateZ(2deg) translateY(-6px) scale(1.05);
    box-shadow: 0 18px 30px rgb(0, 0, 0);
}

.bubble-card:hover:active {
    transform: rotateZ(2deg) translateY(-6px) scale(.95);
    box-shadow: 0 18px 80px rgb(0, 0, 0);
    filter: blur(3px) ;
}

.bubble-card-qna {
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    width: 100%;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.bubble-card-qna:hover {
    transform: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.bubble-img {
    width: 160px;
    height: 160px;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.06);
    padding: 0;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.bubble-img { margin-bottom: 6px; }

.bubble-img:hover {
    transform: rotateZ(5deg);
    filter: drop-shadow(0 8px 20px rgb(0, 0, 0));
}
.bubble-img:hover:active {
    transform: rotateZ(10deg) scale(.95);
    filter: hue-rotate(100deg) drop-shadow(0 18px 30px rgb(63, 0, 0));
}

.bubble-content { text-align: left; }

.bubble-content h2 {
    margin: 0 0 6px 0;
    font-size: 1.05rem;
    color: #ffffff;
}
.bubble-content .description {
    margin: 0 0 6px 0;
    font-size: 0.9rem;
    color: #e6e6e6;
}
.bubble-content .links a {
    color: #00fff2;
    text-decoration: none;
}
.bubble-content .links a:hover {
    text-decoration: underline;
}
.bubble-content .joke {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #cfcfcf;
    opacity: 0.95;
}

.bubble-card-qna {
    width: 100%;
    max-width: 48%;
    padding: 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
    transition: background 0.2s ease;
    margin: 0 auto;
    overflow: hidden;
}

.bubble-card-qna:hover {
    background: rgba(255, 255, 255, 0.12);
}

.bubble-card-qna .qna-header h2 {
    margin: 0 0 12px;
    font-size: 2rem;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.bubble-card-qna .qna-question {
    margin: 0;
    font-size: 1.35rem;
    color: #d7f2ff;
    line-height: 1.4;
}

.bubble-card-qna .qna-answers {
    margin-top: 16px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.25s ease, max-height 0.25s ease;
}

.bubble-card-qna.expanded .qna-answers {
    opacity: 1;
    max-height: 1000px;
}

.qna-toggle {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 50%;
    padding: 0;
    font-size: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.qna-toggle::after {
    content: '▾';
    font-size: 1.2rem;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.bubble-card-qna.expanded .qna-toggle::after {
    transform: rotate(180deg);
}

.qna-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
}

.qna-toggle:active {
    transform: translateY(1px);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.qna-toggle:active {
    transform: translateY(1px);
}

.bubble-card-qna .qna-answers p {
    margin: 10px 0;
    color: #e8f7ff;
    line-height: 1.6;
}

.bubble-card-qna .qna-summary {
    margin-top: 16px;
    font-weight: 700;
    color: #fff;
}

@media (max-width: 640px) {
    .bubble-card { width: 100%; padding: 12px; }
    .bubble-img { width: 72px; height: 72px; }
    .bubble-card-qna { padding: 16px; }
    .bubble-card-qna .qna-header h2 { font-size: 1.6rem; }
    .bubble-card-qna .qna-question { font-size: 1.05rem; }
}

#twitch {
    color: hsl(271, 100%, 50%);
}
#youtube {
    color: hsl(0, 100%, 50%);
}
#instagram {
    color: hsl(320, 100%, 50%);
}
#discord {
    color: hsl(246, 100%, 62%);
}
#reddit {
    color: hsl(17, 100%, 50%);
}
a {
    color: hsl(204, 100%, 50%);
    font-weight: bolder;
    text-shadow: 2px 2px 7px rgba(0, 0, 0, 1);
}
button,
.menu-toggle {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 26px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 999px;
    margin: 10px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    backdrop-filter: blur(12px);
}
button:hover,
.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}
button:active,
.menu-toggle:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}
button:focus,
.menu-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 179, 255, 0.16);
}
button:disabled,
.menu-toggle:disabled {
    background: rgba(255, 255, 255, 0.536);
    color: rgb(0, 0, 0);
    cursor: not-allowed;
    box-shadow: none;
    transform: scale(1.1);
    filter: drop-shadow(0 10px 20px rgba(255, 255, 255, 0.538));
}

#menu-togglep {
    background: rgba(12, 71, 144, 0.441);
    color: #ffffff;
    border: 1px solid rgba(44, 4, 62, 0.274);
    padding: 12px 26px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 999px;
    margin: 10px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    backdrop-filter: blur(12px);
}

#menu-togglep:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

#menu-togglep:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

#menu-togglep:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 179, 255, 0.16);
}

#menu-togglep:disabled {
    background: rgba(255, 255, 255, 0.536);
    color: rgb(0, 0, 0);
    cursor: not-allowed;
    box-shadow: none;
    transform: scale(1.1);
    filter: drop-shadow(0 10px 20px rgba(255, 255, 255, 0.538));
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #8800ff;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a020ff;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox Support */
* {
    scrollbar-width: thin;
    scrollbar-color: #8800ff transparent;
}

/* ===========================
   Profile Dropdown
=========================== */

.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-dropdown-content {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);

    min-width: 220px;

    display: flex;
    flex-direction: column;

    background: rgb(49, 49, 49);
    backdrop-filter: blur(60px);

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 5px;

    overflow: hidden;

    box-shadow: 0 18px 40px rgba(0,0,0,.35);

    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s;

    z-index: 1000;
}

.profile-dropdown:hover .profile-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.profile-dropdown-content a {
    color: white;
    text-decoration: none;

    padding: 14px 18px;

    transition: background .18s ease;
}

.profile-dropdown-content a:hover {
    background: rgba(255,255,255,.12);
}

.profile-dropdown-content a:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.profile-dropdown-content p {
    margin: 0;
    padding: 14px 18px;

    color: #ffffff;
    background: rgba(255,255,255,.16);

    border: 3px dashed #ffffff;
    font-weight: bold;

    cursor: default;
    user-select: none;
}

#clock .seconds {
    font-size: 0.75em;
    opacity: 0.7;
    text-decoration: none solid;
    cursor: crosshair;
}