:root {
    --primary: #064e3b; /* Deep Forest Green */
    --primary-light: #059669;
    --accent: #d4af37; /* Gold */
    --accent-hover: #b8960c;
    --text-dark: #111827;
    --text-light: #6b7280;
    --bg-main: #fcfcfc;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* ================= LOGIN PAGE ================= */
.login-body {
    background: radial-gradient(circle at 10% 20%, rgba(6, 78, 59, 1) 0%, rgba(0, 0, 0, 1) 90%);
    display: flex; justify-content: center; align-items: center; min-height: 100vh;
}

.login-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    width: 100%; max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: #fff;
}

.login-box h2 {
    font-size: 2rem; font-weight: 800; margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.login-form input {
    width: 100%; padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff; font-size: 1rem; margin-bottom: 1rem;
    outline: none; transition: 0.3s;
}

.login-form input:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.15); }

.btn-login {
    width: 100%; padding: 16px; background: var(--accent);
    color: #000; font-weight: 800; font-size: 1.1rem;
    border: none; border-radius: 12px; cursor: pointer; transition: 0.3s; margin-top: 1rem;
}
.btn-login:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* ================= MAIN MALL PAGE ================= */
.top-bar {
    background: #000; color: #999; font-size: 0.75rem; padding: 8px 0;
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 30px; }

.header-main {
    padding: 30px 0; display: flex; justify-content: space-between; align-items: center;
}

.logo h1 { font-size: 2.2rem; font-weight: 900; letter-spacing: -1px; }
.logo span { color: var(--accent); }

.search-bar {
    display: flex; width: 500px; background: #fff;
    border: 1px solid #ddd; border-radius: 50px;
    padding: 5px; box-shadow: var(--shadow);
}
.search-bar input { flex: 1; border: none; padding: 10px 25px; outline: none; font-size: 0.95rem; }
.search-bar button { padding: 0 25px; background: var(--primary); color: #fff; border-radius: 50px; border: none; cursor: pointer; }

.nav-main { background: #fff; border-top: 1px solid #efefef; border-bottom: 1px solid #efefef; }
.nav-list { display: flex; justify-content: center; }
.nav-list a { padding: 20px 30px; font-weight: 700; color: #333; font-size: 1rem; }
.nav-list a:hover { color: var(--accent); }

/* Main Section */
.main-content { display: grid; grid-template-columns: 280px 1fr; gap: 40px; margin-top: 40px; }

/* Sidebar */
.category-menu { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.category-title { background: var(--primary); color: #fff; padding: 20px; font-weight: 800; }
.category-list li a { display: block; padding: 15px 20px; border-bottom: 1px solid #f5f5f5; font-size: 0.95rem; font-weight: 500; }
.category-list li a:hover { background: #f8fafc; color: var(--primary-light); padding-left: 25px; }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px; }
.product-item {
    background: #fff; border-radius: 24px; padding: 15px;
    box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.product-item:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.product-img {
    height: 220px; background: #f9fafb; border-radius: 20px;
    margin-bottom: 15px; overflow: hidden; position: relative;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.product-item:hover .product-img img { transform: scale(1.1); }

.product-info { padding: 5px; }
.p-brand { font-size: 0.75rem; color: var(--accent); font-weight: 800; text-transform: uppercase; margin-bottom: 5px; }
.p-name { font-size: 1.05rem; font-weight: 800; line-height: 1.4; height: 3rem; overflow: hidden; margin-bottom: 15px; }
.p-price { font-size: 1.15rem; font-weight: 900; color: #111; display: flex; align-items: center; gap: 8px; }
.p-price::before { content: 'LOCK'; font-size: 0.65rem; background: #eee; padding: 2px 6px; border-radius: 4px; color: #999; }

/* Footer */
.footer { background: #111; color: #777; padding: 80px 0; margin-top: 100px; font-size: 0.85rem; }
.footer-nav { display: flex; gap: 30px; margin-bottom: 30px; }
.footer-nav a:hover { color: #fff; }
.footer-info .bold { color: #fff; font-weight: 800; margin-bottom: 10px; display: block; }
.copyright { border-top: 1px solid #222; padding-top: 30px; margin-top: 30px; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.product-item { animation: fadeIn 0.8s ease backwards; }
.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }
.product-item:nth-child(4) { animation-delay: 0.4s; }

