/* login.css - Neon Modern Login Styles */

/* Animated background overlay */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('/images/background-stars.gif') center/cover no-repeat;
    opacity: 0.12;
    z-index: -1;
    animation: backgroundScroll 60s linear infinite;
}

@keyframes backgroundScroll {
    from { background-position-y: 0; }
    to { background-position-y: 1000px; }
}

/* Container */
.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

/* Logo */
.login-logo {
    text-align: center;
    margin-top: 40px;
}
.login-logo img {
    height: 150px;
    filter: drop-shadow(0 0 8px #ff00ffaa);
    animation: fadeIn 1s ease-out;
  	margin-left: 20px;
}

/* Title */
.login-title {
    text-align: center;
    font-size: 2.2rem;
    font-family: 'Orbitron', 'Montserrat', Arial, sans-serif;
    color: #ff00ff;
    margin-bottom: 0.8rem;
    margin-top: 1.2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 18px #ff00ff99, 0 0 6px #8707ff99;
    font-weight: 800;
    background: linear-gradient(90deg, #ff00ff 10%, #8707ff 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.login-subtitle {
    text-align: center;
    color: #ffd6ff;
    font-size: 1.18rem;
    margin-bottom: 1.7rem;
    font-weight: 500;
    opacity: 0.92;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 8px #ff00ff33;
}

/* Login Form Container */
.login-container {
    max-width: 420px;
    width: 100%;
    background: rgba(20, 20, 40, 0.95);
    border-radius: 18px;
    box-shadow: 0 0 32px rgba(255, 0, 255, 0.18);
    padding: 2.5rem 2rem 2rem 2rem;
    color: #fff;
    animation: fadeIn 0.7s;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.login-container .form-group {
    display: flex;
    flex-direction: column;
}

.login-container label {
    color: #ff80ff;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    padding: 12px 14px;
    border: 2px solid #fc9dfc;
    border-radius: 8px;
    background: rgba(10, 10, 20, 0.7);
    color: #fff;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
}

.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    border-color: #ff00ff;
    box-shadow: 0 0 12px #ff00ff;
}

.login-container input[type="checkbox"] {
    accent-color: #ff00ff;
    margin-right: 8px;
}

.login-container button[type="submit"] {
    background: linear-gradient(90deg, #ff00ff 0%, #8707ff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 13px 0;
    margin-top: 8px;
    box-shadow: 0 2px 16px rgba(255, 0, 255, 0.15);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    letter-spacing: 1px;
}

.login-container button[type="submit"]:hover,
.login-container button[type="submit"]:focus {
    background: linear-gradient(90deg, #8707ff 0%, #ff00ff 100%);
    box-shadow: 0 4px 24px rgba(255, 0, 255, 0.25);
    transform: translateY(-2px) scale(1.03);
    outline: none;
}

/* Register CTA */
.register-cta {
    text-align: center;
    margin-top: 1.1rem;
    color: #ccc;
    font-size: 1.05rem;
}
.register-cta a {
    color: #ff80ff;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.18s;
}
.register-cta a:hover {
    color: #ff00ff;
}

/* Feature Highlights Bar */
.login-features {
    margin: 2.2rem auto 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    font-size: 1.05rem;
    color: #fff;
    opacity: 0.93;
    max-width: 720px;
}
.login-features div {
    background: rgba(40,0,60,0.33);
    border-radius: 8px;
    padding: 0.6rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 1px 8px #ff00ff22;
    font-weight: 500;
    transition: background 0.2s;
    min-width: 170px;
    margin-bottom: 0.5rem;
}
.login-features div:hover {
    background: rgba(255,0,255,0.11);
}

/* Social Proof & Urgency */
.login-social-proof {
    margin: 2.1rem auto 0 auto;
    text-align: center;
    color: #fff;
    font-size: 1.09rem;
    opacity: 0.93;
}
.login-player-count {
    display: inline-block;
    background: rgba(60,0,80,0.18);
    border-radius: 7px;
    padding: 0.5rem 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #ffd6ff;
    box-shadow: 0 1px 8px #ff00ff22;
    font-size: 1.08rem;
}
.login-join-today {
    color: #ff80ff;
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 1.07rem;
    text-shadow: 0 0 8px #ff00ff33;
}

/* Register Banner */
.register-banner {
    margin: 2.2rem auto 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    background: linear-gradient(90deg, #ff00ff22 0%, #8707ff22 100%);
    border-radius: 10px;
    padding: 1.1rem 1.8rem;
    box-shadow: 0 1px 12px #ff00ff22;
    max-width: 680px;
}
.register-banner-text {
    color: #fff;
    font-weight: 500;
    font-size: 1.08rem;
}
.register-banner-btn {
    background: linear-gradient(90deg, #ff00ff 0%, #8707ff 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 1.08rem;
    font-weight: bold;
    padding: 0.7rem 1.5rem;
    box-shadow: 0 2px 12px rgba(255, 0, 255, 0.13);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    letter-spacing: 1px;
    margin-left: 1.1rem;
}
.register-banner-btn:hover, .register-banner-btn:focus {
    background: linear-gradient(90deg, #8707ff 0%, #ff00ff 100%);
    box-shadow: 0 4px 18px rgba(255, 0, 255, 0.22);
    transform: translateY(-2px) scale(1.04);
    outline: none;
}

/* Social Login Buttons */
.social-login-group {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin: 1.2rem 0 1.2rem 0;
    align-items: center;
    justify-content: center;
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 44px;
    width: auto;
    font-size: 0.97rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.17s, background 0.17s, transform 0.12s;
    box-shadow: 0 2px 7px rgba(80,0,120,0.07);
    outline: none;
    letter-spacing: 0.3px;
    text-align: center;
    vertical-align: middle;
}
.social-btn i {
    font-size: 1.25rem;
}
.google-btn {
    background: #fff;
    color: #444;
    border: 1.5px solid #e0e0e0;
}
.google-btn:hover, .google-btn:focus {
    background: #f3f3f3;
    box-shadow: 0 4px 16px #e0e0e044;
    transform: translateY(-1.5px) scale(1.03);
}
.facebook-btn {
    background: linear-gradient(90deg, #1877f2 0%, #4267b2 100%);
    color: #fff;
    border: none;
}
.facebook-btn:hover, .facebook-btn:focus {
    background: linear-gradient(90deg, #4267b2 0%, #1877f2 100%);
    box-shadow: 0 4px 16px #1877f244;
    transform: translateY(-1.5px) scale(1.03);
}
.discord-btn-alt {
    background: linear-gradient(90deg, #5865F2 0%, #7b5cff 100%);
    color: #fff;
    border: none;
}
.discord-btn-alt:hover, .discord-btn-alt:focus {
    background: linear-gradient(90deg, #7b5cff 0%, #5865F2 100%);
    box-shadow: 0 4px 18px #5865F277;
    transform: translateY(-1.5px) scale(1.03);
}

/* FAQ Section */
.login-faq-section {
    margin: 2.5rem auto 0 auto;
    max-width: 680px;
    background: rgba(40,0,60,0.18);
    border-radius: 12px;
    box-shadow: 0 2px 16px #ff00ff18;
    padding: 1.4rem 1.7rem 1.1rem 1.7rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.faq-content {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.faq-item {
    width: 100%;
}
.faq-toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(90deg, #ff00ff 0%, #8707ff 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 1.12rem;
    font-weight: bold;
    padding: 0.7rem 1.3rem;
    box-shadow: 0 2px 12px rgba(255, 0, 255, 0.09);
    cursor: pointer;
    margin-bottom: 1.1rem;
    transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
    outline: none;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}
.faq-toggle i {
    font-size: 1.25rem;
    color: #ffd6ff;
}
.faq-toggle[aria-expanded="true"] {
    background: linear-gradient(90deg, #8707ff 0%, #ff00ff 100%);
    box-shadow: 0 4px 18px #ff00ff22;
    /* Remove transform to prevent left slide */
}
.faq-content {
    animation: fadeIn 0.4s;
}
.faq-item {
    margin-bottom: 1.1rem;
}
.faq-question {
    font-weight: 600;
    color: #ff80ff;
    margin-bottom: 0.2rem;
    font-size: 1.07rem;
}
.faq-answer {
    color: #fff;
    font-size: 1.04rem;
    opacity: 0.93;
    margin-left: 0.5rem;
}

/* Discord CTA */
.discord-cta {
    margin: 2.7rem auto 0 auto;
    display: flex;
    justify-content: center;
}
.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(90deg, #5865F2 0%, #7b5cff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: bold;
    padding: 0.75rem 1.7rem;
    box-shadow: 0 2px 14px #5865F244;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.19s, box-shadow 0.19s, transform 0.13s;
    letter-spacing: 1px;
    outline: none;
}
.discord-btn i {
    font-size: 1.35rem;
    color: #fff;
}
.discord-btn:hover, .discord-btn:focus {
    background: linear-gradient(90deg, #7b5cff 0%, #5865F2 100%);
    box-shadow: 0 4px 20px #5865F277;
    transform: translateY(-2px) scale(1.04);
}

/* Testimonials */
.login-testimonials {
    margin: 2.3rem auto 0 auto;
    max-width: 700px;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    justify-content: center;
    align-items: flex-start;
}
.testimonial {
    background: rgba(60,0,80,0.14);
    border-radius: 8px;
    padding: 0.7rem 1.3rem;
    color: #fff;
    font-size: 1.04rem;
    font-style: italic;
    box-shadow: 0 1px 8px #ff00ff22;
    min-width: 220px;
    max-width: 320px;
    opacity: 0.93;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.testimonial-quote {
    font-weight: 500;
    color: #ffd6ff;
}
.testimonial-user {
    font-size: 0.97rem;
    color: #ff80ff;
    font-style: normal;
    font-weight: 400;
    margin-top: 0.2rem;
}


/* Animated Login Button */
.login-btn-animated {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.login-btn-animated::after {
    content: '';
    position: absolute;
    left: -120%;
    top: 0; bottom: 0;
    width: 120%;
    background: linear-gradient(90deg, #ff00ff44 0%, #8707ff22 100%);
    z-index: 0;
    transition: left 0.4s cubic-bezier(.4,2,.6,.1);
}
.login-btn-animated:hover::after,
.login-btn-animated:focus::after {
    left: 0;
}
.login-btn-animated span {
    position: relative;
    z-index: 1;
}

/* --- Enhanced Mobile Styles for Login --- */
@media (max-width: 600px) {
    body::before {
        background-size: cover;
    }
    .login-logo img {
        height: 80px;
        margin-left: 0;
    }
    .login-title {
        font-size: 1.1rem;
        margin-top: 1.2rem;
        margin-bottom: 0.5rem;
        text-align: center;
        line-height: 1.2;
    }
    .login-wrapper {
        padding: 1.2rem 0.2rem;
        min-height: 100vh;
        justify-content: flex-start;
    }
    .login-container {
        max-width: 100%;
        width: 100%;
        padding: 1.1rem 0.2rem 1.2rem 0.2rem;
        margin: 28px 2px;
        border-radius: 14px;
        box-shadow: 0 0 12px rgba(255,0,255,0.10);
    }
    .login-container label,
    .login-container input,
    .login-container button {
        font-size: 1rem;
    }
    .login-container input[type="text"],
    .login-container input[type="password"] {
        padding: 10px 8px;
        font-size: 1rem;
        border-radius: 7px;
    }
    .login-container .form-group {
        margin-bottom: 0.9rem;
    }
    .login-container button[type="submit"] {
        font-size: 1rem;
        padding: 11px 0;
        border-radius: 7px;
        margin-top: 6px;
    }
    .login-subtitle {
        font-size: 0.98rem;
        margin-bottom: 1.2rem;
    }
}

/* --- End Enhanced Mobile Styles --- */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
