.reg {
    width: min(1180px, calc(100% - 32px));
    margin: 12px auto 8px;
}

.reg-head {
    text-align: center;
    margin-bottom: 22px;
}

.reg-head h1 {
    margin: 0;
    font-family: "Rye", serif;
    font-weight: 400;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.08;
    background: linear-gradient(180deg, #fff6d0 10%, #f0c14b 46%, #c8881a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 3px 0 rgba(74, 32, 8, 0.85));
}

.reg-head p {
    margin: 14px auto 0;
    max-width: 58ch;
    color: rgba(255, 246, 232, 0.92);
    font-size: 1.05rem;
    line-height: 1.6;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

.reg-ticket {
    border-radius: 28px;
    padding: 14px;
    background: repeating-linear-gradient(90deg, #8e1228 0 18px, #f6f0e4 18px 36px);
    box-shadow: var(--shadow);
}

.reg-stripe {
    display: none;
}

.reg-card {
    background: rgba(12, 8, 14, 0.92);
    border-radius: 18px;
    padding: 28px 26px 32px;
}

.reg form,
.reg .container,
.reg .signup-content,
.reg .signup-form,
.reg .register-form,
.reg .form-group,
.reg .form-input,
.reg .form-radio,
.reg .form-radio-group,
.reg .select-list,
.reg .label-flex,
.reg .mb-3,
.reg .form-row,
.reg .form-submit {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    background: transparent;
}

.reg .form-input,
.reg .mb-3,
.reg .form-radio {
    margin-bottom: 18px;
}

.reg label {
    display: block;
    width: auto;
    margin: 0 0 8px;
    color: var(--cream);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.4;
}

.reg label.required::after {
    content: " *";
    color: var(--gold);
}

.reg .hint {
    display: block;
    margin: -4px 0 8px;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 246, 232, 0.55);
}

.reg input[type="text"],
.reg input[type="email"],
.reg input[type="number"],
.reg select,
.reg input[type="file"] {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid rgba(240, 193, 75, 0.4);
    background: #fffaf2;
    color: #2a140c;
    border-radius: 12px;
    padding: 14px 16px;
    font: 500 15px/1.3 "Outfit", "Segoe UI", sans-serif;
}

.reg input::placeholder {
    color: rgba(42, 20, 12, 0.45);
}

.reg input[type="text"]:focus,
.reg input[type="email"]:focus,
.reg input[type="number"]:focus,
.reg select:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
}

.reg input[type="number"]::-webkit-outer-spin-button,
.reg input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.reg input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.reg select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23c8881a' d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.reg input[type="file"] {
    color: #2a140c;
    font-size: 0.92rem;
}

.reg input[type="file"]::file-selector-button {
    margin-right: 14px;
    border: 0;
    border-radius: 999px;
    background: #f0c14b;
    color: #3a2204;
    font-family: inherit;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 16px;
    cursor: pointer;
}

.reg .form-radio-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.reg .form-radio-item {
    position: relative;
    width: 100%;
}

.reg .form-radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.reg .form-radio-item label {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 14px 16px 14px 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 236, 196, 0.28);
    background: rgba(255, 246, 232, 0.06);
    cursor: pointer;
    font-weight: 600;
}

.reg .form-radio-item input[type="radio"]:checked + label {
    background: #f0c14b;
    color: #3a2204;
    border-color: #f0c14b;
}

.reg .form-radio-item input[type="radio"]:focus-visible + label {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.reg .check {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 2px solid var(--gold);
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.reg .check::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: transparent;
}

.reg .form-radio-item input[type="radio"]:checked ~ .check {
    border-color: #3a2204;
}

.reg .form-radio-item input[type="radio"]:checked ~ .check::before {
    background: #3a2204;
}

.reg .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 8px;
}

.reg .childsnamefield {
    margin-right: 0;
}

.FDRGHiddenConts {
    display: none;
}

.reg .form-submit {
    display: block;
    margin-top: 22px;
}

#RegisterBTNSbmit {
    display: none;
    width: 100%;
}

@media (max-width: 720px) {
    .reg-card { padding: 22px 16px 26px; }
}

.loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.loader-label {
    margin: 0;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.success-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.success-modal.is-visible {
    opacity: 1;
    visibility: visible;
}

.success-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 8, 18, 0.88);
    cursor: pointer;
}

.success-ticket {
    position: relative;
    width: min(440px, 100%);
    padding: 12px;
    border-radius: 28px;
    background: repeating-linear-gradient(90deg, #8e1228 0 16px, #f6f0e4 16px 32px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
    transform: translateY(18px) scale(0.96);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.success-modal.is-visible .success-ticket {
    transform: translateY(0) scale(1);
}

.success-card {
    position: relative;
    background: #120c12;
    border-radius: 18px;
    padding: 28px 24px 26px;
    text-align: center;
}

.success-card::before,
.success-card::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #8e1228;
    transform: translateY(-50%);
}

.success-card::before { left: -11px; }
.success-card::after { right: -11px; }

.success-seal {
    width: 76px;
    height: 76px;
    margin: 0 auto 12px;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.45));
}

.success-seal svg {
    display: block;
    width: 100%;
    height: 100%;
}

.success-card .kicker {
    margin-bottom: 6px;
}

.success-card h2 {
    margin: 0;
    font-family: "Rye", serif;
    font-size: clamp(2rem, 6vw, 2.6rem);
    font-weight: 400;
    line-height: 1.1;
    background: linear-gradient(180deg, #fff6d0 10%, #f0c14b 46%, #c8881a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 rgba(74, 32, 8, 0.85));
}

.success-card p {
    margin: 14px auto 0;
    max-width: 34ch;
    color: rgba(255, 246, 232, 0.92);
    font-size: 1.02rem;
    line-height: 1.55;
}

.success-card p strong {
    color: var(--gold);
}

.success-note {
    color: rgba(255, 246, 232, 0.62) !important;
    font-size: 0.92rem !important;
}

.success-card .btn {
    width: 100%;
    margin-top: 22px;
}
