* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    background: #000;
}

.login-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('../../assets/images/register-bg.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.login-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3),
            rgba(0, 0, 0, 0.8));
}

.login-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 470px;
}

.logo-title {
    text-align: center;
    margin-bottom: 30px;
}

.logo-title h1 {
    font-family: 'Cinzel', serif;
    font-size: 52px;
    font-weight: 800;
    color: #f7d28a;
    text-shadow:
        0 0 10px rgba(255, 191, 73, 0.7),
        0 0 25px rgba(255, 191, 73, 0.5);
    margin-bottom: 10px;
}

.logo-title p {
    color: #d7b784;
    font-size: 20px;
    letter-spacing: 3px;
}

.login-card {
    position: relative;
    border: 2px solid rgba(255, 191, 73, 0.4);
    border-radius: 28px;
    padding: 40px;
    box-shadow:
        0 0 30px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(255, 166, 0, 0.15);
    backdrop-filter: blur(8px);
}

.login-badge {
    width: 90px;
    height: 90px;
    background:
        radial-gradient(circle,
            #ffca6b,
            #7f3b00);
    border-radius: 50%;
    margin: -85px auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #f5cb78;
    box-shadow:
        0 0 20px rgba(255, 196, 86, 0.8);
}

.login-badge i {
    font-size: 42px;
    color: #fff;
}

.login-title {
    text-align: center;
    color: #f5d6a1;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: 'Cinzel', serif;
}

.form-control {
    height: 60px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 202, 107, 0.2);
    border-radius: 14px;
    color: #fff;
    padding-left: 55px;
    font-size: 16px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: #f7c567;
    box-shadow: 0 0 15px rgba(247, 197, 103, 0.3);
    color: #fff;
}

.form-control::placeholder {
    color: #aaa;
}

.input-group-text {
    position: absolute;
    z-index: 10;
    height: 100%;
    border: none;
    background: transparent;
    color: #f3c778;
    width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.btn-login {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 14px;
    background:
        linear-gradient(180deg, #238636, #165c23);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow:
        0 0 15px rgba(21, 255, 0, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 25px rgba(21, 255, 0, 0.7);
}

.divider {
    text-align: center;
    color: #9f8b6d;
    margin: 25px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.social-login {
    display: flex;
    gap: 12px;
}

.social-btn {
    flex: 1;
    height: 52px;
    border-radius: 12px;
    border: none;
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
}

.discord-btn {
    background: #5865F2;
}

.google-btn {
    background: #db4437;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.bottom-links {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.sub {
    color: #d3b27c;
    text-decoration: none;
    font-size: 14px;
}

.bottom-links a {
    color: #d3b27c;
    text-decoration: none;
    font-size: 14px;
}

.bottom-links a:hover {
    color: #fff;
}

@media(max-width: 576px) {

    .login-card {
        padding: 30px 20px;
    }

    .logo-title h1 {
        font-size: 38px;
    }

    .login-title {
        font-size: 26px;
    }

    .social-login {
        flex-direction: column;
    }
}

.captcha-box {
    width: 100%;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg,
            #5f3b18,
            #2d1808);

    color: #f7d28a;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 4px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    text-shadow:
        0 0 10px rgba(255, 200, 100, 0.5);

    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, 0.05),
        0 0 15px rgba(255, 170, 0, 0.15);
}

.wheel-icon {
    width: 80px;
}

.custom-floating .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    height: 58px;
    border-radius: 14px;
    padding-left: 18px;
    backdrop-filter: blur(10px);
}

.custom-floating .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffcc00;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
    color: #fff;
}

.custom-floating label {
    color: rgba(255, 255, 255, 0.7);
    padding-left: 18px;
}

.custom-floating .form-control::placeholder {
    color: transparent;
}

.custom-floating .form-control:focus~label,
.custom-floating .form-control:not(:placeholder-shown)~label {
    color: #ffcc00;
}

.meter {
    height: 8px;
    border-radius: 999px;
    background: #3b3b3b;
    margin-top: 6px;
    overflow: hidden
}

.bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f43f5e, #f59e0b, #10b981);
    transition: width .25s
}

.account-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 18px;
    padding-bottom: 14px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-left {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 14px;
}

.account-left i {
    color: #f6c36b;
}

.account-label {
    color: #bca27a;
}

.account-email {
    color: #fff;
    font-weight: 600;

    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.back-link {
    color: #f6c36b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;

    transition: .3s;
}

.back-link:hover {
    color: #fff;
    transform: translateX(-3px);
}