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

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #050508;
    position: relative;
    font-family: 'Roboto Mono', monospace;
    --paw-cursor: url('../Resources/paw-cursor.png?v=2') 14 1, auto;
    cursor: var(--paw-cursor);
}

/* Dimmed video background. Sits over the solid black body bg so lowering its
   opacity blends it toward black (grayed out) instead of revealing anything
   behind it. */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.82;
    filter: grayscale(0.2) brightness(0.9);
    pointer-events: none;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 2;
    pointer-events: none;
}

/* Click-anywhere-to-continue gate (also unlocks the video's audio). */
#enter-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050508;
    cursor: var(--paw-cursor);
    transition: opacity 0.7s ease;
}

#enter-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.enter-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    animation: enter-pulse 2.2s ease-in-out infinite;
}

.enter-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
}

.enter-hint {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.45);
}

@keyframes enter-pulse {
    0%, 100% {
        opacity: 0.55;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

.center-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    pointer-events: none;
    padding: 20px;
}

.box {
    width: 400px;
    border-radius: 24px;
    background: rgba(10, 10, 15, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    pointer-events: auto;
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.box:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 50px rgba(255, 255, 255, 0.02);
}

.profile-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 12px;
    z-index: 10;
}

.profile-border {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #ffffff, #888888);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 2;
    cursor: var(--paw-cursor);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pfp-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.profile-img.spinning {
    animation: pfp-spin 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0d0d12;
    display: block;
}

.profile-glow {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #ffffff, #aaaaaa);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.45;
    z-index: 1;
    animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.96);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.05);
        opacity: 0.65;
    }
}

.status-bubble {
    position: absolute;
    top: 2px;
    left: 78px;
    z-index: 40;
    pointer-events: none;
    animation: bubble-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    animation-delay: 0.4s;
}

@keyframes bubble-in {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(6px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.status-bubble::before,
.status-bubble::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: #f6f1e8;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.status-bubble::before {
    width: 9px;
    height: 9px;
    bottom: -5px;
    left: 2px;
}

.status-bubble::after {
    width: 5px;
    height: 5px;
    bottom: -11px;
    left: -3px;
}

.status-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f6f1e8;
    border-radius: 14px;
    padding: 5px 11px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    min-height: 26px;
}

.status-icon {
    width: 13px;
    height: 13px;
    color: #3a3632;
    flex-shrink: 0;
}

.status-text {
    font-family: 'Roboto Mono', monospace;
    font-style: italic;
    font-size: 0.74rem;
    font-weight: 500;
    color: #2c2926;
    line-height: 1;
    letter-spacing: 0.2px;
}

.status-cursor {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.74rem;
    font-weight: 500;
    color: #2c2926;
    margin-left: -3px;
    animation: status-blink 1s step-end infinite;
}

@keyframes status-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.box:hover .profile-border {
    transform: scale(1.05) rotate(5deg);
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
    position: relative;
    z-index: 50;
}

.profile-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}

.badges-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-item {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.55);
    position: relative;
    cursor: var(--paw-cursor);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.badge-icon {
    width: 13px;
    height: 13px;
    transition: transform 0.3s ease;
}

.badge-item:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 0 14px var(--glow-color);
    transform: translateY(-3px);
}

.badge-item:hover .badge-icon {
    transform: scale(1.15);
}

.badge-item::after,
.social-icon-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(5, 5, 8, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.68rem;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
    z-index: 20;
    letter-spacing: 0.5px;
}

.badge-item:hover::after,
.social-icon-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.profile-bio {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-bottom: 18px;
    line-height: 1.6;
    max-width: 300px;
    font-weight: 400;
}

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    margin-bottom: 18px;
}

.socials-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
    width: 100%;
}

.social-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    cursor: var(--paw-cursor);
}

.social-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 12px rgba(255, 255, 255, 0.12);
    transform: translateY(-4px) scale(1.08);
}

.social-icon-btn:hover .social-icon {
    transform: scale(1.1);
}

.cta-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 24px;
    background: #ffffff;
    border: none;
    border-radius: 16px;
    color: #050508;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    margin-top: 6px;
    cursor: var(--paw-cursor);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 0, 0, 0.15),
            transparent);
    transform: skewX(-25deg);
    transition: none;
}

.cta-button:hover::before {
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    100% {
        left: 200%;
    }
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #f0f0f0;
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.25);
}

.cta-arrow {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

@media (max-width: 440px) {
    .box {
        width: 100%;
        border-radius: 16px;
    }
}
