/* Login page - dark, modern, with a subtle red (top right) and neon green (bottom left) gradient background */
body {
    display: flex;
}
.login-container {
    background: rgba(20, 22, 30, 0.98);
    padding: 2em 3em;
    border-radius: 18px;
    box-shadow: 0 8px 40px 0 #181a20cc, 0 0 0 2px #39FF14;
    text-align: center;
    border: 1.5px solid #23272A;
    width: 100%;
    max-width: 580px;
    position: relative;
    overflow: hidden;
}

.brand-section {
    margin-bottom: 24px;
}

.brand-title {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 8px;
    letter-spacing: 1.5px;
    font-weight: 700;
    background: linear-gradient(135deg, #39FF14, #8da1fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    word-spacing: 0.2em;
}

.brand-subtitle {
    color: #bfc8e6;
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 400;
}

.login-section {
    margin-bottom: 24px;
}

.login-title {
    color: #b1abab;
    font-size: 1.4rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-weight: 700;
}

.login-description {
    color: #8da1fa;
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

.features-section {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.feature-item {
    background: rgba(35, 39, 42, 0.6);
    padding: 14px 12px;
    border-radius: 10px;
    border: 1px solid #39FF14;
    flex: 1;
    min-width: 100px;
    max-width: 120px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(57, 255, 20, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(57, 255, 20, 0.2);
}

.feature-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.feature-item h3 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.feature-item p {
    color: #bfc8e6;
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}
.discord-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4), 0 0 0 2px rgba(88, 101, 242, 0.3);
    margin-top: 16px;
    gap: 12px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 280px;
    justify-content: center;
    transform: translateY(0);
}

.discord-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.discord-btn:hover::before {
    left: 100%;
}

.discord-btn:hover {
    background: linear-gradient(135deg, #4752C4 0%, #5865F2 100%);
    color: #fff;
    box-shadow: 0 12px 35px rgba(88, 101, 242, 0.6), 0 0 0 3px rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
}

.discord-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4), 0 0 0 2px rgba(88, 101, 242, 0.3);
}
.discord-icon {
    height: 24px;
    background: transparent;
}

.error {
    color: #FF2D55;
    margin-bottom: 18px;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 0 6px #FF2D55, 0 0 2px #fff;
}
@media (max-width: 600px) {
    .login-container {
        padding: 20px 6vw 16px 6vw;
        max-width: 95vw;
    }
    .brand-section {
        margin-bottom: 18px;
    }
    .brand-title {
        font-size: 2.2rem;
        margin-bottom: 6px;
        letter-spacing: 1px;
        word-spacing: 0.1em;
    }
    .brand-subtitle {
        font-size: 0.9rem;
    }
    .login-section {
        margin-bottom: 18px;
    }
    .login-title {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }
    .login-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    .discord-btn {
        font-size: 1.1rem;
        padding: 14px 24px;
        max-width: 260px;
    }
    .discord-icon {
        width: 20px;
        height: 20px;
    }
    .features-section {
        margin-top: 16px;
        gap: 12px;
    }
    .feature-item {
        max-width: 100%;
        min-width: auto;
        padding: 10px 8px;
    }
    .feature-icon {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }
    .feature-item h3 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    .feature-item p {
        font-size: 0.75rem;
    }
}
