/* ========================================
   JOIN PAGE — CSS
   ======================================== */

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

:root {
    --cyan: #06B6D4;
    --purple: #8B5CF6;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0F172A;
    color: #fff;
}

/* ===== JOIN PAGE ===== */
.join-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 20% 30%, #0F172A, #050b16);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.join-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://dr-fast-upload.pages.dev/public/dde20e21d33e.jpg') center/cover no-repeat;
    opacity: 0.08;
    z-index: 0;
}

.join-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
}

.join-card {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 28px;
    padding: 40px 36px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* ===== HEADER ===== */
.join-header {
    text-align: center;
    margin-bottom: 32px;
}

.join-header .logo-icon {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 8px;
}

.join-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.join-header p {
    color: #8aa0d0;
    font-size: 0.95rem;
    margin-top: 4px;
}

/* ===== FORM STEPS ===== */
.form-step {
    display: none;
    animation: fadeSlideIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeSlideIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 6px;
}

.form-step .step-sub {
    color: #6a84b0;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    color: #b0c6f0;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.form-group input::placeholder {
    color: #4a5a7a;
}

.form-group .input-hint {
    color: #4a5a7a;
    font-size: 0.75rem;
    margin-top: 4px;
}

/* ===== OTP ===== */
.otp-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.otp-row input {
    flex: 1;
}

.btn-otp {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 14px 20px;
    border-radius: 14px;
    color: var(--cyan);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
}

.btn-otp:hover {
    background: rgba(6, 182, 212, 0.25);
    border-color: var(--cyan);
}

.btn-otp:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.otp-timer {
    color: #4a5a7a;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 8px;
}

/* ===== BUTTONS ===== */
.btn-join {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
    font-family: 'Inter', sans-serif;
    margin-top: 8px;
}

.btn-join:hover {
    transform: scale(1.02);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
}

.btn-back {
    background: transparent;
    border: none;
    color: #6a84b0;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.3s;
    margin-top: 12px;
    font-family: 'Inter', sans-serif;
    display: block;
    width: 100%;
    text-align: center;
}

.btn-back:hover {
    color: var(--cyan);
}

/* ===== SUCCESS ===== */
.success-message {
    text-align: center;
    padding: 20px 0;
}

.success-message i {
    font-size: 4rem;
    color: #66d9a0;
    margin-bottom: 16px;
}

.success-message h3 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    font-size: 1.4rem;
}

.success-message p {
    color: #8aa0d0;
    margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .join-card {
        padding: 28px 20px;
    }
    .join-header h1 {
        font-size: 1.4rem;
    }
    .otp-row {
        flex-direction: column;
    }
    .btn-otp {
        width: 100%;
        justify-content: center;
    }
}