/* ===== Register page — InfernoWoW ===== */

/* Hide wall slider (development banner) on register page */
.section-wall { display: none !important; }

.reg-page {
    padding: 1.5rem 0 4rem;
    width: 100%;
}

/* ── Two-column card ── */
.reg-card {
    display: flex;
    border: 1px solid #4a2510;
    border-radius: 6px;
    overflow: hidden;
    background: #0d0501;
    box-shadow: 0 0 60px rgba(180,60,5,0.15), 0 0 120px rgba(100,30,0,0.1);
    max-width: 920px;
    margin: 0 auto;
    min-height: 560px;
}

/* ── Left art panel ── */
.reg-art {
    flex: 0 0 40%;
    position: relative;
    background-color: #1a0800;
    background-size: cover;
    background-position: center top;
}

.reg-art-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.75rem;
}

.reg-art-tagline {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: #d4962a;
    text-shadow: 0 0 18px rgba(200,120,10,0.6), 0 0 40px rgba(150,70,5,0.3);
    line-height: 1.7;
    text-wrap: wrap !important;
}

.reg-art-divider {
    width: 36px;
    height: 1px;
    background: linear-gradient(to right, #c07020, transparent);
    margin-bottom: 0.7rem;
}

/* ── Right form panel ── */
.reg-form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #3a1a08;
    background: linear-gradient(180deg, #100703 0%, #0a0400 100%);
}

.reg-inner {
    padding: 2.2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
}

/* ── Header ── */
.reg-eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    color: #9a5f22;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    text-wrap: wrap !important;
}

.reg-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e8b050;
    text-shadow: 0 0 18px rgba(200,130,20,0.5);
    letter-spacing: 0.05em;
    margin: 0 0 0.25rem;
    line-height: 1.2;
    text-wrap: wrap !important;
}

.reg-sub {
    font-size: 0.84rem;
    color: #6a4828;
    margin-bottom: 1.4rem;
    text-wrap: wrap !important;
}

.reg-sub .reg-accent {
    color: #c07830;
    font-weight: 600;
}

/* ── Input fields ── */
.reg-field {
    margin-bottom: 0.6rem;
}

.reg-input-row {
    display: flex;
    align-items: center;
    background: rgba(8,3,1,0.75);
    border: 1px solid #3a1a08;
    border-radius: 4px;
    transition: border-color .18s, box-shadow .18s;
}

.reg-input-row:focus-within {
    border-color: #7a4010;
    box-shadow: 0 0 0 2px rgba(180,80,10,0.14);
}

.reg-field-icon {
    flex-shrink: 0;
    margin-left: 0.7rem;
    color: #5a2e0e;
    pointer-events: none;
}

.reg-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #c8a060 !important;
    font-size: 0.88rem;
    padding: 0.6rem 0.7rem !important;
    line-height: 1.4;
    min-width: 0;
}

.reg-input::placeholder {
    color: #4a2808 !important;
}

.reg-input:focus {
    background: transparent !important;
    box-shadow: none !important;
}

.reg-valid-icon {
    flex-shrink: 0;
    margin-right: 0.45rem;
    display: flex;
    align-items: center;
    min-width: 20px;
}

.reg-valid-icon img {
    width: 15px;
    height: 15px;
}

/* ── Rules ── */
.reg-rules-wrap {
    margin: 0.6rem 0 0.5rem;
}

.reg-rules-sep {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6a4020;
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
    text-wrap: wrap !important;
}

.reg-rules-sep::before,
.reg-rules-sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #3a1a08;
}

.reg-rules-box {
    background: rgba(4,1,0,0.7);
    border: 1px solid #3a1a08;
    border-radius: 4px;
    padding: 0.7rem 0.9rem;
    max-height: 120px;
    overflow-y: auto;
    font-size: 0.79rem;
    color: #7a5535;
    line-height: 1.65;
    scrollbar-width: thin;
    scrollbar-color: #4a2510 #080200;
    text-wrap: wrap !important;
    white-space: normal !important;
}

.reg-rules-box p {
    margin: 0 0 0.45rem;
    color: #8a6040;
}

.reg-rules-box strong {
    color: #b87830;
}

.reg-rules-box ul {
    margin: 0;
    padding-left: 1.15rem;
}

.reg-rules-box ul li {
    margin-bottom: 0.18rem;
}

.reg-rules-box::-webkit-scrollbar       { width: 4px; }
.reg-rules-box::-webkit-scrollbar-track { background: #080200; }
.reg-rules-box::-webkit-scrollbar-thumb { background: #4a2510; border-radius: 2px; }

.reg-rule-title {
    color: #c07830 !important;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0.65rem 0 0.2rem !important;
    padding-top: 0.5rem;
    border-top: 1px solid #2a1005;
    text-wrap: wrap !important;
}

.reg-rule-title:first-child {
    border-top: none;
    margin-top: 0 !important;
    padding-top: 0;
}

/* ── Captcha ── */
.reg-captcha {
    margin-bottom: 0.6rem;
}

/* ── Agree checkbox ── */
.reg-agree {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.65rem 0 0.9rem;
    cursor: pointer;
}

.reg-agree input[type="checkbox"] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #c07830;
    cursor: pointer;
}

.reg-agree-text {
    font-size: 0.78rem;
    color: #6a4828;
    line-height: 1.45;
    text-wrap: wrap !important;
}

/* ── Submit button ── */
.reg-submit {
    width: 100%;
    background: linear-gradient(180deg, #c07020 0%, #8a4c10 55%, #6a3a0a 100%);
    color: #f5dfa0;
    border: 1px solid #b86818;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.72rem 1rem;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, color .2s;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    box-shadow: 0 0 14px rgba(180,80,10,0.28);
}

.reg-submit:hover {
    background: linear-gradient(180deg, #d48020 0%, #a05c18 55%, #7a4510 100%);
    box-shadow: 0 0 24px rgba(200,100,10,0.45);
    color: #fff8e0;
}

/* ── Login link ── */
.reg-login-link {
    text-align: center;
    font-size: 0.78rem;
    color: #4a3018;
    margin-top: 1rem;
}

.reg-login-link a {
    color: #b07030;
    text-decoration: none;
}

.reg-login-link a:hover {
    color: #d08840;
    text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .reg-card       { flex-direction: column; }
    .reg-art        { min-height: 180px; flex: 0 0 auto; }
    .reg-art::after { background: linear-gradient(to bottom, rgba(5,2,0,0.1) 0%, rgba(13,5,1,0.92) 100%); }
    .reg-form-col   { border-left: none; border-top: 1px solid #3a1a08; }
    .reg-inner      { padding: 1.5rem 1.25rem 1.25rem; }
}
