@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700&display=swap');

:root {
    --bg-dark: #000000;
    --card-bg: rgba(10, 10, 10, 0.6);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #ffffff;
    --glow-color: rgba(255, 255, 255, 0.3);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#bg-video,
.bg-image {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;
}

/* Blinking Title */
.blinking-title {
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Overlay de Entrada */
#entry-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, visibility 1s;
}

#entry-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.overlay-content {
    text-align: center;
}

.overlay-content i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--glow-color));
}

.overlay-content h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 30px;
    letter-spacing: 4px;
    font-weight: 700;
}

#enter-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--text-primary);
    padding: 15px 45px;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    letter-spacing: 2px;
    font-weight: 600;
}

#enter-btn:hover {
    background: var(--accent-color);
    box-shadow: 0 0 30px var(--glow-color);
    transform: scale(1.05);
}

/* Music Player */
.music-player-mini {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

#music-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

#music-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg);
}

/* Main Content */
.divcont {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px;
    flex-wrap: wrap;
    overflow-y: auto;
}

.discord-profile {
    position: relative;
    width: 320px;
    padding: 2px;
    border-radius: 16px;
    background: var(--card-border);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.discord-profile:nth-child(2) {
    animation-delay: 0.3s;
}

.discord-profile:hover {
    transform: translateY(-10px);
}

.profile-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(45deg, var(--accent-color), transparent, var(--accent-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(15px);
}

.discord-profile:hover .profile-glow {
    opacity: 0.3;
}

.profile {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border-radius: 14px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pfp {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    position: relative;
    padding: 4px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
}

.pfp img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #111;
}

.nickr {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.nick.subnick {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.badge {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    cursor: pointer;
}

.badge::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: 130%;
}

.social-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-button {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-button:hover {
    color: var(--text-primary);
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--glow-color);
}

.server-button {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.server-button-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.server-button:hover .server-button-text {
    color: var(--text-primary);
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px var(--glow-color));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px var(--glow-color));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px var(--glow-color));
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .divcont {
        gap: 20px;
        padding-top: 80px;
    }

    .discord-profile {
        width: 280px;
    }
}