:root {
    --vnshop-ink: #15121e;
    --vnshop-ink-2: #211c2e;
    --vnshop-line-ink: #372f4c;
    --vnshop-text-on-ink: #efe9f7;
    --vnshop-text-muted-ink: #9a90ad;
    --vnshop-ember: #d1243f;
    --vnshop-ember-dark: #a01830;
    --vnshop-flame: #f2a53c;
}

body {
    background: #f7f8fa;
    font-family: 'Be Vietnam Pro', system-ui, sans-serif;
}

.vnshop-display {
    font-family: 'Cinzel', 'Be Vietnam Pro', serif;
}

/* ---------- navbar ---------- */
.vnshop-navbar {
    background: var(--vnshop-ink);
    border-bottom: 1px solid var(--vnshop-line-ink);
}

.vnshop-navbar .container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.vnshop-brand-logo img {
    height: 34px;
    width: auto;
    display: block;
}

.vnshop-brand-div {
    width: 1px;
    height: 26px;
    background: var(--vnshop-line-ink);
    flex: none;
}

.vnshop-game-mark {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    flex: none;
}

.vnshop-game-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--vnshop-line-ink);
}

.vnshop-game-wordmark {
    font-family: 'Cinzel', 'Be Vietnam Pro', serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.1;
    color: var(--vnshop-text-on-ink);
}

.vnshop-game-wordmark small {
    display: block;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 500;
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--vnshop-flame);
}

@media (max-width: 520px) {
    .vnshop-brand-div { display: none; }
    .vnshop-game-wordmark { font-size: 14px; }
}

/* ---------- hero banner (Products index) ---------- */
.vnshop-hero {
    position: relative;
    aspect-ratio: 2 / 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--vnshop-line-ink);
    margin-bottom: 2rem;
}

.vnshop-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vnshop-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 7, 16, .92) 0%, rgba(10, 7, 16, .55) 32%, rgba(10, 7, 16, .05) 62%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 28px;
    gap: 10px;
}

.vnshop-hero-eyebrow {
    font-family: 'Cinzel', 'Be Vietnam Pro', serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--vnshop-flame);
}

.vnshop-hero-title {
    /* Cinzel (used elsewhere for short ASCII branding like "Treasure Hunter") doesn't carry
       Vietnamese diacritics cleanly - this headline is a full Vietnamese sentence, so it needs
       Be Vietnam Pro, which is designed for Vietnamese text, not a Latin-only display face. */
    font-family: 'Be Vietnam Pro', system-ui, sans-serif;
    font-size: clamp(22px, 4.4vw, 38px);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
    margin: 0;
}

.vnshop-hero-sub {
    color: var(--vnshop-text-muted-ink);
    font-size: 14px;
    max-width: 52ch;
    margin: 0;
}

@media (max-width: 520px) {
    .vnshop-hero { aspect-ratio: 4 / 5; border-radius: 12px; }
    .vnshop-hero-scrim { padding: 18px; }
}

/* ---------- footer ---------- */
.vnshop-footer {
    margin-top: 4rem;
    background: var(--vnshop-ink);
    color: var(--vnshop-text-muted-ink);
    border-top: 1px solid var(--vnshop-line-ink);
}

.vnshop-footer-top {
    padding: 44px 15px 32px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.15fr;
    gap: 32px;
}

.vnshop-footer-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.vnshop-footer-logo {
    height: 30px;
    width: auto;
}

.vnshop-footer-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--vnshop-line-ink);
}

.vnshop-footer-entity {
    font-size: 14px;
    font-weight: 700;
    color: var(--vnshop-text-on-ink);
    letter-spacing: .03em;
}

.vnshop-footer-addr {
    font-size: 13px;
    line-height: 1.6;
    max-width: 32ch;
    margin: 6px 0 0;
}

.vnshop-footer-contact {
    font-size: 12.5px;
    line-height: 1.8;
    max-width: 34ch;
    margin: 10px 0 0;
}

.vnshop-footer-contact a {
    color: var(--vnshop-text-muted-ink);
    text-decoration: underline;
}

.vnshop-footer-contact a:hover {
    color: var(--vnshop-flame);
}

.vnshop-footer-col h3 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--vnshop-text-on-ink);
    margin: 0 0 14px;
}

.vnshop-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vnshop-footer-col a {
    font-size: 13.5px;
    text-decoration: none;
    color: var(--vnshop-text-muted-ink);
}

.vnshop-footer-col a:hover {
    color: var(--vnshop-flame);
}

.vnshop-footer-license h3 {
    color: var(--vnshop-text-on-ink);
}

.vnshop-footer-license p {
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
}

.vnshop-footer-license a {
    color: var(--vnshop-flame);
    font-weight: 600;
    text-decoration: underline;
    white-space: nowrap;
}

.vnshop-footer-bottom {
    border-top: 1px solid var(--vnshop-line-ink);
}

.vnshop-footer-bottom-inner {
    padding: 16px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
}

@media (max-width: 860px) {
    .vnshop-footer-top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}

@media (max-width: 520px) {
    .vnshop-footer-top { grid-template-columns: 1fr; padding: 36px 15px 24px; gap: 28px; }
    .vnshop-footer-addr, .vnshop-footer-contact { max-width: none; }
    .vnshop-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

.vnshop-product-card {
    height: 100%;
    transition: transform .15s ease, box-shadow .15s ease;
}

.vnshop-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.vnshop-product-card img {
    height: 160px;
    object-fit: contain;
    background: #fff;
}

.vnshop-qr-box {
    max-width: 320px;
    margin: 0 auto;
}

.vnshop-qr-box img {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.vnshop-catalog-unavailable {
    padding: 3rem 1rem;
    text-align: center;
    color: #6b7280;
}
