:root {
    --gold: #D4AF37;
    --gold-soft: #e1c15a;
    --gold-deep: #b89224;
    --black: #121212;
    --white: #FFFFFF;
    --soft-dark: #1b1b1b;
    --charcoal: #0f0f10;
    --muted-text: #b7b7b7;
    --border-luxury: rgba(212, 175, 55, 0.25);
    --shadow-luxury: 0 10px 30px rgba(0, 0, 0, 0.35);
}

body.bg-luxury {
    background: linear-gradient(180deg, #121212 0%, #171717 100%);
    color: var(--white);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.text-gold { color: var(--gold) !important; }

.brand-logo-nav {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-logo-hero {
  max-width: 320px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.luxury-nav {
    background:
        linear-gradient(180deg, rgba(17,17,17,.98), rgba(17,17,17,.92));
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 24px rgba(0,0,0,.25);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #121212;
    border: 1px solid var(--gold-deep);
    font-weight: 700;
    letter-spacing: .2px;
    transition: all .25s ease;
    box-shadow: 0 6px 18px rgba(212,175,55,.22);
}
.btn-gold:hover {
    background: linear-gradient(135deg, #f0d47a, var(--gold));
    color: #121212;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(212,175,55,.28);
}

.hero-luxury {
    min-height: 75vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(212,175,55,.12), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(212,175,55,.08), transparent 40%);
}

.luxury-card {
    background: #1a1a1a;
    border: 1px solid var(--border-luxury);
    color: var(--white);
    box-shadow: var(--shadow-luxury);
}

.luxury-card-premium {
    background:
      linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,0)),
      #161616;
    border: 1px solid var(--border-luxury);
    color: var(--white);
    box-shadow: var(--shadow-luxury);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.luxury-card-premium:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,.45);
    box-shadow: 0 16px 36px rgba(0,0,0,.45);
}
.luxury-card-premium .card-img-top {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: saturate(.95) contrast(1.03);
}

.section-title {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-control, .form-select {
    background-color: #111;
    border: 1px solid #2f2f2f;
    color: #fff;
}
.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 .2rem rgba(212,175,55,.2);
    background-color: #111;
    color: #fff;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: #fff;
}

.luxury-footer {
    background-color: #111;
}

.nav-link-premium {
    position: relative;
    color: rgba(255,255,255,.86) !important;
    font-weight: 500;
    letter-spacing: .2px;
}
.nav-link-premium::after {
    content: "";
    position: absolute;
    left: .5rem;
    right: .5rem;
    bottom: .2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}
.nav-link-premium:hover,
.nav-link-premium:focus,
.nav-link-premium.active {
    color: var(--gold) !important;
}
.nav-link-premium:hover::after,
.nav-link-premium:focus::after,
.nav-link-premium.active::after {
    transform: scaleX(1);
}

.text-muted-luxury {
    color: var(--muted-text) !important;
}

.hero-luxury-premium {
    position: relative;
    overflow: hidden;
}
.hero-luxury-premium::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 70%;
    background: radial-gradient(circle at 50% 50%, rgba(212,175,55,.12), transparent 65%);
    pointer-events: none;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-soft);
    border: 1px solid rgba(212,175,55,.35);
    border-radius: 999px;
    padding: .35rem .75rem;
    background: rgba(212,175,55,.08);
}
.text-glow-gold {
    text-shadow: 0 0 18px rgba(212,175,55,.24);
}
.btn-outline-luxury {
    color: var(--gold-soft);
    border: 1px solid rgba(212,175,55,.55);
    background: rgba(212,175,55,.04);
    transition: all .25s ease;
}
.btn-outline-luxury:hover {
    color: #121212;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    border-color: var(--gold);
    transform: translateY(-1px);
}

.luxury-list-clean {
    list-style: none;
    margin: 0;
    padding: 0;
}
.luxury-list-clean li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: .5rem;
    color: rgba(255,255,255,.9);
}
.luxury-list-clean li::before {
    content: "";
    width: .42rem;
    height: .42rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(212,175,55,.45);
    position: absolute;
    left: 0;
    top: .52rem;
}

.section-shell {
    position: relative;
}
.section-shell + .section-shell {
    border-top: 1px solid rgba(212,175,55,.12);
}
.testimonial-quote {
    font-style: italic;
    line-height: 1.65;
    color: rgba(255,255,255,.92);
}
.footer-link-luxury {
    color: var(--muted-text);
    text-decoration: none;
    transition: color .2s ease;
}
.footer-link-luxury:hover {
    color: var(--gold);
}

.dashboard-clock {
    min-width: 190px;
    padding: .55rem .8rem;
    border: 1px solid rgba(212,175,55,.22);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}

.dashboard-clock-time {
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
}

.dashboard-analytics-card {
    background:
        radial-gradient(circle at top right, rgba(212,175,55,.1), transparent 42%),
        linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)),
        #151515;
}

.dashboard-report-card {
    background:
        linear-gradient(90deg, rgba(212,175,55,.1), rgba(255,255,255,.01)),
        #151515;
}

.dashboard-period-select {
    min-width: 130px;
}

.dashboard-mini-stat {
    height: 100%;
    padding: .9rem 1rem;
    border: 1px solid rgba(212,175,55,.18);
    border-radius: 12px;
    background: rgba(0,0,0,.18);
}

.dashboard-mini-stat span {
    display: block;
    color: var(--muted-text);
    font-size: .88rem;
    margin-bottom: .25rem;
}

.dashboard-mini-stat strong {
    color: var(--gold);
    font-size: 1.35rem;
}

.dashboard-chart-wrap {
    height: 360px;
    min-height: 300px;
}

.dashboard-top-products {
    display: grid;
    gap: .8rem;
}

.dashboard-top-product {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .75rem;
    border: 1px solid rgba(212,175,55,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.018);
}

.dashboard-top-rank {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #121212;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    font-weight: 800;
}

.bgm-toggle-btn {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1080;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: #121212;
    border: 1px solid var(--gold-deep);
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
    padding: .5rem .9rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    transition: transform .2s ease, box-shadow .2s ease;
}
.bgm-toggle-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0,0,0,.45);
}
.bgm-toggle-btn:active {
    transform: translateY(0);
}
.bgm-toggle-btn:focus-visible {
    outline: 2px solid var(--gold-soft);
    outline-offset: 2px;
}

.about-member-card {
    position: relative;
    overflow: hidden;
}

.about-team-grid .col-md-6 {
    display: flex;
}

.about-team-grid .about-card-center-lg {
    justify-content: center;
}

.about-team-grid .about-card-center-lg .about-member-card-lg {
    max-width: 640px;
}

.about-member-card-lg {
    width: 100%;
    padding: 2rem !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at top right, rgba(212,175,55,.11), transparent 45%),
        linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)),
        #161616;
}

.about-avatar-hero {
    width: 100%;
    min-height: 320px;
    border-radius: 18px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: linear-gradient(180deg, #1a1a1a, #101010);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.about-avatar-hero-photo {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.24);
}

.about-member-card-lg h4 {
    font-size: 1.35rem;
    letter-spacing: .02em;
}

.about-member-card-lg p {
    font-size: 1rem;
    line-height: 1.7;
}

.about-brand-card-lg {
    min-height: 100%;
}

.cashier-shell .hero-kicker {
    margin-bottom: .5rem;
}

.cashier-product-grid {
    display: grid;
    gap: .85rem;
    max-height: 72vh;
    overflow: auto;
    padding-right: .25rem;
}

.cashier-product-card {
    width: 100%;
    display: flex;
    gap: .9rem;
    align-items: center;
    text-align: left;
    padding: .75rem;
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(212,175,55,.08), rgba(255,255,255,.01));
    color: inherit;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.cashier-product-card:hover,
.cashier-product-card:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(212, 175, 55, 0.5);
    background: linear-gradient(180deg, rgba(212,175,55,.14), rgba(255,255,255,.02));
}

.cashier-product-card:focus-visible {
    outline: 2px solid var(--gold-soft);
    outline-offset: 2px;
}

.cashier-product-thumb-wrap {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
    background: #101010;
}

.cashier-product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cashier-form-card {
    background:
        radial-gradient(circle at top right, rgba(212,175,55,.12), transparent 45%),
        linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)),
        #151515;
}

.cashier-summary-card {
    position: sticky;
    top: 96px;
    background:
        radial-gradient(circle at top left, rgba(212,175,55,.12), transparent 40%),
        linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01)),
        #141414;
}

.cashier-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,.45), transparent);
    margin: 1rem 0 1.2rem;
}

.cashier-item-list {
    display: grid;
    gap: .85rem;
}

.cashier-item-row {
    border: 1px solid rgba(212, 175, 55, 0.14);
    border-radius: 12px;
    padding: .75rem;
    background: rgba(255,255,255,.01);
    transition: border-color .18s ease, background .18s ease;
}

.cashier-item-row:focus-within {
    border-color: rgba(212, 175, 55, 0.36);
    background: rgba(212,175,55,.035);
}

.cashier-product-preview {
    min-height: 54px;
}

.cashier-preview-card {
    display: flex;
    align-items: center;
    gap: .75rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: .5rem .65rem;
    background: rgba(212,175,55,.05);
}

.cashier-preview-copy {
    min-width: 0;
    flex: 1;
}

.cashier-preview-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(212,175,55,.3);
    background: #111;
}

.cashier-line-total {
    color: var(--gold);
    font-weight: 800;
    white-space: nowrap;
}

.cashier-total-box {
    display: grid;
    gap: .55rem;
    padding: .9rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 14px;
    background: rgba(0,0,0,.22);
}

.cashier-total-line,
.cashier-grand-total,
.cashier-change-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.cashier-total-line {
    color: var(--muted-text);
    font-size: .92rem;
}

.cashier-total-line strong {
    color: #fff;
}

.cashier-grand-total {
    margin-top: .4rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(212, 175, 55, 0.24);
    color: #fff;
}

.cashier-grand-total strong {
    color: var(--gold);
    font-size: 1.35rem;
}

.cashier-change-box {
    padding: .8rem .9rem;
    border-radius: 14px;
    background: rgba(35, 168, 109, .12);
    border: 1px solid rgba(35, 168, 109, .28);
}

.cashier-change-box strong {
    color: #69e0a8;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hero-luxury h1 { font-size: 2rem; }
    .brand-logo-nav { height: 28px; }
    .brand-logo-hero { max-width: 240px; }
    .bgm-toggle-btn {
        right: 12px;
        bottom: 12px;
        font-size: .8rem;
        padding: .45rem .75rem;
    }

    .about-team-grid .about-card-center-lg {
        justify-content: initial;
    }

    .about-team-grid .about-card-center-lg .about-member-card-lg {
        max-width: none;
    }

    .about-member-card-lg {
        padding: 1.35rem !important;
        border-radius: 16px !important;
    }

    .about-avatar-hero,
    .about-avatar-hero-photo {
        min-height: 240px;
        border-radius: 14px;
    }

    .about-member-card-lg h4 {
        font-size: 1.2rem;
    }

    .about-member-card-lg p {
        font-size: .95rem;
    }

    .cashier-product-grid {
        max-height: none;
    }

    .cashier-product-card {
        padding: .65rem;
    }

    .cashier-product-thumb-wrap {
        width: 58px;
        height: 58px;
    }

    .cashier-item-row {
        padding: .6rem;
    }

    .cashier-summary-card {
        position: static;
    }

    .cashier-preview-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .cashier-line-total {
        width: 100%;
        text-align: right;
    }
}
