
.navbar, .footer, header, footer {
    display: none !important;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #040714;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

::selection { background: #2563eb; color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #040714; }
::-webkit-scrollbar-thumb { background: #1d4ed8; border-radius: 3px; }

/* ===== PARTICLES ===== */
#particles-js {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

/* ===== BLUE TEXT ===== */
.blue-text {
    background: linear-gradient(135deg, #60a5fa, #2563eb, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== REG WRAPPER ===== */
.reg-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px 60px;
}

.reg-wrapper::before {
    content: '';
    position: fixed;
    top: -250px; left: -250px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.reg-wrapper::after {
    content: '';
    position: fixed;
    bottom: -250px; right: -250px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(29,78,216,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ===== REG CARD ===== */
.reg-card {
    position: relative;
    width: 100%;
    max-width: 620px;
    background: linear-gradient(165deg, rgba(10,15,35,0.94) 0%, rgba(4,7,20,0.97) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(37,99,235,0.12);
    border-radius: 24px;
    padding: 44px 40px 36px;
    box-shadow:
        0 25px 80px rgba(0,0,0,0.6),
        0 0 80px rgba(37,99,235,0.05),
        inset 0 1px 0 rgba(255,255,255,0.03);
    overflow: hidden;
}

/* Top blue accent line */
.reg-card::before {
    content: '';
    position: absolute;
    top: 0; left: 8%; right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2563eb, #3b82f6, #60a5fa, #3b82f6, #2563eb, transparent);
    border-radius: 0 0 2px 2px;
}

/* Corner glow */
.reg-card::after {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ===== LOGO ===== */
.reg-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.reg-logo-ring {
    position: absolute;
    width: 120px; height: 120px;
    border: 1px solid rgba(37,99,235,0.1);
    border-radius: 50%;
    animation: rRing 4s ease-in-out infinite;
}

.reg-logo-ring:nth-child(2) {
    width: 140px; height: 140px;
    border-color: rgba(37,99,235,0.05);
    animation-delay: 1.5s;
}

@keyframes rRing {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.4; }
}

.reg-logo {
    width: 90px; height: 90px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(37,99,235,0.35);
    box-shadow: 0 0 35px rgba(37,99,235,0.18), 0 0 70px rgba(37,99,235,0.05);
    position: relative; z-index: 2;
    background: #040714;
    padding: 6px;
}

/* ===== TITLE ===== */
.reg-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.reg-subtitle {
    color: #5a6078;
    font-size: 0.82rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

/* ===== ALERTS ===== */
.alert {
    border-radius: 12px;
    font-size: 0.8rem;
    padding: 10px 14px;
    border: none;
    margin-bottom: 16px;
}

.alert-danger {
    background: rgba(239,68,68,0.07);
    border: 1px solid rgba(239,68,68,0.18);
    color: #fca5a5;
}

.alert-danger ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.alert-danger ul li {
    padding: 2px 0;
    font-size: 0.78rem;
}

.alert-danger .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

/* ===== FORM FLOATING INPUTS ===== */
.form-floating {
    position: relative;
    margin-bottom: 0;
}

.form-floating .form-control,
.form-floating .form-select {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.88rem;
    padding: 18px 14px 6px;
    height: 54px;
    transition: all 0.3s ease;
}

.form-floating .form-control:hover,
.form-floating .form-select:hover {
    border-color: rgba(37,99,235,0.2);
}

.form-floating .form-control:focus,
.form-floating .form-select:focus {
    background: rgba(37,99,235,0.04);
    border-color: rgba(37,99,235,0.45);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1), 0 0 20px rgba(37,99,235,0.06);
    outline: none;
    color: #ffffff;
}

.form-floating .form-control::placeholder {
    color: transparent;
}

.form-floating label {
    color: #5a6078;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 18px 14px 0;
    transition: all 0.2s ease;
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
    color: #3b82f6;
    font-size: 0.65rem;
    font-weight: 600;
    /*padding: 6px 14px 0 !important;*/
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Readonly field — sponsor name */
.form-floating .form-control[readonly] {
    background: rgba(37,99,235,0.03);
    border-color: rgba(37,99,235,0.12);
    color: #3b82f6;
    cursor: default;
}

.form-floating .form-control[readonly] ~ label {
    color: rgba(37,99,235,0.5);
    font-size: 0.65rem;
    font-weight: 600;
    /*padding: 6px 14px 0;*/
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Select styling */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234a5568' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-size: 14px 10px;
    padding-right: 32px !important;
}

.form-select option {
    background: #0a0f23;
    color: #ffffff;
}

/* Input group for phone */
.phone-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.phone-group .form-select {
    flex: 0 0 auto;
    width: 110px !important;
    min-width: 110px;
}

.phone-group .form-floating {
    flex: 1;
}

/* Password toggle */
.pw-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #3a4060;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    z-index: 5;
    background: none;
    border: none;
    padding: 4px;
}

.pw-toggle:hover {
    color: #3b82f6;
}

/* Error state on sponsor */
.form-control.error {
    border-color: rgba(239,68,68,0.5) !important;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.08) !important;
}

/* Sponsor valid msg inline */
#sponsorMsg b {
    font-size: 0.72rem;
    font-weight: 600;
}

/* Mobile msg */
#mob {
    font-size: 0.72rem;
    margin-top: 4px;
    min-height: 18px;
}

/* ===== FORM SECTION DIVIDERS ===== */
.form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 14px;
}

.form-divider span {
    font-size: 0.65rem;
    color: rgba(37,99,235,0.6);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    white-space: nowrap;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0.1), transparent);
}

/* ===== TERMS CHECKBOX ===== */
.terms-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0;
}

.terms-checkbox {
    display: none;
}

.terms-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(37,99,235,0.3);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    margin-top: 1px;
    background: rgba(37,99,235,0.03);
}

.terms-box:hover {
    border-color: rgba(37,99,235,0.5);
    background: rgba(37,99,235,0.06);
}

.terms-checkbox:checked + .terms-box {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #2563eb;
    box-shadow: 0 0 12px rgba(37,99,235,0.3);
}

.terms-checkbox:checked + .terms-box::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms-label-text {
    color: #5a6078;
    font-size: 0.82rem;
    cursor: pointer;
    line-height: 1.4;
}

.terms-label-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.terms-label-text a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* ===== REGISTER BUTTON ===== */
.btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #60a5fa, #2563eb, #1d4ed8);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(37,99,235,0.35);
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.6s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 45px rgba(37,99,235,0.5);
    color: #ffffff;
}

.btn-register:hover::before {
    left: 100%;
}

.btn-register:active {
    transform: translateY(0);
}

/* ===== LOGIN LINK ===== */
.login-link {
    color: #5a6078;
    font-size: 0.85rem;
}

.login-link a {
    color: #3b82f6;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.login-link a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.login-link a:hover {
    color: #60a5fa;
}

.login-link a:hover::after {
    width: 100%;
}

/* ===== BOTTOM BRANDING ===== */
.reg-branding {
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.reg-branding p {
    color: #2d3348;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.reg-branding .brand-name {
    color: rgba(37,99,235,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
    .reg-card {
        padding: 32px 20px 24px;
        border-radius: 20px;
    }

    .reg-logo {
        width: 76px; height: 76px;
    }

    .reg-logo-ring { width: 100px; height: 100px; }
    .reg-logo-ring:nth-child(2) { width: 118px; height: 118px; }

    .reg-title { font-size: 1.3rem; }

    .phone-group {
        flex-direction: column;
    }

    .phone-group .form-select {
        width: 100% !important;
        min-width: unset;
        height: 48px;
    }

    .form-floating .form-control,
    .form-floating .form-select {
        height: 50px;
        font-size: 0.85rem;
    }

    .btn-register {
        padding: 13px;
        font-size: 0.85rem;
    }
}


.terms-checkbox {
  display: none;
}

.terms-box {
  width: 20px;
  height: 20px;
  border: 2px solid #555;
  display: inline-block;
  cursor: pointer;
  margin-right: 8px;
  vertical-align: middle;
}

.terms-checkbox:checked + .terms-box {
  background: #007bff;
  border-color: #007bff;
}

.terms-checkbox:checked + .terms-box::after {
  /*content: "✓";*/
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}