/* ================= RESET & BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #f3e6c9;
    color: #3b2a1a;
    line-height: 1.85;
    overflow-x: hidden;
}

/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(60, 42, 22, 0.95);
    backdrop-filter: blur(14px);
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 14px 5%;
    background: rgba(60, 42, 22, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #f5d28c;
    font-weight: 700;
    font-size: 1.42rem;
}

.logo img {
    width: 54px;
    transition: transform 0.4s ease;
}

.logo:hover img {
    transform: scale(1.1) rotate(6deg);
}

.menu {
    display: flex;
    gap: 34px;
    align-items: center;
}

.menu a {
    color: #f5d28c;
    text-decoration: none;
    font-size: 15.8px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.menu a.active,
.menu a:hover {
    color: #fff;
}

.menu a::after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 0;
    height: 2.8px;
    background: #e2a33b;
    transition: width 0.4s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

/* ================= BUTTON PRIMARY ================= */
.btn-primary {
    background: linear-gradient(135deg, #d4a017, #f0c14e);
    color: #3c2a14;
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 5px 18px rgba(212, 160, 23, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(212, 160, 23, 0.5);
}

/* ================= SECTION TITLE ================= */
.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 85px;
    color: #3b2a1a;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 110px;
    height: 6px;
    background: linear-gradient(to right, #c58b2b, #e2a33b);
    margin: 30px auto 0;
    border-radius: 4px;
}

/* ================= MERCH SECTION ================= */
.merch-section {
    background: #fff8e6;
    padding: 170px 5% 140px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.merch-section::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -180px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(197,139,43,0.09) 0%, transparent 70%);
    z-index: 0;
}

.merch-wrapper {
    max-width: 1260px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ================= MERCH GRID ================= */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= MERCH CARD ================= */
.merch-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.14);
    transition: all 0.4s ease;
    overflow: hidden;
}

.merch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(197, 139, 43, 0.18);
}

.merch-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 20px;
    transition: all 0.5s ease;
    border: 8px solid #fff8e6;
}

.merch-card:hover img {
    transform: scale(1.06);
}

.merch-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #3b2a1a;
    font-weight: 600;
}

.price {
    color: #c58b2b;
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.buy-btn {
    display: inline-block;
    background: linear-gradient(135deg, #c58b2b, #e2a33b);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.02rem;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(197, 139, 43, 0.3);
}

.buy-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(197, 139, 43, 0.45);
}

/* ================= FOOTER ================= */
.footer {
    background: #3c2a14;
    color: white;
    padding: 95px 5% 45px;
    margin-top: 90px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 55px;
    flex-wrap: wrap;
}

.footer-left, .footer-center, .footer-right {
    flex: 1;
    min-width: 260px;
}

.footer-left img {
    width: 90px;
    margin-bottom: 20px;
}

.footer-left p {
    color: #ccc;
    font-size: 0.98rem;
    line-height: 1.75;
}

.footer-center h3,
.footer-right h3 {
    margin-bottom: 24px;
    color: #f5d28c;
    font-size: 1.28rem;
}

.footer-center ul {
    list-style: none;
}

.footer-center ul li {
    margin-bottom: 13px;
}

.footer-center ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-center ul li a:hover {
    color: #f5d28c;
}

.footer-right p {
    color: #ccc;
    margin-bottom: 11px;
    font-size: 0.98rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.13);
    margin-top: 65px;
    padding: 28px 0 15px;
    font-size: 0.93rem;
    color: #aaa;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .merch-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 28px;
    }
    
    .section-title {
        font-size: 2.9rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 5%;
    }
    
    .merch-section {
        padding: 130px 5% 110px;
    }
    
    .merch-card img {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 45px;
    }
    
    .merch-grid {
        gap: 25px;
    }
}