@import url('https://fonts.cdnfonts.com/css/chillax');

#bootScreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #0a0a0c;
    padding: 40px 32px;
    overflow: hidden;
    transition: opacity 0.7s ease;
}
#bootScreen.hide {
    opacity: 0;
    pointer-events: none;
}
.boot-output {
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 12.5px;
    line-height: 1.45;
    color: #c8c8c8;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 100%;
    overflow-y: auto;
}
.boot-cursor {
    animation: boot-blink 0.8s step-end infinite;
    color: #888;
}
@keyframes boot-blink {
    50% { opacity: 0; }
}

:root {
    --fg: 255, 255, 255;
    --text-color: #fff;
    --text-muted: rgba(var(--fg), 0.75);
    --text-dim: rgba(var(--fg), 0.4);
    --text-faint: rgba(var(--fg), 0.28);
    --bg: #000;
    --surface: #0c0c0e;
    --border-color: rgba(var(--fg), 0.12);
    --border-hover: rgba(var(--fg), 0.22);
    --card-shadow: 0 18px 44px rgba(0,0,0,0.45);
    --card-shadow-hover: 0 22px 54px rgba(0,0,0,0.5);
    --radius: 8px;
    --t-fast: 0.15s ease;
    --t-med: 0.2s ease;
    --card-radius: 18px;
    --accent: rgba(255,255,255,0.9);
}

html[data-theme="light"] {
    --fg: 20, 20, 24;
    --text-color: #141418;
    --text-muted: rgba(20,20,24,0.82);
    --text-dim: rgba(20,20,24,0.62);
    --text-faint: rgba(20,20,24,0.48);
    --bg: #f6f6f7;
    --surface: #fff;
    --card-shadow: 0 20px 60px rgba(0,0,0,0.16);
    --card-shadow-hover: 0 22px 54px rgba(0,0,0,0.2);
}

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

html {
    scrollbar-width: none;
    height: 100%;
    overflow: hidden;
}

html::-webkit-scrollbar { display: none; }

body {
    font-family: 'Chillax', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-color);
    height: 100%;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    transition: background-color 0.5s cubic-bezier(0.22,1,0.36,1);
    cursor: default;
}

a, button, [role="button"] { cursor: pointer; }

::selection {
    background: rgba(var(--fg), 0.1);
    color: var(--text-color);
}

/* ─── Nav Dots ─── */
.nav-dots {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-dim);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.nav-dot.active {
    background: var(--text-color);
    transform: scale(1.4);
    box-shadow: 0 0 6px var(--text-color);
}

/* ─── Sections wrapper ─── */
.sections {
    position: relative;
    z-index: 1;
    height: 100vh;
    height: 100dvh;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.sections::-webkit-scrollbar { display: none; }

/* ─── Individual section ─── */
.section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* ═══ HERO SECTION ═══ */
.hero-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    animation: heroEntrance 0.8s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}

@keyframes heroEntrance {
    0% { opacity: 0; transform: translateY(20px) scale(0.98); filter: blur(6px); }
    100% { opacity: 1; transform: none; filter: blur(0); }
}

/* ─── Scroll Hint ─── */
/* ─── Discord Card ─── */
.dc-card {
    width: 560px;
    max-width: 92vw;
    background: rgba(0,0,0,0.5);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.dc-banner {
    margin: -1px -1px 0 -1px;
    height: 160px;
    background: linear-gradient(135deg, #1e1e2e 0%, #2a1e3c 30%, #1e2a3c 70%, #0f1923 100%);
    background-size: cover;
    background-position: center;
    background-color: #1e1f22;
    position: relative;
}

.dc-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(transparent, #000);
    pointer-events: none;
}

.dc-body {
    padding: 0 24px 24px;
    position: relative;
}

.dc-av {
    position: relative;
    width: 92px; height: 92px;
    margin-top: -46px;
    margin-bottom: 8px;
    z-index: 2;
}

.dc-av-img {
    width: 92px; height: 92px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 6px solid #000;
}

.dc-status-pip {
    position: absolute; bottom: 6px; right: 4px;
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 3px solid #000;
    transition: background 0.3s ease;
}

.dc-status-pip.online  { background: #3ba55c; }
.dc-status-pip.idle    { background: #faa81a; }
.dc-status-pip.dnd     { background: #ed4245; }
.dc-status-pip.offline { background: #747f8d; }

.dc-top {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dc-name-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dc-name {
    font-size: 1.45em;
    font-weight: 700;
    color: var(--text-color);
}

#dcClientStatus {
    font-size: 0.85em;
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.dc-platform-icon {
    display: inline-flex;
    align-items: center;
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.dc-platform-icon svg {
    width: 14px;
    height: 14px;
}

.dc-tag {
    font-size: 0.85em;
    color: var(--text-faint);
}

.dc-custom-status {
    font-size: 0.82em;
    color: var(--text-muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.dc-last { font-size: 0.8em; color: var(--text-muted); margin-top: 2px; }

.dc-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 14px 0 12px; }

.dc-activity { display: flex; flex-direction: column; gap: 8px; min-height: 0; }

.act-empty {
    display: none;
    padding: 6px 0;
    font-size: 0.85em;
    color: var(--text-dim);
}

.act-card {
    display: none;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, opacity 0.3s ease;
}

.act-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }

.act-inner {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    text-decoration: none; color: inherit;
}

.act-cover { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.act-info { flex: 1; min-width: 0; }

.act-tag {
    font-size: 0.7em; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--text-dim); margin-bottom: 2px;
}

.act-title {
    font-size: 0.9em; color: var(--text-color); font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.act-sub {
    font-size: 0.8em; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.act-time { font-size: 0.75em; color: var(--text-faint); margin-top: 1px; }

.act-spotify-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.act-spotify-elapsed,
.act-spotify-total {
    font-size: 10px;
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.act-spotify-progress {
    flex: 1;
    height: 3px;
    background: rgba(0,0,0,0.3);
    border-radius: 2px;
    overflow: hidden;
}

.act-spotify-fill {
    height: 100%;
    background: #1DB954;
    border-radius: 2px;
    width: 0%;
    transition: width 1s cubic-bezier(0.22,1,0.36,1);
}

#activityLabelNothing { color: var(--text-muted); }

/* Message Mini Button (absolute on banner) */
.dc-msg-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: none;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dc-msg-mini .iconify {
    font-size: 18px;
}

.dc-msg-mini:hover {
    background: rgba(0,0,0,0.75);
    color: #fff;
    transform: scale(1.08);
}

/* ═══ CARD SECTIONS ═══ */
.sec-cards {
    padding: 70px 20px;
    align-items: center;
}

.sec-inner {
    width: 640px;
    max-width: 92vw;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sec-inner > * {
    opacity: 0;
    visibility: hidden;
    transform: translateY(26px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1), visibility 0s 0.65s;
}

.sec-in .sec-inner > * {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1), visibility 0s;
}

.sec-inner > :nth-child(1) { transition-delay: 0s; }
.sec-inner > :nth-child(2) { transition-delay: 0.07s; }
.sec-inner > :nth-child(3) { transition-delay: 0.14s; }
.sec-inner > :nth-child(4) { transition-delay: 0.21s; }
.sec-inner > :nth-child(5) { transition-delay: 0.28s; }
.sec-inner > :nth-child(6) { transition-delay: 0.35s; }

/* Section Title */
.sec-title {
    position: relative;
    font-size: 22px; font-weight: 700;
    letter-spacing: 0.26em; text-align: center;
    color: var(--text-color);
    text-transform: uppercase;
    padding: 10px 0 14px;
}

.sec-title::before { content: "\2726\2002"; opacity: 0.35; font-size: 0.8em; }
.sec-title::after  { content: "\2002\2726"; opacity: 0.35; font-size: 0.8em; }

/* Base Card */
.card {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

/* ─── About Section Widgets Row ─── */
.about-widgets-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ─── Animated Clock Card ─── */
.clock-card {
    padding: 20px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(var(--fg), 0.02);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.clock-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.clock-face {
    width: 110px;
    height: 110px;
}

.clock-svg { width: 100%; height: 100%; }

.clock-ring {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 1.5;
}

.clock-marker {
    stroke: var(--text-dim);
    stroke-width: 2;
    stroke-linecap: round;
}

.clock-min-dot { fill: var(--text-faint); }

.clock-hour {
    stroke: var(--text-color);
    stroke-width: 3.5;
    stroke-linecap: round;
    transition: transform 0.5s cubic-bezier(0.4, 2.08, 0.55, 0.44);
}

.clock-minute {
    stroke: var(--text-muted);
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: transform 0.5s cubic-bezier(0.4, 2.08, 0.55, 0.44);
}

.clock-second {
    stroke: #e05050;
    stroke-width: 1.5;
    stroke-linecap: round;
    transition: transform 0.2s ease;
}

.clock-center { fill: var(--text-color); }
.clock-center-dot { fill: #e05050; }

.clock-digital {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-color);
    font-variant-numeric: tabular-nums;
}

.clock-date {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}

/* ─── Weather Card ─── */
.weather-card {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(var(--fg), 0.02);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.weather-loading {
    font-size: 11px;
    color: var(--text-faint);
    text-align: center;
    padding: 20px 0;
    font-style: italic;
}

.weather-content { display: flex; flex-direction: column; gap: 10px; }

.weather-current {
    display: flex;
    align-items: center;
    gap: 12px;
}

.weather-icon-big {
    font-size: 38px;
    line-height: 1;
    flex-shrink: 0;
}

.weather-current-info { flex: 1; min-width: 0; }

.weather-temp {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
}

.weather-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.weather-feels {
    font-size: 11px;
    color: var(--text-faint);
    margin-top: 1px;
}

.weather-details {
    display: flex;
    gap: 12px;
    padding: 6px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.weather-detail-item {
    font-size: 11px;
    color: var(--text-dim);
}

.weather-updated {
    font-size: 10px;
    color: var(--text-faint);
    text-align: right;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

/* Forecast */
.weather-forecast {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.forecast-day {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 4px;
    border-radius: 6px;
    transition: background var(--t-fast);
}

.forecast-day:hover { background: rgba(var(--fg), 0.04); }

.fc-day {
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 600;
    width: 28px;
    flex-shrink: 0;
}

.fc-icon { font-size: 14px; flex-shrink: 0; }

.fc-range {
    display: flex;
    gap: 6px;
    margin-left: auto;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.fc-max { color: var(--text-muted); font-weight: 600; }
.fc-min { color: var(--text-faint); }

/* About Card */
.about-card {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ─── Recent Card ─── */
.recent-card {
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.recent-empty {
    font-size: 12px;
    color: var(--text-faint);
    text-align: center;
    padding: 28px 20px;
    font-style: italic;
}

.recent-list { display: flex; flex-direction: column; }

.recent-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 20px;
    text-decoration: none; color: var(--text-muted);
    transition: background var(--t-fast), color var(--t-fast);
}

.recent-item + .recent-item { border-top: 1px solid var(--border-color); }

.recent-item:hover {
    background: rgba(var(--fg), 0.04);
    color: var(--text-color);
}

.recent-idx {
    font-size: 12px; color: var(--text-faint);
    font-variant-numeric: tabular-nums;
    width: 24px; flex-shrink: 0;
}

.recent-art { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }

.recent-art-wrap {
    width: 44px; height: 44px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}

.recent-art-wrap .recent-art { width: 100%; height: 100%; }

.recent-info {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 2px;
}

.recent-track {
    font-size: 14px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.recent-artist {
    font-size: 11px; color: var(--text-dim);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.recent-time {
    font-size: 10px; color: var(--text-faint);
    flex-shrink: 0; font-variant-numeric: tabular-nums;
}

.repo-item + .repo-item { border-top: 1px solid var(--border-color); }
.repo-toggle { cursor: pointer; }
.repo-toggle:hover { background: rgba(var(--fg), 0.04); color: var(--text-color); }

.repo-readme {
    border-top: 1px solid var(--border-color);
    background: rgba(var(--fg), 0.02);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22,1,0.36,1);
}

.repo-readme.open {
    max-height: 480px;
    overflow-y: auto;
}

.readme-content {
    padding: 16px 20px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
}

.readme-content h1,
.readme-content h2,
.readme-content h3 {
    color: var(--text-color);
    margin: 16px 0 8px;
    font-weight: 600;
}

.readme-content h1 { font-size: 18px; }
.readme-content h2 { font-size: 16px; }
.readme-content h3 { font-size: 14px; }

.readme-content p { margin: 0 0 8px; }

.readme-content code {
    background: rgba(var(--fg), 0.06);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-color);
}

.readme-content pre {
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    margin: 8px 0;
    font-size: 12px;
    line-height: 1.5;
}

.readme-content pre code {
    background: none;
    padding: 0;
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'Courier New', Consolas, 'Liberation Mono', monospace;
}

.readme-content li {
    margin: 4px 0 4px 16px;
    list-style: disc;
}

.readme-content br { display: block; content: ''; margin: 4px 0; }

/* ─── Stats Card ─── */
.stats-card { padding: 20px 24px; }

.stats-empty {
    font-size: 12px; color: var(--text-faint);
    text-align: center; padding: 28px 20px; font-style: italic;
}

/* Stats Tabs */
.stats-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    background: rgba(var(--fg), 0.04);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    padding: 4px;
}

.stats-tab {
    flex: 1;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Chillax', sans-serif;
    color: var(--text-dim);
    background: transparent;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stats-tab.active {
    background: rgba(var(--fg), 0.12);
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.stats-tab:hover:not(.active) { color: var(--text-muted); }

/* Stats Hero */
.stats-hero {
    text-align: center;
    padding: 8px 0 20px;
}

.stats-hero-num {
    font-size: 36px; font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-color);
    display: block;
}

.stats-hero-label {
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.2em; color: var(--text-dim); margin-top: 2px;
}

.stats-hero-sub {
    font-size: 12px; color: var(--text-faint);
    margin-top: 5px; display: block;
}

/* Stats Cols */
.stats-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 480px) {
    .stats-cols { grid-template-columns: 1fr; gap: 16px; }
}

.stats-col-title {
    font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--text-dim); margin-bottom: 8px;
}

.stats-list { display: flex; flex-direction: column; gap: 4px; }

.stats-item {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 8px; border-radius: 6px;
    text-decoration: none; color: var(--text-muted);
    transition: background var(--t-fast), color var(--t-fast);
    font-size: 13px;
}

.stats-item:hover { background: rgba(var(--fg), 0.04); color: var(--text-color); }

.stats-item-idx {
    font-size: 10px; color: var(--text-faint);
    font-variant-numeric: tabular-nums;
    width: 16px; flex-shrink: 0; text-align: right;
}

.stats-item-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.stats-item-count {
    font-size: 10px; color: var(--text-faint);
    flex-shrink: 0; font-variant-numeric: tabular-nums;
}

/* Daily note */
.stats-daily-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-faint);
    padding: 8px 0 4px;
}

.stats-daily-note .iconify { font-size: 14px; opacity: 0.6; }

/* ─── Skills Card ─── */
.skills-card {
    padding: 24px 28px;
    display: flex; flex-direction: column; gap: 18px;
}

.skills-group { display: flex; flex-direction: column; gap: 8px; }

.skills-label {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--text-dim);
}

.skills-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.skill-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    font-size: 13px; font-weight: 500;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all var(--t-med);
    background: rgba(var(--fg), 0.03);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.skill-pill:hover {
    border-color: var(--border-hover);
    color: var(--text-color);
    background: rgba(var(--fg), 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.skill-pill .iconify { font-size: 16px; opacity: 0.8; }
.skill-pill:hover .iconify { opacity: 1; }

/* ─── Contact Card ─── */
.contact-card {
    display: flex; flex-direction: column;
    overflow: hidden; border-radius: var(--card-radius);
}

.contact-item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px;
    text-decoration: none; color: var(--text-muted);
    border-left: 3px solid transparent;
    transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
    position: relative;
}

.contact-item::before {
    content: '';
    position: absolute; inset: 0;
    opacity: 0;
    background: rgba(var(--fg), 0.04);
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.contact-item + .contact-item { border-top: 1px solid var(--border-color); }

.contact-item:hover {
    color: var(--hover-color, var(--text-color));
    border-left-color: var(--hover-color, currentColor);
    padding-left: 24px;
}

.contact-item:hover::before { opacity: 1; }

.ci-icon-wrap {
    width: 36px; height: 36px; border-radius: 10px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
}

.ci-icon-wrap .iconify { font-size: 18px; color: #fff; }

/* guns.lol favicon icon */
.ci-ext-icon {
    width: 20px; height: 20px;
    object-fit: contain;
    border-radius: 4px;
}

.contact-item:hover .ci-icon-wrap {
    transform: scale(1.15) rotate(-4deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.45), 0 0 30px var(--hover-color, transparent);
}

.contact-label { font-size: 15px; font-weight: 600; flex: 1; }
.contact-sub   { font-size: 11px; color: var(--text-faint); flex-shrink: 0; }

/* ─── Friends Panel (cat lovers) ─── */
.cl-server-panel {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.cl-server-header {
    padding: 10px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cl-server-header span { flex: 0 0 auto; }

.cl-member-count {
    font-size: 10px;
    color: var(--text-faint);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.cl-members {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
}

.cl-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 6px;
    margin: 1px 6px;
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
    color: var(--text-muted);
    position: relative;
    user-select: none;
}

.cl-member:hover {
    background: rgba(255,255,255,0.07);
    color: var(--text-color);
}

.cl-member-av {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.cl-member-av img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #1e1f22;
}

.cl-member-av .cl-status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #0c0c0e;
}

.cl-status-dot.online  { background: #3ba55c; }
.cl-status-dot.idle    { background: #faa81a; }
.cl-status-dot.dnd     { background: #ed4245; }
.cl-status-dot.offline { background: #747f8d; }

.cl-member-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cl-member-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
}

.cl-member-sub {
    font-size: 11px;
    color: var(--text-faint);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cl-member-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.cl-platform-icon {
    display: inline-flex;
    width: 12px;
    height: 12px;
    color: var(--text-faint);
}
.cl-platform-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* ─── Friend Detail Modal ─── */
.dc-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.dc-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.dc-modal {
    width: 340px;
    max-width: 92vw;
    background: #1e1f22;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
    transform: scale(0.88) translateY(16px);
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
    position: relative;
    --text-color: #fff;
    --text-muted: rgba(255,255,255,0.75);
    --text-dim: rgba(255,255,255,0.55);
    --text-faint: rgba(255,255,255,0.35);
}

.dc-modal-overlay.open .dc-modal {
    transform: scale(1) translateY(0);
}

.dc-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
}
.dc-modal-close:hover { background: rgba(0,0,0,0.7); color: #fff; }

.dc-modal-banner {
    height: 100px;
    background: #5865F2;
    background-size: cover;
    background-position: center top;
    position: relative;
    flex-shrink: 0;
}

.dc-modal-av-wrap {
    position: absolute;
    bottom: -20px;
    left: 16px;
}

.dc-modal-av {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 5px solid #1e1f22;
    object-fit: cover;
    display: block;
    background: #1e1f22;
}

.dc-modal-status-pip {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #1e1f22;
}
.dc-modal-status-pip.online  { background: #3ba55c; }
.dc-modal-status-pip.idle    { background: #faa81a; }
.dc-modal-status-pip.dnd     { background: #ed4245; }
.dc-modal-status-pip.offline { background: #747f8d; }

.dc-modal-body {
    padding: 28px 16px 16px;
}

.dc-modal-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.dc-modal-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.dc-modal-clients {
    display: flex;
    gap: 4px;
    align-items: center;
}

.dc-modal-tag {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 6px;
}

.dc-modal-cstatus {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.dc-modal-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 10px 0;
}

.dc-modal-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 8px;
}

.dc-modal .act-card {
    display: block;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}
.dc-modal .act-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    color: inherit;
}
.dc-modal .act-cover {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.dc-modal .act-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dc-modal .act-info { flex: 1; min-width: 0; }
.dc-modal .act-tag {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2px;
}
.dc-modal .act-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dc-modal .act-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dc-modal .act-empty {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    padding: 4px 0;
}

.dc-modal .act-spotify-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}
.dc-modal .act-spotify-elapsed,
.dc-modal .act-spotify-total {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.dc-modal .act-spotify-progress {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}
.dc-modal .act-spotify-fill {
    height: 100%;
    background: #1DB954;
    border-radius: 2px;
    width: 0%;
    transition: width 1s linear;
}

.dc-modal-msg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 9px 16px;
    border-radius: 8px;
    background: #5865F2;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Chillax', sans-serif;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.15s, transform 0.15s;
}
.dc-modal-msg-btn:hover { background: #4752c4; transform: translateY(-1px); }
.dc-modal-msg-btn .iconify { font-size: 16px; }

.cl-status-label {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    flex-shrink: 0;
}
.cl-status-label.online  { background: rgba(59,165,92,0.15);  color: #3ba55c; }
.cl-status-label.idle    { background: rgba(250,168,26,0.15); color: #faa81a; }
.cl-status-label.dnd     { background: rgba(237,66,69,0.15);  color: #ed4245; }
.cl-status-label.offline { background: rgba(116,127,141,0.1); color: #747f8d; }

@media (max-width: 768px) {
    .dc-modal { width: calc(100vw - 32px); }
}

/* ─── Rope (back to top) ─── */
.rope {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 80px;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 0 0 4px 4px;
    cursor: pointer;
    z-index: 5;
    transform: translateX(-50%) translateY(-120%);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.34,1.56,0.64,1), opacity 0.5s ease, height 0.3s ease;
}
.rope.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.rope::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.25);
    background: transparent;
    transition: border-color 0.3s, background 0.3s;
}
.rope:hover { height: 100px; }
.rope:hover::after {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
}

/* ─── Music Player (Recent Plays) ─── */
.mp-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.mp-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 0;
    color: var(--text-faint);
}

.mp-placeholder-icon {
    width: 48px;
    height: 48px;
    opacity: 0.3;
    animation: mp-pulse 2s ease-in-out infinite;
}

.mp-placeholder-text {
    font-size: 13px;
    opacity: 0.5;
}

@keyframes mp-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.mp-covers {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    height: 180px;
    position: relative;
    width: 100%;
}

.mp-cover { position: absolute; bottom: 0; overflow: hidden; border-radius: 12px; transition: all 0.35s cubic-bezier(0.22,1,0.36,1); }

.mp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mp-cover-main {
    width: 150px; height: 150px;
    left: 50%; transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 12px 40px rgba(0,0,0,0.7);
}

.mp-cover-left {
    width: 100px; height: 100px;
    left: calc(50% - 140px);
    z-index: 2;
    opacity: 0.5;
    transform: rotate(-6deg);
    filter: brightness(0.7);
}

.mp-cover-right {
    width: 100px; height: 100px;
    left: calc(50% + 40px);
    z-index: 2;
    opacity: 0.5;
    transform: rotate(6deg);
    filter: brightness(0.7);
}

.mp-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.mp-time { font-size: 10px; color: var(--text-faint); flex-shrink: 0; font-variant-numeric: tabular-nums; }

.mp-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(var(--fg), 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.mp-progress-fill {
    height: 100%;
    background: var(--text-color);
    border-radius: 2px;
    width: 0%;
    transition: width 0.5s cubic-bezier(0.22,1,0.36,1);
}

.mp-track-info { text-align: center; }

.mp-track-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.mp-track-artist { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

.mp-track-list { display: flex; flex-direction: column; gap: 2px; width: 100%; }

.mp-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    color: var(--text-muted);
    font-size: 12px;
}

.mp-list-item:hover { background: rgba(var(--fg),0.05); color: var(--text-color); transform: translateX(2px); }
.mp-list-item.mp-list-active { background: rgba(var(--fg),0.08); color: var(--text-color); }

.mp-list-idx { font-size: 10px; color: var(--text-faint); width: 16px; flex-shrink: 0; text-align: right; }
.mp-list-art { width: 28px; height: 28px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }
.mp-list-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mp-list-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-list-artist { font-size: 10px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-list-time { font-size: 10px; color: var(--text-faint); flex-shrink: 0; }
.mp-list-time-live { color: #1DB954; font-weight: 600; }

.mp-now-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #1DB954;
    animation: nowBlink 1.4s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes nowBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.mp-list-nowplaying { background: rgba(29, 185, 84, 0.06) !important; }

/* ─── Page Footer ─── */
.page-footer {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-faint);
    z-index: 50;
    pointer-events: none;
}

.page-footer a {
    pointer-events: auto;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-footer a:hover {
    color: var(--text-muted);
}

.pf-sep { opacity: 0.4; }

/* ─── Toast ─── */
.toast {
    position: fixed;
    bottom: 24px; left: 50%;
    transform: translateX(-50%) translateY(16px);
    font-size: 12px; color: var(--text-muted);
    background: var(--surface);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 22px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none; z-index: 200;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {

    .nav-dots {
        flex-direction: row;
        right: auto; top: auto;
        bottom: 14px; left: 50%;
        transform: translateX(-50%);
        gap: 8px;
        z-index: 200;
    }

    .section {
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        padding: 20px 14px 60px;
        align-items: flex-start;
        padding-top: 48px;
    }

    .dc-card {
        width: 100%;
        max-width: 100%;
    }

    .dc-banner { height: 120px; }
    .dc-body { padding: 0 16px 16px; }
    .dc-av { width: 72px; height: 72px; margin-top: -36px; margin-bottom: 6px; }
    .dc-av-img { width: 72px; height: 72px; border-width: 4px; }
    .dc-status-pip { width: 16px; height: 16px; border-width: 3px; bottom: 4px; right: 2px; }
    .dc-name { font-size: 1.15em; }
    .dc-tag { font-size: 0.78em; }
    .dc-custom-status { font-size: 0.78em; }

    .dc-divider { margin: 10px 0 10px; }

    .sec-inner {
        width: 100%;
        max-width: 100%;
        gap: 12px;
    }

    .sec-cards {
        padding: 48px 14px 60px;
        align-items: center;
    }

    .sec-title {
        font-size: 15px;
        padding: 6px 0 10px;
        letter-spacing: 0.18em;
    }

    .about-widgets-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .clock-card {
        padding: 14px 10px 12px;
        gap: 6px;
    }

    .clock-face { width: 80px; height: 80px; }
    .clock-digital { font-size: 16px; letter-spacing: 0.05em; }
    .clock-date { font-size: 10px; }
    .clock-label { font-size: 9px; }

    .weather-card { padding: 14px 12px; gap: 8px; }
    .weather-icon-big { font-size: 28px; }
    .weather-temp { font-size: 20px; }
    .weather-desc { font-size: 11px; }
    .weather-feels { font-size: 10px; }
    .weather-detail-item { font-size: 10px; }
    .weather-updated { font-size: 9px; }
    .fc-day { font-size: 10px; width: 24px; }
    .fc-icon { font-size: 12px; }
    .fc-range { font-size: 10px; }

    .about-card { padding: 14px 16px; gap: 8px; }
    .about-card p { font-size: 13px; line-height: 1.6; }

    .recent-item { padding: 9px 14px; gap: 10px; }
    .recent-art, .recent-art-wrap { width: 36px; height: 36px; }
    .recent-track { font-size: 13px; }
    .recent-artist { font-size: 10px; }
    .recent-idx { width: 18px; font-size: 11px; }
    .recent-time { font-size: 10px; }

    .stats-card { padding: 14px 16px; }
    .stats-hero-num { font-size: 28px; }
    .stats-hero-label { font-size: 10px; letter-spacing: 0.12em; }
    .stats-hero-sub { font-size: 11px; }
    .stats-hero { padding: 4px 0 14px; }
    .stats-cols { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stats-item { font-size: 11px; padding: 5px 6px; }
    .stats-item-count { font-size: 9px; }
    .stats-tab { padding: 6px 8px; font-size: 11px; }

    .skills-card { padding: 16px 16px; gap: 14px; }
    .skill-pill { padding: 6px 12px; font-size: 12px; }
    .skill-pill .iconify { font-size: 14px; }

    .contact-item { padding: 11px 14px; gap: 12px; }
    .contact-item:hover { padding-left: 18px; }
    .contact-label { font-size: 13px; }
    .contact-sub { font-size: 10px; }
    .ci-icon-wrap { width: 32px; height: 32px; border-radius: 9px; }
    .ci-icon-wrap .iconify { font-size: 16px; }
    .ci-ext-icon { width: 18px; height: 18px; }

    .page-footer {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: 44px;
    }

    /* Games & Music Player & Tracker responsive */
    .mp-cover-main  { width: 120px; height: 120px; }
    .mp-cover-left  { width: 80px; height: 80px; left: calc(50% - 110px); }
    .mp-cover-right { width: 80px; height: 80px; left: calc(50% + 30px); }
    .mp-covers      { height: 140px; }
    .mp-track-name  { font-size: 14px; max-width: 240px; }
}

/* ─── Snow Effect ─── */
#snow {
    position: fixed; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}

/* Extra small screens */
@media (max-width: 390px) {
    .about-widgets-row { grid-template-columns: 1fr; }
    .clock-card { flex-direction: row; justify-content: space-between; padding: 14px 16px; }
    .clock-face { width: 70px; height: 70px; }
    .stats-cols { grid-template-columns: 1fr; gap: 10px; }
}
