/************************************************************************
   VISIT CSS - DEZACTIVAT x2
*************************************************************************/

.visitor-counter {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    color: #888888;
    font-weight: 400;
}

.visitor-icon {
    color: #ffffff;
    font-size: 12px;
    opacity: 0.8;
    animation: eye-blink 4s ease-in-out infinite;
}

.visitor-text {
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
}

.visitor-text #visitor-count {
    color: #ffffff;
    font-weight: 600;
    font-family: 'Inter', monospace;
    transition: all 0.3s ease;
}

.visitor-counter:hover .visitor-icon {
    color: #43b581;
    transform: scale(1.1);
}

.visitor-counter:hover .visitor-text #visitor-count {
    color: #43b581;
}

@keyframes eye-blink {
    0%, 90%, 100% { opacity: 0.8; }
    95% { opacity: 0.3; }
}

@media (max-width: 768px) {
    .visitor-counter {
        margin-top: 16px;
        padding-top: 16px;
        font-size: 13px;
    }
    
    .visitor-icon {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .visitor-counter {
        margin-top: 14px;
        padding-top: 14px;
        font-size: 11px;
    }
    
    .visitor-icon {
        font-size: 13px;
    }
}

.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background:
        radial-gradient(ellipse at center, #0a0a0a 0%, #000000 70%);
}

.starfield::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: none;
}

.wakeup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 35%, rgba(88, 101, 242, 0.16), transparent 26%),
        linear-gradient(180deg, rgba(4, 6, 12, 0.98), rgba(0, 0, 0, 0.995));
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.wakeup-overlay.fade-out {
    opacity: 0;
}

.wakeup-overlay.hidden {
    display: none;
}

.wakeup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    width: min(92vw, 360px);
    padding: 28px 24px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(10, 12, 18, 0.72), rgba(6, 7, 12, 0.58));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px) saturate(125%);
}

.wakeup-loading,
.wakeup-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.wakeup-entry {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.wakeup-overlay.is-ready .wakeup-loading {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    position: absolute;
}

.wakeup-overlay.is-ready .wakeup-entry {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.loading-orb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(144, 162, 255, 0.95));
    box-shadow: 0 0 0 0 rgba(144, 162, 255, 0.36);
    animation: wakeup-pulse 1.9s ease-in-out infinite;
}

.loading-ring {
    width: 68px;
    height: 68px;
    margin-top: -55px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top-color: rgba(255, 255, 255, 0.44);
    animation: spin 1.4s linear infinite;
}

.loading-copy {
    display: grid;
    gap: 6px;
    text-align: center;
}

.loading-kicker {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.loading-status {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.4;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    animation: wakeup-pulse 2s ease-in-out infinite;
}

.wake-text {
    color: rgba(255, 255, 255, 0.54);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: wake-text-fade 2.2s ease-in-out infinite;
}

.wakeup-no-music-btn {
    margin-top: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgb(var(--accent) / 0.45);
    background: linear-gradient(180deg, rgb(var(--accent) / 0.18) 0%, rgb(var(--accent) / 0.1) 100%);
    color: #9aa8ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.25;
    max-width: min(92vw, 420px);
    text-wrap: balance;
    transition: all 0.2s ease;
    box-shadow: 0 0 0 1px rgb(var(--accent) / 0.2) inset, 0 8px 20px rgba(0, 0, 0, 0.32);
}

.wakeup-no-music-btn:hover {
    border-color: rgb(var(--accent) / 0.66);
    color: #c1ccff;
    transform: translateY(-1px);
    background: linear-gradient(180deg, rgb(var(--accent) / 0.25) 0%, rgb(var(--accent) / 0.13) 100%);
}

@media (max-width: 768px) {
    .wakeup-content {
        width: min(92vw, 320px);
        padding: 24px 20px;
        border-radius: 24px;
    }

    .wakeup-no-music-btn {
        margin-top: 8px;
        padding: 8px 14px;
        font-size: 11px;
        max-width: min(86vw, 320px);
    }
}

@media (max-width: 480px) {
    .wakeup-content {
        width: min(92vw, 290px);
        padding: 20px 16px;
        gap: 18px;
    }

    .loading-ring {
        width: 60px;
        height: 60px;
        margin-top: -49px;
    }

    .loading-status {
        font-size: 13px;
    }

    .wakeup-no-music-btn {
        padding: 7px 12px;
        font-size: 11px;
        max-width: min(88vw, 280px);
        border-width: 1px;
    }
}

@keyframes wakeup-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
}

@keyframes wake-text-fade {
    0%, 100% { 
        opacity: 0;
        transform: translateY(5px);
    }
    50% { 
        opacity: 0.7;
        transform: translateY(0);
    }
}

.pulse-dot.subtle {
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { 
        opacity: 0.2;
        transform: scale(0.8);
    }
    50% { 
        opacity: 1;
        transform: scale(1.1);
    }
}
.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    animation: twinkle 4s ease-in-out infinite;
}

.star.small {
    width: 1px;
    height: 1px;
    opacity: 0.4;
}

.star.medium {
    width: 2px;
    height: 2px;
    opacity: 0.7;
    animation: twinkle 3s ease-in-out infinite, float 8s ease-in-out infinite;
}

.star.large {
    width: 3px;
    height: 3px;
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
    animation: twinkle 2s ease-in-out infinite, float 12s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    75% { transform: translateY(5px) translateX(-3px); }
}

.fixed-nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 8px;
    display: flex;
    gap: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fixed-nav:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateX(-50%) translateY(-2px);
}

.nav-container {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 12px 24px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-transform: lowercase;
    background: transparent;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    letter-spacing: 0.3px;
    border-radius: 50px;
    white-space: nowrap;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-link.active::before {
    opacity: 0;
}

.nav-link:focus {
    outline: none;
    box-shadow: none;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 148px 20px 60px;
    position: relative;
    z-index: 10;
}

.content {
    width: 100%;
    max-width: 520px;
    text-align: center;
    animation: fadein 1s ease-out;
}

@keyframes fadein {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.header {
    margin-bottom: 50px;
    animation: slideup 0.8s ease-out 0.3s both;
}

@keyframes slideup {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.name {
    font-size: 4rem;
    font-weight: 200;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1)); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)); }
}

.tagline {
    font-size: 18px;
    color: #777777;
    font-weight: 300;
    line-height: 1.6;
    max-width: 420px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeinup 0.8s ease-out 0.6s both;
}

@keyframes fadeinup {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.discord-card {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.discord-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.discord-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.discord-profile-card {
    padding: 26px 28px;
    background: linear-gradient(180deg, rgba(8, 10, 18, 0.94) 0%, rgba(4, 5, 10, 0.96) 100%);
    border: 1px solid rgba(120, 132, 255, 0.2);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.discord-profile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.discord-profile-identity {
    display: flex;
    align-items: center;
    gap: 18px;
}

.identity-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.identity-line {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.discord-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.discord-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 24px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #cdd4ff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.discord-chip.status {
    border-color: rgba(88, 101, 242, 0.4);
    background: rgba(88, 101, 242, 0.16);
}

.discord-chip.device {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
}

.discord-profile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.discord-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(88, 101, 242, 0.5);
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.25), rgba(10, 10, 10, 0.9));
    color: #e8ecff;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.discord-action:hover {
    transform: translateY(-2px);
    border-color: rgba(88, 101, 242, 0.8);
    box-shadow: 0 10px 24px rgba(88, 101, 242, 0.18);
}

.discord-presence-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.presence-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 12, 12, 0.78);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.presence-tile::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
    opacity: 0.7;
}

.presence-tile:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.16);
}

.presence-primary {
    border-color: rgba(88, 101, 242, 0.45);
    background: linear-gradient(135deg, rgba(45, 58, 170, 0.22), rgba(6, 8, 15, 0.96));
    box-shadow: inset 0 0 24px rgba(88, 101, 242, 0.12);
}

.presence-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #cfd4ff;
    flex-shrink: 0;
}

.presence-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.presence-label {
    font-size: 11px;
    letter-spacing: 1.2px;
    color: #9a9a9a;
    text-transform: uppercase;
    font-weight: 600;
}

.presence-main {
    font-size: 13px;
    color: #f2f4ff;
    font-weight: 600;
    line-height: 1.35;
}

.activity-placeholder {
    text-align: center;
    color: #888;
    padding: 18px;
    background: rgba(10, 10, 10, 0.5);
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

.profile-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.avatar-container {
    position: relative;
}

.avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: block;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}

.avatar:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.status-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #000;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

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

.status-indicator.online { background: #43b581; box-shadow: 0 0 10px rgba(67, 181, 129, 0.5); }
.status-indicator.idle { background: #faa61a; box-shadow: 0 0 10px rgba(250, 166, 26, 0.5); }
.status-indicator.dnd { background: #f04747; box-shadow: 0 0 10px rgba(240, 71, 71, 0.5); }
.status-indicator.offline { background: #747f8d; }

.user-details {
    flex: 1;
    text-align: left;
}

.username {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.status-text {
    font-size: 12px;
    color: #aaaaaa;
    font-weight: 400;
}

.activities-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-card {
    background: rgba(6, 8, 15, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 14px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.activity-card.spotify {
    border-color: rgba(30, 215, 96, 0.3);
    background: linear-gradient(135deg, rgba(30, 215, 96, 0.08) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.activity-card.vscode {
    border-color: rgba(0, 122, 204, 0.35);
    background: linear-gradient(135deg, rgba(0, 62, 109, 0.24) 0%, rgba(1, 6, 17, 0.98) 100%);
}

.activity-card.vscode .activity-icon {
    color: #007acc;
}

.activity-card.rich {
    padding: 12px 14px;
}

.activity-card.rich .activity-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-app-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ff5a27;
    background: linear-gradient(145deg, rgba(255, 132, 52, 0.2), rgba(10, 10, 10, 0.8));
    border: 1px solid rgba(255, 132, 52, 0.3);
    flex-shrink: 0;
}

.activity-copy {
    min-width: 0;
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.activity-icon {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #1ed760;
}

.activity-type {
    display: block;
    font-size: 12px;
    color: #8d929d;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.activity-card.vscode .activity-type {
    color: #8d929d;
}

.activity-title {
    font-size: 12px;
    color: #ffffff;
    margin-bottom: 4px;
    font-weight: 600;
    line-height: 1.3;
}

.activity-artist {
    font-size: 12px;
    color: #cccccc;
    font-weight: 400;
    margin-bottom: 8px;
}

.activity-elapsed {
    font-size: 11px;
    color: #9aa3b5;
    margin-top: 2px;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.activity-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.activity-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #e8ecff;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.activity-button:hover {
    border-color: rgba(88, 101, 242, 0.55);
    background: rgba(88, 101, 242, 0.18);
}

.presence-primary .presence-label {
    font-size: 12px;
    letter-spacing: 1.5px;
}

.presence-primary .presence-main {
    font-size: 15px;
}

.activity-card.vscode .activity-title {
    font-size: 16px;
    line-height: 1.2;
}

.activity-card.vscode .activity-artist {
    font-size: 14px;
    margin-bottom: 0;
}

.progress-container {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1ed760, #1db954);
    border-radius: 2px;
    position: relative;
    transition: width 0.1s linear;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}


.spotify-content {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
}

.spotify-album-container {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.spotify-album-art {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(30, 215, 96, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(30, 215, 96, 0.15);
    cursor: pointer;
}

.spotify-album-art:hover {
    transform: scale(1.03);
    border-color: rgba(30, 215, 96, 0.5);
    box-shadow: 0 4px 12px rgba(30, 215, 96, 0.25);
}

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

.spotify-track-info .activity-title {
    font-size: 12px;
    color: #ffffff;
    margin-bottom: 4px;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotify-track-info .activity-artist {
    font-size: 12px;
    color: #cccccc;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .spotify-content {
        gap: 12px;
    }
    
    .spotify-album-art {
        width: 32px;
        height: 32px;
    }
    
    .spotify-track-info .activity-title {
        font-size: 13px;
    }
    
    .spotify-track-info .activity-artist {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .spotify-content {
        gap: 10px;
    }
    
    .spotify-album-art {
        width: 35px;
        height: 35px;
    }
    
    .spotify-track-info .activity-title {
        font-size: 12px;
    }
    
    .spotify-track-info .activity-artist {
        font-size: 11px;
    }
}

.progress-time {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 11px;
    color: #666666;
    font-family: 'Inter', monospace;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 30px;
    animation: gridfade 0.8s ease-out 0.4s both;
}

body.site-notice-active .fixed-nav {
    top: 72px;
}

.site-notice {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: min(960px, calc(100% - 24px));
    z-index: 1004;
}

.site-notice-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(245, 170, 42, 0.35);
    background: linear-gradient(145deg, rgba(52, 36, 12, 0.9), rgba(28, 20, 8, 0.86));
    color: #ffd382;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
    font-size: 13px;
    line-height: 1.45;
}

.site-notice-inner i {
    color: #ffc15a;
}

.site-notice-dismiss {
    margin-left: auto;
    border: 1px solid rgba(255, 211, 130, 0.35);
    background: rgba(255, 211, 130, 0.08);
    color: #ffd382;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.site-notice-dismiss:hover {
    border-color: rgba(255, 211, 130, 0.55);
    background: rgba(255, 211, 130, 0.14);
}

@keyframes ambientDrift {
    0% {
        transform: translate3d(-2%, -1%, 0) scale(1);
    }
    100% {
        transform: translate3d(2%, 1.5%, 0) scale(1.05);
    }
}

@keyframes ambientDriftReverse {
    0% {
        transform: translate3d(2%, 1%, 0) scale(1);
    }
    100% {
        transform: translate3d(-1.5%, -2%, 0) scale(1.04);
    }
}

@keyframes gridfade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.info-item {
    background: rgba(12, 12, 12, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.5s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.info-item:hover::before {
    left: 100%;
}

.info-label {
    font-size: 11px;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}

.info-value {
    font-size: 12px;
    color: #ffffff;
    font-weight: 500;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
    animation: contactfade 0.8s ease-out 0.2s both;
}

@keyframes contactfade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-item {
    background:
        linear-gradient(140deg, rgba(14, 20, 40, 0.7), rgba(12, 12, 12, 0.9)),
        rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 20px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

#contact .content {
    max-width: 760px;
    text-align: left;
}

#contact .header {
    text-align: center;
    margin-bottom: 26px;
}

#contact .tagline {
    max-width: 620px;
    margin: 14px auto 0;
    color: #b8bfce;
    line-height: 1.58;
}

.contact-item.donate-item {
    grid-column: 1 / -1;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.contact-item:hover {
    transform: translateY(-4px);
    border-color: rgb(var(--accent) / 0.45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38), 0 0 0 1px rgb(var(--accent) / 0.12);
}

.contact-icon {
    font-size: 20px;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-label {
    font-size: 11px;
    color: #8c93a4;
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-value {
    font-size: 17px;
    color: #ffffff;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.3;
}

.contact-item-arrow {
    color: #8c93a4;
    font-size: 13px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.contact-item:hover .contact-item-arrow {
    color: rgb(var(--accent));
    transform: translateX(3px);
}

#contact .contact-cta-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 12px;
    margin: 14px 0 18px;
}

#contact .contact-now-btn {
    margin-top: 0;
    min-height: 60px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgb(var(--accent) / 0.2), rgb(var(--accent) / 0.08));
    border-color: rgb(var(--accent) / 0.35);
}

#contact .contact-now-btn:hover {
    transform: translateY(-3px);
    border-color: rgb(var(--accent) / 0.6);
    box-shadow: 0 14px 30px rgb(var(--accent) / 0.25);
}

#contact .contact-now-btn i {
    width: 28px;
    font-size: 18px;
}

#contact .contact-now-btn span {
    text-align: left;
    font-size: 12px;
}

#contact .contact-secondary-btn {
    min-height: 60px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
    color: #dce1ea;
    padding: 14px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

#contact .contact-secondary-btn:hover {
    transform: translateY(-2px);
    border-color: rgb(var(--accent) / 0.45);
    background: rgb(var(--accent) / 0.1);
}

.contact-response-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #c1c8d8;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.26);
    border-radius: 12px;
    padding: 10px 12px;
    margin: -2px 0 2px;
}

.contact-response-note i {
    color: rgb(var(--accent));
    flex-shrink: 0;
}

.external-redirect-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(18px);
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.external-redirect-overlay.active {
    display: flex;
    opacity: 1;
}

.external-redirect-modal {
    width: 92%;
    max-width: 520px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.external-redirect-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.external-redirect-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.external-redirect-title i {
    color: rgb(var(--accent));
}

.external-redirect-close {
    background: none;
    border: none;
    color: #888888;
    font-size: 26px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.external-redirect-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: rotate(90deg);
}

.external-redirect-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.external-redirect-text {
    color: #cccccc;
    font-size: 12px;
}

.external-redirect-url {
    font-size: 13px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 10px 12px;
    word-break: break-all;
}

.external-redirect-options {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.external-redirect-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #aaaaaa;
}

.external-redirect-checkbox input {
    accent-color: rgb(var(--accent));
}

.external-redirect-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.external-redirect-btn {
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.external-redirect-btn.ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #e6e6e6;
    border-color: rgba(255, 255, 255, 0.12);
}

.external-redirect-btn.ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.external-redirect-btn.primary {
    background: linear-gradient(135deg, rgb(var(--accent) / 0.35), rgb(var(--accent) / 0.2));
    color: #ffffff;
    border-color: rgb(var(--accent) / 0.45);
}

.external-redirect-btn.primary:hover {
    background: linear-gradient(135deg, rgb(var(--accent) / 0.5), rgb(var(--accent) / 0.3));
    box-shadow: 0 8px 20px rgb(var(--accent) / 0.35);
    transform: translateY(-1px);
}

.playlist-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(14px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.playlist-overlay.active {
    display: flex;
    opacity: 1;
}

.playlist-modal {
    width: min(560px, calc(100vw - 30px));
    max-height: min(78vh, 720px);
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(160deg, rgba(13, 15, 22, 0.97) 0%, rgba(10, 12, 16, 0.94) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
}

.playlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.playlist-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

.playlist-close {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 18px;
    transition: all 0.2s ease;
}

.playlist-close:hover {
    border-color: rgb(var(--accent) / 0.5);
    background: rgb(var(--accent) / 0.2);
}

.playlist-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    overflow-y: auto;
}

.playlist-item {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 8px 10px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    text-align: left;
    transition: all 0.2s ease;
}

.playlist-item img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.playlist-item-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.playlist-item-meta strong {
    font-size: 13px;
    color: #ffffff;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item-meta small {
    font-size: 11px;
    color: #aeb3be;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item-state {
    font-size: 11px;
    font-weight: 700;
    color: rgb(var(--accent));
}

.playlist-item:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.playlist-item.active {
    border-color: rgb(var(--accent) / 0.5);
    background: rgb(var(--accent) / 0.16);
}

@media (max-width: 560px) {
    .playlist-modal {
        width: calc(100vw - 20px);
    }
}

.settings-toggle {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 15, 15, 0.6);
    color: #cfcfcf;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0.35;
    transition: all 0.25s ease;
}

.settings-toggle:hover {
    opacity: 1;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.settings-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 12, 0.72);
    backdrop-filter: blur(10px) saturate(110%);
    z-index: 10002;
    display: none;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 24px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.settings-overlay.active {
    display: flex;
    opacity: 1;
}

.settings-modal {
    width: 92%;
    max-width: 560px;
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.92), rgba(10, 11, 16, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.44);
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.settings-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.settings-title i {
    color: rgb(var(--accent));
}

.settings-close {
    background: none;
    border: none;
    color: #888888;
    font-size: 26px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.settings-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: rotate(90deg);
}

.settings-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.settings-section[hidden] {
    display: none !important;
}

.settings-section:last-child {
    margin-bottom: 0;
}

.settings-section-title {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a8a8a;
}

.settings-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-bottom: 8px;
}

.settings-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #a8a8a8;
}

.settings-search-wrap i {
    font-size: 11px;
}

.settings-search-wrap:focus-within {
    border-color: rgb(var(--accent) / 0.45);
    box-shadow: 0 0 0 2px rgb(var(--accent) / 0.12);
}

#settings-search {
    width: 100%;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    outline: none;
}

#settings-search::placeholder {
    color: #8e8e8e;
}

.settings-reset-all {
    height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
}

.settings-reset-all:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.settings-navbar {
    margin-bottom: 14px;
}

.settings-search-empty {
    font-size: 11px;
    color: #a6a6a6;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.settings-search-empty[hidden],
.section-search-empty[hidden] {
    display: none !important;
}

.settings-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 0;
}

.settings-category-btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #bfbfbf;
    border-radius: 10px;
    padding: 9px 8px;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.settings-category-btn:hover {
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.settings-category-btn.active {
    border-color: rgb(var(--accent) / 0.5);
    background: rgb(var(--accent) / 0.18);
    color: #ffffff;
}

.settings-category-btn[aria-selected="true"] {
    box-shadow: 0 0 0 1px rgb(var(--accent) / 0.24) inset;
}

.section-search-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 12px;
}

.section-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    padding: 0 12px;
    color: #a8a8a8;
}

.section-search:focus-within {
    border-color: rgb(var(--accent) / 0.45);
    box-shadow: 0 0 0 2px rgb(var(--accent) / 0.12);
}

.section-search input {
    width: 100%;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    outline: none;
}

.section-search input::placeholder {
    color: #8e8e8e;
}

.section-search-empty {
    font-size: 11px;
    color: #a6a6a6;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px 12px;
}

.settings-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.settings-item[hidden],
.shortcut-item[hidden] {
    display: none !important;
}

.settings-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.settings-item-title {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}

.settings-item-desc {
    font-size: 11px;
    color: #8c8c8c;
}

.settings-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.settings-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    transition: all 0.25s ease;
}

.settings-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 2px;
    border-radius: 50%;
    background: #ffffff;
    transition: all 0.25s ease;
}

.settings-switch input:checked + .settings-slider {
    background: rgb(var(--accent) / 0.45);
    border-color: rgb(var(--accent) / 0.5);
}

.settings-switch input:checked + .settings-slider::before {
    transform: translateX(18px);
}

.settings-range {
    width: 170px;
    accent-color: rgb(var(--accent));
}

.settings-shortcuts-intro {
    font-size: 11px;
    color: #a6a6a6;
    line-height: 1.45;
}

.settings-shortcuts-intro kbd {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 11px;
}

.shortcut-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shortcut-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 10px 12px;
}

.shortcut-title {
    font-size: 13px;
    color: #ffffff;
    font-weight: 600;
}

.shortcut-desc {
    margin-top: 2px;
    font-size: 11px;
    color: #9a9a9a;
}

.shortcut-bind-btn {
    min-width: 104px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.shortcut-bind-btn:hover {
    border-color: rgb(var(--accent) / 0.45);
    background: rgb(var(--accent) / 0.14);
}

.shortcut-bind-btn.capturing {
    border-color: rgb(var(--accent) / 0.65);
    background: rgb(var(--accent) / 0.22);
}

.shortcut-reset-btn {
    margin-top: 2px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    transition: all 0.2s ease;
}

.shortcut-reset-btn:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .settings-modal {
        max-height: 86vh;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .settings-toggle {
        left: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        opacity: 0.8;
    }

    .settings-modal {
        width: 94%;
        max-width: 520px;
        padding: 20px;
        max-height: 86vh;
        overflow-y: auto;
    }

    .settings-header {
        padding-bottom: 12px;
        margin-bottom: 14px;
    }

    .settings-section {
        gap: 10px;
        padding: 12px;
        margin-bottom: 0;
    }

    .settings-tools {
        grid-template-columns: 1fr;
    }

    .settings-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .settings-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .settings-range {
        width: min(180px, 45vw);
    }

    .shortcut-item {
        grid-template-columns: 1fr;
    }

    .shortcut-bind-btn {
        justify-self: start;
    }
}

@media (max-width: 480px) {
    .settings-overlay {
        align-items: flex-start;
        padding: 12px 0;
    }

    .settings-modal {
        width: calc(100% - 24px);
        padding: 18px;
        border-radius: 16px;
        max-height: 90vh;
    }

    .settings-title {
        font-size: 12px;
    }

    .settings-item {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 10px;
    }

    .settings-reset-all {
        width: 100%;
        justify-content: center;
    }

    .settings-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }

    .settings-switch {
        justify-self: start;
    }

    .settings-range {
        width: 100%;
    }
}

