:root {
    --hqd-gold: #c9a227;
    --hqd-gold-light: #e8c547;
    --hqd-dark: #1a1a2e;
    --hqd-dark-alt: #16213e;
}

body {
    font-family: 'Segoe UI', 'Malgun Gothic', sans-serif;
    background-color: #f5f5f7;
}

.bg-dark-gold {
    background: linear-gradient(135deg, var(--hqd-dark) 0%, var(--hqd-dark-alt) 100%) !important;
    border-bottom: 2px solid var(--hqd-gold);
}

/* 쇼핑몰 상단 바: 흰색 배경 + 주황색 굵은 글씨 */
.bg-mall-top {
    background: #ffffff !important;
    border-bottom: 2px solid rgb(253, 80, 0);
}

.bg-mall-top .navbar-brand,
.bg-mall-top .nav-link,
.bg-mall-top .navbar-text {
    color: rgb(253, 80, 0) !important;
    font-weight: 700;
}

.bg-mall-top .nav-link:hover,
.bg-mall-top .nav-link:focus {
    color: rgb(210, 66, 0) !important;
}

.bg-mall-top .badge.bg-danger {
    font-weight: 700;
}

.btn-outline-orange {
    color: rgb(253, 80, 0);
    border: 2px solid rgb(253, 80, 0);
    font-weight: 700;
}

.btn-outline-orange:hover,
.btn-outline-orange:focus {
    background: rgb(253, 80, 0);
    color: #ffffff;
}

.navbar-brand img {
    filter: brightness(1.1);
}

.btn-gold {
    background: linear-gradient(135deg, var(--hqd-gold) 0%, var(--hqd-gold-light) 100%);
    border: none;
    color: var(--hqd-dark);
    font-weight: 600;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--hqd-gold-light) 0%, var(--hqd-gold) 100%);
    color: var(--hqd-dark);
}

/* Landing */
.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: rgb(253, 80, 0);
}

.landing-page,
.landing-page h1,
.landing-page span,
.landing-page a {
    color: rgb(253, 80, 0);
}

.landing-header {
    text-align: center;
    padding: 4rem 1rem 2rem;
}

.landing-header .logo-lg {
    height: 80px;
    margin-bottom: 1.5rem;
}

.landing-header h1 {
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgb(253, 80, 0);
}

.landing-header h1 .logo-inline {
    height: 1.6rem;
    width: auto;
    vertical-align: -0.25em;
    margin-right: 0.15em;
}

.landing-cards {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    flex-wrap: wrap;
}

.landing-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: rgb(253, 80, 0);
    border: 2px solid rgb(253, 80, 0);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.landing-card:hover {
    transform: translateY(-8px);
    color: rgb(253, 80, 0);
    background-color: #fff6f1;
    box-shadow: 0 10px 24px rgba(253, 80, 0, 0.2);
}

.landing-card img {
    height: 110px;
    margin-bottom: 1.25rem;
}

.landing-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.landing-card .btn-icon {
    width: 1.4em;
    height: 1.4em;
    flex-shrink: 0;
}

/* Auth */
.auth-body {
    min-height: 100vh;
    position: relative;
}

.auth-bg {
    position: fixed;
    inset: 0;
    background: url('../images/hqd-logo.png') center 20% / 280px no-repeat,
                linear-gradient(160deg, var(--hqd-dark) 0%, var(--hqd-dark-alt) 100%);
    z-index: 0;
}

.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.85);
    z-index: 1;
}

.auth-container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-top: 4px solid var(--hqd-gold);
}

.auth-card .logo {
    display: block;
    height: 48px;
    margin: 0 auto 1.5rem;
}

.auth-card h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--hqd-dark);
}

/* Dashboard */
.stat-card {
    border-left: 4px solid var(--hqd-gold);
    transition: box-shadow 0.2s;
}

.stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.announcement-item {
    border-left: 3px solid var(--hqd-gold);
    padding-left: 1rem;
}

.product-card {
    border-top: 3px solid var(--hqd-gold);
}

.product-thumb {
    width: 100%;
    height: auto;
    display: block;
}

.flavor-card-img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #eee;
}

.text-orange {
    color: rgb(253, 80, 0) !important;
}

.flavor-row {
    border-bottom: 1px solid #eee;
    padding: 0.75rem 0;
}

.flavor-row:last-child {
    border-bottom: none;
}

.bank-info-box {
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
    border: 2px solid var(--hqd-gold);
    border-radius: 8px;
    padding: 1.5rem;
}

.page-header {
    border-bottom: 2px solid var(--hqd-gold);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.card-gold {
    border-top: 3px solid var(--hqd-gold);
}

@media (max-width: 576px) {
    .landing-cards {
        gap: 2rem;
    }
    .landing-card img {
        height: 90px;
    }
}
