/* MEMORY LINE: GLOBAL DESIGN TOKENS START */
:root {
    --bg: #080a0f;
    --bg-2: #111620;
    --panel: rgba(17, 22, 32, 0.94);
    --panel-solid: #121822;
    --text: #f7f8fc;
    --muted: #aab2bf;
    --line: rgba(255, 255, 255, 0.10);

    --yellow: #d7b45a;
    --yellow-dark: #ad8428;
    --blue: #7fa7d8;

    --shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    --shadow-soft: 0 16px 36px rgba(0, 0, 0, 0.28);

    --radius: 16px;
    --radius-lg: 20px;
    --container: 1180px;

    --ease-fast: 0.18s ease;
    --ease-med: 0.28s ease;
    --ease-slow: 0.45s ease;
}

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    touch-action: manipulation;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #080a0f 0%, #0d1118 52%, #111720 100%);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    touch-action: manipulation;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

a,
button,
label,
.btn,
[role="button"] {
    touch-action: manipulation;
}

button {
    background: none;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.hidden,
[hidden] {
    display: none !important;
}

.small-text {
    color: var(--muted);
    font-size: 0.92rem;
}

.field,
.form-group,
.auth-form .form-group {
    display: grid;
    gap: 8px;
}

.field label,
.form-group label,
.auth-form label {
    color: #eef3ff;
    font-size: 0.94rem;
    font-weight: 700;
}

.field input,
.field select,
.field textarea,
.form-group input,
.form-group select,
.form-group textarea,
.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
    outline: none;
    transition: border-color var(--ease-fast), box-shadow var(--ease-fast), background var(--ease-fast);
}

.field textarea,
.form-group textarea,
.auth-form textarea {
    min-height: 120px;
    padding: 14px 16px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder,
.auth-form input::placeholder,
.auth-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.40);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    border-color: rgba(245, 201, 106, 0.50);
    box-shadow: 0 0 0 3px rgba(215, 180, 90, 0.11);
    background: rgba(255, 255, 255, 0.06);
}

.price,
.pack-price,
.product-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--yellow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.98rem;
    border: none;
    cursor: pointer;
    transition:
        transform var(--ease-fast),
        box-shadow var(--ease-fast),
        opacity var(--ease-fast),
        border-color var(--ease-fast),
        background var(--ease-fast);
    text-align: center;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--yellow);
    color: #111111;
    box-shadow: none;
}

.btn-primary:hover {
    background: #e0bf69;
    box-shadow: 0 8px 18px rgba(215, 180, 90, 0.12);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.16);
}

.btn-danger {
    background: rgba(255, 120, 120, 0.08);
    color: #ffd2d2;
    border: 1px solid rgba(255, 120, 120, 0.28);
}

.btn-danger:hover {
    background: rgba(255, 120, 120, 0.13);
    border-color: rgba(255, 120, 120, 0.38);
}

.pack-btn-full {
    width: 100%;
    text-align: center;
}

/* MEMORY LINE: HEADER AND NAVIGATION START */
.site-header,
header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: none;
    background: rgba(8, 10, 15, 0.94);
    border-bottom: 1px solid var(--line);
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0;
    color: #fff;
    flex-shrink: 0;
}

.logo-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: block;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(215, 180, 90, 0.48);
    box-shadow: 0 0 0 3px rgba(215, 180, 90, 0.08);
    object-fit: cover;
}

.logo span {
    color: var(--yellow);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.98rem;
    transition: color var(--ease-fast), transform var(--ease-fast), opacity var(--ease-fast);
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a[aria-current="page"]:not(.admin-nav-current) {
    color: #ffffff;
}

.nav-links a:not(.btn):hover {
    transform: translateY(-1px);
}

.nav-links .admin-nav-current {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.045);
    color: #eef3ff;
}

.nav-links .admin-nav-current:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.nav-links .btn {
    margin-left: 4px;
}

[data-auth="logged-in"] {
    display: none;
}

.nav-links a[href="login.html"],
.nav-links a[href="profile.html"] {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #eef3ff;
}

.nav-links a[href="login.html"]:hover,
.nav-links a[href="profile.html"]:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

@media (max-width: 640px) {
    .nav {
        min-height: 72px;
        gap: 12px;
    }

    .logo {
        gap: 8px;
        font-size: 1.45rem;
    }

    .logo-mark {
        width: 32px;
        height: 32px;
    }

    .nav-links {
        gap: 10px;
    }
}

.section {
    padding: 72px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: -0.02em;
}

.section-subtitle {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(215, 180, 90, 0.10);
    color: var(--yellow);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(245, 201, 106, 0.20);
}

/* MEMORY LINE: SHARED STORE CARD SURFACES START */
.hero-card,
.mock-pack,
.pack-card,
.trust-box,
.cta,
.product-card,
.checkout-box,
.product-image-card,
.product-info-card,
.result-panel,
.checkout-card,
.summary-card {
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero {
    position: relative;
    padding: 92px 0 50px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -110px;
    top: -140px;
    background: radial-gradient(circle, rgba(215, 180, 90, 0.06), transparent 62%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    left: -160px;
    bottom: -220px;
    background: radial-gradient(circle, rgba(127, 167, 216, 0.06), transparent 62%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 34px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 0.98;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    max-width: 760px;
}

.hero p {
    max-width: 660px;
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.stat {
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.stat strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}

.stat span {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-card {
    position: relative;
}

.mock-pack {
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.mock-pack::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(215, 180, 90, 0.06), transparent 30%);
    pointer-events: none;
}

.mock-pack-top,
.pack-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.mock-pack-title {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.badge,
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 10px;
    background: rgba(215, 180, 90, 0.10);
    color: #ffe39b;
    font-weight: 800;
    font-size: 0.82rem;
    border: 1px solid rgba(245, 201, 106, 0.20);
}

.pack-visual {
    margin: 18px 0;
    min-height: 320px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.pack-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.34));
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pack-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pack-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 201, 106, 0.22);
    box-shadow: var(--shadow-soft);
}

.pack-image {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    background: #121924;
    border-bottom: 1px solid var(--line);
}

.pack-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.pack-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pack-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.pack-content p {
    color: var(--muted);
    margin-bottom: 16px;
    min-height: 64px;
}

.pack-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    margin-bottom: 18px;
}

/* MEMORY LINE: SHOP PAGE START */
.shop-page {
    background:
        radial-gradient(circle at 20% 0%, rgba(215, 180, 90, 0.08), transparent 34%),
        radial-gradient(circle at 85% 8%, rgba(62, 108, 214, 0.08), transparent 30%),
        var(--bg);
}

.shop-hero-section {
    padding: 58px 0 24px;
}

.shop-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
    gap: 26px;
    align-items: end;
}

.shop-hero-copy h1 {
    margin: 16px 0 16px;
    max-width: 760px;
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.shop-hero-copy p {
    max-width: 770px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.shop-hero-summary {
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(245, 201, 106, 0.18);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: var(--shadow);
}

.shop-hero-summary span {
    display: block;
    margin-bottom: 8px;
    color: #ffe39b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-hero-summary strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
}

.shop-hero-summary p {
    color: var(--muted);
}

.shop-products-section {
    padding: 24px 0 78px;
}

.shop-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
}

.shop-section-head h2 {
    margin-bottom: 8px;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.shop-section-head p {
    max-width: 680px;
    color: var(--muted);
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.shop-product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(18, 24, 36, 0.96), rgba(12, 16, 24, 0.96));
    box-shadow: var(--shadow);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.shop-product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 201, 106, 0.24);
    box-shadow: var(--shadow-soft);
}

.shop-product-image {
    height: 286px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111824;
    border-bottom: 1px solid var(--line);
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
}

.shop-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
}

.shop-product-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.shop-product-topline strong {
    flex: 0 0 auto;
    color: var(--yellow);
    font-size: 1.25rem;
}

.shop-product-content h3 {
    font-size: 1.35rem;
    line-height: 1.2;
}

.shop-product-content h3 a {
    color: #ffffff;
}

.shop-product-description {
    color: var(--muted);
    line-height: 1.62;
}

.shop-product-points {
    display: grid;
    gap: 8px;
    margin: 0 0 4px;
    padding: 0;
    list-style: none;
}

.shop-product-points li {
    display: flex;
    gap: 9px;
    color: #d9deea;
    font-size: 0.92rem;
    line-height: 1.45;
}

.shop-product-points li::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 16px rgba(245, 201, 106, 0.58);
}

.shop-product-actions {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 10px;
    margin-top: auto;
}

.shop-product-actions .btn {
    width: 100%;
    min-height: 46px;
}

.shop-empty-state {
    padding: 34px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.shop-empty-state h2 {
    margin-bottom: 8px;
}

.shop-empty-state p {
    color: var(--muted);
}

@media (max-width: 980px) {
    .shop-hero {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .shop-hero-section {
        padding: 34px 0 16px;
    }

    .shop-hero {
        gap: 16px;
    }

    .shop-hero-copy h1 {
        font-size: clamp(2.1rem, 12vw, 3.25rem);
        line-height: 1.02;
        text-wrap: balance;
    }

    .shop-hero-copy p {
        font-size: 0.96rem;
        line-height: 1.58;
    }

    .shop-hero-summary {
        padding: 16px;
    }

    .shop-products-section {
        padding: 18px 0 46px;
    }

    .shop-section-head {
        display: block;
        margin-bottom: 16px;
    }

    .shop-section-head p {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .shop-products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .shop-product-image {
        height: 230px;
        padding: 14px;
    }

    .shop-product-content {
        gap: 12px;
        padding: 16px;
    }

    .shop-product-content h3 {
        font-size: 1.18rem;
    }

    .shop-product-description {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .shop-product-points li {
        font-size: 0.88rem;
    }
}

@media (max-width: 430px) {
    .shop-product-image {
        height: 210px;
    }

    .shop-product-actions {
        grid-template-columns: 1fr;
    }
}
/* MEMORY LINE: SHOP PAGE END */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step {
    padding: 24px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.step-number {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--yellow);
    color: #1a1400;
    font-weight: 900;
    margin-bottom: 14px;
    box-shadow: none;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.trust-box {
    padding: 24px;
}

.trust-box h3 {
    margin-bottom: 14px;
    letter-spacing: 0;
}

.trust-list {
    padding-left: 18px;
    color: var(--muted);
}

.trust-list li+li {
    margin-top: 10px;
}

.cta {
    padding: 40px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(215, 180, 90, 0.06), transparent 42%);
    pointer-events: none;
}

.cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cta p {
    max-width: 740px;
    margin: 0 auto 18px;
    color: var(--muted);
}

footer {
    padding: 28px 0 34px;
    color: var(--muted);
    text-align: center;
    border-top: 1px solid var(--line);
}

/* MEMORY LINE: PRODUCT AND CHECKOUT PAGES START */
.product-page,
.checkout-page,
.unbox-page {
    padding: 42px 0 70px;
}

.product-grid,
.checkout-grid,
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: start;
}

.product-card,
.checkout-box {
    padding: 24px;
}

.product-hero {
    padding: 54px 0 72px;
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: "";
    position: absolute;
    width: 640px;
    height: 640px;
    left: -220px;
    top: -140px;
    background: radial-gradient(circle, rgba(127, 167, 216, 0.06), transparent 62%);
    pointer-events: none;
}

.product-hero::after {
    content: "";
    position: absolute;
    width: 540px;
    height: 540px;
    right: -140px;
    top: -100px;
    background: radial-gradient(circle, rgba(215, 180, 90, 0.07), transparent 58%);
    pointer-events: none;
}

.product-image-card,
.product-info-card {
    position: relative;
    border-radius: var(--radius-lg);
}

.product-image-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.product-info-card {
    padding: 22px 34px 20px 25px;
    align-self: start;
    height: fit-content;
}

.product-info-card .product-title {
    margin-bottom: 2px;
}

.product-info-card .product-text {
    line-height: 1.6;
    margin-bottom: 2px;
}

.product-info-card .price {
    margin-bottom: 1px;
}

.product-info-card .product-actions {
    margin-bottom: 7px;
}

.product-info-card .point {
    padding: 14px 2px;
}

.product-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.product-text {
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 560px;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
    margin-bottom: 26px;
}

.product-points {
    display: grid;
    gap: 14px;
}

.point {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
}

.point strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
}

.point span {
    color: var(--muted);
    font-size: 0.95rem;
}

.product-showcase {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    width: 100%;
}

.pull-preview-card {
    width: calc(100% + 595px);
    margin-left: 0;
    margin-right: -24px;
    padding: 18px;
    border-radius: var(--radius-lg);
    box-sizing: border-box;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.pull-preview-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.pull-preview-eyebrow {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pull-preview-title {
    margin: 0 0 6px;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.pull-preview-text {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 560px;
}

.pull-preview-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.pull-slider-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform var(--ease-fast), background var(--ease-fast), border-color var(--ease-fast), box-shadow var(--ease-fast);
}

.pull-slider-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 201, 106, 0.28);
    box-shadow: var(--shadow);
}

.pull-slider-btn:disabled,
.pull-slider-btn[aria-disabled="true"] {
    cursor: default;
    opacity: 0.38;
    transform: none;
    box-shadow: none;
}

.pull-slider-window {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 201, 106, 0.45) rgba(255, 255, 255, 0.06);
}

.pull-slider-window::-webkit-scrollbar {
    height: 10px;
}

.pull-slider-window::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.pull-slider-window::-webkit-scrollbar-thumb {
    background: rgba(245, 201, 106, 0.45);
    border-radius: 10px;
}

.pull-slider-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 180px;
    gap: 18px;
    width: max-content;
    padding: 4px 2px 10px;
}

.pull-slide-card {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.pull-slide-image-wrap {
    width: 100%;
    aspect-ratio: 0.72 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.035);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 12px;
}

.pull-slide-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pull-slide-name {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #ffffff;
    font-weight: 700;
}

.pull-slide-tag {
    margin: 0 0 6px;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pull-slide-meta {
    display: grid;
    gap: 2px;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

.reveal-stage {
    position: relative;
    width: 100%;
    min-height: 620px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% -10%, rgba(255, 223, 150, 0.34), transparent 24%),
        radial-gradient(ellipse at 50% 6%, rgba(255, 210, 120, 0.14), transparent 34%),
        radial-gradient(circle at 50% 82%, rgba(255, 196, 72, 0.08), transparent 24%),
        linear-gradient(180deg, #09101f 0%, #050914 100%);
    border: 1px solid rgba(255, 214, 130, 0.24);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.62),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 86px rgba(255, 188, 82, 0.14);
    isolation: isolate;
}

.reveal-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% -12%, rgba(255, 230, 175, 0.22) 0%, rgba(255, 214, 122, 0.08) 26%, rgba(255, 214, 122, 0) 56%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 22%, transparent 82%, rgba(255, 255, 255, 0.015));
    pointer-events: none;
    z-index: 0;
}

.reveal-bg-glow {
    position: absolute;
    left: -10%;
    right: -10%;
    top: -20%;
    height: 42%;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 220, 130, 0.40), transparent 34%),
        radial-gradient(ellipse at 50% 18%, rgba(255, 204, 110, 0.14), transparent 42%);
    filter: blur(48px);
    opacity: 0.82;
    z-index: 0;
    animation: revealTopGlowPulse 4.2s ease-in-out infinite;
}

.reveal-halo {
    position: absolute;
    left: 50%;
    top: 32%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.reveal-halo-1 {
    width: 330px;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(255, 207, 112, 0.26) 0%, rgba(255, 207, 112, 0.10) 42%, rgba(255, 207, 112, 0) 74%);
    filter: blur(20px);
    animation: haloPulse1 3s ease-in-out infinite;
}

.reveal-halo-2 {
    width: 520px;
    height: 260px;
    background: radial-gradient(ellipse at center, rgba(255, 194, 78, 0.12) 0%, rgba(255, 194, 78, 0.05) 42%, rgba(255, 194, 78, 0) 76%);
    filter: blur(34px);
    animation: haloPulse2 3.6s ease-in-out infinite;
}

.reveal-product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    transform: scale(0.90);
    opacity: 0.22;
    filter: saturate(1.18) contrast(1.12) brightness(0.84) blur(1.2px) drop-shadow(0 0 34px rgba(255, 199, 76, 0.30));
    transition:
        transform 1.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 1.1s ease,
        filter 1.1s ease;
    z-index: 2;
}

.vault-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.vault-top-sign {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 18px;
    border-radius: 10px;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    font-weight: 800;
    color: #ffd98a;
    background: rgba(8, 12, 22, 0.7);
    border: 1px solid rgba(255, 215, 130, 0.18);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    backdrop-filter: none;
}

.vault-door {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: linear-gradient(180deg, rgba(21, 27, 42, 0.96) 0%, rgba(5, 8, 16, 0.99) 100%);
    border-top: 1px solid rgba(255, 220, 155, 0.08);
    box-shadow:
        inset 0 0 40px rgba(255, 255, 255, 0.03),
        inset 0 0 120px rgba(0, 0, 0, 0.72),
        0 0 30px rgba(0, 0, 0, 0.35);
    transition: transform 2.2s cubic-bezier(0.16, 0.84, 0.2, 1);
    overflow: hidden;
}

.vault-door::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(255, 196, 92, 0.12), transparent),
        repeating-linear-gradient(180deg,
            rgba(255, 255, 255, 0.02) 0px,
            rgba(255, 255, 255, 0.02) 2px,
            transparent 2px,
            transparent 28px);
    mix-blend-mode: screen;
    opacity: 0.75;
}

.vault-door-left {
    left: 0;
    border-right: 1px solid rgba(255, 220, 155, 0.14);
}

.vault-door-right {
    right: 0;
    border-left: 1px solid rgba(255, 220, 155, 0.14);
}

.vault-door-line {
    position: absolute;
    top: 6%;
    bottom: 6%;
    width: 3px;
    background: linear-gradient(180deg, transparent, #ffcf73 12%, #fff3c4 50%, #ffcf73 88%, transparent);
    box-shadow:
        0 0 20px rgba(255, 193, 87, 0.75),
        0 0 48px rgba(255, 193, 87, 0.45),
        0 0 90px rgba(255, 193, 87, 0.28);
}

.vault-door-left .vault-door-line {
    right: 14px;
}

.vault-door-right .vault-door-line {
    left: 14px;
}

.vault-door-glow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 36px;
    background: linear-gradient(90deg, rgba(255, 205, 95, 0), rgba(255, 205, 95, 0.18), rgba(255, 230, 166, 0.28), rgba(255, 205, 95, 0.10), rgba(255, 205, 95, 0));
    filter: blur(12px);
    opacity: 0.7;
    animation: seamGlowShift 2.2s ease-in-out infinite;
}

.vault-door-glow-left {
    right: -8px;
}

.vault-door-glow-right {
    left: -8px;
}

.vault-center-light,
.vault-center-core,
.vault-center-bloom {
    display: none;
}

.vault-scan-line {
    position: absolute;
    left: -10%;
    right: -10%;
    height: 120px;
    top: -8%;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(255, 222, 160, 0.02) 18%,
            rgba(255, 222, 160, 0.12) 50%,
            rgba(255, 222, 160, 0.02) 82%,
            transparent 100%);
    filter: blur(14px);
    animation: scanSweep 2.8s linear infinite;
    opacity: 0.55;
}

.reveal-smoke {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05) 42%, transparent 74%);
    filter: blur(30px);
    opacity: 0.22;
    z-index: 3;
    pointer-events: none;
}

.smoke-1 {
    width: 60%;
    height: 60%;
    left: -6%;
    bottom: -10%;
    animation: smokeFloat1 5.2s ease-in-out infinite;
}

.smoke-2 {
    width: 58%;
    height: 58%;
    right: -10%;
    bottom: -8%;
    animation: smokeFloat2 5.8s ease-in-out infinite;
}

.smoke-3 {
    width: 36%;
    height: 30%;
    left: 50%;
    top: 28%;
    transform: translate(-50%, -50%);
    animation: smokeFloat3 4.6s ease-in-out infinite;
}

.vault-spark {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff7de 0%, #ffd173 42%, rgba(255, 200, 95, 0) 74%);
    box-shadow: 0 0 28px rgba(255, 191, 73, 0.95);
    opacity: 0;
    z-index: 6;
}

.spark-1 {
    left: 48%;
    top: 38%;
}

.spark-2 {
    left: 50%;
    top: 56%;
}

.spark-3 {
    left: 52%;
    top: 45%;
}

.spark-4 {
    left: 49%;
    top: 30%;
}

.spark-5 {
    left: 51%;
    top: 68%;
}

.reveal-trigger {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 8;
    border: 1px solid rgba(255, 215, 130, 0.30);
    background: var(--yellow);
    color: #161616;
    font-weight: 900;
    letter-spacing: 0.03em;
    padding: 14px 24px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(215, 180, 90, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.35s ease;
}

.reveal-trigger:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 16px 32px rgba(215, 180, 90, 0.18);
}

.reveal-stage.is-opening .vault-spark {
    animation: revealSpark 0.9s ease-out 0s 4;
}

.reveal-stage.is-open .vault-door-left {
    transform: translateX(-104%);
}

.reveal-stage.is-open .vault-door-right {
    transform: translateX(104%);
}

.reveal-stage.is-open .reveal-product-image {
    transform: scale(1.03);
    opacity: 1;
    filter: saturate(1.24) contrast(1.12) brightness(1.06) blur(0) drop-shadow(0 0 52px rgba(255, 199, 76, 0.48));
}

.reveal-stage.is-raw-product .reveal-bg-glow,
.reveal-stage.is-raw-product .reveal-halo,
.reveal-stage.is-raw-product .reveal-smoke,
.reveal-stage.is-raw-product .vault-overlay {
    display: none;
}

.reveal-stage.is-raw-product .reveal-product-image {
    padding: 34px;
    transform: none;
    opacity: 1;
    filter:
        saturate(1.05)
        contrast(1.02)
        brightness(1.04)
        drop-shadow(0 22px 45px rgba(0, 0, 0, 0.42));
}

.reveal-stage.is-raw-product.is-open .reveal-product-image {
    transform: none;
    opacity: 1;
    filter:
        saturate(1.05)
        contrast(1.02)
        brightness(1.04)
        drop-shadow(0 22px 45px rgba(0, 0, 0, 0.42));
}

.reveal-stage.is-open .reveal-trigger {
    opacity: 0;
    pointer-events: none;
}

.reveal-stage.is-open .vault-spark {
    animation: revealSparkBurst 1.2s ease-out 0.12s 3;
}

.reveal-stage.is-open::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 14%, rgba(255, 220, 140, 0.16), transparent 18%),
        linear-gradient(120deg, transparent 38%, rgba(255, 255, 255, 0.18) 50%, transparent 62%);
    animation: finalShine 1.3s ease-out forwards;
    z-index: 4;
    pointer-events: none;
}

@keyframes revealTopGlowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.74;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.96;
    }
}

@keyframes haloPulse1 {

    0%,
    100% {
        opacity: 0.58;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.84;
        transform: translate(-50%, -50%) scale(1.06);
    }
}

@keyframes haloPulse2 {

    0%,
    100% {
        opacity: 0.34;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.56;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

@keyframes seamGlowShift {

    0%,
    100% {
        opacity: 0.6;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.82;
        transform: scaleY(1.04);
    }
}

@keyframes scanSweep {
    0% {
        transform: translateY(-12%);
        opacity: 0.18;
    }

    50% {
        opacity: 0.52;
    }

    100% {
        transform: translateY(108%);
        opacity: 0.14;
    }
}

@keyframes smokeFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(34px, -34px) scale(1.18);
    }
}

@keyframes smokeFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-28px, -38px) scale(1.20);
    }
}

@keyframes smokeFloat3 {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.92);
        opacity: 0.12;
    }

    50% {
        transform: translate(-50%, -54%) scale(1.05);
        opacity: 0.24;
    }
}

@keyframes revealSpark {
    0% {
        opacity: 0;
        transform: scale(0.2);
    }

    28% {
        opacity: 1;
        transform: scale(1.3);
    }

    100% {
        opacity: 0;
        transform: scale(2.3);
    }
}

@keyframes revealSparkBurst {
    0% {
        opacity: 0;
        transform: scale(0.25);
    }

    22% {
        opacity: 1;
        transform: scale(1.45);
    }

    100% {
        opacity: 0;
        transform: scale(3.1);
    }
}

@keyframes finalShine {
    0% {
        opacity: 0;
        transform: scale(0.94);
    }

    35% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.06);
    }
}

.unbox-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 18%, rgba(215, 180, 90, 0.08), transparent 18%),
        linear-gradient(180deg, #080a0f 0%, #101722 100%);
}

.unbox-section {
    padding-top: 58px;
    padding-bottom: 90px;
}

.section-copy.center {
    text-align: center;
    margin-bottom: 28px;
}

.section-copy.center h1 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.08;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-copy.center p {
    color: rgba(255, 255, 255, 0.80);
    font-size: 1.02rem;
}

.unbox-status-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.spin-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffd24a;
    background: rgba(255, 210, 74, 0.10);
    border: 1px solid rgba(255, 210, 74, 0.24);
    box-shadow: none;
    backdrop-filter: none;
}

.unbox-roller-shell {
    --slot-width: 170px;
    --slot-ratio: 0.715;
    --slot-height: calc(var(--slot-width) / var(--slot-ratio));
    --slot-gap: 26px;
    --frame-padding: 10px;
    --rail-height: 560px;

    position: relative;
    width: 100%;
    max-width: 980px;
    margin: 0 auto 26px;
    padding: 18px 22px 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 210, 74, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(8, 23, 58, 0.98), rgba(5, 15, 42, 0.97));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 50px rgba(43, 122, 255, 0.10);
}

.unbox-roller-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 210, 74, 0.05);
}

.unbox-viewport {
    position: relative;
    height: var(--rail-height);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    isolation: isolate;
}

.unbox-track {
    display: flex;
    align-items: center;
    gap: var(--slot-gap);
    will-change: transform;
    position: relative;
    z-index: 2;
}

.pull-card {
    flex: 0 0 var(--slot-width);
    width: var(--slot-width);
    height: var(--slot-height);
    border-radius: 18px;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        filter 0.35s ease,
        box-shadow 0.35s ease;
}

.pull-card-inner,
.pull-card > img,
.pull-card img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
}

.pull-card img {
    object-fit: contain;
    object-position: center;
    display: block;
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.38));
}

.pull-card.is-loser {
    opacity: 0;
    filter: blur(10px) saturate(0.45);
    transform: scale(0.60);
    pointer-events: none;
}

.pull-card.is-winner,
.pull-card.winner-focus,
.pull-card.winner-pop {
    opacity: 1;
    z-index: 20;
    transform: scale(1.38) translateY(-16px);
    filter: none;
}

.pull-card.is-winner img,
.pull-card.winner-focus img,
.pull-card.winner-pop img {
    filter:
        drop-shadow(0 0 20px rgba(255, 213, 64, 0.60))
        drop-shadow(0 0 50px rgba(255, 213, 64, 0.32))
        drop-shadow(0 18px 42px rgba(0, 0, 0, 0.55));
}

.winner-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(var(--slot-width) + (var(--frame-padding) * 2));
    height: calc(var(--slot-height) + (var(--frame-padding) * 2));
    transform: translate(-50%, -50%);
    border-radius: 24px;
    border: 4px solid #ffcc21;
    box-shadow:
        0 0 0 2px rgba(255, 204, 33, 0.16),
        0 0 24px rgba(255, 204, 33, 0.22),
        0 0 60px rgba(255, 204, 33, 0.12);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.unbox-viewport.is-spin-mode .winner-frame {
    opacity: 1;
}

.winner-frame::before {
    content: "Pulled";
    position: absolute;
    left: 50%;
    top: -18px;
    transform: translateX(-50%);
    background: #ffcc21;
    color: #1f1600;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 8px 18px;
    border-radius: 10px;
    line-height: 1;
}

.winner-frame::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 14px solid #ffcc21;
}

.unbox-viewport.is-winner-mode .winner-frame {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.94);
}

.unbox-viewport.is-winner-mode .unbox-track {
    justify-content: center;
    width: 100%;
}

.unbox-viewport.is-winner-mode .pull-card:not(.is-winner):not(.winner-focus):not(.winner-pop) {
    opacity: 0 !important;
    transform: scale(0.4) !important;
    filter: blur(16px) !important;
}

.unbox-viewport.is-winner-mode::before {
    content: "";
    position: absolute;
    inset: -10%;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 214, 80, 0.26) 0%, rgba(255, 214, 80, 0.12) 16%, rgba(255, 214, 80, 0.04) 28%, rgba(255, 214, 80, 0) 52%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 44%);
    animation: winnerSpotlightPulse 1.6s ease-in-out infinite;
}

@keyframes winnerSpotlightPulse {
    0%, 100% {
        opacity: 0.70;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.06);
    }
}

.unbox-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

#unboxBtn {
    min-width: 140px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(215, 180, 90, 0.14);
}

#unboxBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(215, 180, 90, 0.16);
}

#unboxBtn:active {
    transform: translateY(1px) scale(0.98);
}

.pull-result {
    display: none !important;
    margin-top: 16px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.result-panel {
    max-width: 760px;
    margin: 28px auto 0;
    padding: 24px 24px 26px;
    text-align: center;
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    animation: resultReveal 0.45s ease;
}

.result-badge {
    display: inline-block;
    padding: 7px 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffd24a;
    background: rgba(255, 210, 74, 0.10);
    border: 1px solid rgba(255, 210, 74, 0.24);
}

.result-panel h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.1;
    color: #ffffff;
}

.result-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 22px;
}

.result-btn {
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--ease-fast), box-shadow var(--ease-fast), opacity var(--ease-fast);
}

.result-btn:hover {
    transform: translateY(-2px);
}

.result-btn.primary {
    color: #0b1020;
    background: var(--yellow);
    box-shadow: none;
}

.result-btn.secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

@keyframes resultReveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fx-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

/* MEMORY LINE: WINNING CARD FIRE EFFECT START */
.winner-spotlight {
    position: absolute;
    inset: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    z-index: 20;
    pointer-events: none;
    isolation: isolate;
}

.winner-back-glow {
    position: absolute;
    left: 50%;
    top: 48%;
    width: min(760px, 100vw);
    height: min(600px, 78vw);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 245, 184, 0.50) 0%, rgba(255, 205, 78, 0.34) 16%, rgba(255, 134, 36, 0.14) 34%, rgba(255, 120, 28, 0.05) 52%, rgba(255, 120, 28, 0) 72%),
        conic-gradient(from 12deg, rgba(255, 222, 134, 0.12), rgba(255, 128, 34, 0.02), rgba(255, 240, 190, 0.14), rgba(255, 115, 30, 0.03), rgba(255, 222, 134, 0.12));
    filter: blur(18px) saturate(1.12);
    opacity: 0.86;
    z-index: 1;
    mix-blend-mode: screen;
    animation: winnerBackGlowPulse 4.2s ease-in-out 2;
}

.winner-fire-layer,
.winner-ember-layer {
    position: absolute;
    inset: -8%;
    pointer-events: none;
    overflow: visible;
}

.winner-fire-layer {
    z-index: 2;
}

.winner-fire-layer::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4%;
    width: min(520px, 110vw);
    height: 66%;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 50% 70%, rgba(255, 235, 148, 0.28), transparent 58%),
        radial-gradient(ellipse at 50% 38%, rgba(255, 145, 39, 0.13), transparent 64%);
    filter: blur(24px);
    opacity: 0.78;
    mix-blend-mode: screen;
    z-index: 3;
    animation: winnerFireHeatBloom 3.2s ease-in-out infinite;
}

.winner-fire-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 46%, rgba(6, 12, 25, 0) 0%, rgba(6, 12, 25, 0.06) 38%, rgba(5, 9, 20, 0.38) 100%),
        linear-gradient(180deg, rgba(4, 6, 12, 0.36) 0%, transparent 24%, transparent 70%, rgba(3, 6, 13, 0.42) 100%);
}

.winner-fire-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    z-index: 2;
    opacity: 0.48;
    mix-blend-mode: screen;
    filter:
        saturate(1.02)
        contrast(1.18)
        brightness(0.96);
    animation: winnerFireVideoGlow 3.4s ease-in-out infinite;
    -webkit-mask-image: radial-gradient(ellipse at 50% 52%, #000 0%, #000 52%, rgba(0, 0, 0, 0.46) 78%, transparent 100%);
    mask-image: radial-gradient(ellipse at 50% 52%, #000 0%, #000 52%, rgba(0, 0, 0, 0.46) 78%, transparent 100%);
}

.winner-fire-video,
.winner-fire-fallback {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    mix-blend-mode: screen;
    pointer-events: none;
    user-select: none;
    display: block;
}

.winner-fire-video {
    object-position: center center;
}

.winner-fire-fallback {
    object-fit: contain;
}

.winner-ember-layer {
    z-index: 6;
    mix-blend-mode: screen;
}

.winner-ember {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: #ffe29a;
    box-shadow:
        0 0 10px rgba(255, 238, 184, 1),
        0 0 20px rgba(255, 173, 66, 0.72),
        0 0 34px rgba(255, 104, 28, 0.34);
    opacity: 0;
    animation: winnerEmberRise 4.8s linear infinite;
    will-change: transform, opacity;
}

.pull-card.winner-hero-card {
    flex: 0 0 auto;
    width: min(244px, 36vw);
    aspect-ratio: 63 / 88;
    height: auto;
    max-width: 244px;
    border-radius: 18px;
    overflow: visible;
    position: relative;
    z-index: 8;
    background: transparent;
    border: 1.5px solid rgba(255, 236, 170, 0.86);
    box-shadow:
        0 0 0 2px rgba(255, 214, 92, 0.22),
        0 0 24px rgba(255, 224, 132, 0.64),
        0 0 82px rgba(255, 166, 38, 0.34),
        0 18px 42px rgba(0, 0, 0, 0.48);
    transform: translate3d(0, 150px, 0) rotateY(-360deg) rotateZ(-8deg) scale(0.34);
    transform-origin: 50% 88%;
    transform-style: preserve-3d;
    backface-visibility: visible;
    opacity: 0;
    will-change: transform, opacity, filter;
}

.pull-card.winner-hero-card.is-visible {
    animation: winnerCardFireRise 2s linear forwards;
}

.winner-hero-card::before,
.winner-hero-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.winner-hero-card::before {
    inset: -18px;
    border-radius: 30px;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 238, 164, 0.38), rgba(255, 171, 45, 0.20) 44%, transparent 72%);
    filter: blur(10px);
    z-index: -2;
    animation: winnerCardAura 2.8s ease-in-out 3;
}

.winner-hero-card::after {
    inset: -7px;
    border-radius: 24px;
    border: 1px solid rgba(255, 236, 170, 0.78);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%, transparent 66%, rgba(255, 230, 150, 0.12));
    box-shadow:
        0 0 16px rgba(255, 231, 146, 0.74),
        0 0 34px rgba(255, 150, 35, 0.34),
        inset 0 0 18px rgba(255, 224, 130, 0.18);
    z-index: -1;
}

.winner-card-flip {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transform-style: preserve-3d;
}

.winner-card-face {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 20px;
    background: transparent;
    filter:
        drop-shadow(0 0 22px rgba(255, 225, 132, 0.32))
        drop-shadow(0 12px 28px rgba(0, 0, 0, 0.46));
}

.winner-card-front {
    opacity: 0;
}

.winner-card-back {
    opacity: 1;
}

.winner-hero-card.is-visible .winner-card-front {
    animation: winnerFrontFaceReveal 2s linear forwards;
}

.winner-hero-card.is-visible .winner-card-back {
    animation: winnerBackFaceReveal 2s linear forwards;
}

@keyframes winnerBackGlowPulse {
    0%, 100% {
        opacity: 0.82;
        transform: translate(-50%, -50%) scale(0.98);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.04);
    }
}

@keyframes winnerCardAura {
    0%, 100% {
        opacity: 0.72;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

@keyframes winnerCardFireRise {
    0% {
        opacity: 0;
        filter: blur(9px) brightness(1.35);
        transform: translate3d(0, 142px, 0) rotateY(1260deg) rotateZ(-7deg) scale(0.34);
    }

    18% {
        opacity: 0.42;
        filter: blur(6px) brightness(1.25);
        transform: translate3d(0, 92px, 0) rotateY(900deg) rotateZ(7deg) scale(0.50);
    }

    38% {
        opacity: 0.72;
        filter: blur(2.5px) brightness(1.18);
        transform: translate3d(0, 48px, 0) rotateY(540deg) rotateZ(-5deg) scale(0.68);
    }

    65% {
        opacity: 0.90;
        filter: blur(1.5px) brightness(1.15);
        transform: translate3d(0, 34px, 0) rotateY(180deg) rotateZ(3deg) scale(0.86);
    }

    76% {
        opacity: 0.98;
        filter: blur(0.7px) brightness(1.10);
        transform: translate3d(0, 8px, 0) rotateY(84deg) rotateZ(-2deg) scale(0.96);
    }

    88% {
        opacity: 1;
        filter: blur(0.25px) brightness(1.07);
        transform: translate3d(0, -5px, 0) rotateY(18deg) rotateZ(0.8deg) scale(1.035);
    }

    96% {
        opacity: 1;
        filter: blur(0) brightness(1.03);
        transform: translate3d(0, -2px, 0) rotateY(-4deg) rotateZ(-0.2deg) scale(1.015);
    }

    100% {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: translate3d(0, 0, 0) rotateY(0deg) rotateZ(0deg) scale(1);
    }
}

@keyframes winnerFrontFaceReveal {
    0%, 67% {
        opacity: 0;
    }

    75%, 100% {
        opacity: 1;
    }
}

@keyframes winnerBackFaceReveal {
    0%, 65% {
        opacity: 1;
    }

    73%, 100% {
        opacity: 0;
    }
}

@keyframes winnerFireHeatBloom {
    0%, 100% {
        opacity: 0.58;
        transform: translateX(-50%) scale(0.96, 0.98);
    }

    50% {
        opacity: 0.86;
        transform: translateX(-50%) translateY(-8px) scale(1.06, 1.08);
    }
}

@keyframes winnerFireVideoGlow {
    0%, 100% {
        filter:
            saturate(1.06)
            contrast(1.12)
            brightness(0.92);
    }

    50% {
        filter:
            saturate(1.18)
            contrast(1.22)
            brightness(1.04);
    }
}

@keyframes winnerEmberRise {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.4);
    }

    12% {
        opacity: 1;
    }

    46% {
        opacity: 0.88;
    }

    72% {
        opacity: 0.72;
    }

    100% {
        opacity: 0;
        transform: translate3d(var(--ember-drift), var(--ember-rise), 0) scale(1.35);
    }
}

.winner-card-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    position: relative;
    z-index: 3;
    perspective: 900px;
    transform-style: preserve-3d;
}

.checkout-section {
    padding: 56px 0 72px;
}

.checkout-card,
.summary-card {
    padding: 26px;
}

.checkout-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.checkout-text {
    color: var(--muted);
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    gap: 18px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.summary-title {
    font-size: 1.5rem;
    margin-bottom: 18px;
    letter-spacing: 0;
}

.checkout-brand-seal {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(215, 180, 90, 0.18);
}

.checkout-brand-seal img {
    width: 48px;
    height: 48px;
    display: block;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(215, 180, 90, 0.48);
    object-fit: cover;
}

.checkout-brand-seal strong,
.checkout-brand-seal span {
    display: block;
    min-width: 0;
}

.checkout-brand-seal strong {
    color: #ffffff;
    font-size: 0.98rem;
}

.checkout-brand-seal span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.86rem;
}

.summary-image-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    margin-bottom: 18px;
    padding: 14px;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-product-image {
    display: block;
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.summary-box {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
}

.summary-row strong {
    color: #fff;
}

.summary-row.total {
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 1.04rem;
}

.checkout-pull-preview {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(245, 201, 106, 0.16);
}

.checkout-pull-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.checkout-pull-preview-head span {
    color: var(--yellow);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-pull-preview-head strong {
    color: #ffffff;
    font-size: 0.86rem;
}

.checkout-pull-preview-list {
    display: grid;
    gap: 10px;
    max-height: 360px;
    overflow: auto;
    padding-right: 4px;
}

.checkout-pull-preview-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-pull-preview-image {
    width: 54px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-pull-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.checkout-pull-preview-card strong,
.checkout-pull-preview-card span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-pull-preview-card strong {
    color: #ffffff;
    font-size: 0.92rem;
}

.checkout-pull-preview-card span {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 4px;
}

.small-note {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.checkout-status {
    margin-top: 0;
    min-height: 1.6em;
}

.checkout-status[data-status="error"] {
    color: #ffb4a8;
}

@media (max-width: 920px) {
    .checkout-grid,
    .product-grid,
    .two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .checkout-section {
        padding: 36px 0 54px;
    }

    .checkout-card,
    .summary-card {
        padding: 20px;
    }

    .actions {
        flex-direction: column;
    }

    .actions .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .pull-preview-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pull-preview-controls {
        width: 100%;
        justify-content: flex-start;
    }

    .pull-slider-track {
        grid-auto-columns: 150px;
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .pull-preview-card {
        padding: 18px;
    }

    .pull-slider-track {
        grid-auto-columns: 132px;
        gap: 12px;
    }

    .pull-slide-card {
        padding: 10px;
    }

    .pull-slide-name {
        font-size: 0.88rem;
    }
}

.action-page {
    padding: 48px 0 72px;
}

.action-section {
    display: flex;
    justify-content: center;
}

.action-card {
    width: 100%;
    max-width: 1180px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.ship-card-layout {
    overflow: hidden;
}

.ship-layout-grid {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.ship-preview-panel,
.ship-form-panel {
    min-width: 0;
}

.ship-preview-frame {
    min-height: 520px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ship-preview-frame img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
    display: block;
}

.ship-preview-status {
    margin-top: 14px;
    color: var(--muted);
    text-align: center;
}

.action-form {
    display: grid;
    gap: 16px;
}

.form-grid.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.action-buttons.left {
    justify-content: flex-start;
}

.action-buttons.center {
    justify-content: center;
}

.btn-gold {
    background: var(--yellow);
    color: #111111;
    box-shadow: none;
}

.btn-dark {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.action-message {
    margin-top: 14px;
    color: var(--muted);
}

.action-message.show {
    color: #ffffff;
}

.action-message.is-success {
    color: #9fe7b6;
}

@media (max-width: 980px) {
    .ship-layout-grid {
        grid-template-columns: 1fr;
    }

    .ship-preview-frame {
        min-height: 340px;
    }
}

@media (max-width: 640px) {
    .action-page {
        padding: 34px 0 54px;
    }

    .action-card {
        padding: 20px;
        border-radius: 22px;
    }

    .form-grid.two {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        width: 100%;
    }
}

.sellback-page {
    padding: 48px 0 72px;
}

.sellback-centered-wrap {
    display: flex;
    justify-content: center;
}

.sellback-centered-card {
    max-width: 940px;
}

.sellback-preview-stage {
    display: flex;
    justify-content: center;
    margin: 10px 0 24px;
}

.sellback-preview-shell {
    width: min(100%, 360px);
}

.sellback-preview-media {
    min-height: 460px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sellback-preview-media img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
}

.sellback-preview-media.is-empty {
    color: rgba(255, 255, 255, 0.60);
    text-align: center;
}

.sellback-detail-stack {
    display: grid;
    gap: 16px;
    text-align: center;
}

.sellback-mini-label {
    color: rgba(255, 255, 255, 0.60);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.sellback-detail-stack h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.08;
}

.sellback-subtext {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
}

.sellback-credit-panel {
    padding: 20px;
    border-radius: 16px;
    background: rgba(215, 180, 90, 0.10);
    border: 1px solid rgba(245, 201, 106, 0.16);
}

.sellback-credit-label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    font-weight: 700;
}

.sellback-credit-panel strong {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    color: #ffd76e;
}

.sellback-note-box {
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.sellback-note-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.sellback-action-buttons {
    margin-top: 6px;
}

@media (max-width: 640px) {
    .sellback-page {
        padding: 34px 0 54px;
    }

    .sellback-preview-media {
        min-height: 320px;
    }
}

.admin-page {
    padding: 48px 0 72px;
}

.admin-section {
    display: grid;
    gap: 22px;
}

.admin-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.admin-title {
    margin: 10px 0 10px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.admin-subtitle {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.admin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-sync-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sync-card > div {
    display: grid;
    gap: 5px;
}

.admin-sync-label {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-sync-card strong {
    color: #ffffff;
}

.admin-sync-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.5;
    text-align: right;
}

.admin-sync-card p[data-tone="success"] {
    color: #aee7c4;
}

.admin-sync-card p[data-tone="warning"] {
    color: #ffe39b;
}

.admin-search-card {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-search-card label {
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.admin-search-card input {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(5, 8, 16, 0.72);
    color: #ffffff;
    padding: 0 14px;
    font: inherit;
}

.admin-search-card input:focus {
    border-color: rgba(245, 201, 106, 0.72);
    outline: none;
    box-shadow: 0 0 0 4px rgba(245, 201, 106, 0.12);
}

.admin-search-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.admin-stat-card,
.admin-panel {
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: none;
}

.admin-stat-card {
    padding: 18px;
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.admin-stat-label {
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.86rem;
}

.admin-stat-value {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
    gap: 20px;
    align-items: start;
}

.admin-side-stack {
    display: grid;
    gap: 20px;
}

.admin-panel {
    padding: 22px;
}

.admin-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.admin-panel-head h2 {
    margin: 0;
    font-size: 1.15rem;
}

.admin-panel-subtext {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.68);
}

.admin-panel-note {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
    font-weight: 700;
}

.admin-order-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -4px 0 18px;
}

.admin-order-tab {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.74);
    cursor: pointer;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 900;
}

.admin-order-tab span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    margin-left: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.75rem;
}

.admin-order-tab.is-active {
    border-color: rgba(245, 201, 106, 0.48);
    background: rgba(245, 201, 106, 0.14);
    color: var(--gold);
}

.admin-order-tab:focus-visible {
    outline: 3px solid rgba(245, 201, 106, 0.28);
    outline-offset: 2px;
}

.admin-list {
    display: grid;
    gap: 14px;
}

.admin-empty-state {
    padding: 34px 20px;
    border-radius: 14px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
}

.admin-empty-state.small {
    padding: 26px 18px;
}

.admin-empty-state h3 {
    margin: 0 0 10px;
}

.admin-empty-state p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.admin-row-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-row-card img {
    width: 92px;
    height: 128px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.admin-side-stack .admin-row-card {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
}

.admin-side-stack .admin-row-card img {
    width: 76px;
    height: 104px;
}

.admin-row-body {
    min-width: 0;
}

.admin-row-title {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 1rem;
}

.admin-row-meta {
    display: grid;
    gap: 6px;
}

.admin-row-meta span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
}

.admin-tracking-link {
    color: var(--gold);
    font-weight: 800;
    text-decoration: none;
}

.admin-tracking-link:hover,
.admin-tracking-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.admin-address-block {
    display: grid;
    gap: 10px;
    margin-top: 4px;
    padding: 12px;
    border: 1px solid rgba(245, 201, 106, 0.2);
    border-radius: 12px;
    background: rgba(245, 201, 106, 0.07);
}

.admin-address-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-address-block-head strong {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-address-lines {
    display: grid;
    gap: 2px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
}

.admin-address-lines span {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.45;
}

.admin-copy-address {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}

.admin-copy-address:hover,
.admin-copy-address:focus-visible {
    border-color: rgba(245, 201, 106, 0.5);
    background: rgba(245, 201, 106, 0.14);
    color: var(--gold);
    outline: none;
}

.admin-copy-address:disabled {
    cursor: wait;
    opacity: 0.66;
}

.admin-row-side {
    display: grid;
    gap: 10px;
    justify-items: end;
    text-align: right;
}

.admin-side-stack .admin-row-side {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.admin-row-action {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(245, 201, 106, 0.42);
    background: rgba(245, 201, 106, 0.13);
    color: var(--gold);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.admin-row-action:hover,
.admin-row-action:focus-visible {
    border-color: rgba(245, 201, 106, 0.7);
    background: rgba(245, 201, 106, 0.2);
    outline: none;
}

.admin-row-action:disabled {
    cursor: wait;
    opacity: 0.62;
}

.admin-row-action-muted {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1100px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-sync-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-sync-card p {
        text-align: left;
    }

}

@media (max-width: 700px) {
    .admin-page {
        padding: 34px 0 54px;
    }

    .admin-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-hero-actions {
        width: 100%;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-row-card {
        grid-template-columns: 1fr;
    }

    .admin-row-side {
        justify-items: start;
        text-align: left;
    }
}

.confirmation-page {
    padding: 48px 0 72px;
}

.confirmation-section {
    display: flex;
    justify-content: center;
}

.confirmation-card {
    width: 100%;
    max-width: 1120px;
    padding: 34px 28px;
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.confirmation-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(215, 180, 90, 0.10);
    color: #ffd76e;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(245, 201, 106, 0.18);
    margin-bottom: 14px;
}

.confirmation-card h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.confirmation-subtext {
    margin: 0 0 30px;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1rem;
    line-height: 1.7;
}

.confirmation-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
    align-items: center;
}

.confirmation-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 215, 110, 0.15);
}

.confirmation-image-wrap img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.4));
}

.confirmation-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.confirmation-detail-box {
    padding: 20px 22px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.confirmation-detail-box h2 {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.25;
}

.confirmation-price {
    font-size: 2rem;
    font-weight: 800;
    color: #ffd76e;
}

.confirmation-note {
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(215, 180, 90, 0.08);
    border: 1px solid rgba(255, 215, 110, 0.16);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.confirmation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 6px;
}

.confirmation-actions .btn {
    min-width: 190px;
    text-align: center;
}

@media (max-width: 980px) {
    .confirmation-layout {
        grid-template-columns: 1fr;
    }

    .confirmation-image-wrap {
        min-height: auto;
    }

    .confirmation-image-wrap img {
        max-width: 260px;
    }
}

@media (max-width: 640px) {
    .confirmation-page {
        padding: 34px 0 54px;
    }

    .confirmation-card {
        padding: 26px 18px;
        border-radius: 22px;
    }

    .confirmation-card h1 {
        font-size: 1.9rem;
    }

    .confirmation-detail-box h2 {
        font-size: 1.25rem;
    }

    .confirmation-price {
        font-size: 1.6rem;
    }

    .confirmation-actions {
        flex-direction: column;
    }

    .confirmation-actions .btn {
        width: 100%;
    }
}

/* MEMORY LINE: AUTH AND PROFILE PAGES START */
.auth-page,
.profile-page {
    min-height: calc(100vh - 90px);
    padding: 52px 0 72px;
}

.auth-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.auth-card,
.profile-header-card,
.profile-stat-card,
.profile-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 720px;
    border-radius: var(--radius-lg);
    padding: 34px 26px 28px;
    overflow: hidden;
    isolation: isolate;
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(215, 180, 90, 0.035), transparent 34%);
    pointer-events: none;
    z-index: 0;
}

.auth-card > * {
    position: relative;
    z-index: 1;
}

.auth-form {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.auth-submit-btn {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 54px;
    margin-top: 6px;
}

.auth-links-row {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 12px;
}

.auth-link {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    color: #d9dde7;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    pointer-events: auto;
    transition: color var(--ease-fast), opacity var(--ease-fast), transform var(--ease-fast);
}

.auth-link:hover {
    color: var(--yellow);
    transform: translateY(-1px);
}

.auth-link:focus-visible {
    outline: 2px solid rgba(245, 201, 106, 0.55);
    outline-offset: 3px;
    border-radius: 8px;
}

.action-message {
    position: relative;
    z-index: 1;
    min-height: 24px;
    margin-top: 14px;
    font-size: 0.94rem;
    color: var(--muted);
    pointer-events: none;
}

.profile-shell {
    display: grid;
    gap: 22px;
}

.profile-header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}

.profile-header-card h1 {
    margin: 8px 0 8px;
}

.profile-header-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
}

.profile-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.profile-stat-card {
    border-radius: var(--radius);
    padding: 20px 18px;
}

.profile-stat-label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-stat-value {
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
}

.profile-stat-note {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.profile-panel {
    border-radius: var(--radius-lg);
    padding: 24px;
}

.profile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.profile-panel-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.profile-table-wrap {
    overflow-x: auto;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table th,
.profile-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-table th {
    color: rgba(255, 255, 255, 0.60);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.profile-table td {
    color: #edf2ff;
    font-size: 0.95rem;
}

.profile-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.profile-status-pill.shipped {
    color: #cfe4ff;
    background: rgba(106, 168, 255, 0.12);
    border-color: rgba(106, 168, 255, 0.22);
}

.profile-status-pill.sold {
    color: #ffe39b;
    background: rgba(245, 201, 106, 0.12);
    border-color: rgba(245, 201, 106, 0.22);
}

.profile-status-pill.processing {
    color: #f4f6fb;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-header-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .auth-page,
    .profile-page {
        padding: 34px 0 54px;
    }

    .auth-card {
        padding: 26px 18px 22px;
        border-radius: 24px;
    }

    .auth-links-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .profile-stats-grid {
        grid-template-columns: 1fr;
    }

    .profile-panel,
    .profile-header-card,
    .profile-stat-card {
        padding: 20px 18px;
        border-radius: 20px;
    }

    .profile-table th,
    .profile-table td {
        padding: 12px 10px;
        font-size: 0.88rem;
    }
}

.profile-page {
    min-height: 100vh;
    padding: 48px 0 72px;
    background: linear-gradient(180deg, #080a0f 0%, #101722 100%);
}

.profile-shell {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.profile-hero-card,
.dashboard-panel,
.profile-stat-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: none;
}

.profile-hero-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    margin-bottom: 24px;
}

.profile-hero-left h1 {
    margin: 10px 0 10px;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.05;
}

.profile-subtitle {
    margin: 0 0 24px;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.6;
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(215, 180, 90, 0.12);
    border: 1px solid rgba(255, 196, 64, 0.26);
    color: #f6c75e;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.profile-identity-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.3rem;
    color: #08111f;
    background: var(--yellow);
    box-shadow: none;
}

.profile-identity-copy h2 {
    margin: 0 0 4px;
    font-size: 1.25rem;
}

.profile-identity-copy p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.72);
}

.profile-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(73, 201, 126, 0.14);
    border: 1px solid rgba(73, 201, 126, 0.24);
    color: #7be3a1;
}

.profile-hero-right {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.profile-stat-card {
    padding: 18px 18px 20px;
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-stat-card.highlight {
    border-color: rgba(240, 185, 61, 0.28);
    box-shadow: 0 10px 24px rgba(215, 180, 90, 0.10);
}

.profile-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem;
}

.profile-stat-value {
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1;
    font-weight: 800;
    color: #ffffff;
}

.profile-dashboard-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.profile-left-column,
.profile-right-column {
    display: grid;
    gap: 20px;
}

.dashboard-panel {
    padding: 22px;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.panel-heading h3 {
    margin: 0;
    font-size: 1.1rem;
}

.panel-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.panel-tag.gold {
    background: rgba(240, 185, 61, 0.14);
    color: #f6c75e;
}

.detail-list {
    display: grid;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
}

.detail-value {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
}

.store-credit-card {
    padding: 22px;
    border-radius: 14px;
    background: rgba(215, 180, 90, 0.10);
    border: 1px solid rgba(240, 185, 61, 0.22);
}

.store-credit-label {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
}

.store-credit-card h2 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
}

.store-credit-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
}

.mini-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mini-summary-card {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-summary-card span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    line-height: 1.5;
}

.mini-summary-card strong {
    font-size: 1.5rem;
    color: #ffffff;
}

.activity-list {
    display: grid;
    gap: 16px;
}

.activity-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.activity-card-image-wrap {
    width: 140px;
    height: 190px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.activity-card-body {
    min-width: 0;
}

.activity-card-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #ffffff;
}

.activity-card-meta {
    display: grid;
    gap: 8px;
}

.activity-card-meta span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.5;
    word-break: break-word;
}

.activity-card-side {
    display: grid;
    gap: 10px;
    justify-items: end;
    text-align: right;
}

.activity-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.activity-badge.sold {
    color: #ffd88b;
    background: rgba(240, 185, 61, 0.14);
    border: 1px solid rgba(240, 185, 61, 0.22);
}

.activity-badge.shipped {
    color: #8fd0ff;
    background: rgba(64, 157, 255, 0.14);
    border: 1px solid rgba(64, 157, 255, 0.22);
}

.activity-badge.pending {
    color: #b8c4d8;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.activity-credit {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
}

.activity-empty-state {
    padding: 40px 24px;
    text-align: center;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
}

.activity-empty-state h4 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.activity-empty-state p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1100px) {
    .profile-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .profile-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .profile-hero-card {
        flex-direction: column;
    }

    .profile-hero-right {
        width: 100%;
    }

    .profile-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .activity-card {
        grid-template-columns: 1fr;
    }

    .activity-card-image-wrap {
        width: 100%;
        max-width: 240px;
        height: 300px;
    }

    .activity-card-side {
        justify-items: start;
        text-align: left;
    }
}

@media (max-width: 560px) {
    .profile-page {
        padding: 28px 0 48px;
    }

    .profile-shell {
        width: min(100% - 20px, 1200px);
    }

    .profile-stats-grid,
    .mini-summary-grid {
        grid-template-columns: 1fr;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-value {
        text-align: left;
    }
}

/* MEMORY LINE: POLICIES PAGE START */
.policies-page {
    background: linear-gradient(180deg, #080a0f 0%, #101722 100%);
}

.policies-hero-pro {
    padding: 44px 0 22px;
}

.policies-hero-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 34px;
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.policies-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.policies-badge,
.policies-updated {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.policies-badge {
    color: #f5c96a;
    background: rgba(245, 201, 106, 0.10);
    border: 1px solid rgba(245, 201, 106, 0.22);
}

.policies-updated {
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.policies-main-title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.05;
    color: #ffffff;
}

.policies-main-intro {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.03rem;
    line-height: 1.75;
}

.policies-highlight-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.policies-highlight-box {
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.policies-highlight-box h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 1rem;
}

.policies-highlight-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
    font-size: 0.94rem;
}

.policies-content-section {
    padding: 6px 0 60px;
}

.policies-grid-pro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
}

.policy-pro-card {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.policy-pro-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 201, 106, 0.20);
    box-shadow: var(--shadow-soft);
}

.policy-pro-card h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1.2;
}

.policy-pro-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.72;
    font-size: 0.97rem;
}

.policies-bottom-note {
    max-width: 980px;
    margin: 22px auto 0;
    padding: 24px;
    border-radius: var(--radius);
    background: rgba(215, 180, 90, 0.08);
    border: 1px solid rgba(245, 201, 106, 0.14);
    box-shadow: var(--shadow);
}

.policies-bottom-note h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 1.08rem;
}

.policies-bottom-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .policies-highlight-row,
    .policies-grid-pro {
        grid-template-columns: 1fr;
    }

    .policies-hero-card {
        padding: 24px;
    }

    .policy-pro-card {
        padding: 20px;
    }
}

/* MEMORY LINE: MOBILE CUSTOMER EXPERIENCE RESPONSIVE PASS START */
@media (max-width: 980px) {
    .hero {
        padding: 56px 0 34px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .pull-preview-card {
        width: 100%;
        margin-right: 0;
    }

    .reveal-stage {
        min-height: 460px;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 48px 0;
    }

    .hero h1 {
        font-size: 2.65rem;
        line-height: 1.02;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-stats,
    .steps,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .product-actions,
    .pack-meta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .product-actions .btn,
    .pack-meta .btn {
        width: 100%;
    }

    .pack-image {
        height: 260px;
    }

    .product-hero {
        padding: 34px 0 48px;
    }

    .product-info-card,
    .product-image-card,
    .checkout-card,
    .summary-card,
    .result-panel {
        padding: 18px;
    }

    .product-title,
    .checkout-title {
        font-size: 2rem;
        line-height: 1.08;
    }

    .checkout-grid .checkout-card {
        order: -1;
    }

    .checkout-grid .summary-card {
        order: 0;
    }

    .reveal-stage {
        min-height: 380px;
    }

    .pull-preview-header {
        align-items: stretch;
    }

    .pull-preview-controls {
        justify-content: space-between;
    }

    .pull-slider-btn {
        width: 48px;
        height: 48px;
    }

    .unbox-section {
        padding-top: 32px;
        padding-bottom: 58px;
    }

    .unbox-roller-shell {
        --slot-width: 118px;
        --slot-gap: 14px;
        --rail-height: 380px;
        padding: 14px 12px 18px;
    }

    .spin-status {
        width: 100%;
        min-width: 0;
    }

    .pull-card.winner-hero-card {
        width: min(220px, 62vw);
    }

    .result-actions {
        flex-direction: column;
    }

    .result-actions .result-btn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    body {
        overflow-x: hidden;
    }

    .container {
        width: min(100% - 22px, var(--container));
    }

    .nav {
        min-height: auto;
        padding: 12px 0;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .logo {
        justify-content: center;
        font-size: 1.35rem;
        line-height: 1;
    }

    .nav-links {
        justify-content: center;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        flex: 0 0 auto;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .nav-links a[href="login.html"],
    .nav-links a[href="profile.html"],
    .nav-links .admin-nav-current {
        padding: 8px 11px;
    }

    .hero {
        padding-top: 38px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: 2.05rem;
        line-height: 1.04;
        text-wrap: balance;
    }

    .hero-copy,
    .hero-card,
    .mock-pack,
    .pack-card,
    .product-info-card,
    .product-image-card,
    .checkout-card,
    .summary-card,
    .result-panel,
    .pull-preview-card {
        min-width: 0;
        width: 100%;
    }

    .hero-copy {
        max-width: calc(100vw - 22px);
    }

    .hero p {
        max-width: min(100%, 330px);
        overflow-wrap: break-word;
    }

    .mock-pack {
        padding: 16px;
    }

    .mock-pack-top,
    .pack-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .pack-visual {
        min-height: 240px;
        padding: 12px;
    }

    .pack-card,
    .product-info-card,
    .product-image-card,
    .checkout-card,
    .summary-card,
    .result-panel,
    .cta,
    .trust-box,
    .step,
    .pull-preview-card {
        border-radius: 14px;
    }

    .pack-content {
        padding: 16px;
    }

    .pack-content p {
        min-height: 0;
    }

    .product-page,
    .checkout-page,
    .unbox-page {
        padding-bottom: 48px;
    }

    .product-grid,
    .checkout-grid {
        gap: 18px;
    }

    .reveal-stage {
        min-height: 330px;
    }

    .reveal-stage.is-raw-product .reveal-product-image {
        padding: 18px;
    }

    .pull-slider-track {
        grid-auto-columns: 126px;
    }

    .summary-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .checkout-pull-preview-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .unbox-roller-shell {
        --slot-width: 98px;
        --slot-gap: 12px;
        --rail-height: 330px;
        border-radius: 16px;
    }

    .winner-frame::before {
        font-size: 0.82rem;
        top: -16px;
        padding: 7px 12px;
    }

    #unboxBtn {
        width: 100%;
    }

    .profile-identity-block {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-hero-right,
    .profile-header-actions {
        width: 100%;
        flex-direction: column;
    }

    .profile-hero-right .btn,
    .profile-header-actions .btn {
        width: 100%;
    }

    .activity-card-image-wrap {
        max-width: 190px;
        height: 250px;
        margin: 0 auto;
    }
}
/* MEMORY LINE: MOBILE CUSTOMER EXPERIENCE RESPONSIVE PASS END */

/* MEMORY LINE: MOBILE RESPONSIVE SYSTEM START */
@media (max-width: 980px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .container,
    .profile-shell {
        width: min(100% - 28px, var(--container));
    }

    .hero-grid,
    .product-grid,
    .checkout-grid,
    .trust-grid,
    .profile-dashboard-grid,
    .admin-grid,
    .ship-layout-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 64px 0 38px;
    }

    .hero-grid {
        align-items: start;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-info-card,
    .checkout-grid .checkout-card {
        order: -1;
    }

    .checkout-grid .summary-card {
        order: 0;
    }

    .product-info-card,
    .summary-card,
    .checkout-card,
    .pull-preview-card,
    .profile-panel,
    .dashboard-panel,
    .admin-panel {
        min-width: 0;
    }

    .pull-preview-card {
        width: 100%;
        margin-right: 0;
    }

    .profile-stats-grid,
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .container,
    .profile-shell {
        width: min(100% - 24px, var(--container));
    }

    .site-header,
    header {
        position: sticky;
    }

    .nav {
        min-height: auto;
        padding: 12px 0;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .logo {
        justify-content: center;
        font-size: clamp(1.28rem, 6vw, 1.55rem);
        line-height: 1.05;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
    }

    .nav-links {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
        margin: 0 -2px;
        padding: 4px 2px 8px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        flex: 0 0 auto;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 13px;
        border-radius: 999px;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    .nav-links a[href="login.html"],
    .nav-links a[href="profile.html"],
    .nav-links .admin-nav-current {
        padding: 10px 13px;
        border-radius: 999px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: clamp(1.9rem, 8vw, 2.45rem);
        line-height: 1.08;
    }

    .section-subtitle {
        margin-bottom: 24px;
        font-size: 0.98rem;
    }

    .hero {
        padding: 36px 0 28px;
    }

    .hero-grid {
        gap: 22px;
    }

    .hero h1 {
        font-size: clamp(2.15rem, 12vw, 3rem);
        line-height: 1.02;
        text-wrap: balance;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-actions,
    .product-actions,
    .pack-meta,
    .result-actions,
    .action-buttons,
    .admin-hero-actions,
    .profile-header-actions,
    .profile-hero-right {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .product-actions .btn,
    .pack-meta .btn,
    .result-actions .result-btn,
    .action-buttons .btn,
    .admin-hero-actions .btn,
    .profile-header-actions .btn,
    .profile-hero-right .btn {
        width: 100%;
    }

    .btn,
    .result-btn,
    button,
    .nav-links a {
        min-height: 46px;
    }

    .field input,
    .field select,
    .field textarea,
    .form-group input,
    .form-group select,
    .form-group textarea,
    .auth-form input,
    .auth-form select,
    .auth-form textarea {
        min-height: 52px;
        font-size: 16px;
    }

    .hero-stats,
    .cards-grid,
    .steps,
    .profile-stats-grid,
    .admin-stats-grid,
    .mini-summary-grid {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .mock-pack,
    .pack-card,
    .product-info-card,
    .product-image-card,
    .checkout-card,
    .summary-card,
    .result-panel,
    .action-card,
    .sellback-centered-card,
    .profile-hero-card,
    .dashboard-panel,
    .profile-panel,
    .profile-stat-card,
    .admin-hero,
    .admin-panel,
    .admin-stat-card,
    .pull-preview-card,
    .trust-box,
    .step,
    .cta {
        border-radius: 18px;
    }

    .mock-pack,
    .pack-content,
    .product-info-card,
    .product-image-card,
    .checkout-card,
    .summary-card,
    .result-panel,
    .action-card,
    .sellback-centered-card,
    .profile-hero-card,
    .dashboard-panel,
    .profile-panel,
    .admin-hero,
    .admin-panel,
    .cta {
        padding: 20px;
    }

    .pack-visual {
        min-height: 240px;
        padding: 14px;
    }

    .pack-image {
        height: auto;
        aspect-ratio: 1.08 / 1;
        padding: 14px;
    }

    .pack-image img {
        object-fit: contain;
    }

    .product-hero {
        padding: 32px 0 48px;
    }

    .product-title,
    .checkout-title {
        font-size: clamp(2rem, 10vw, 2.45rem);
        line-height: 1.08;
    }

    .product-text,
    .checkout-text,
    .pull-preview-text {
        font-size: 0.98rem;
    }

    .product-points {
        gap: 10px;
    }

    .point {
        padding: 13px 14px;
    }

    .reveal-stage {
        min-height: min(88vw, 360px);
        border-radius: 16px;
    }

    .reveal-stage.is-raw-product .reveal-product-image,
    .reveal-product-image {
        padding: 18px;
    }

    .reveal-trigger {
        width: calc(100% - 32px);
        max-width: 320px;
        min-height: 50px;
        bottom: 14px;
    }

    .pull-preview-header,
    .checkout-pull-preview-head,
    .admin-panel-head,
    .profile-panel-header {
        flex-direction: column;
        align-items: stretch;
    }

    .pull-preview-controls {
        justify-content: space-between;
    }

    .pull-slider-btn {
        width: 48px;
        height: 48px;
    }

    .pull-slider-window {
        margin: 0 -2px;
        padding-bottom: 4px;
    }

    .pull-slider-track {
        grid-auto-columns: minmax(124px, 38vw);
        gap: 12px;
    }

    .checkout-page,
    .product-page,
    .unbox-page,
    .profile-page,
    .admin-page,
    .action-page,
    .sellback-page,
    .auth-page {
        padding-top: 28px;
        padding-bottom: max(56px, calc(env(safe-area-inset-bottom) + 40px));
    }

    .summary-row,
    .detail-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .detail-value {
        max-width: 100%;
        text-align: left;
        word-break: break-word;
    }

    .unbox-section {
        padding-top: 24px;
        padding-bottom: 66px;
    }

    .spin-status {
        width: 100%;
        min-width: 0;
    }

    .unbox-roller-shell {
        --slot-width: clamp(94px, 27vw, 118px);
        --slot-gap: 12px;
        --rail-height: min(86vw, 340px);
        padding: 12px 10px 16px;
        border-radius: 16px;
    }

    .pull-card.is-winner,
    .pull-card.winner-focus,
    .pull-card.winner-pop {
        transform: scale(1.22) translateY(-8px);
    }

    .winner-back-glow {
        width: 120vw;
        height: 82vw;
        opacity: 0.62;
        filter: blur(16px) saturate(1.05);
    }

    .winner-fire-layer,
    .winner-ember-layer {
        inset: -4%;
    }

    .pull-result {
        font-size: 1rem;
    }

    .result-panel {
        margin-top: 20px;
    }

    #unboxBtn {
        width: 100%;
    }

    .ship-preview-frame,
    .sellback-preview-media {
        min-height: 300px;
        padding: 16px;
    }

    .ship-preview-frame img,
    .sellback-preview-media img {
        max-height: 300px;
    }

    .form-grid.two,
    .two-col {
        grid-template-columns: 1fr;
    }

    .profile-hero-card,
    .profile-identity-block,
    .admin-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-hero-right,
    .profile-header-actions {
        width: 100%;
    }

    .profile-identity-copy p,
    .profile-detail-value,
    .detail-value {
        overflow-wrap: anywhere;
    }

    .activity-card {
        grid-template-columns: 88px minmax(0, 1fr);
        align-items: start;
        gap: 14px;
    }

    .activity-card-image-wrap {
        width: 88px;
        height: 118px;
        max-width: 88px;
        margin: 0;
    }

    .activity-card-side {
        grid-column: 1 / -1;
        justify-items: start;
        text-align: left;
    }

    .admin-row-card {
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: start;
        gap: 14px;
    }

    .admin-row-card img {
        width: 76px;
        height: 104px;
    }

    .admin-row-side {
        grid-column: 1 / -1;
        justify-items: start;
        text-align: left;
    }

    .auth-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container,
    .profile-shell {
        width: min(100% - 20px, var(--container));
    }

    .logo {
        font-size: 1.24rem;
    }

    .logo-mark {
        width: 31px;
        height: 31px;
    }

    .nav-links a {
        min-height: 42px;
        padding: 9px 11px;
        font-size: 0.84rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p,
    .section-subtitle,
    .small-text {
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 10px;
    }

    .stat,
    .step,
    .trust-box,
    .pack-content,
    .mock-pack,
    .product-info-card,
    .product-image-card,
    .checkout-card,
    .summary-card,
    .result-panel,
    .action-card,
    .sellback-centered-card,
    .profile-hero-card,
    .dashboard-panel,
    .profile-panel,
    .profile-stat-card,
    .admin-hero,
    .admin-panel,
    .admin-stat-card,
    .cta {
        padding: 18px 16px;
    }

    .pack-visual {
        min-height: 216px;
    }

    .pack-image {
        aspect-ratio: 1 / 0.9;
    }

    .product-title,
    .checkout-title,
    .admin-title {
        font-size: 1.86rem;
    }

    .product-info-card .point {
        padding: 12px 0;
    }

    .reveal-stage {
        min-height: 315px;
    }

    .pull-slider-track {
        grid-auto-columns: 120px;
    }

    .unbox-roller-shell {
        --slot-width: 94px;
        --rail-height: 314px;
    }

    .winner-frame::before {
        top: -15px;
        padding: 7px 11px;
        font-size: 0.78rem;
    }

    .activity-card,
    .admin-row-card {
        grid-template-columns: 1fr;
    }

    .activity-card-image-wrap {
        width: 100%;
        max-width: 180px;
        height: 235px;
        margin: 0 auto;
    }

    .admin-row-card img {
        width: 96px;
        height: 132px;
    }

    .auth-card {
        padding: 24px 16px 20px;
    }

    footer {
        padding-bottom: max(34px, calc(env(safe-area-inset-bottom) + 22px));
    }
}

@media (max-width: 390px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .unbox-roller-shell {
        --slot-width: 88px;
        --rail-height: 300px;
    }

    .pull-card.is-winner,
    .pull-card.winner-focus,
    .pull-card.winner-pop {
        transform: scale(1.16) translateY(-6px);
    }

    .pull-slider-track {
        grid-auto-columns: 118px;
    }
}
/* MEMORY LINE: MOBILE RESPONSIVE SYSTEM END */

/* MEMORY LINE: MOBILE-ONLY UI REDESIGN START */
@media (max-width: 980px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container,
    .profile-shell {
        width: min(100% - 32px, var(--container));
    }

    .site-header,
    header {
        background: rgba(8, 10, 15, 0.98);
    }

    .nav {
        min-height: 68px;
        padding: 10px 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .logo {
        min-width: 0;
        max-width: 44%;
        gap: 7px;
        overflow: hidden;
        white-space: nowrap;
        font-size: clamp(1rem, 3.8vw, 1.36rem);
        line-height: 1;
    }

    .logo-mark {
        width: 30px;
        height: 30px;
    }

    .nav-links {
        flex: 1 1 auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 7px;
        min-width: 0;
        margin: 0;
        padding: 3px 0;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a,
    .nav-links a[href="login.html"],
    .nav-links a[href="profile.html"],
    .nav-links .admin-nav-current {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 9px 11px;
        border-radius: 999px;
        font-size: 0.84rem;
        line-height: 1;
        white-space: nowrap;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 2.7rem);
        line-height: 1.08;
        margin-bottom: 10px;
    }

    .section-subtitle {
        max-width: 620px;
        margin-bottom: 26px;
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero {
        padding: 42px 0 44px;
    }

    .hero::before,
    .hero::after,
    .product-hero::before,
    .product-hero::after {
        opacity: 0.55;
    }

    .hero-grid {
        gap: 24px;
    }

    .hero h1 {
        max-width: 720px;
        margin-bottom: 16px;
        font-size: clamp(2.25rem, 7.4vw, 3.25rem);
        line-height: 1.05;
        letter-spacing: -0.02em;
    }

    .hero p {
        max-width: 640px;
        font-size: 1rem;
        line-height: 1.7;
    }

    .eyebrow,
    .dashboard-badge,
    .policies-badge,
    .policies-updated {
        max-width: 100%;
        padding: 7px 11px;
        border-radius: 999px;
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        line-height: 1.25;
    }

    .hero-actions,
    .product-actions,
    .actions,
    .result-actions,
    .confirmation-actions {
        gap: 10px;
    }

    .hero-actions .btn,
    .product-actions .btn,
    .actions .btn,
    .result-actions .result-btn,
    .confirmation-actions .btn {
        min-height: 52px;
        border-radius: 14px;
    }

    .hero-stats {
        gap: 10px;
        margin-top: 24px;
    }

    .stat,
    .step,
    .trust-box,
    .pack-card,
    .mock-pack,
    .product-info-card,
    .product-image-card,
    .checkout-card,
    .summary-card,
    .result-panel,
    .action-card,
    .sellback-centered-card,
    .confirmation-card,
    .profile-hero-card,
    .dashboard-panel,
    .profile-panel,
    .profile-stat-card,
    .admin-hero,
    .admin-panel,
    .admin-stat-card,
    .pull-preview-card,
    .policies-hero-card,
    .policy-pro-card,
    .policies-bottom-note {
        border-radius: 18px;
    }

    .stat {
        padding: 15px 16px;
    }

    .stat span,
    .step p,
    .trust-box,
    .product-text,
    .checkout-text,
    .pull-preview-text,
    .small-note,
    .profile-subtitle,
    .activity-card-meta span {
        line-height: 1.62;
    }

    .hero-card {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }

    .mock-pack {
        padding: 18px;
    }

    .pack-visual {
        min-height: clamp(230px, 48vw, 360px);
    }

    .cards-grid {
        gap: 18px;
    }

    .pack-card {
        overflow: hidden;
    }

    .pack-image {
        height: auto;
        min-height: 0;
        aspect-ratio: 1.16 / 1;
        padding: 16px;
    }

    .pack-image img {
        object-fit: contain;
    }

    .pack-content {
        padding: 18px;
    }

    .pack-content p {
        min-height: 0;
        line-height: 1.58;
    }

    .product-hero,
    .checkout-section,
    .action-page,
    .confirmation-page,
    .profile-page,
    .admin-page,
    .auth-page {
        padding-top: 32px;
        padding-bottom: max(54px, calc(env(safe-area-inset-bottom) + 38px));
    }

    .product-grid,
    .checkout-grid,
    .profile-dashboard-grid,
    .admin-grid,
    .ship-layout-grid,
    .confirmation-layout {
        gap: 16px;
    }

    .product-info-card,
    .checkout-grid .checkout-card {
        order: -1;
    }

    .checkout-grid .summary-card {
        order: 0;
    }

    .product-info-card,
    .product-image-card,
    .checkout-card,
    .summary-card,
    .pull-preview-card,
    .result-panel,
    .action-card,
    .sellback-centered-card,
    .confirmation-card,
    .dashboard-panel,
    .profile-panel,
    .admin-panel {
        padding: 20px;
        min-width: 0;
    }

    .product-title,
    .checkout-title,
    .admin-title {
        font-size: clamp(2rem, 6.2vw, 2.55rem);
        line-height: 1.08;
        letter-spacing: -0.02em;
    }

    .product-info-card .price,
    .checkout-card .price,
    .summary-row.total strong {
        font-size: 1.45rem;
    }

    .product-actions .btn,
    .actions .btn,
    #unboxBtn,
    .auth-submit-btn {
        width: 100%;
    }

    .product-points {
        gap: 10px;
    }

    .point {
        padding: 13px 14px;
        border-radius: 14px;
    }

    .reveal-stage {
        width: 100%;
        min-height: 0;
        aspect-ratio: 1 / 1;
        max-height: 460px;
        border-radius: 18px;
    }

    .reveal-product-image,
    .reveal-stage.is-raw-product .reveal-product-image {
        padding: clamp(12px, 4vw, 22px);
    }

    .vault-top-sign {
        top: 14px;
        max-width: calc(100% - 28px);
        padding: 8px 12px;
        font-size: 0.66rem;
        text-align: center;
    }

    .pull-preview-card {
        width: 100%;
        margin-right: 0;
        overflow: hidden;
    }

    .pull-preview-header,
    .checkout-pull-preview-head,
    .profile-panel-header,
    .admin-panel-head {
        gap: 10px;
    }

    .pull-slider-window {
        max-width: 100%;
        margin: 0;
        overflow-x: auto;
    }

    .pull-slider-track {
        grid-auto-columns: clamp(124px, 28vw, 160px);
        gap: 12px;
    }

    .pull-slide-card,
    .checkout-pull-preview-card {
        border-radius: 14px;
    }

    .checkout-card,
    .summary-card {
        display: grid;
        gap: 18px;
    }

    .checkout-title,
    .summary-title {
        margin-bottom: 0;
    }

    .checkout-text {
        margin-bottom: 0;
    }

    .form-grid {
        gap: 16px;
    }

    .field,
    .form-group,
    .auth-form .form-group {
        gap: 7px;
    }

    .field input,
    .field select,
    .field textarea,
    .form-group input,
    .form-group select,
    .form-group textarea,
    .auth-form input,
    .auth-form select,
    .auth-form textarea {
        min-height: 54px;
        border-radius: 14px;
        font-size: 16px;
    }

    .summary-image-frame {
        min-height: 190px;
        margin-bottom: 0;
    }

    .summary-product-image {
        max-height: 210px;
    }

    .summary-box,
    .checkout-pull-preview {
        gap: 12px;
        padding: 15px;
        border-radius: 14px;
    }

    .checkout-pull-preview-list {
        max-height: 280px;
        padding-right: 0;
    }

    .checkout-pull-preview-card {
        grid-template-columns: 50px minmax(0, 1fr);
        padding: 9px;
    }

    .checkout-pull-preview-image {
        width: 50px;
        height: 68px;
    }

    .unbox-section {
        padding-top: 22px;
        padding-bottom: 62px;
    }

    .spin-status {
        width: min(100%, 520px);
        min-height: 42px;
        border-radius: 999px;
    }

    .unbox-roller-shell {
        --slot-width: clamp(92px, 23vw, 118px);
        --slot-gap: 12px;
        --rail-height: clamp(310px, 62vw, 390px);
        width: 100%;
        margin-bottom: 20px;
        padding: 12px 10px 16px;
        border-radius: 18px;
    }

    .pull-card.is-winner,
    .pull-card.winner-focus,
    .pull-card.winner-pop {
        transform: scale(1.16) translateY(-6px);
    }

    .pull-card.winner-hero-card {
        width: min(210px, 48vw);
    }

    .winner-back-glow {
        opacity: 0.58;
        filter: blur(15px) saturate(1.02);
    }

    .winner-fire-video-wrap {
        opacity: 0.42;
    }

    .winner-fire-layer,
    .winner-ember-layer {
        inset: -2%;
    }

    .result-panel {
        margin-top: 18px;
    }

    .result-actions {
        flex-direction: column;
    }

    .result-actions .result-btn {
        width: 100%;
        min-height: 52px;
    }

    .ship-preview-frame,
    .sellback-preview-media,
    .confirmation-image-wrap {
        min-height: 240px;
        padding: 14px;
        border-radius: 16px;
    }

    .ship-preview-frame img,
    .sellback-preview-media img,
    .confirmation-image-wrap img {
        max-height: 260px;
    }

    .auth-section {
        align-items: center;
    }

    .auth-card {
        max-width: 460px;
        padding: 28px 22px 24px;
    }

    .auth-form {
        gap: 16px;
        margin-top: 20px;
    }

    .auth-links-row {
        gap: 10px;
        justify-content: center;
        text-align: center;
    }

    .profile-hero-card,
    .admin-hero {
        gap: 18px;
    }

    .profile-identity-block {
        align-items: center;
        flex-direction: row;
    }

    .profile-hero-right,
    .profile-header-actions,
    .admin-hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .profile-hero-right .btn,
    .profile-header-actions .btn,
    .admin-hero-actions .btn {
        width: 100%;
    }

    .profile-stats-grid,
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .profile-stat-card,
    .admin-stat-card {
        min-height: 108px;
        padding: 16px;
    }

    .dashboard-panel,
    .profile-panel,
    .admin-panel {
        padding: 18px;
    }

    .detail-row,
    .summary-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .detail-value {
        max-width: 100%;
        text-align: left;
        overflow-wrap: anywhere;
    }

    .mini-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .activity-card,
    .admin-row-card {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 13px;
        align-items: start;
        padding: 13px;
        border-radius: 16px;
    }

    .activity-card-image-wrap {
        width: 88px;
        max-width: 88px;
        height: 118px;
        margin: 0;
        border-radius: 12px;
    }

    .admin-row-card img {
        width: 76px;
        height: 104px;
        border-radius: 12px;
    }

    .activity-card-side,
    .admin-row-side {
        grid-column: 1 / -1;
        justify-items: start;
        text-align: left;
        width: 100%;
    }

    .policies-hero-card,
    .policy-pro-card,
    .policies-bottom-note {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .container,
    .profile-shell {
        width: min(100% - 28px, var(--container));
    }

    .nav {
        min-height: 64px;
    }

    .cards-grid,
    .steps,
    .trust-grid,
    .policies-highlight-row,
    .policies-grid-pro {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(2.05rem, 8.2vw, 2.8rem);
    }

    main > .hero .hero-card {
        display: none;
    }

    .hero-actions,
    .product-actions,
    .pack-meta,
    .actions,
    .confirmation-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .product-actions .btn,
    .pack-meta .btn,
    .actions .btn,
    .confirmation-actions .btn {
        width: 100%;
    }

    .mock-pack-top,
    .pack-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .pack-visual {
        min-height: clamp(220px, 64vw, 320px);
    }

    .product-title,
    .checkout-title {
        font-size: clamp(1.95rem, 8vw, 2.35rem);
    }

    .pull-preview-header,
    .checkout-pull-preview-head,
    .profile-panel-header,
    .admin-panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .pull-preview-controls {
        justify-content: space-between;
    }

    .pull-slider-btn {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .pull-slider-track {
        grid-auto-columns: clamp(118px, 34vw, 148px);
    }

    .unbox-roller-shell {
        --slot-width: clamp(90px, 25vw, 110px);
        --rail-height: clamp(306px, 76vw, 370px);
    }

    .pull-card.winner-hero-card {
        width: min(204px, 56vw);
    }
}

@media (max-width: 640px) {
    .container,
    .profile-shell {
        width: min(100% - 24px, var(--container));
    }

    .nav {
        gap: 9px;
    }

    .logo {
        max-width: 42%;
        font-size: clamp(0.94rem, 4vw, 1.1rem);
    }

    .logo-mark {
        width: 27px;
        height: 27px;
    }

    .nav-links {
        gap: 6px;
    }

    .nav-links a,
    .nav-links a[href="login.html"],
    .nav-links a[href="profile.html"],
    .nav-links .admin-nav-current {
        min-height: 38px;
        padding: 8px 9px;
        font-size: 0.78rem;
    }

    .hero {
        padding: 30px 0 38px;
    }

    .hero-grid {
        gap: 20px;
    }

    .hero h1 {
        font-size: clamp(2rem, 9.2vw, 2.35rem);
        line-height: 1.07;
        margin-bottom: 14px;
    }

    .hero p {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .hero-actions {
        margin-top: 22px;
    }

    .hero-stats {
        margin-top: 22px;
    }

    .section {
        padding: 42px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        text-align: left;
    }

    .pack-image {
        aspect-ratio: 1.05 / 0.9;
    }

    .pack-meta {
        align-items: stretch;
    }

    .pack-meta .pill,
    .pack-meta .pack-price {
        width: 100%;
    }

    .product-hero,
    .checkout-section,
    .action-page,
    .confirmation-page,
    .profile-page,
    .admin-page,
    .auth-page {
        padding-top: 24px;
    }

    .product-info-card,
    .product-image-card,
    .checkout-card,
    .summary-card,
    .pull-preview-card,
    .result-panel,
    .action-card,
    .sellback-centered-card,
    .confirmation-card,
    .dashboard-panel,
    .profile-panel,
    .admin-panel,
    .profile-hero-card,
    .admin-hero {
        padding: 18px;
    }

    .reveal-stage {
        max-height: 390px;
    }

    .pull-slider-track {
        grid-auto-columns: minmax(116px, 39vw);
    }

    .checkout-pull-preview-list {
        max-height: 240px;
    }

    .unbox-roller-shell {
        --slot-width: clamp(88px, 26vw, 102px);
        --slot-gap: 10px;
        --rail-height: clamp(302px, 84vw, 348px);
    }

    .pull-card.is-winner,
    .pull-card.winner-focus,
    .pull-card.winner-pop {
        transform: scale(1.12) translateY(-4px);
    }

    .result-panel h2 {
        font-size: 1.55rem;
    }

    .auth-card {
        padding: 26px 18px 22px;
    }

    .auth-links-row {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-identity-block {
        align-items: flex-start;
    }

    .profile-subtitle {
        margin-bottom: 18px;
    }

    .mini-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container,
    .profile-shell {
        width: min(100% - 22px, var(--container));
    }

    .logo {
        max-width: 40%;
        font-size: clamp(0.86rem, 3.9vw, 1rem);
        gap: 5px;
    }

    .logo-mark {
        width: 25px;
        height: 25px;
    }

    .nav-links a,
    .nav-links a[href="login.html"],
    .nav-links a[href="profile.html"],
    .nav-links .admin-nav-current {
        min-height: 36px;
        padding: 8px 8px;
        font-size: 0.74rem;
    }

    .eyebrow,
    .dashboard-badge,
    .policies-badge,
    .policies-updated {
        font-size: 0.68rem;
    }

    .hero h1 {
        font-size: clamp(1.92rem, 9vw, 2.1rem);
    }

    .hero p,
    .section-subtitle,
    .product-text,
    .checkout-text,
    .pull-preview-text {
        font-size: 0.96rem;
    }

    .hero-card,
    .mock-pack,
    .pack-card,
    .product-info-card,
    .product-image-card,
    .checkout-card,
    .summary-card,
    .pull-preview-card,
    .result-panel,
    .action-card,
    .sellback-centered-card,
    .confirmation-card,
    .profile-hero-card,
    .dashboard-panel,
    .profile-panel,
    .profile-stat-card,
    .admin-hero,
    .admin-panel,
    .admin-stat-card {
        border-radius: 16px;
    }

    .mock-pack,
    .pack-content,
    .product-info-card,
    .product-image-card,
    .checkout-card,
    .summary-card,
    .pull-preview-card,
    .result-panel,
    .action-card,
    .sellback-centered-card,
    .confirmation-card,
    .profile-hero-card,
    .dashboard-panel,
    .profile-panel,
    .admin-hero,
    .admin-panel {
        padding: 16px;
    }

    .pack-visual {
        min-height: 205px;
    }

    .product-title,
    .checkout-title,
    .admin-title {
        font-size: 1.84rem;
    }

    .reveal-stage {
        max-height: 345px;
    }

    .pull-slider-track {
        grid-auto-columns: minmax(112px, 42vw);
    }

    .summary-image-frame {
        min-height: 170px;
    }

    .summary-product-image {
        max-height: 190px;
    }

    .checkout-pull-preview-list {
        max-height: 220px;
    }

    .unbox-roller-shell {
        --slot-width: 90px;
        --rail-height: 312px;
    }

    .pull-card.winner-hero-card {
        width: min(188px, 58vw);
    }

    .profile-stats-grid,
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-stat-card,
    .admin-stat-card {
        padding: 14px;
    }

    .profile-stat-label,
    .admin-stat-label {
        font-size: 0.72rem;
    }

    .profile-stat-value,
    .admin-stat-value {
        font-size: 1.35rem;
    }

    .activity-card,
    .admin-row-card {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 12px;
    }

    .activity-card-image-wrap {
        width: 78px;
        max-width: 78px;
        height: 106px;
    }

    .admin-row-card img {
        width: 70px;
        height: 96px;
    }

    footer {
        padding-bottom: max(32px, calc(env(safe-area-inset-bottom) + 22px));
    }
}

@media (max-width: 390px) {
    .profile-stats-grid,
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.88rem;
    }

    .unbox-roller-shell {
        --slot-width: 86px;
        --rail-height: 302px;
    }
}

@media (max-width: 768px) {
    .checkout-section {
        padding: 18px 0 32px;
    }

    .checkout-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .checkout-grid .checkout-card {
        order: 1 !important;
    }

    .checkout-grid .summary-card {
        order: 2 !important;
    }

    .checkout-grid .checkout-card,
    .checkout-grid .summary-card {
        padding: 16px;
        gap: 12px;
    }

    .checkout-grid .checkout-title {
        font-size: clamp(1.65rem, 7.6vw, 2rem);
        line-height: 1.06;
        margin-bottom: 0;
    }

    .checkout-grid .checkout-text {
        margin-bottom: 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .checkout-grid .form-grid {
        gap: 12px;
    }

    .checkout-grid .field input,
    .checkout-grid .field select,
    .checkout-grid .field textarea {
        min-height: 50px;
    }

    .checkout-grid .actions {
        margin-top: 0;
    }

    .checkout-grid .actions .btn {
        min-height: 50px;
    }

    .checkout-grid .summary-title {
        font-size: 1.25rem;
    }

    .checkout-grid .checkout-brand-seal,
    .checkout-grid .summary-image-frame,
    .checkout-grid .checkout-pull-preview,
    .checkout-grid .small-note {
        display: none;
    }

    .checkout-grid .checkout-status {
        display: block;
    }

    .checkout-grid .summary-box {
        gap: 8px;
        padding: 0;
        background: transparent;
        border: 0;
    }

    .checkout-grid .summary-row {
        align-items: center;
        flex-direction: row;
    }

    .checkout-grid .summary-row:nth-child(2),
    .checkout-grid .summary-row:nth-child(3) {
        display: none;
    }

    .checkout-grid .summary-row.total {
        padding-top: 8px;
        font-size: 1rem;
    }
}
/* MEMORY LINE: MOBILE-ONLY UI REDESIGN END */

/* MEMORY LINE: MOBILE HOME PAGE UI REDESIGN START */
@media (max-width: 640px) {
    main > .hero {
        padding: 28px 0 34px;
    }

    main > .hero .hero-grid {
        gap: 16px;
    }

    main > .hero .eyebrow {
        margin-bottom: 14px;
    }

    main > .hero h1 {
        max-width: 100%;
        margin-bottom: 14px;
        font-size: clamp(2rem, 8.2vw, 2.28rem);
        line-height: 1.04;
        letter-spacing: -0.02em;
    }

    main > .hero p {
        display: block;
        max-width: 100%;
        overflow: visible;
        color: rgba(232, 237, 246, 0.78);
        font-size: 0.98rem;
        line-height: 1.68;
    }

    main > .hero .hero-actions {
        margin-top: 20px;
        gap: 8px;
    }

    main > .hero .hero-actions .btn {
        min-height: 52px;
        border-radius: 16px;
    }

    main > .hero .hero-actions .btn-secondary {
        min-height: 44px;
        background: transparent;
        border-color: transparent;
        color: rgba(232, 237, 246, 0.78);
    }

    main > .hero .hero-actions .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.08);
    }

    main > .hero .hero-stats {
        display: none;
    }

    main > .hero .hero-card {
        display: none;
    }

    #packs.section,
    #how-it-works.section,
    #trust.section,
    #cta.section {
        padding: 34px 0;
    }

    #packs {
        overflow: hidden;
    }

    #packs .section-title,
    #how-it-works .section-title,
    #trust .section-title {
        text-align: left;
        font-size: 1.78rem;
        line-height: 1.08;
    }

    #packs .section-subtitle,
    #how-it-works .section-subtitle,
    #trust .section-subtitle {
        display: block;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        overflow: visible;
        text-align: left;
    }

    #packs .cards-grid {
        display: flex;
        gap: 14px;
        margin: 0 -12px;
        padding: 0 12px 10px;
        overflow-x: auto;
        scroll-padding: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    #packs .cards-grid::-webkit-scrollbar {
        display: none;
    }

    #packs .pack-card {
        flex: 0 0 min(86vw, 340px);
        height: auto;
        border-radius: 18px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    #packs .pack-image {
        aspect-ratio: 1.08 / 1;
        padding: 12px;
        background: rgba(18, 25, 36, 0.88);
    }

    #packs .pack-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    #packs .pack-content {
        padding: 16px;
    }

    #packs .pack-content h3 {
        margin-bottom: 8px;
        font-size: 1.08rem;
        line-height: 1.22;
    }

    #packs .pack-content p {
        display: block;
        margin-bottom: 14px;
        font-size: 0.94rem;
        line-height: 1.55;
        overflow: visible;
    }

    #packs .pack-meta {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        margin-bottom: 14px;
    }

    #packs .pack-meta .pill,
    #packs .pack-meta .pack-price {
        width: auto;
    }

    #packs .pack-meta .pill {
        justify-content: flex-start;
        min-width: 0;
        padding: 6px 9px;
        font-size: 0.68rem;
    }

    #packs .pack-meta .pack-price {
        text-align: right;
        font-size: 1.08rem;
        line-height: 1;
    }

    #packs .pack-btn-full {
        min-height: 50px;
        border-radius: 14px;
    }

    #how-it-works .steps {
        gap: 12px;
    }

    #how-it-works .step {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 5px 12px;
        align-items: start;
        padding: 15px;
    }

    #how-it-works .step-number {
        grid-row: 1 / span 2;
        width: 38px;
        height: 38px;
        margin: 0;
        border-radius: 12px;
    }

    #how-it-works .step h3 {
        margin: 0;
        font-size: 1rem;
        line-height: 1.2;
    }

    #how-it-works .step p {
        margin: 0;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    #trust .trust-grid {
        gap: 12px;
    }

    #trust .trust-box {
        padding: 16px;
    }

    #trust .trust-box h3 {
        margin-bottom: 10px;
        font-size: 1.08rem;
    }

    #trust .trust-list {
        padding-left: 16px;
    }

    #trust .trust-list li {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    #cta .cta {
        padding: 24px 18px;
        text-align: left;
    }

    #cta .cta h2 {
        font-size: 1.55rem;
        line-height: 1.12;
    }

    #cta .cta p {
        line-height: 1.55;
    }

    #cta .cta .btn {
        width: 100%;
    }
}

@media (max-width: 430px) {
    main > .hero h1 {
        max-width: 100%;
    }
}

@media (max-width: 375px) {
    main > .hero h1 {
        max-width: 100%;
        font-size: 1.92rem;
    }

    #packs .pack-card {
        flex-basis: min(88vw, 330px);
    }
}
/* MEMORY LINE: MOBILE HOME PAGE UI REDESIGN END */

/* MEMORY LINE: MOBILE CUSTOMER EFFICIENCY PASS START */
@media (max-width: 768px) {
    .product-hero,
    .checkout-section,
    .action-page,
    .sellback-page,
    .confirmation-page,
    .profile-page,
    .auth-page,
    .policies-hero-pro,
    .policies-content-section {
        padding-top: 16px;
        padding-bottom: 34px;
    }

    .section-copy.center {
        margin-bottom: 14px;
        text-align: left;
    }

    .section-copy.center h1,
    .confirmation-card h1,
    .profile-hero-left h1,
    .policies-main-title {
        margin-bottom: 8px;
        font-size: 1.78rem;
        line-height: 1.08;
    }

    .section-copy.center p,
    .confirmation-subtext,
    .profile-subtitle,
    .policies-main-intro {
        line-height: 1.5;
    }

    .product-grid,
    .checkout-grid,
    .ship-layout-grid,
    .profile-dashboard-grid,
    .policies-grid-pro {
        gap: 12px;
    }

    .checkout-grid {
        align-items: stretch;
    }

    .checkout-grid .checkout-card,
    .checkout-grid .summary-card {
        width: 100%;
    }

    .product-info-card {
        display: grid;
        gap: 10px;
    }

    .product-info-card .eyebrow,
    .product-info-card .product-title,
    .product-info-card .product-text,
    .product-info-card .price,
    .product-info-card .product-actions {
        margin: 0;
    }

    .product-info-card .product-text {
        overflow: visible;
    }

    .product-info-card .price {
        font-size: 1.55rem;
    }

    .product-info-card .product-points {
        display: none;
    }

    .product-image-card {
        padding: 12px;
    }

    .product-image-card .reveal-stage {
        min-height: 230px;
        max-height: 260px;
    }

    .pull-preview-card {
        padding: 14px;
    }

    .pull-preview-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .pull-preview-controls {
        width: auto;
        flex: 0 0 auto;
    }

    .pull-slider-btn {
        width: 40px;
        height: 40px;
    }

    .pull-slider-window {
        margin-right: -14px;
        padding: 0 36px 16px 0;
        scrollbar-width: auto;
        scrollbar-color: rgba(245, 201, 106, 0.95) rgba(255, 255, 255, 0.14);
        background: linear-gradient(
            to right,
            rgba(245, 201, 106, 0.62),
            rgba(245, 201, 106, 0.18)
        ) left bottom / calc(100% - 36px) 4px no-repeat;
    }

    .pull-slider-window::-webkit-scrollbar {
        height: 14px;
    }

    .pull-slider-window::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.16);
        border-radius: 999px;
        border: 4px solid rgba(8, 10, 15, 0.94);
    }

    .pull-slider-window::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #f5c96a, #ffe8a5);
        border-radius: 999px;
        border: 3px solid rgba(8, 10, 15, 0.94);
    }

    .pull-slider-track {
        grid-auto-columns: clamp(58px, 18vw, 82px);
        gap: 8px;
        padding-bottom: 12px;
    }

    .pull-slide-card {
        min-width: 0;
        padding: 7px;
        border-radius: 10px;
    }

    .pull-slide-image-wrap {
        margin-bottom: 0;
        padding: 5px;
        border-radius: 8px;
    }

    .pull-slide-tag,
    .pull-slide-name,
    .pull-slide-meta {
        display: none;
    }

    .ship-card-layout,
    .sellback-centered-card {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .ship-layout-grid {
        display: flex;
        flex-direction: column;
    }

    .ship-form-panel {
        order: 1;
    }

    .ship-preview-panel {
        order: 2;
    }

    .ship-preview-frame,
    .sellback-preview-media,
    .confirmation-image-wrap {
        min-height: 150px;
        max-height: 190px;
        padding: 10px;
    }

    .ship-preview-frame img,
    .sellback-preview-media img,
    .confirmation-image-wrap img {
        max-height: 170px;
    }

    .ship-preview-status {
        margin-top: 8px;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .action-form {
        gap: 12px;
    }

    .sellback-centered-card .section-copy {
        order: 1;
    }

    .sellback-detail-stack {
        order: 2;
        gap: 10px;
        text-align: left;
    }

    .sellback-preview-stage {
        order: 3;
        margin: 0;
    }

    .sellback-preview-shell {
        width: 100%;
    }

    .sellback-detail-stack h2 {
        font-size: 1.55rem;
    }

    .sellback-subtext {
        margin: 0;
        line-height: 1.5;
    }

    .sellback-credit-panel {
        padding: 14px;
    }

    .sellback-credit-panel strong {
        font-size: 2rem;
    }

    .sellback-note-box {
        display: none;
    }

    .sellback-action-buttons {
        margin-top: 0;
    }

    .confirmation-card {
        padding: 18px;
    }

    .confirmation-badge {
        margin-bottom: 10px;
    }

    .confirmation-subtext {
        margin-bottom: 14px;
    }

    .confirmation-layout {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .confirmation-details {
        order: 1;
        gap: 12px;
    }

    .confirmation-image-wrap {
        order: 2;
        width: 100%;
    }

    .confirmation-detail-box {
        padding: 14px;
    }

    .confirmation-note {
        display: none;
    }

    .profile-shell {
        gap: 12px;
    }

    .profile-hero-card {
        margin-bottom: 0;
        padding: 16px;
        gap: 12px;
    }

    .profile-subtitle {
        margin-bottom: 12px;
    }

    .profile-avatar {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .profile-identity-block {
        gap: 12px;
    }

    .profile-identity-copy h2 {
        font-size: 1.05rem;
    }

    .profile-identity-copy p {
        margin-bottom: 6px;
        font-size: 0.9rem;
    }

    .profile-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 0;
    }

    .profile-stat-card {
        min-height: 78px;
        padding: 12px;
    }

    .profile-stat-label {
        margin-bottom: 6px;
        font-size: 0.68rem;
        line-height: 1.25;
    }

    .profile-stat-value {
        font-size: 1.22rem;
    }

    .profile-left-column,
    .profile-right-column {
        gap: 12px;
    }

    .profile-left-column .dashboard-panel:first-child {
        display: none;
    }

    .dashboard-panel {
        padding: 16px;
    }

    .panel-heading {
        margin-bottom: 12px;
    }

    .store-credit-card {
        padding: 16px;
    }

    .activity-empty-state {
        padding: 22px 16px;
        text-align: left;
    }

    .policies-hero-card,
    .policy-pro-card,
    .policies-bottom-note {
        padding: 16px;
    }

    .policies-hero-top {
        margin-bottom: 10px;
    }

    .policies-highlight-row,
    .policies-bottom-note {
        display: none;
    }

    .policies-content-section {
        padding-top: 0;
    }

    .policy-pro-card h2 {
        margin-bottom: 8px;
        font-size: 1.02rem;
    }

    .policy-pro-card p {
        font-size: 0.9rem;
        line-height: 1.55;
    }
}

@media (max-width: 640px) {
    #packs.section,
    #how-it-works.section,
    #trust.section,
    #cta.section {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    #packs .section-subtitle,
    #how-it-works .section-subtitle {
        display: block;
        margin-bottom: 18px;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    #how-it-works .steps {
        display: flex;
        gap: 12px;
        margin: 0 -12px;
        padding: 0 12px 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    #how-it-works .steps::-webkit-scrollbar {
        display: none;
    }

    #how-it-works .step {
        flex: 0 0 min(78vw, 300px);
        scroll-snap-align: start;
    }

    #packs .pack-content p {
        display: block;
        margin-bottom: 12px;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    #trust .trust-box,
    #cta .cta {
        padding: 16px;
    }

    #trust .trust-list li,
    #cta .cta p {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .auth-card {
        padding: 18px 16px;
    }

    .auth-form {
        gap: 12px;
        margin-top: 14px;
    }

    .auth-links-row {
        margin-top: 10px;
    }
}

@media (max-width: 430px) {
    .product-hero,
    .checkout-section,
    .action-page,
    .sellback-page,
    .confirmation-page,
    .profile-page,
    .auth-page,
    .policies-hero-pro,
    .policies-content-section {
        padding-top: 12px;
        padding-bottom: 28px;
    }

    .product-info-card,
    .product-image-card,
    .checkout-card,
    .summary-card,
    .pull-preview-card,
    .action-card,
    .sellback-centered-card,
    .confirmation-card,
    .profile-hero-card,
    .dashboard-panel,
    .profile-panel,
    .profile-stat-card,
    .auth-card,
    .policies-hero-card,
    .policy-pro-card {
        padding: 14px;
    }

    .section-copy.center h1,
    .confirmation-card h1,
    .profile-hero-left h1,
    .policies-main-title {
        font-size: 1.55rem;
    }

    .product-title,
    .checkout-title {
        font-size: 1.55rem;
    }

    .product-image-card .reveal-stage {
        min-height: 205px;
        max-height: 230px;
    }
}
/* MEMORY LINE: MOBILE CUSTOMER EFFICIENCY PASS END */
