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

:root {
    --bg-color: #0f172a;
    --panel-bg: rgba(30, 41, 59, 0.7);
    --discord-color: #5865F2;
    --discord-hover: #4752C4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --glow: 0 0 20px rgba(88, 101, 242, 0.5);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Background animated elements */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: float 10s ease-in-out infinite alternate;
}

.blob.blue {
    background: var(--discord-color);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.blob.purple {
    background: #8b5cf6;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    bottom: -50px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(50px) scale(1.1);
    }
}

/* Main Container */
.container {
    background: var(--panel-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.container.loaded {
    transform: translateY(0);
    opacity: 1;
}

/* Icon */
.shield-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
    display: inline-block;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(88, 101, 242, 0.3));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.8));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(88, 101, 242, 0.3));
    }
}

/* Typography */
h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Button */
.btn-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.btn-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--discord-color);
    border-radius: 12px;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.btn-wrapper:hover::before {
    opacity: 0.7;
}

.btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--discord-color);
    color: white;
    padding: 16px 28px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    cursor: pointer;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
    background-color: var(--discord-hover);
    transform: translateY(-2px);
}

.btn:hover::after {
    transform: rotate(45deg) translateY(100%);
}

.btn:active {
    transform: translateY(1px);
}

.discord-logo {
    width: 24px;
    height: 24px;
}

/* Input for ClientID demo */
.config-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    display: none;
}
