/* Transisi Antar Page */
body.fade-in {
    opacity: 1;
    transform: none;
    animation: fadeInSimple 0.4s ease;
  }
  body.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  body.slide-out {
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }
  body.scale-out {
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }
  body.trans-enter {
    opacity: 0;
  }
  body.trans-enter-active {
    opacity: 1;
    transition: opacity 0.4s ease;
  }
  @keyframes fadeInSimple {
    from {
      opacity: 0;
      filter: blur(8px);
    }
    to {
      opacity: 1;
      filter: blur(0);
    }
  }
html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    color: #222;
}

header {
    background: linear-gradient(90deg, #181c24 0%, #232733 60%, #3e4a63 100%);
    color: #fff;
    padding: 1.8rem 0 1.2rem 0;
    text-align: center;
    letter-spacing: 2px;
    box-shadow: 0 2px 12px rgba(30,30,30,0.10);
    position: relative;
    z-index: 2;
}

header h1 {
    margin: 0;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    background: linear-gradient(90deg, #fff 60%, #ff6a00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-noisecore {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 0.2rem;
    user-select: none;
}

.logo-noisecore svg {
    display: inline-block;
    background: #fff0;
}

.logo-noisecore .logo-text {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    background: linear-gradient(90deg, #fff 60%, #ff6a00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Segoe UI', Arial, sans-serif;
}

nav {
    background: #232733;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    transition: background 0.2s;
}

nav a.active,
nav a:hover {
    background: #3e4a63;
}

#menu-toggle {
    display: none;
    background: #232733;
    color: #fff;
    border: none;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    margin: 1rem auto 0.5rem auto;
    border-radius: 8px;
    cursor: pointer;
    width: 90%;
    max-width: 400px;
}

/* Product Filter */
.product-filter {
    background: #fff;
    margin: 2rem auto 1.5rem auto;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(30,30,30,0.13), 0 1.5px 0 #d1d1d1;
    max-width: 400px;
    text-align: center;
}

.product-filter label {
    font-weight: 500;
    margin-right: 0.5rem;
}

.product-filter select {
    padding: 0.4rem 1rem;
    border-radius: 8px;
    border: 1px solid #3e4a63;
    background: #f2f4f8;
    color: #222;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
}

.product-filter select:focus {
    border: 2px solid #3e4a63;
}

/* Product Gallery */
.product-gallery {
    background: #fff;
    padding: 2rem 1rem;
    border-radius: 20px;
    box-shadow: 0 6px 28px rgba(30,30,30,0.15), 0 1.5px 0 #d1d1d1;
    margin-bottom: 2rem;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.product-card {
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(30,30,30,0.18), 0 1.5px 0 #d1d1d1;
    border: 1.5px solid #e3e8ee;
    padding: 1rem 1.2rem;
    width: 220px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
    margin: 0;
}

.product-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.7rem;
    border: 1px solid #e3e8ee;
    background: #f7fafd;
}

.product-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 12px 40px rgba(30,30,30,0.22), 0 1.5px 0 #ffb347;
    border-color: #ffb347;
    background: #f1f5fa;
}

.product-card h3 {
    margin: 0.5rem 0 0.2rem 0;
    font-size: 1.1rem;
    color: #232733;
}

.product-card p {
    margin: 0.2rem 0;
}

.promo-badge {
    display: inline-block;
    background: linear-gradient(90deg, #ff6a00 0%, #ffb347 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 12px;
    padding: 0.2rem 0.8rem;
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    letter-spacing: 1px;
}

.promo-price {
    color: #ff6a00;
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 0.5em;
}

.original-price {
    color: #888;
    font-size: 1rem;
    text-decoration: line-through;
    margin-left: 0.2em;
}

footer {
    background: #181c24;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    font-size: 1rem;
    margin-top: 2rem;
    border-radius: 16px 16px 0 0;
}
/* Responsive Design */
@media screen and (min-width: 1200px) {
    .product-gallery {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
    .product-list {
        gap: 2.2rem;
    }
    .product-card {
        width: 220px;
        min-width: 220px;
        max-width: 240px;
    }
    .product-card h3 {
        font-size: 1.18rem;
    }
}
/* Untuk Ipad */
@media screen and (min-width: 700px) and (max-width: 1199px) {
    .product-gallery {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
    .product-list {
        gap: 1.2rem;
    }
    .product-card {
        width: 180px;
        min-width: 180px;
        max-width: 200px;
    }
    .product-card h3 {
        font-size: 1.08rem;
    }
}
/* Untuk Hengpong */
@media screen and (max-width: 699px) {
    nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0;
        display: none;
    }
    nav.active {
        display: flex;
    }
    #menu-toggle {
        display: block;
    }
    .product-list {
        flex-direction: column;
        align-items: center;
    }
    .product-card {
        width: 90%;
        max-width: 320px;
    }
    .product-gallery {
        padding: 1.2rem 0.3rem;
    }
    .product-filter {
        padding: 1rem 0.5rem;
    }
}