
:root {
    color-scheme: dark;

    --background: #090b14;
    --surface: rgba(255, 255, 255, 0.035);
    --surface-hover: rgba(255, 255, 255, 0.065);
    --border: rgba(255, 255, 255, 0.085);
    --text: #f0f2fa;
    --muted: #9299ad;
    --accent: #8a9cff;
    --blue: #72aaff;
    --green: #65dfa0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    padding: 65px 24px;
    overflow-x: hidden;
    color: var(--text);
    font-family: "Manrope", sans-serif;

    background:
        radial-gradient(ellipse at 12% 8%, rgba(41, 78, 180, 0.15), transparent 34%),
        radial-gradient(ellipse at 88% 48%, rgba(111, 54, 180, 0.11), transparent 34%),
        radial-gradient(ellipse at 50% 100%, rgba(30, 75, 145, 0.07), transparent 40%),
        var(--background);
}

::selection {
    color: #fff;
    background: rgba(115, 139, 255, 0.35);
}

.container {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* INTRO */

.intro {
    grid-column: 1 / -1;
    position: relative;
    min-height: 270px;
    display: flex;
    align-items: center;
    padding: 25px 0;
    overflow: hidden;
}

.intro-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.eyebrow,
.section-label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.1px;
}

h1 {
    margin-top: 8px;
    font-family: "Caveat", cursive;
    font-size: 94px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -2px;
}

h1 span,
.heading-dot {
    color: var(--accent);
}

.pseudonym {
    margin-top: 3px;
    color: #8992ad;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.tagline {
    margin-top: 13px;
    color: #b2b8ca;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.glass-art {
    position: absolute;
    z-index: 1;
    width: 365px;
    height: 245px;
    top: 8px;
    right: 0;
    pointer-events: none;
    opacity: 0.9;
    animation: liquid-float 8s ease-in-out infinite;
}

.glass-art svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

@keyframes liquid-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* GENERAL CARDS */

.card {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--surface);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.card:hover {
    border-color: rgba(151, 169, 255, 0.16);
    background: rgba(255, 255, 255, 0.045);
}

.section-label {
    display: block;
    margin-bottom: 17px;
}

/* ABOUT */

.about-section,
.currently-section {
    min-height: 190px;
}

.about-text {
    color: #b1b7c9;
    font-size: 13px;
    line-height: 1.9;
}

/* CURRENTLY */

.currently-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(101, 223, 160, 0.55);
}

.currently-content strong {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.currently-content p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

/* DISCORD PRESENCE */

.discord-section {
    grid-column: 1 / -1;
    padding: 25px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 95% 0%, rgba(88, 111, 220, 0.11), transparent 42%),
        rgba(255, 255, 255, 0.035);
}

.discord-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.discord-heading .section-label {
    margin-bottom: 7px;
}

.discord-heading h2 {
    color: var(--text);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.live-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(101, 223, 160, 0.16);
    border-radius: 30px;
    color: #8be8b6;
    background: rgba(101, 223, 160, 0.055);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.live-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px rgba(101, 223, 160, 0.7);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.75); }
}

.discord-profile {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 23px;
}

.avatar-wrap {
    position: relative;
    width: 66px;
    height: 66px;
    flex-shrink: 0;
}

.discord-avatar {
    display: block;
    width: 66px;
    height: 66px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
}

.discord-decoration {
    position: absolute;
    z-index: 2;
    inset: -9px;
    width: 84px;
    height: 84px;
    object-fit: contain;
    pointer-events: none;
}

.discord-status-dot {
    position: absolute;
    right: -1px;
    bottom: 1px;
    z-index: 3;
    width: 17px;
    height: 17px;
    border: 4px solid #111522;
    border-radius: 50%;
    background: #737b8e;
}

.discord-status-dot.status-online,
.status-small-dot.status-online {
    background: #45d483;
}

.discord-status-dot.status-idle,
.status-small-dot.status-idle {
    background: #f0b84b;
}

.discord-status-dot.status-dnd,
.status-small-dot.status-dnd {
    background: #ed626b;
}

.discord-status-dot.status-offline,
.status-small-dot.status-offline {
    background: #737b8e;
}

.discord-status-dot.status-connecting,
.status-small-dot.status-connecting {
    background: #8a9cff;
    animation: pulse 1.5s ease-in-out infinite;
}

.discord-identity {
    min-width: 0;
    flex: 1;
}

.discord-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.discord-identity h3 {
    overflow: hidden;
    color: var(--text);
    font-size: 16px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.discord-username {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.discord-custom-status {
    max-width: 100%;
    margin-top: 7px;
    overflow: hidden;
    color: #c2c8da;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.discord-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    color: #b8bfd0;
    font-size: 11px;
    font-weight: 600;
}

.status-small-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #737b8e;
}

.discord-divider {
    height: 1px;
    margin: 22px 0;
    background: var(--border);
}

.discord-activity {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.activity-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid rgba(139, 157, 255, 0.15);
    border-radius: 12px;
    color: #aab8ff;
    background: rgba(112, 133, 255, 0.09);
}

.activity-icon svg {
    width: 18px;
    height: 18px;
}

.activity-copy,
.spotify-copy {
    min-width: 0;
    flex: 1;
}

.activity-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #828ba3;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.activity-copy strong,
.spotify-copy strong {
    display: block;
    overflow: hidden;
    color: #e6e9f3;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-copy p,
.spotify-copy p {
    margin-top: 4px;
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotify-activity {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.spotify-cover {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 9px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}

.spotify-progress {
    width: 100%;
    height: 3px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.spotify-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #65d99a;
    transition: width 0.5s linear;
}

.spotify-mark {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    color: #65d99a;
}

.discord-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    color: #707a92;
    font-size: 10px;
}

.discord-platforms {
    color: #929bb1;
    text-align: right;
}

/* FAVORITE WEBSITE */

.favorite-section {
    grid-column: 1 / -1;
}

.featured-card {
    min-height: 190px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    color: var(--text);
    text-decoration: none;
    border: 1px solid rgba(139, 157, 255, 0.14);
    border-radius: 12px;
    background: linear-gradient(
        120deg,
        rgba(53, 94, 190, 0.13),
        rgba(126, 68, 190, 0.09)
    );
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.featured-card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 157, 255, 0.4);
    background: linear-gradient(
        120deg,
        rgba(53, 94, 190, 0.2),
        rgba(126, 68, 190, 0.15)
    );
}

.featured-top,
.featured-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.featured-tag {
    color: #a4b1ff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.featured-top i,
.featured-bottom i {
    width: 15px;
    height: 15px;
    color: #a4b1ff;
}

.featured-content {
    margin: 22px 0;
}

.featured-content h2 {
    margin-bottom: 8px;
    font-size: 19px;
    font-weight: 700;
}

.featured-content p {
    max-width: 620px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.featured-bottom {
    margin-top: auto;
    color: #b6c0ff;
    font-size: 11px;
    font-weight: 700;
}

/* LINKS */

.links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.link-item {
    min-height: 45px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.link-item:hover {
    background: var(--surface-hover);
    border-color: rgba(139, 157, 255, 0.3);
    transform: translateX(3px);
}

.link-item > i:first-child,
.brand-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #aab7ff;
}

.brand-icon {
    object-fit: contain;
}

.link-arrow {
    width: 13px;
    height: 13px;
    margin-left: auto;
    color: var(--muted);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.link-item:hover .link-arrow {
    opacity: 1;
}

/* FOOTER */

footer {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.footer-signature {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #c2c7d8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.footer-note {
    color: #687087;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
}

.footer-clock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    color: #aab2ca;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

#current-time {
    color: #8992ad;
    font-size: 10px;
    letter-spacing: 1px;
}

/* TABLET */

@media (max-width: 700px) {
    body {
        padding: 45px 22px;
    }

    .container {
        gap: 17px;
    }

    .intro {
        min-height: 240px;
    }

    .glass-art {
        width: 290px;
        height: 190px;
        right: -5px;
        top: 20px;
    }

    .card {
        padding: 20px;
    }

    .about-section,
    .currently-section {
        min-height: 210px;
    }
}

/* MOBILE */

@media (max-width: 540px) {
    body {
        padding: 35px 18px;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .intro {
        grid-column: 1;
        min-height: 225px;
        padding: 15px 0;
    }

    .glass-art {
        width: 220px;
        height: 155px;
        right: -20px;
        top: 10px;
        opacity: 0.65;
    }

    h1 {
        font-size: 82px;
    }

    .card,
    .discord-section,
    .favorite-section,
    .website-section,
    .socials-section,
    footer {
        grid-column: 1;
    }

    .about-section,
    .currently-section {
        min-height: unset;
    }

    .featured-card {
        min-height: 200px;
    }

    .discord-profile {
        gap: 13px;
    }

    .avatar-wrap,
    .discord-avatar {
        width: 58px;
        height: 58px;
    }

    .discord-decoration {
        inset: -8px;
        width: 74px;
        height: 74px;
    }

    .discord-identity h3 {
        font-size: 14px;
    }

    .discord-status {
        font-size: 10px;
    }

    .discord-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .discord-platforms {
        text-align: left;
    }

    footer {
        margin-top: 10px;
        padding-top: 19px;
    }

    .footer-note {
        max-width: 145px;
        line-height: 1.6;
    }

    .footer-clock {
        text-align: right;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}



/* DISCORD STATUS INDICATOR */

.discord-status-dot {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 17px;
    height: 17px;
    box-sizing: border-box;
    border: 4px solid #111522;
    border-radius: 50%;
    background: #747f8d;
}

.discord-status-dot.status-online,
.status-small-dot.status-online {
    background: #23a55a;
}

.discord-status-dot.status-idle,
.status-small-dot.status-idle {
    background: #f0b232;
}

.discord-status-dot.status-idle::after {
    content: "";
    position: absolute;
    top: -3px;
    right: -3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #111522;
}

.discord-status-dot.status-dnd,
.status-small-dot.status-dnd {
    background: #ed4245;
}

.discord-status-dot.status-offline,
.status-small-dot.status-offline {
    background: #747f8d;
}

.discord-status-dot.status-connecting,
.status-small-dot.status-connecting {
    background: #8a9cff;
    animation: pulse 1.5s ease-in-out infinite;
}

/* DISCORD STATUS TEXT */

.discord-status-text {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    color: #b8bfd0;
    font-size: 11px;
    font-weight: 600;
}

/* MUSIC TIMESTAMPS */

.music-time {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 12px;
    margin-top: 8px;
    color: #9298aa;
    font-size: 11px;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}

.music-elapsed,
.music-duration {
    display: inline-block;
    white-space: nowrap;
}

.music-duration {
    margin-left: auto;
    text-align: right;
}

/* Correctly hide inactive Discord sections */
[hidden] {
    display: none !important;
}

/* Music time separator */
.music-duration::before {
    content: "/";
    display: inline-block;
    margin-right: 8px;
    color: #687087;
}

/* Disable text selection */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Prevent dragging images */
img,
svg {
    -webkit-user-drag: none;
}

/* Keep form fields selectable if added later */
input,
textarea {
    -webkit-user-select: text;
    user-select: text;
}

