@font-face {
    font-family: 'Burbank';
    src: url('../fonts/burbankbigcondensed_black.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    overflow: hidden;
    background: #000;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

#video-background.visible {
    opacity: 0.5;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 2rem;
    font-family: Arial, sans-serif;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-out;
    cursor: pointer;
}

/* Orbit Layout Styles */
.center-container {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.profile-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    z-index: 10;
    transition: all 0.3s ease;
}

.profile-wrapper:hover {
    transform: scale(1.05);
}

.profile-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    box-shadow: 0 0 50px rgba(88, 101, 242, 0.3),
        0 0 100px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.profile-wrapper:hover .profile-circle {
    box-shadow: 0 0 70px rgba(88, 101, 242, 0.5),
        0 0 120px rgba(255, 255, 255, 0.2);
}

.profile-status-indicator {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #747f8d;
    /* Default offline */
    border: 4px solid rgba(0, 0, 0, 0.8);
    /* Dark border for separation */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 15;
    transition: background-color 0.3s ease;
}



.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.orbit-ring {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    animation: orbit-spin 20s linear infinite;
    pointer-events: none;
    /* Allow clicking through ring */
}

.orbit-ring:hover {
    animation-play-state: paused;
    /* Pause on hover for easier clicking */
}

/* Pause animation when hovering any button */
.center-container:has(.social-button:hover) .orbit-ring,
.center-container:has(.social-button:hover) .social-button {
    animation-play-state: paused;
}

@keyframes orbit-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* All buttons positioned at center, then rotated and translated to orbit edge */
/* 7 buttons = 360/7 = 51.43° apart, radius = 200px */

.social-button {
    pointer-events: auto;
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: counter-spin 20s linear infinite;
    /* Start all buttons at center */
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
}

/* Position 1: 0° - Discord (top) */
.discord-button {
    transform: rotate(0deg) translateY(-200px);
    background: #5865F2;
}

/* Position 2: 51.43° - YouTube */
.youtube-button {
    transform: rotate(51.43deg) translateY(-200px);
    background: #FF0000;
}

/* Position 3: 102.86° - Coffee */
.coffee-button {
    transform: rotate(102.86deg) translateY(-200px);
    background: #FFDD00;
    color: #000;
}

/* Position 4: 154.29° - Bitcoin */
.bitcoin-button {
    transform: rotate(154.29deg) translateY(-200px);
    background: #F7931A;
    border: none;
    cursor: pointer;
}

/* Position 5: 205.71° - Litecoin */
.litecoin-button {
    transform: rotate(205.71deg) translateY(-200px);
    background: #345D9D;
    border: none;
    cursor: pointer;
}

/* Position 6: 257.14° - Ethereum */
.ethereum-button {
    transform: rotate(257.14deg) translateY(-200px);
    background: #627EEA;
    border: none;
    cursor: pointer;
}

/* Position 7: 308.57° - Monero */
.monero-button {
    transform: rotate(308.57deg) translateY(-200px);
    background: #FF6600;
    border: none;
    cursor: pointer;
}

.social-button:hover {
    box-shadow: 0 0 15px currentColor;
    z-index: 20;
    filter: brightness(1.2);
}

.coffee-button:hover {
    box-shadow: 0 0 15px #FFDD00;
}

.crypto-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Make SVG white */
}

.profile-info-container {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 80%;
    max-width: 800px;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.profile-info-container:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.profile-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.profile-name-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-name {
    font-family: 'Burbank', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.status-text {
    font-size: 1rem;
    color: white;
    font-weight: 500;
}

.platform-icons {
    display: flex;
    gap: 10px;
    color: #b9bbbe;
}

.platform-icon {
    font-size: 1.8rem;
    /* Bigger icons */
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.profile-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.rpc-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 16px;
    width: 320px;
    margin: 10px auto 20px auto;
    text-align: left;
    display: none;
    /* Hidden by default until activity is found */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rpc-header {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #b9bbbe;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.rpc-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.rpc-icon {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    background-color: #2f3136;
}

.rpc-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.rpc-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.rpc-state,
.rpc-time {
    font-size: 0.85rem;
    color: #b9bbbe;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.rpc-time {
    margin-top: 2px;
}

.spotify-lyrics {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: rgba(30, 215, 96, 0.1);
    border-radius: 6px;
    border-left: 3px solid #1DB954;
}

.spotify-lyrics.active {
    display: block;
}

.lyrics-line {
    font-size: 0.9rem;
    color: #1DB954;
    font-weight: 500;
    text-align: left;
    line-height: 1.4;
    word-wrap: break-word;
}

.profile-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.profile-description a {
    color: #5865F2;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.profile-description a:hover {
    color: #4752C4;
    text-shadow: 0 0 8px rgba(88, 101, 242, 0.4);
}

.profile-description a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #5865F2;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.profile-description a:hover::after {
    transform: scaleX(1);
}

.overlay-content {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    padding: 3rem 4rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.overlay-content:hover {
    transform: scale(1.02);
}

.overlay-text {
    color: white;
    font-size: 2rem;
    font-family: 'Burbank', sans-serif;
    text-align: center;
    transition: opacity 1s ease-out;
    min-height: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: white;
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.volume-control {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    padding: 12px 20px;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 100;
    transition: all 0.3s ease;
}

.volume-control:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.volume-control i {
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.volume-control i:hover {
    color: #5865F2;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #5865F2;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    background: #4752C4;
    transform: scale(1.1);
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #5865F2;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.volume-slider::-moz-range-thumb:hover {
    background: #4752C4;
    transform: scale(1.1);
}

.lyrics-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #121212;
    z-index: 1000;
    flex-direction: column;
}

.lyrics-modal.active {
    display: flex;
}

.lyrics-modal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.lyrics-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: transparent;
    flex-shrink: 0;
}

.lyrics-song-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    opacity: 0.7;
}

.lyrics-close {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    line-height: 1;
}

.lyrics-close:hover {
    opacity: 1;
}

.lyrics-modal-body {
    flex: 1;
    padding: 40px 60px;
    overflow-y: auto;
}

.lyrics-modal-body::-webkit-scrollbar {
    width: 0;
    display: none;
}

.lyrics-modal-line {
    padding: 8px 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s ease;
    cursor: default;
    line-height: 1.5;
}

.lyrics-modal-line.past {
    color: rgba(255, 255, 255, 0.5);
}

.lyrics-modal-line.current {
    color: #fff;
}

.lyrics-modal-line.future {
    color: rgba(255, 255, 255, 0.3);
}

.audio-player-container {
    padding: 20px 40px;
    background: #181818;
    flex-shrink: 0;
}

.spotify-sync-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1DB954;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.spotify-sync-btn:hover {
    background: #1ed760;
    transform: scale(1.02);
}

.spotify-sync-btn i {
    font-size: 1.2rem;
}

.spotify-lyrics {
    cursor: pointer;
}

.spotify-lyrics:hover {
    background: rgba(30, 215, 96, 0.15);
}

.no-lyrics-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    padding: 40px 20px;
}

.lyric-word {
    position: relative;
    color: rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.lyric-word::before {
    content: attr(data-word);
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    width: 0%;
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.3s linear;
}

.lyrics-modal-line.past .lyric-word {
    color: rgba(255, 255, 255, 0.5);
}

.lyrics-modal-line.past .lyric-word::before {
    width: 100%;
    color: rgba(255, 255, 255, 0.5);
}

.lyrics-modal-line.current .lyric-word {
    color: rgba(255, 255, 255, 0.3);
}

.lyrics-modal-line.current .lyric-word.sung::before {
    width: 100%;
}

.lyrics-modal-line.future .lyric-word::before {
    width: 0%;
}

/* Activity Count Indicator */
.activity-count {
    display: none;
    text-align: center;
    padding: 8px;
    color: #5865F2;
    font-size: 0.85rem;
    cursor: pointer;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.activity-count:hover {
    background: rgba(88, 101, 242, 0.1);
}

/* Activities Modal */
.activities-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.activities-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.activities-modal-content {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 70vh;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.activities-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.activities-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.activities-close {
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.activities-close:hover {
    color: #fff;
}

.activities-modal-body {
    padding: 10px;
    max-height: 50vh;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.activity-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.activity-info {
    flex: 1;
    min-width: 0;
}

.activity-type {
    font-size: 0.75rem;
    color: #5865F2;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.activity-name {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-details {
    font-size: 0.85rem;
    color: #b9bbbe;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}