:root {
    --bg-dark: #080808;
    --bg-card: #151515;
    --ag-red: #d90429;
    --ag-red-glow: rgba(217, 4, 41, 0.6);
    --text-main: #ffffff;
    --text-muted: #8d99ae;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

html, body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; background: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid var(--ag-red); position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(10px);
}
.logo-container { display: flex; align-items: center; gap: 15px; }

/* LOGO 3D COIN SPIN ANIMATION */
.nav-logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px var(--ag-red-glow);
    border: 2px solid var(--ag-red);
    animation: coinSpin 4s linear infinite;
    transform-style: preserve-3d;
}

@keyframes coinSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.logo-text { font-size: 24px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.logo-text span { color: var(--ag-red); }

.search-bar input {
    padding: 8px 15px; border-radius: 20px; border: 1px solid #333;
    background: #111; color: white; outline: none; width: 250px;
    transition: 0.3s;
}
.search-bar input:focus { border-color: var(--ag-red); box-shadow: 0 0 8px var(--ag-red-glow); }

.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a { color: white; text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 14px; transition: 0.3s; }
.nav-links a:hover { color: var(--ag-red); }

/* Sections */
.section { display: none; padding: 50px 5%; min-height: 80vh; }
.section.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Hero */
.hero { text-align: center; padding-top: 100px; }
.hero h1 { font-size: 60px; text-transform: uppercase; text-shadow: 0 0 20px rgba(255,255,255,0.2); margin-bottom: 15px; }
.hero p { font-size: 20px; color: var(--text-muted); margin-bottom: 30px; }

/* Buttons */
.btn-primary {
    background: var(--ag-red); color: white; border: none; padding: 12px 30px;
    font-size: 16px; font-weight: bold; text-transform: uppercase; border-radius: 5px;
    cursor: pointer; transition: 0.3s; box-shadow: 0 0 15px var(--ag-red-glow);
}
.btn-primary:hover { background: white; color: var(--ag-red); box-shadow: 0 0 25px white; }

/* Products */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 36px; color: var(--ag-red); text-transform: uppercase; }
.product-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }

.product-card {
    background: var(--bg-card); border-radius: 10px; width: 320px;
    overflow: hidden; position: relative; border: 1px solid #222; transition: 0.3s;
}
.product-card:hover { transform: translateY(-10px); border-color: var(--ag-red); box-shadow: 0 10px 20px rgba(217, 4, 41, 0.2); }

.discount-badge {
    position: absolute; top: 15px; right: -30px; background: var(--ag-red); color: white;
    padding: 5px 40px; font-weight: bold; transform: rotate(45deg); font-size: 14px; z-index: 10;
}

.product-image { width: 100%; height: 220px; object-fit: contain; background: #000; }
.product-info { padding: 20px; }
.category { color: var(--ag-red); font-size: 12px; font-weight: bold; text-transform: uppercase; }
.product-info h2 { font-size: 20px; margin: 10px 0; }
.product-info p { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; }

.price-container { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.old-price { text-decoration: line-through; color: var(--text-muted); font-size: 16px; }
.new-price { font-size: 26px; font-weight: bold; color: white; }

.buy-btn { width: 100%; background: white; color: black; border: none; padding: 12px; font-weight: bold; font-size: 16px; border-radius: 5px; cursor: pointer; transition: 0.3s; }
.buy-btn:hover { background: var(--ag-red); color: white; }

/* Quick Share Toast Notification */
#toastNotification {
    position: fixed; bottom: 30px; right: 30px; background: #111; color: white;
    border: 1px solid var(--ag-red); padding: 12px 22px; border-radius: 6px;
    z-index: 99999; box-shadow: 0 5px 20px rgba(217,4,41,0.4); display: none;
    font-weight: 600; font-size: 14px; animation: fadeInUp 0.3s ease;
}
@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* FAQ Accordion Styling */
.faq-container { max-width: 800px; margin: 60px auto 0 auto; padding: 0 20px; }
.faq-item { background: var(--bg-card); border: 1px solid #222; border-radius: 8px; margin-bottom: 15px; overflow: hidden; transition: 0.3s; }
.faq-item:hover { border-color: var(--ag-red); }
.faq-question { padding: 18px 20px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #121212; color: #fff; }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.faq-item.active .faq-answer { padding: 15px 20px 20px 20px; max-height: 200px; }
.faq-question span { color: var(--ag-red); font-size: 20px; transition: transform 0.3s; }
.faq-item.active .faq-question span { transform: rotate(45deg); }

/* Modal */
.modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); justify-content: center; align-items: center; z-index: 1000;
}
.modal-content { background: var(--bg-card); padding: 30px; border-radius: 10px; text-align: center; border: 2px solid var(--ag-red); max-width: 550px; width: 90%; }
.admin-container { max-width: 1000px; margin: 0 auto; background: var(--bg-card); padding: 30px; border-radius: 10px; border: 1px solid #333;}

/* 📱 SMARTPHONE EXCLUSIVE RESPONSIVE & AUTO-FIT LOCK (PC untouched) 📱 */
@media screen and (max-width: 768px) {
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .navbar {
        flex-direction: column !important;
        align-items: center !important;
        padding: 12px 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .logo-container {
        width: 100% !important;
        justify-content: center !important;
        margin-bottom: 5px;
    }
    
    .search-bar {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 5px;
    }
    
    .search-bar input {
        width: 92% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .nav-links {
        width: 100% !important;
        justify-content: center !important;
        gap: 15px !important;
        font-size: 12px !important;
        flex-wrap: wrap !important;
    }

    .hero {
        padding-top: 30px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .hero h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
    }

    .hero p {
        font-size: 14px !important;
    }

    .product-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        gap: 20px !important;
    }

    .product-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .section {
        width: 100% !important;
        padding: 30px 10px !important;
        box-sizing: border-box !important;
    }

    .faq-container {
        width: 100% !important;
        padding: 0 5px !important;
        box-sizing: border-box !important;
    }

    .faq-item {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .modal-content {
        width: 94% !important;
        max-width: 100% !important;
        margin: 10px auto !important;
        padding: 15px 10px !important;
        box-sizing: border-box !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
    }

    .admin-container {
        width: 95% !important;
        padding: 15px !important;
        margin: 10px auto !important;
        box-sizing: border-box !important;
    }
}