body {
    margin: 0;
    padding: 0;
    background: #000000;
    color: white;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}

#visu-counter {
    position: absolute;
    top: 10px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0);
    color: rgb(255, 255, 255);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#visu-counter.visible {
    opacity: 1;
}

.eye-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    animation: blink 3s infinite;
}

@keyframes blink {
    0% { transform: scaleY(1); }
    95% { transform: scaleY(1); }
    97% { transform: scaleY(0.1); }
    100% { transform: scaleY(1); }
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/92d0f8fc3c8af1862dbf356894c48d3a.png') center/cover no-repeat;
    filter: brightness(0.45) saturate(1);
    z-index: -1;
}

.profile {
    text-align: center;
    margin: 20px;
    font-family: Arial, sans-serif;
}

.avatar-container {
    position: relative;
    display: inline-block;
    width: 128px;
    height: 128px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.avatar-container img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
}

.perfil {
    position: relative;
    width: 300px;
    height: 400px;
    background-color: #ff0000;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform-style: preserve-3d;
    cursor: pointer;
}

.perfil img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.js-tilt-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
}

.js-tilt-glare-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background-image: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%);
    transform: rotate(180deg) translate(-50%, -50%);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

[data-tilt] {
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.03, 0.98, 0.52, 0.99);
}

[data-tilt].tilt {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
}

[data-tilt].tilt-reset {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
}

[data-tilt] .js-tilt-glare-inner {
    transition: opacity 0.3s ease-in-out;
}

.emoji-overlay {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: rgba(255, 255, 255, 0);
    border-radius: 50%;
    padding: 3px;
    font-size: 18px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0);
}

.redirect-button {
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
}

.redirect-button .icon {
    width: 30px;
    height: 30px;
    transition: transform 0.2s;
}

.redirect-button .icon:hover {
    transform: scale(1.1);
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    display: none;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(24, 24, 24, 0.82), rgba(5, 5, 5, 0.72));
    padding: 38px 30px;
    margin: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    text-align: center;
    width: 340px;
    min-height: 350px;
    box-sizing: border-box;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    opacity: 0.96;
    transform: translateY(1px);
}

.card::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 190px;
    height: 190px;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    animation: ambientGlow 7s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
    from { transform: translate3d(0, 0, 0); opacity: 0.45; }
    to { transform: translate3d(250px, 260px, 0); opacity: 0.9; }
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), 0 0 45px rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.card img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    margin-bottom: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, border 0.3s ease;
}

.card:hover img {
    border: 1px solid #ffffff;
    outline-color: #c9c9c9;
    transform: scale(1.08);
}

.card h3 {
    color: #ffffffce;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
}

.card p {
    color: rgba(255, 255, 255, 0.48);
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
}

.bio {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    line-height: 1.5;
    font-style: italic;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.steam-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.steam-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.3s ease, background 0.3s ease;
}

.steam-link svg {
    width: 12px;
    height: 12px;
}

.steam-link:hover {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.07);
}

.alts-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
    padding: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.alts-toggle:hover {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.18);
}

.alts-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alts-overlay.open {
    opacity: 1;
}

.alts-overlay-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.alts-overlay-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 460px;
    max-height: 85vh;
    padding: 30px 24px 24px;
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.95), rgba(5, 5, 5, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.alts-back {
    align-self: flex-start;
    padding: 6px 14px;
    margin-bottom: 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.alts-back:hover {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.25);
}

.alts-overlay-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
    overflow-y: auto;
}

.alt-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1 0 calc(50% - 5px);
    min-width: 100px;
    max-width: 160px;
    padding: 16px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.alt-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
}

.alt-card img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.alt-card strong {
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.alt-card span {
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.alt-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.card .profile {
    position: relative;
    z-index: 1;
}

.status-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #000;
    z-index: 3;
    transition: background 0.3s ease;
}

.status-dot.online { background: #43b581; }
.status-dot.idle { background: #faa61a; }
.status-dot.dnd { background: #f04747; }
.status-dot.offline { background: #747f8d; }

.avatar-container::before {
    content: '';
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: avatarPulse 3s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { opacity: 0.35; transform: scale(0.98); }
    50% { opacity: 0.8; transform: scale(1.04); }
}

.spotify-activity {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.spotify-activity[hidden] {
    display: none;
}

.spotify-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

.spotify-cover {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    background-position: center;
    background-size: cover;
    border-radius: 9px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.45);
}

.spotify-details {
    min-width: 0;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.spotify-label,
.spotify-song,
.spotify-artist {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotify-label {
    margin-bottom: 4px;
    color: #1ed760;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.spotify-equalizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    width: 11px;
    height: 9px;
    margin-right: 5px;
}

.spotify-equalizer i {
    width: 2px;
    height: 100%;
    background: #1ed760;
    border-radius: 2px;
    animation: equalizer 0.75s ease-in-out infinite alternate;
}

.spotify-equalizer i:nth-child(2) {
    animation-delay: -0.35s;
}

.spotify-equalizer i:nth-child(3) {
    animation-delay: -0.6s;
}

@keyframes equalizer {
    from { height: 25%; }
    to { height: 100%; }
}

.spotify-song {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
}

.spotify-artist {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
}

.volume-control {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(10, 10, 10, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.volume-control button {
    display: flex;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.volume-control button img {
    width: 20px;
    height: 20px;
}

.volume-control input {
    width: 105px;
    height: 4px;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    cursor: pointer;
}

.volume-control input::-webkit-slider-thumb {
    width: 13px;
    height: 13px;
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.volume-control input::-moz-range-thumb {
    width: 13px;
    height: 13px;
    background: #ffffff;
    border: 0;
    border-radius: 50%;
}

.card .button {
    background-color: transparent;
    color: white;
    padding: 5px 10px;
    border: 1px solid white;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.card .button:hover {
    background-color: transparent;
    color: rgba(255, 255, 255, 0);
    border: 0px solid rgba(255, 255, 255, 0);
}

.emoji {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.entry-gate {
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.48);
    animation: entryFloat 5s ease-in-out infinite;
    transition: border-color 0.4s ease;
}

.entry-gate:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.entry-gate::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 110%;
    height: 110%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    filter: blur(50px);
    animation: entryGlow 4s ease-in-out infinite alternate;
}

#clickImage {
    display: block;
    width: clamp(120px, 22vw, 200px);
    height: auto;
    max-width: 70vw;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.06));
    transition: transform 0.5s ease, filter 0.5s ease;
}

.entry-gate:hover #clickImage {
    transform: scale(1.04);
    filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.14));
}

@keyframes entryFloat {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 10px)); }
}

@keyframes entryGlow {
    from { opacity: 0.3; transform: translate(-50%, -50%) scale(0.85); }
    to { opacity: 0.8; transform: translate(-50%, -50%) scale(1.15); }
}

.badges {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.badge {
    width: 24px;
    height: 24px;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
}

.badge:hover {
    opacity: 0.8;
}

.profile,
.profile .flag-icon:hover,
.profile .name-container:hover,
html {
    cursor: url("../cursor.cur"), auto;
}

.ambient-particles {
    position: fixed;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.video-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.78));
    pointer-events: none;
    transition: opacity 1.4s ease;
}

.ambient-particle {
    position: absolute;
    bottom: -12vh;
    left: var(--x);
    width: var(--size);
    height: var(--size);
    background: rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
    opacity: 0;
    animation: particleRise var(--duration) linear var(--delay) infinite;
}

@keyframes particleRise {
    0% { transform: translate3d(0, 0, 0); opacity: 0; }
    12%, 82% { opacity: var(--opacity); }
    100% { transform: translate3d(var(--drift), -125vh, 0); opacity: 0; }
}

#cards-container {
    position: relative;
    z-index: 10;
}

#cards-container.revealed {
    animation: cardFloat 5.5s ease-in-out 1s infinite;
}

#cards-container.revealed .profile {
    animation: profileReveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes profileReveal {
    from { opacity: 0; filter: blur(10px); transform: translateY(18px) scale(0.96); }
    to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

.screen-signature {
    position: fixed;
    right: 20px;
    bottom: 17px;
    z-index: 9999;
    color: rgba(255, 255, 255, 0.34);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.screen-signature:hover {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.28);
}

@media (max-width: 480px) {
    .card {
        width: calc(100vw - 42px);
        max-width: 340px;
        padding: 32px 24px;
    }

    .volume-control input {
        width: 80px;
    }

    #clickImage {
        width: min(50vw, 130px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ambient-particle,
    #cards-container.revealed,
    #cards-container.revealed .profile,
    .card::before,
    .avatar-container::before,
    .spotify-equalizer i,
    .entry-gate::before {
        animation: none;
    }
}
