.reg-container {
    max-width: 700px;
    margin: 30px auto;
    font-family: "Inter", "Segoe UI", Roboto, sans-serif;
}

.reg-card {
    background:
        radial-gradient(circle at 50% -10%, rgba(224, 184, 74, 0.10), transparent 60%),
        #15110d;
    border: 1px solid rgba(201, 162, 39, 0.30);
    border-radius: 4px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    color: #ece4d3;
    position: relative;
    overflow: hidden;
}
.reg-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #ab8226, #e0b84a, #ab8226);
}

.reg-header { text-align: center; margin-bottom: 30px; }
.reg-header h2 {
    font-family: "Cinzel", serif;
    font-size: 1.9rem;
    font-weight: 600;
    color: #e0b84a;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.server-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(201, 162, 39, 0.10);
    border: 1px solid rgba(201, 162, 39, 0.30);
    border-radius: 20px;
    color: #e0b84a;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.error-box {
    background: rgba(184, 64, 47, 0.08);
    border: 1px solid rgba(184, 64, 47, 0.35);
    padding: 15px;
    margin-bottom: 26px;
    border-radius: 3px;
    color: #d98a78;
    font-size: 14px;
}
.error-box ul { margin: 8px 0 0; padding-left: 20px; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #948c7a;
    transition: color 0.3s;
}
.form-group:focus-within label { color: #e0b84a; }

.form-control {
    width: 100%;
    padding: 13px 16px;
    background: #0b0908;
    border: 1px solid rgba(201, 162, 39, 0.30);
    border-radius: 3px;
    color: #ece4d3;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.form-control:focus {
    outline: none;
    border-color: #e0b84a;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}
.form-control::placeholder { color: #6b6459; }

.status-feedback { font-size: 12px; margin-top: 6px; min-height: 18px; color: #948c7a; }

.captcha-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.captcha-img { border-radius: 3px; border: 1px solid rgba(201, 162, 39, 0.30); background: #fff; }

.rules-title {
    font-family: "Cinzel", serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #e0b84a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rules-box {
    background: #0b0908;
    border: 1px solid rgba(201, 162, 39, 0.20);
    border-radius: 3px;
    padding: 20px;
    height: 250px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.7;
    color: #b0a894;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #ab8226 transparent;
}
.rules-box::-webkit-scrollbar { width: 6px; }
.rules-box::-webkit-scrollbar-thumb { background: #ab8226; border-radius: 10px; }
.rules-section { margin-bottom: 15px; }
.rules-section h4 {
    color: #ece4d3;
    margin: 0 0 5px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
    padding-bottom: 3px;
    font-family: "Cinzel", serif;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    padding: 12px;
    background: rgba(201, 162, 39, 0.04);
    border-radius: 3px;
    border: 1px solid rgba(201, 162, 39, 0.15);
    transition: background 0.3s;
}
.checkbox-group:hover { background: rgba(201, 162, 39, 0.08); }
.checkbox-group input {
    width: 18px; height: 18px;
    cursor: pointer;
    accent-color: #ab8226;
}

.actions { display: flex; gap: 14px; margin-top: 30px; }
.btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 3px;
    font-family: "Cinzel", serif;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.btn-submit {
    background: #ab8226;
    color: #14100a;
}
.btn-submit:hover { background: #e0b84a; transform: translateY(-1px); }
.btn-cancel {
    background: #2a2a2a;
    color: #ece4d3;
    border: 1px solid rgba(201, 162, 39, 0.20);
}
.btn-cancel:hover { background: #3d3d3d; }

@media (max-width: 600px) {
    .reg-card { padding: 25px; }
    .actions { flex-direction: column; }
    .captcha-row { flex-direction: column; align-items: stretch; }
}