:root {
    --gold-primary: #D4AF37;
    --gold-secondary: #F5D76E;
    --gold-dark: #B7950B;
    --gold-light: #FFF8DC;
    --white: #FFFFFF;
    --light-bg: #FFFEF9;
    --card-bg: #FFFDF5;
    --text-dark: #3f3f3f;
    --text-gray: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Minecraftia', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8));
    animation: logoPulse 2s infinite alternate;
    object-fit: cover;
}

@keyframes logoPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8));
    }
    100% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 35px rgba(212, 175, 55, 1));
    }
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    border-top-color: var(--gold-primary);
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: var(--gold-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary), var(--gold-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 2s linear infinite;
    margin-top: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.5s;
    position: relative;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Background dengan partikel emas interaktif */
.gold-particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        linear-gradient(135deg, 
            rgba(255, 253, 245, 0.9) 0%, 
            rgba(255, 248, 225, 0.9) 25%,
            rgba(255, 245, 215, 0.95) 50%,
            rgba(255, 242, 205, 0.9) 75%,
            rgba(255, 240, 195, 0.85) 100%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(212, 175, 55, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(183, 149, 11, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 40% 40%,
            rgba(245, 215, 110, 0.08) 0%,
            transparent 70%
        ),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(212, 175, 55, 0.02) 2px,
            rgba(212, 175, 55, 0.02) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(183, 149, 11, 0.02) 2px,
            rgba(183, 149, 11, 0.02) 4px
        );
    background-blend-mode: overlay, screen, screen, multiply, normal, normal;
    overflow: hidden;
    animation: bgShift 20s ease-in-out infinite alternate;
}

/* Animasi untuk background yang bergerak pelan */
@keyframes bgShift {
    0% {
        background-position: 
            0% 0%,
            0% 0%,
            0% 0%,
            0% 0%,
            0% 0%,
            0% 0%;
    }
    100% {
        background-position: 
            100px 50px,
            -30px -30px,
            40px -40px,
            20px 20px,
            50px 50px,
            -50px -50px;
    }
}

/* Tambahkan efek glitter di sudut-sudut */
.gold-particle-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 10% 10%,
            rgba(255, 255, 255, 0.8) 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(255, 255, 255, 0.8) 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(255, 255, 255, 0.8) 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(255, 255, 255, 0.8) 1px,
            transparent 2px
        ),
        radial-gradient(
            circle at 50% 50%,
            rgba(255, 255, 255, 0.6) 2px,
            transparent 3px
        );
    background-size: 
        300px 300px,
        300px 300px,
        300px 300px,
        300px 300px,
        500px 500px;
    opacity: 0.1;
    animation: glitter 8s linear infinite;
}

@keyframes glitter {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(1.02);
    }
}

/* Tambahkan efek cahaya emas yang bergerak */
.gold-particle-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.05),
        transparent
    );
    animation: lightSweep 15s ease-in-out infinite;
}

@keyframes lightSweep {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }
    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

/* Update partikel emas untuk lebih menarik */
.gold-particle {
    position: absolute;
    background: radial-gradient(
        circle at 30% 30%,
        var(--gold-primary) 0%,
        var(--gold-secondary) 30%,
        transparent 70%
    );
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 20s infinite linear;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    50% {
        opacity: 0.2;
        transform: translateY(50vh) translateX(50px) rotate(180deg) scale(1);
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* Tambahkan partikel besar khusus untuk efek khusus */
.gold-particle.special {
    width: 100px !important;
    height: 100px !important;
    background: radial-gradient(
        circle,
        var(--gold-primary) 0%,
        var(--gold-secondary) 20%,
        transparent 60%
    );
    opacity: 0.05;
    animation: floatParticleSpecial 30s infinite ease-in-out;
    filter: blur(2px);
}

@keyframes floatParticleSpecial {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.03;
    }
    25% {
        transform: translate(100px, -50px) scale(1.2);
        opacity: 0.06;
    }
    50% {
        transform: translate(200px, 50px) scale(0.8);
        opacity: 0.04;
    }
    75% {
        transform: translate(-100px, -100px) scale(1.1);
        opacity: 0.07;
    }
}

/* Background pattern dekoratif untuk section putih */
.white-section-bg {
    position: relative;
    background-color: var(--white);
    overflow: hidden;
}

.white-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        linear-gradient(45deg, transparent 49.5%, rgba(212, 175, 55, 0.02) 49.5%, rgba(212, 175, 55, 0.02) 50.5%, transparent 50.5%),
        linear-gradient(-45deg, transparent 49.5%, rgba(212, 175, 55, 0.02) 49.5%, rgba(212, 175, 55, 0.02) 50.5%, transparent 50.5%);
    background-size: 400px 400px, 400px 400px, 50px 50px, 50px 50px;
    background-position: 0 0, 0 0, 0 0, 0 0;
    opacity: 0.6;
    z-index: 0;
    animation: bgFloat 60s linear infinite;
}

@keyframes bgFloat {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 400px 400px, -400px -400px, 50px 50px, -50px -50px;
    }
}

.gold-particle {
    position: absolute;
    background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.1;
    animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0.1;
    }
}

/* Header & Navigasi - Hanya 3 menu */
header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(183, 149, 11, 0.95) 100%);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--white);
    box-shadow: 0 5px 30px rgba(212, 175, 55, 0.3);
    animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    object-fit: cover;
    animation: logoGlow 3s infinite alternate;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }
    100% {
        filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.6));
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.logo-sub {
    font-size: 10px;
    color: #ffffff;
    margin-top: 8px;
    line-height: 1;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform: scale(1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Menu aktif dengan border putih di pinggir */
nav a.active {
    border: 2px solid rgba(255, 255, 255, 0.6);        /* border putih solid */
    background: transparent;               /* tanpa background, atau bisa rgba(255,255,255,0.1) jika ingin efek tipis */
    color: var(--white);                   /* teks tetap putih */
    box-shadow: 0 0 10px rgba(255,255,255,0.3); /* efek cahaya putih (opsional) */
}

/* Opsional: Atur tampilan saat hover pada menu aktif */
nav a.active:hover {
    background: rgba(255, 255, 255, 0.2);   /* sedikit putih saat hover */
    border-color: var(--gold-secondary);    /* border berubah warna emas */
    transform: scale(1.15) translateY(-2px);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(255, 255, 255, 0.2);
    z-index: 10;
}

nav a:hover::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-secondary), var(--gold-primary));
    border-radius: 27px;
    z-index: -1;
    animation: borderGlow 2s linear infinite;
    background-size: 400% 400%;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero Section dengan background p1.png */
.hero {
    padding: 12rem 5% 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(183, 149, 11, 0.3) 100%),
        url('p1.png') center/cover no-repeat;
    background-blend-mode: overlay;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
    padding: 3rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: inline-block;
    max-width: 900px;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--gold-secondary), var(--gold-primary), var(--gold-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5)); }
    to { filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.8)); }
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--white);
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    box-shadow: 
        0 8px 25px rgba(212, 175, 55, 0.4),
        0 0 0 2px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateY(0);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(212, 175, 55, 0.6),
        0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Tentang Toko */
.about {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin: 0 auto 3rem;
    color: var(--gold-dark);
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    z-index: 1;
}

.about-text p {
    margin-bottom: 1.8rem;
    line-height: 1.8;
    color: var(--text-gray);
    font-size: 1.1rem;
    z-index: 1;
    position: relative;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.stat {
    text-align: center;
    padding: 1.8rem 1rem;
    background: linear-gradient(135deg, var(--gold-light), var(--white));
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold-primary), var(--gold-secondary));
}

.stat:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.stat i {
    font-size: 2.2rem;
    color: var(--gold-primary);
    margin-bottom: 0.8rem;
}

.stat h3 {
    font-size: 2rem;
    color: var(--gold-dark);
    margin-bottom: 0.3rem;
}

.stat p {
    color: var(--text-gray);
    font-size: 1.1rem;

}

/* About-image dengan drop shadow tanpa border */
.about-image {
    position: relative;
    overflow: hidden;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
    transform: perspective(1000px) rotateY(-10deg);
    transition: all 0.5s ease;
    z-index: 1;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35));
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Dekorasi tambahan untuk section putih */
.decorative-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    animation: floatShape 25s infinite linear;
}

.shape:nth-child(1) {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 100px;
    height: 100px;
    top: 70%;
    right: 10%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.shape:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 15%;
    animation-delay: -10s;
    animation-duration: 35s;
}

.shape:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 15%;
    animation-delay: -15s;
    animation-duration: 40s;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(0, -60px) rotate(180deg);
    }
    75% {
        transform: translate(-30px, -30px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Katalog Produk - 5 produk */
.products {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    justify-items: center;
    position: relative;
    z-index: 1;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    width: 100%;
    max-width: 380px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    z-index: 2;
}

.product-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    border-color: var(--gold-primary);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.25);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(212, 175, 55, 0.1));
    z-index: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.15);
}

.product-info {
    padding: 2rem;
}

.product-category {
    color: var(--gold-primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 1px;
}

.product-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.product-description {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-price {
    font-size: 2.2rem;
    color: var(--gold-dark);
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-price span {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 400;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.buy-button {
    flex: 1;
    padding: 1rem;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--white);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.buy-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
}

/* Mengapa Beli di BangBlaze */
.why-us {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.reason-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    border-left: 4px solid var(--gold-primary);
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
}

.reason-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold-light), var(--white));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-primary);
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.reason-text h3 {
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.reason-text p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.bonus-section {
    background: linear-gradient(135deg, var(--gold-light), transparent);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.bonus-section h3 {
    color: var(--gold-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.bonus-list {
    list-style: none;
    margin-top: 1.5rem;
}

.bonus-list li {
    margin-bottom: 0.8rem;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
}

.bonus-showcase {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--gold-primary);
    position: relative;
}

.bonus-header {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.bonus-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bonus-header p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.bonus-screenshot {
    width: 100%;
    height: auto;
    display: block;
    padding: 1rem;
    background: white;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bonus-screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.bonus-overlay {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.bonus-overlay p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--gold-secondary);
}

.bonus-button {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.bonus-button:hover {
    background: transparent;
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

/* Metode Pembayaran */
.payment {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    position: relative;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.payment-method {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    width: 200px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.payment-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
}

.payment-method:hover {
    border-color: var(--gold-primary);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.payment-method i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.payment-method:hover i {
    transform: scale(1.2);
}

.payment-ovo i { color: #673AB7; }
.payment-dana i { color: #368dff; }
.payment-shopeepay i { color: #FF5722; }
.payment-GoPay i { color: #00b7ff; }
.payment-QRIS i { color: #000000; }


.payment-method h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.payment-method p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Tutorial Order */
.tutorial {
    padding: 6rem 5%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.step-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold-primary), var(--gold-secondary));
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.step-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.step-description {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1rem;
}

/* Sosial Media */
.social-media {
    padding: 6rem 5%;
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    position: relative;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.social-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 100%);
    color: var(--white);
    padding: 4rem 5% 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('p1.png') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.footer-links h3, .footer-contact h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--white);
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    width: 20px;
    color: var(--gold-light);
}

.copyright {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Modal untuk gambar */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    border: 3px solid var(--gold-primary);
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 40px;
    right: 40px;
    color: var(--gold-secondary);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold-primary);
}

.close-modal:hover,
.close-modal:focus {
    color: white;
    background: rgba(212, 175, 55, 0.8);
    transform: scale(1.1);
    text-decoration: none;
    cursor: pointer;
}

.modal-caption {
    text-align: center;
    color: var(--white);
    padding: 20px;
    font-size: 1.2rem;
    margin-top: 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    max-width: 800px;
    margin: 20px auto;
}

/* Responsif */
/* Mobile (≤768px): 1 produk vertikal */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    nav a {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
    
    @media (hover: none) and (pointer: coarse) {
        nav a:hover {
            transform: none;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        nav a:hover::after {
            display: none;
        }
        
        .logo-img:hover {
            transform: none;
        }
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .hero {
        padding: 9rem 1rem 4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding: 1.5rem;
        margin: 0;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }
    
    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .about-content {
        padding: 2rem;
        gap: 2.5rem;
    }
    
    .about-image {
        order: -1;
        transform: perspective(1000px) rotateY(0deg);
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-stats {
         grid-template-columns: 1fr 1.2fr 1fr;
    }
    
    .products-grid {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .payment-methods {
        gap: 1.5rem;
    }
    
    .payment-method {
        width: 160px;
        padding: 2rem 1.5rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .social-icons {
        gap: 1.5rem;
    }
    
    .social-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-links ul {
        display: inline-block;
        text-align: left;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .why-image {
        order: -1;
    }
    
    .why-content {
        padding: 2rem;
    }
    
    .reason-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .bonus-section {
        padding: 1.5rem;
    }
}

/* HP kecil (≤480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .product-price {
        font-size: 1.9rem;
    }
    
    .payment-method {
        width: 140px;
        padding: 1.5rem 1rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .loading-logo {
        width: 100px;
        height: 100px;
    }
}

/* Tablet (769px - 992px): 2 produk sejajar */
@media (min-width: 769px) and (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card {
        max-width: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    nav ul {
        gap: 2rem;
    }
    
    .why-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .why-image {
        order: -1;
    }
}

/* Desktop (≥993px): 3 produk di baris pertama, 2 produk di baris kedua di tengah */
@media (min-width: 993px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
        gap: 2.5rem;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .product-card:nth-child(1),
    .product-card:nth-child(2),
    .product-card:nth-child(3) {
        grid-row: 1;
    }
    
    .product-card:nth-child(4),
    .product-card:nth-child(5) {
        grid-row: 2;
    }
    
    .product-card:nth-child(4) {
        grid-column: 2;
    }
    
    .product-card:nth-child(3) {
        grid-column: 3;
    }
}

/* Desktop Besar (≥1200px): Layout yang lebih baik */
@media (min-width: 1200px) {
    .products-grid {
        max-width: 1400px;
    }
}
.logo-main,
.logo-sub {
    color: var(--white); /* atau bisa juga menggunakan #ffffff */
}
/* ===== TESTIMONIAL CAROUSEL ===== */
.testimonials {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.testimonial-slide {
    flex: 0 0 100%; /* default mobile */
    box-sizing: border-box;
    padding: 1rem 0;
}

@media (min-width: 769px) and (max-width: 992px) {
    .testimonial-slide {
        flex: 0 0 calc((100% - 2rem) / 2); /* 2 slide dengan gap 2rem */
    }
}

@media (min-width: 993px) {
    .testimonial-slide {
        flex: 0 0 calc((100% - 4rem) / 3); /* 3 slide dengan gap 2rem antar slide (total gap 4rem) */
    }

}

.testimonial-card {
    background: linear-gradient(135deg, var(--white), var(--gold-light));
    border-radius: 20px;
    padding: 2rem 1.8rem;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.25);
    border-color: var(--gold-primary);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 20px 20px 0 0;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    object-fit: cover;
}

.testimonial-user {
    flex: 1;
}

.testimonial-name {
    font-size: 1.2rem;
    color: var(--gold-dark);
    margin-bottom: 0.3rem;
}

.testimonial-rating {
    color: var(--gold-primary);
    font-size: 0.9rem;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-screenshot {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-screenshot:hover {
    border-color: var(--gold-primary);
    transform: scale(1.02);
}

.testimonial-screenshot img {
    width: 100%;
    height: auto;
    display: block; /* menghilangkan spasi ekstra di bawah gambar */
}

.testimonial-screenshot:hover img {
    transform: scale(1.1);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.testimonial-screenshot:hover .screenshot-overlay {
    transform: translateY(0);
}

.screenshot-overlay i {
    color: var(--gold-primary);
}

.testimonial-text {
    color: var(--text-gray);
    font-style: italic;
    line-height: 1.6;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed rgba(212, 175, 55, 0.3);
}

/* Navigasi Panah */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    color: var(--gold-primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.carousel-arrow:hover {
    background: var(--gold-primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 0;
}

.carousel-arrow.next {
    right: 0;
}

/* Dot Indicators */
.carousel-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.dot.active-dot {
    background: var(--gold-primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--gold-primary);
}

/* Responsif untuk carousel */
@media (max-width: 992px) {
    .testimonial-slide {
        min-width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .testimonial-slide {
        min-width: 100%;
    }
    .testimonial-carousel-container {
        padding: 0 20px;
    }
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}
.payment-QRIS {
    cursor: pointer;
    transition: transform 0.2s;
}
.payment-QRIS:hover {
    transform: scale(1.05);
}
/* ===== PERBAIKAN LAYOUT HP ===== */

/* Memperkecil padding section di HP */
@media (max-width: 768px) {
    section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .section-title {
        font-size: 2rem !important;
    }

    .about-content,
    .why-content {
        padding: 1.5rem !important;
    }

    .hero {
        padding: 8rem 1rem 4rem !important;
    }

    .hero-content {
        padding: 1.2rem !important;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    .hero p {
        font-size: 1rem !important;
    }
}

/* Atur metode pembayaran jadi 2 kolom di HP */
@media (max-width: 600px) {
    .payment-methods {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }

    .payment-method {
        width: auto !important;
        padding: 1.2rem 0.5rem !important;
    }

    .payment-method i {
        font-size: 2.5rem !important;
    }

    .payment-method h3 {
        font-size: 1.1rem !important;
    }

    .payment-method p {
        font-size: 0.8rem !important;
    }
}

/* Ukuran font produk lebih kecil di HP kecil */
@media (max-width: 480px) {
    .product-info {
        padding: 1.2rem !important;
    }

    .product-title {
        font-size: 1.3rem !important;
    }

    .product-price {
        font-size: 1.6rem !important;
    }

    .product-description {
        font-size: 0.9rem !important;
    }

    .buy-button {
        padding: 0.8rem !important;
        font-size: 0.9rem !important;
    }

    .about-stats {
        grid-template-columns: 1fr !important;
    }

    .reason-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 1rem !important;
    }

    .reason-icon {
        margin-bottom: 0.5rem !important;
    }
}

/* Agar QRIS terlihat bisa diklik */
.payment-QRIS {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.payment-QRIS:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}
/* Perbaikan tampilan "Tentang BangBlaze" di HP */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr !important;
        padding: 1.5rem !important;
        gap: 1.5rem !important;
    }

    .about-text p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
        text-align: justify !important; /* agar rata kanan-kiri, lebih rapi */
    }

    .about-text p:last-of-type {
        margin-bottom: 0 !important;
    }

    .about-stats {
        grid-template-columns: 1fr !important; /* stat jadi vertikal */
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }

    .stat {
        padding: 1rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
        text-align: left !important;
    }

    .stat i {
        font-size: 2rem !important;
        margin-bottom: 0 !important;
        width: 40px !important;
        text-align: center !important;
    }

    .stat h3 {
        font-size: 1.5rem !important;
        margin-bottom: 0 !important;
        min-width: 60px !important;
    }

    .stat p {
        font-size: 0.9rem !important;
        margin-left: auto !important;
    }

    .about-image {
        order: -1; /* pindahkan gambar ke atas jika perlu */
        margin-bottom: 0.5rem !important;
    }

    .about-image img {
        max-height: 200px !important;
        object-fit: contain !important;
    }
}

/* Untuk HP kecil (480px ke bawah) */
@media (max-width: 480px) {
    .about-text p {
        font-size: 0.9rem !important;
    }

    .stat {
        flex-wrap: wrap !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .stat i {
        width: 100% !important;
        font-size: 2.2rem !important;
    }

    .stat h3 {
        min-width: auto !important;
    }

    .stat p {
        margin-left: 0 !important;
        width: 100% !important;
    }
}
@media (max-width: 768px) {
    .about-image img {
        max-width: 80% !important;
        margin: 0 auto !important;
        display: block !important;
    }
}
/* Perbaikan Navbar agar selalu rapi dan sejajar */
nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem; /* jarak antar menu */
    margin: 0;
    padding: 0;
}

nav a {
    white-space: nowrap; /* mencegah teks turun ke bawah */
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Tablet dan HP besar */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem; /* kurangi jarak */
        flex-wrap: nowrap; /* paksa tetap dalam satu baris */
        justify-content: center;
    }

    nav a {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
}

/* HP kecil (≤480px) */
@media (max-width: 480px) {
    nav ul {
        gap: 0.5rem;
    }

    nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
}