/* register.css - Neon Modern Register Styles */

/* Social Proof & Urgency */
.register-social-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.1rem;
    gap: 0.5rem;
    font-size: 1.07rem;
}
.register-player-count {
    color: #ff80ff;
    font-weight: 600;
    font-size: 1.08rem;
}
.register-join-today {
    color: #fff;
    background: linear-gradient(90deg, #8707ff 0%, #ff00ff 100%);
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    font-size: 1.04rem;
    margin: 0.3rem 0;
    box-shadow: 0 2px 10px #ff00ff22;
}
.register-banner {
    color: #fff;
    background: #222;
    padding: 0.25rem 0.9rem;
    border-radius: 5px;
    font-size: 0.98rem;
    margin: 0.2rem 0;
    letter-spacing: 0.5px;
}
.register-offer {
    color: #fff;
    font-size: 1.07rem;
    font-weight: 500;
    background: linear-gradient(90deg, #ff00ff 0%, #8707ff 100%);
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    margin: 0.2rem 0 0.6rem 0;
    box-shadow: 0 2px 10px #ff00ff33;
}
.badge {
    background: #ff00ff;
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.98em;
    font-weight: 600;
    margin-left: 0.2em;
}

/* Social Register Buttons */
.social-register-group {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    margin: 1.1rem 0 0.6rem 0;
    align-items: center;
    justify-content: center;
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 38px;
    width: auto;
    font-size: 1.07rem;
    font-weight: 600;
    padding: 0.54rem 1.2rem 0.54rem 1.1rem;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.18s, background 0.18s, transform 0.13s, color 0.15s;
    box-shadow: 0 2px 13px 0 #ff00ff1a;
    outline: none;
    letter-spacing: 0.4px;
    text-align: center;
    vertical-align: middle;
    position: relative;
    z-index: 1;
    margin-bottom: 0.1rem;
    color: #fff !important;
}
.social-btn i {
    font-size: 1rem;
    margin-right: 0.5rem;
    color: #fff !important;
}
.google-btn {
    background: linear-gradient(90deg, #ea4335 0%, #4285f4 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 2px 13px 0 #4285f422;
}
.google-btn:hover, .google-btn:focus {
    background: linear-gradient(90deg, #4285f4 0%, #ea4335 100%);
    color: #fff !important;
    box-shadow: 0 4px 18px #4285f444;
    transform: translateY(-2px) scale(1.04);
}
.facebook-btn {
    background: linear-gradient(90deg, #1877f2 0%, #4267b2 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 2px 13px 0 #1877f222;
}
.facebook-btn:hover, .facebook-btn:focus {
    background: linear-gradient(90deg, #4267b2 0%, #1877f2 100%);
    color: #fff !important;
    box-shadow: 0 4px 18px #1877f244;
    transform: translateY(-2px) scale(1.04);
}
.discord-btn-alt {
    background: linear-gradient(90deg, #5865F2 0%, #7b5cff 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 2px 13px 0 #5865F222;
}
.discord-btn-alt:hover, .discord-btn-alt:focus {
    background: linear-gradient(90deg, #7b5cff 0%, #5865F2 100%);
    color: #fff !important;
    box-shadow: 0 4px 20px #5865F277;
    transform: translateY(-2px) scale(1.04);
}

.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);
}

/* Registration Progress Bar */
.register-progress {
    margin: 1.1rem 0 0.6rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.progress-bar {
    width: 95%;
    height: 14px;
    background: #222;
    border-radius: 8px;
    box-shadow: 0 1px 7px #ff00ff33;
    margin-bottom: 0.2rem;
    position: relative;
    overflow: hidden;
}
#register-progress-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.95em;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Registration Reward */
.register-reward {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    color: #fff;
    background: linear-gradient(90deg, #1a0022 60%, #8707ff 100%);
    border-radius: 8px;
    padding: 0.65em 1.3em;
    font-size: 1.14em;
    font-weight: 600;
    margin: 1.1em 0 0.4em 0;
    box-shadow: 0 3px 18px #ff00ff33, 0 1.5px 8px #8707ff22;
    border: 1.5px solid #8707ff55;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 2;
    transition: box-shadow 0.18s, background 0.18s, border 0.13s;
}
.register-reward .badge {
    background: #ff00ff;
    color: #fff;
    padding: 2px 9px;
    border-radius: 7px;
    font-size: 1em;
    font-weight: 700;
    margin-left: 0.28em;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 9px #ff00ff33;
}
.register-reward i.fas.fa-gift {
    color: #ffb300;
    font-size: 1.2em;
    margin-right: 0.5em;
    filter: drop-shadow(0 1px 2px #ff00ff66);
}


/* Input Hints and Live Validation */
.input-hint {
    color: #bdb3d3;
    font-size: 0.93em;
    margin-top: 2px;
    margin-bottom: 2px;
}
.optional {
    color: #aaa;
    font-size: 0.92em;
    font-style: italic;
    margin-left: 0.2em;
}
.live-error {
    color: #ff0077;
    font-size: 0.92em;
    margin-top: 2px;
    min-height: 16px;
}
.password-strength {
    margin-top: 2px;
    font-size: 0.93em;
    font-weight: 500;
}
.password-strength.weak { color: #ff0077; }
.password-strength.medium { color: #ffb300; }
.password-strength.strong { color: #00ffb3; }


body {
    min-height: 100vh;
    font-family: 'Montserrat', Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Background overlay */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.12;
    z-index: -1;
    animation: backgroundScroll 60s linear infinite;
}

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

/* Wrapper for alignment */
.register-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

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

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

/* Subtitle */
.register-subtitle {
    text-align: center;
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.85;
}

/* Container */
.register-container {
    max-width: 480px;
    width: 100%;
    background: rgba(20, 20, 40, 0.97);
    border-radius: 20px;
    box-shadow: 0 0 36px rgba(255, 0, 255, 0.17);
    padding: 1.5rem 2.2rem 2.2rem 2.2rem;
    color: #fff;
    animation: fadeIn 0.7s;
}

/* Form structure */
.register-container form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

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

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

.register-container input[type="text"],
.register-container input[type="password"],
.register-container input[type="email"] {
    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;
}

.register-container input:focus {
    border-color: #ff00ff;
    box-shadow: 0 0 12px #ff00ff;
}

/* Button */
.register-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;
}

.register-container button:hover,
.register-container button: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;
}

/* Errors */
.register-container .error {
    color: #ff0077;
    font-size: 0.96em;
    margin-top: 4px;
    text-shadow: 0 0 6px #ff007788;
}

/* Link below form */
.register-container p {
    text-align: center;
    margin-top: 1.5rem;
    color: #e0e0e0;
}

.register-container a {
    color: #ff80ff;
    text-decoration: underline;
    transition: color 0.2s;
}
.register-container a:hover {
    color: #ff00ff;
}

@media (max-width: 600px) {
    .register-wrapper {
        padding: 1.1rem 0.2rem;
        min-height: 100vh;
        justify-content: flex-start;
    }
    .register-logo img {
        height: 80px;
        margin-left: 0;
    }
    .register-title {
        font-size: 1.1rem;
        margin-top: 1.2rem;
        margin-bottom: 0.5rem;
        text-align: center;
        line-height: 1.2;
    }
    .register-container {
        max-width: 98vw;
        width: 100%;
        padding: 1.1rem 0.2rem 1.2rem 0.2rem;
        margin: 18px auto;
        border-radius: 14px;
        box-shadow: 0 0 12px rgba(255,0,255,0.10);
    }
    .register-container label,
    .register-container input,
    .register-container button {
        font-size: 1rem;
    }
    .register-container input[type="text"],
    .register-container input[type="password"],
    .register-container input[type="email"] {
        padding: 10px 8px;
        font-size: 1rem;
        border-radius: 7px;
    }
    .register-container .form-group {
        margin-bottom: 0.9rem;
    }
    .register-container button[type="submit"] {
        font-size: 1rem;
        padding: 11px 0;
        border-radius: 7px;
        margin-top: 6px;
    }
    .register-container a {
        font-size: 0.98em;
    }
}

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