/* Got Hot Wheels v106 — production account, authentication, and owner foundation */

.ghw106-auth {
    min-height: 72vh;
    padding: 54px 0 74px;
    color: #f8fafc;
    background:
        radial-gradient(circle at 10% 12%, rgba(255, 153, 0, .16), transparent 29rem),
        radial-gradient(circle at 92% 82%, rgba(229, 20, 32, .20), transparent 31rem),
        linear-gradient(135deg, #07090d 0%, #101721 48%, #050608 100%);
}

.ghw106-auth *,
.ghw106-favorites * { box-sizing: border-box; }

.ghw106-auth-wrap {
    width: min(1160px, calc(100% - 34px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 500px);
    gap: clamp(30px, 6vw, 78px);
    align-items: center;
}

.ghw106-auth-story { padding: 20px 0; }
.ghw106-auth-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 0 12px;
    border: 1px solid rgba(255, 177, 30, .65);
    border-radius: 999px;
    background: rgba(255, 153, 0, .11);
    color: #ffd15a;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .11em;
}

.ghw106-auth-story h1 {
    margin: 19px 0 17px;
    color: #fff;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(48px, 6.1vw, 83px);
    font-weight: 900;
    line-height: .92;
    letter-spacing: .025em;
    text-transform: uppercase;
    text-shadow: 4px 5px 0 #000;
}

.ghw106-auth-story h1 em {
    display: inline-block;
    color: transparent;
    font-style: italic;
    background: linear-gradient(180deg, #fff6b5 0%, #ffb30d 33%, #ef2a20 70%, #a80009 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(3px 3px 0 #000);
}

.ghw106-auth-story > p {
    max-width: 650px;
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.65;
}

.ghw106-auth-benefits {
    display: grid;
    gap: 12px;
    margin-top: 28px;
    max-width: 630px;
}

.ghw106-auth-benefits > div {
    position: relative;
    min-height: 62px;
    padding: 11px 15px 11px 48px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    background: rgba(4, 7, 11, .52);
}

.ghw106-auth-benefits > div::before {
    content: "✓";
    position: absolute;
    left: 15px;
    top: 15px;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #0a0a0a;
    background: linear-gradient(180deg, #ffd24a, #ff8c00);
    font-size: 13px;
    font-weight: 1000;
}

.ghw106-auth-benefits strong,
.ghw106-auth-benefits span { display: block; }
.ghw106-auth-benefits strong { color: #fff; font-size: 15px; }
.ghw106-auth-benefits span { margin-top: 2px; color: #aeb9c7; font-size: 13px; line-height: 1.45; }

.ghw106-auth-card {
    position: relative;
    overflow: hidden;
    padding: clamp(25px, 4vw, 39px);
    border: 1px solid rgba(255, 174, 31, .34);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(20, 28, 39, .98), rgba(7, 10, 15, .99));
    box-shadow: 0 28px 75px rgba(0,0,0,.52), 0 0 40px rgba(223, 24, 34, .08);
}

.ghw106-auth-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #ff9d00, #ef1b28 50%, #8e0007);
}

.ghw106-auth-heading > span {
    color: #ffba2a;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.ghw106-auth-heading h2 {
    margin: 7px 0 8px;
    color: #fff;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(33px, 4vw, 47px);
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ghw106-auth-heading p {
    margin: 0 0 24px;
    color: #aeb9c7;
    line-height: 1.55;
}

.ghw106-auth-heading p strong { color: #fff; word-break: break-word; }
.ghw106-form { display: grid; gap: 10px; }
.ghw106-form label,
.ghw106-label-row label {
    color: #f2f5f8;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .025em;
}

.ghw106-label-row {
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ghw106-label-row a,
.ghw106-auth-switch a,
.ghw106-check a {
    color: #ffbf35;
    font-weight: 800;
    text-decoration: none;
}

.ghw106-label-row a:hover,
.ghw106-auth-switch a:hover,
.ghw106-check a:hover { text-decoration: underline; }

.ghw106-form input[type="text"],
.ghw106-form input[type="email"],
.ghw106-form input[type="password"] {
    width: 100%;
    min-height: 51px;
    margin-bottom: 8px;
    padding: 0 14px;
    border: 1px solid #334155;
    border-radius: 9px;
    outline: none;
    color: #fff;
    background: #080d14;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ghw106-form input::placeholder { color: #667486; }
.ghw106-form input:focus {
    border-color: #ff9d00;
    background: #0b121c;
    box-shadow: 0 0 0 3px rgba(255,157,0,.14);
}

.ghw106-check {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    color: #bcc6d2 !important;
    font-weight: 600 !important;
    line-height: 1.48;
}

.ghw106-check-top { margin-top: 4px; }
.ghw106-check input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: #e31320;
}

.ghw106-submit,
.ghw106-secondary {
    width: 100%;
    min-height: 52px;
    margin-top: 12px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 1000;
    letter-spacing: .055em;
    text-transform: uppercase;
    transition: transform .16s ease, filter .16s ease, border-color .16s ease;
}

.ghw106-submit {
    border: 1px solid #ff5b54;
    color: #fff;
    background: linear-gradient(180deg, #f52c35, #bd0711);
    box-shadow: 0 12px 25px rgba(225,15,27,.24);
}

.ghw106-secondary {
    border: 1px solid #4b5868;
    color: #dbe4ee;
    background: #111822;
}

.ghw106-submit:hover,
.ghw106-secondary:hover { transform: translateY(-1px); filter: brightness(1.08); }

.ghw106-auth-switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 23px;
    padding-top: 21px;
    border-top: 1px solid rgba(255,255,255,.09);
    color: #aab5c3;
    font-size: 14px;
}

.ghw106-form-alert {
    margin: 0 0 18px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.5;
}

.ghw106-form-alert strong { display: block; margin-bottom: 4px; }
.ghw106-form-alert ul { margin: 4px 0 0 19px; padding: 0; }
.ghw106-form-alert-error { border: 1px solid rgba(248,113,113,.48); color: #fecaca; background: rgba(127,29,29,.34); }
.ghw106-form-alert-success { border: 1px solid rgba(74,222,128,.36); color: #bbf7d0; background: rgba(20,83,45,.35); }
.ghw106-auth-stack { display: grid; gap: 9px; }
.ghw106-auth-compact .ghw106-auth-wrap { grid-template-columns: minmax(0, 1fr) minmax(390px, 480px); }

/* Favorites / watchlist */
.ghw106-favorites {
    min-height: 70vh;
    padding-bottom: 70px;
    color: #fff;
    background: #07090d;
}

.ghw106-favorites-hero {
    padding: 48px 0 38px;
    border-bottom: 1px solid rgba(255, 157, 0, .28);
    background:
        radial-gradient(circle at 82% 35%, rgba(225, 20, 31, .2), transparent 27rem),
        linear-gradient(110deg, #070a0e, #111925 60%, #07090d);
}

.ghw106-favorites-wrap { width: min(1180px, calc(100% - 34px)); margin: 0 auto; }
.ghw106-favorites-kicker { color: #ffc346; font-size: 12px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.ghw106-favorites h1 {
    margin: 8px 0 7px;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(44px, 6vw, 70px);
    line-height: .95;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.ghw106-favorites-hero p { margin: 0; color: #bdc8d5; font-size: 17px; }
.ghw106-favorites-body { padding-top: 31px; }
.ghw106-favorites-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ghw106-favorite-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 14px;
    background: linear-gradient(180deg, #131b26, #080c12);
    box-shadow: 0 16px 35px rgba(0,0,0,.35);
}
.ghw106-favorite-image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #171d25; }
.ghw106-favorite-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.ghw106-favorite-card:hover img { transform: scale(1.035); }
.ghw106-favorite-placeholder { height: 100%; display: grid; place-items: center; color: #7f8b99; font-weight: 900; text-transform: uppercase; }
.ghw106-favorite-content { padding: 16px; }
.ghw106-favorite-content h2 { margin: 0; font-size: 18px; line-height: 1.28; }
.ghw106-favorite-content h2 a { color: #fff; text-decoration: none; }
.ghw106-favorite-meta { margin: 8px 0 13px; color: #9da9b7; font-size: 13px; }
.ghw106-favorite-price { display: block; color: #ffc13b; font-size: 22px; font-weight: 1000; }
.ghw106-favorite-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin-top: 15px; }
.ghw106-favorite-actions a,
.ghw106-favorite-actions button {
    min-height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}
.ghw106-favorite-actions a { border: 1px solid #e62a33; color: #fff; background: #c70913; }
.ghw106-favorite-actions button { border: 1px solid #455262; color: #d8e0e8; background: #101720; }
.ghw106-favorites-empty {
    max-width: 680px;
    margin: 20px auto 0;
    padding: 50px 28px;
    border: 1px dashed rgba(255, 157, 0, .42);
    border-radius: 16px;
    text-align: center;
    background: #0d1219;
}
.ghw106-favorites-empty strong { display: block; font-size: 27px; }
.ghw106-favorites-empty p { color: #aeb9c7; }
.ghw106-favorites-empty a { display: inline-flex; min-height: 45px; align-items: center; padding: 0 17px; border-radius: 8px; color: #fff; background: #c80712; font-weight: 900; text-decoration: none; text-transform: uppercase; }

@media (max-width: 980px) {
    .ghw106-auth-wrap,
    .ghw106-auth-compact .ghw106-auth-wrap { grid-template-columns: 1fr; max-width: 720px; }
    .ghw106-auth-story { padding-bottom: 0; }
    .ghw106-auth-benefits { grid-template-columns: repeat(3, 1fr); }
    .ghw106-auth-benefits > div { padding: 46px 12px 13px; }
    .ghw106-auth-benefits > div::before { left: 12px; top: 12px; }
    .ghw106-favorites-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .ghw106-auth { padding: 34px 0 54px; }
    .ghw106-auth-story h1 { font-size: 50px; }
    .ghw106-auth-story > p { font-size: 16px; }
    .ghw106-auth-benefits { grid-template-columns: 1fr; }
    .ghw106-auth-benefits > div { padding: 11px 15px 11px 48px; }
    .ghw106-auth-benefits > div::before { left: 15px; top: 15px; }
    .ghw106-auth-card { padding: 25px 20px; border-radius: 15px; }
    .ghw106-favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    .ghw106-auth-wrap,
    .ghw106-favorites-wrap { width: min(100% - 22px, 1180px); }
    .ghw106-auth-story h1 { font-size: 43px; }
    .ghw106-auth-heading h2 { font-size: 34px; }
    .ghw106-label-row { align-items: flex-start; flex-direction: column; gap: 4px; }
    .ghw106-favorites-grid { grid-template-columns: 1fr; }
}
