/* Monster Tombola - Step 1 (identification)
   Geometry mirrors monster-template/monster/index.html (393 x 953 phone canvas).
   Every rule is scoped to .mt-step1 so generic names cannot collide elsewhere. */

.mt-step1 *,
.mt-step1 *::before,
.mt-step1 *::after {
    box-sizing: border-box;
}

body.mt-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background: #101010;
    font-family: "Poppins", "Cairo", sans-serif;
    font-size: 14px;
    color: #111;
}

.mt-step1 {
    --green: #AEC90B;
    --black: #0d0d0d;
    --ray: #1b1b1b;
    --field: #dfe5dc;
    --muted: #9aa19c;
    --error: #d33c3c;
    position: relative;
    width: min(100vw, 393px);
    min-height: 953px;
    overflow: hidden;
    background: #fff;
    font-family: "Poppins", "Cairo", sans-serif;
    font-size: 14px;
    color: #111;
}

/* ---------- hero ---------- */
.mt-step1 .hero {
    position: relative;
    height: 542px;
    padding: 30px 20px 0;
    overflow: hidden;
    text-align: center;
    color: #fff;
    background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.28)),
                repeating-conic-gradient(from -4deg at 50% 46%, #0d0d0d 0deg 10deg, var(--ray) 10deg 20deg);
}

.mt-step1 .decor {
    position: absolute;
    left: -61px;
    top: -160px;
    width: 516px;
    height: 402px;
    object-fit: contain;
    pointer-events: none;
}

.mt-step1 .lang-btn {
    position: absolute;
    top: 30px;
    right: 33px;
    z-index: 2;
    min-width: 60px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--green);
    border-radius: 70px;
    background: var(--black);
    color: #fff;
    font: 900 14px "Poppins", "Cairo", sans-serif;
    cursor: pointer;
}

.mt-step1 .purchase-top {
    position: relative;
    z-index: 1;
    margin: 92px auto 24px;
    max-width: 320px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 0 rgba(0,0,0,.28);
}

.mt-step1 .logo-stack {
    position: relative;
    z-index: 1;
    width: 231px;
    height: 150px;
    margin: 0 auto 24px;
}

.mt-step1 .claw-logo {
    display: block;
    width: 116px;
    height: 100px;
    margin: 0 auto;
    object-fit: contain;
}

.mt-step1 .brand-text {
    margin-top: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: .9;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow: 0 2px 0 #000;
}

.mt-step1 .brand-text span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .42em;
    text-indent: .42em;
}

.mt-step1 .steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 117px 106px 107px;
    gap: 10px;
    justify-content: center;
    margin: 0 auto 20px;
}

.mt-step1 .step {
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(2px);
}

.mt-step1 .step-num {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-bottom: 6px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.mt-step1 .step-label {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
}

.mt-step1 .purchase-bottom {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 350px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.32;
    text-shadow: 0 2px 0 rgba(0,0,0,.32);
}

/* ---------- form panel ---------- */
.mt-step1 .form-panel {
    position: relative;
    min-height: 440px;
    margin-top: -34px;
    padding: 58px 20px 28px;
    border-radius: 35px 35px 0 0;
    background: #fff;
    text-align: center;
}

.mt-step1 .badge {
    position: absolute;
    left: 50%;
    top: -19px;
    min-width: 209px;
    height: 38px;
    display: grid;
    place-items: center;
    transform: translateX(-50%);
    padding: 0 14px;
    border-radius: 90px;
    background: var(--green);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 0 18px rgba(174,201,11,.38);
}

.mt-step1 .form-title {
    margin: 0 auto 28px;
    max-width: 340px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.42;
}

.mt-step1 .field {
    display: block;
    width: 100%;
    height: 50px;
    margin-bottom: 10px;
    padding: 0 18px;
    border: 1px solid var(--field);
    border-radius: 10px;
    background: #fff;
    color: #111;
    font: 400 14px "Poppins", "Cairo", sans-serif;
    outline: 0;
}

.mt-step1 .field::placeholder {
    color: var(--muted);
}

.mt-step1 .field:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(174,201,11,.18);
}

.mt-step1 .field.input-validation-error {
    border-color: var(--error);
}

.mt-step1 .terms-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 30px 0 20px;
    text-align: left;
}

.mt-step1 .terms {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    margin: 0;
    accent-color: var(--green);
    cursor: pointer;
}

.mt-step1 .terms-label {
    flex: 1;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    cursor: pointer;
}

.mt-step1 .terms-label a {
    color: inherit;
    text-decoration: underline;
}

.mt-step1 .next {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 10px;
    background: #d7d7d7;
    color: #fff;
    font: 900 14px "Poppins", "Cairo", sans-serif;
    cursor: not-allowed;
}

.mt-step1.checked .next {
    background: var(--green);
    cursor: pointer;
}

/* ---------- server / client validation ---------- */
.mt-step1 .validation-summary-errors,
.mt-step1 .field-error {
    display: block;
    margin: 0 0 10px;
    color: var(--error);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-align: left;
}

.mt-step1 .validation-summary-errors {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(211,60,60,.08);
}

.mt-step1 .validation-summary-errors ul {
    margin: 0;
    padding-inline-start: 18px;
}

.mt-step1 .validation-summary-valid {
    display: none;
}

.mt-step1 .field-error:empty {
    display: none;
}

.mt-step1 .terms-error {
    display: none;
    margin: -10px 0 14px;
    color: var(--error);
    font-size: 13px;
    font-weight: 800;
    text-align: left;
}

.mt-step1.terms-missing .terms-error {
    display: block;
}

/* ---------- footer ---------- */
.mt-step1 .footer {
    min-height: 35px;
    padding: 9px 18px;
    background: #141414;
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 1.45;
}

.mt-step1 .footer a {
    color: inherit;
    text-decoration: none;
}

.mt-step1 .footer a:hover {
    text-decoration: underline;
}

/* ---------- Arabic ---------- */
.mt-step1.ar {
    direction: rtl;
}

.mt-step1.ar .lang-btn {
    right: auto;
    left: 33px;
}

.mt-step1.ar .field,
.mt-step1.ar .terms-row,
.mt-step1.ar .validation-summary-errors,
.mt-step1.ar .field-error,
.mt-step1.ar .terms-error {
    text-align: right;
}

/* ---------- responsive scaling below the 393px canvas ---------- */
@media (max-width: 392px) {
    .mt-step1 { min-height: calc(100vw * 953 / 393); }
    .mt-step1 .hero { height: calc(100vw * 542 / 393); padding: calc(100vw * 30 / 393) calc(100vw * 20 / 393) 0; }
    .mt-step1 .decor { left: calc(100vw * -61 / 393); top: calc(100vw * -160 / 393); width: calc(100vw * 516 / 393); height: calc(100vw * 402 / 393); }
    .mt-step1 .lang-btn { top: calc(100vw * 30 / 393); right: calc(100vw * 33 / 393); height: calc(100vw * 28 / 393); font-size: calc(100vw * 14 / 393); }
    .mt-step1.ar .lang-btn { right: auto; left: calc(100vw * 33 / 393); }
    .mt-step1 .purchase-top { margin-top: calc(100vw * 92 / 393); font-size: calc(100vw * 14 / 393); }
    .mt-step1 .logo-stack { width: calc(100vw * 231 / 393); height: calc(100vw * 150 / 393); margin-bottom: calc(100vw * 24 / 393); }
    .mt-step1 .claw-logo { width: calc(100vw * 116 / 393); height: calc(100vw * 100 / 393); }
    .mt-step1 .brand-text { font-size: calc(100vw * 14 / 393); }
    .mt-step1 .brand-text span { font-size: calc(100vw * 14 / 393); }
    .mt-step1 .steps { grid-template-columns: calc(100vw * 117 / 393) calc(100vw * 106 / 393) calc(100vw * 107 / 393); gap: calc(100vw * 10 / 393); }
    .mt-step1 .step { height: calc(100vw * 80 / 393); }
    .mt-step1 .step-num { width: calc(100vw * 34 / 393); height: calc(100vw * 34 / 393); font-size: calc(100vw * 14 / 393); }
    .mt-step1 .step-label { font-size: calc(100vw * 14 / 393); }
    .mt-step1 .purchase-bottom { font-size: calc(100vw * 14 / 393); }
    .mt-step1 .form-panel { margin-top: calc(100vw * -34 / 393); padding: calc(100vw * 58 / 393) calc(100vw * 20 / 393) calc(100vw * 28 / 393); }
    .mt-step1 .badge { height: calc(100vw * 38 / 393); font-size: calc(100vw * 14 / 393); }
    .mt-step1 .form-title { font-size: calc(100vw * 14 / 393); }
    .mt-step1 .field { height: calc(100vw * 50 / 393); font-size: calc(100vw * 14 / 393); }
    .mt-step1 .terms-label { font-size: calc(100vw * 14 / 393); }
    .mt-step1 .next { height: calc(100vw * 50 / 393); font-size: calc(100vw * 14 / 393); }
}
