/* =========================================
   CSS FULL - H2OWIN996 CLUB (Malaysia Style)
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #111; /* Latar belakang gelap agar lebih premium */
    color: #fff;
    line-height: 1.6;
}

.main-container {
    max-width: 500px; /* Saiz ideal untuk paparan mobile */
    margin: 0 auto;
    background: #fff;
    color: #333;
    min-height: 100vh;
    position: relative;
}

/* --- Header & Search --- */
.header {
    background: white;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-bar {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 15px;
    margin-bottom: 10px;
}

.search-bar input {
    border: none;
    flex: 1;
    outline: none;
    font-size: 14px;
}

.auth-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-daftar, .btn-login {
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    border-radius: 5px;
    font-size: 14px;
}

.btn-daftar { background: linear-gradient(to right, #ff8c00, #ffba00); }
.btn-login { background: #e60000; }

/* --- Trust Section --- */
.trust-section {
    display: flex;
    justify-content: space-around;
    background: #f9f9f9;
    padding: 12px 5px;
    font-size: 9px;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

/* --- Hero Banner (BAHAGIAN IMEJ) --- */
.hero-banner {
    width: 100%;
    min-height: 420px;
    /* PENTING: Jika CSS & Imej dalam folder sama (assets), guna nama fail saja */
    background: #000 url('hero.webp') center/cover no-repeat !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Transparensi nipis agar imej nampak jelas */
    position: relative;
    z-index: 5;
    padding: 20px;
}

/* --- Overlay Logo & Bendera --- */
.top-brand-overlay {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10;
}

.malaysia-flag {
    width: 45px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.mega-logo-img {
    width: 100px;
    height: auto;
}

/* --- Teks Terapung (Neon) --- */
.floating-text {
    position: absolute;
    font-weight: 900;
    font-size: 1.3rem;
    color: #ffda44;
    text-shadow: 2px 2px 10px #ff8c00, 0 0 5px #000;
    line-height: 1.1;
    text-transform: uppercase;
}

.floating-text.left { top: 25%; left: 8%; transform: rotate(-8deg); color: #00ff00; text-shadow: 0 0 10px #000; } /* 100% Trusted */
.floating-text.right { top: 20%; right: 8%; transform: rotate(8deg); }

.brand-name {
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 3px 3px 15px rgba(0,0,0,1);
    margin-top: 60px;
    font-weight: 800;
}

/* --- Ikon Bawah Imej --- */
.bottom-icons {
    display: flex;
    justify-content: space-between;
    width: 95%;
    position: absolute;
    bottom: 15px;
    left: 2.5%;
    background: rgba(0,0,0,0.6);
    padding: 10px 5px;
    border-radius: 10px;
}

.icon-item {
    flex: 1;
    font-size: 0.6rem;
    color: #fff;
    text-align: center;
}

.icon-item span {
    display: block;
    margin-top: 3px;
}

/* --- Product Info --- */
.product-info {
    padding: 20px 15px;
    background: white;
    margin-bottom: 80px;
}

.likes { color: #d0011b; font-size: 13px; font-weight: bold; }
.price { font-size: 22px; font-weight: bold; margin: 10px 0; color: #333; }
.product-title { font-size: 18px; margin-bottom: 12px; line-height: 1.4; font-weight: bold; }
.description { font-size: 14px; color: #555; line-height: 1.6; text-align: justify; }
.rating { margin-top: 15px; font-weight: bold; color: #ff8c00; font-size: 14px; }

/* --- Sticky Footer --- */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 65px;
    z-index: 2000;
}

.btn-daftar-large, .btn-login-large {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.btn-daftar-large { background: linear-gradient(to right, #ff8c00, #ffba00); }
.btn-login-large { background: #ff4500; }

/* --- Responsive --- */
@media (max-width: 380px) {
    .brand-name { font-size: 1.8rem; }
    .floating-text { font-size: 1rem; }
    .icon-item { font-size: 0.5rem; }
}