/* ================================
   CHUMARKET - MAIN STYLES
   Theme: Prism Flux
   Features: Glassmorphism, Neon Glows, Clean Layout
   ================================ */

/* Global Body Background (Agar tidak polos di halaman selain Home) */
body {
    background-color: #050812;
    background-image: 
        radial-gradient(at 0% 0%, rgba(255, 140, 66, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(255, 107, 157, 0.08) 0px, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    overscroll-behavior-y: contain; /* Mencegah refresh bawaan browser */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Use global flux background, but add a subtle overlay pattern if needed */
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    margin-top: 0;
    padding-top: 100px; /* Extra space for fixed navbar */
    overflow: hidden;
}

.hero::before {
    /* Optional: Add bg.gif as a subtle overlay */
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('../img/bg.gif') center center;
    background-size: cover;
    opacity: 0.15; /* Very subtle */
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    height: 100%;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    position: relative;
    z-index: 3;
}

.hero-image {
    flex: 1;
    text-align: center;
    min-width: 300px;
    position: relative;
    z-index: 3;
}

.hero-image img {
    width: 100%;
    max-width: 480px;
    height: 420px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    position: relative;
    z-index: 4;
    /* Modern Text Shadow/Glow */
    text-shadow: none;
}

.hero-text p {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 4;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 4;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 5;
}

/* Features Section */
.features {
    /* Transparent to show global flux background */
    background: transparent;
    padding: 5rem 0;
    position: relative;
}

.features .container {
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    text-align: center;
    padding: 2rem;
    height: 100%;
    position: relative;
    z-index: 3;
    transition: var(--transition);
    /* 3D Base Style */
    border-bottom: 4px solid var(--glass-border);
}

/* Variatif & Staggered Grid for Features */
.features-grid {
    padding-bottom: 2rem;
}

.grid-5 {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

@media (min-width: 1024px) {
    .grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 140, 66, 0.6);
    filter: none;
}

/* Variatif Colors for Icons per Card */
.features-grid .feature-card:nth-child(1) .feature-icon { color: #facc15; text-shadow: 0 0 20px rgba(250, 204, 21, 0.4); }
.features-grid .feature-card:nth-child(2) .feature-icon { color: #4ade80; text-shadow: 0 0 20px rgba(74, 222, 128, 0.4); }
.features-grid .feature-card:nth-child(3) .feature-icon { color: #60a5fa; text-shadow: 0 0 20px rgba(96, 165, 250, 0.4); }
.features-grid .feature-card:nth-child(4) .feature-icon { color: #f472b6; text-shadow: 0 0 20px rgba(244, 114, 182, 0.4); }
.features-grid .feature-card:nth-child(5) .feature-icon { color: #a78bfa; text-shadow: 0 0 20px rgba(167, 139, 250, 0.4); }

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-white);
    position: relative;
    z-index: 4;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    z-index: 4;
}


/* Section Styles */
.section {
    background: transparent;
    position: relative;
    padding: 5rem 0;
}

.section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    position: relative;
    z-index: 3;
}

.section-subtitle {
    position: relative;
    z-index: 3;
    color: rgba(255, 255, 255, 0.7);
}

.tutorial-card {
    text-align: center;
    position: relative;
    z-index: 3;
}

.tutorial-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8));
}

.tutorial-card h3 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 4;
}

.tutorial-card p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    position: relative;
    z-index: 4;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 1rem 0;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large {
        width: 100%;
    }

    .hero-image img {
        height: 300px;
    }
}

/* ================================
   UI ENHANCEMENTS (Dropdown & Toast)
   ================================ */

/* User Dropdown in Navbar */
.nav-user-dropdown {
    position: relative;
    display: inline-block;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border-radius: 30px;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    color: var(--text-white);
}

.nav-user-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-orange);
}

.nav-user-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(to right, var(--primary-orange), var(--primary-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    width: 220px;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 1000;
    animation: slideDown 0.2s ease;
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-item {
    padding: 0.8rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-item i {
    font-size: 1.1rem;
    color: var(--primary-orange);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transform: translateX(5px);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll To Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
    border: none;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

.scroll-top i {
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
}

/* Form Overrides */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--primary-orange);
    border-radius: 10px;
    background: #000000;
    color: var(--primary-orange);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 140, 66, 0.6);
    opacity: 0.8;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: #000000;
    box-shadow: 0 0 15px rgba(255, 140, 66, 0.2);
}

/* Force Input Color for Readability (including disabled) */
.form-group input:disabled,
.form-group textarea:disabled,
.form-group select:disabled {
    color: var(--primary-orange) !important;
    -webkit-text-fill-color: var(--primary-orange) !important;
    opacity: 1 !important;
    background: #1a1a1f;
    border-color: var(--glass-border);
}

/* Global Placeholder Override */
::placeholder {
    color: rgba(255, 140, 66, 0.6) !important;
    opacity: 0.8;
}

/* Select Options */
option {
    background: #000000;
    color: var(--primary-orange);
}

/* ================================
   ALERT & MESSAGE
   ================================ */

.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
    border-left: 4px solid var(--primary-orange);
    background: #000000;
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
}

.alert-success {
    background: #000000;
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.alert-error {
    background: #000000;
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.alert-warning {
    background: #000000;
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.alert-info {
    background: #000000;
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

/* ================================
   ORDER PAGE UI
   ================================ */
.order-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.order-sidebar {
    position: sticky;
    top: 120px;
}

.order-summary-card {
    background: rgba(25, 25, 30, 0.98);
    border: 1px solid var(--primary-orange);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.product-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.03);
}

.product-option:hover, .product-option.selected {
    border-color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(5px);
}

.product-option input[type="radio"] {
    accent-color: var(--primary-orange);
    width: 20px;
    height: 20px;
}

.order-total {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
}

.order-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    z-index: 2;
}

.step-circle {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-item.active .step-circle {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

@media (max-width: 900px) {
    .order-container {
        grid-template-columns: 1fr;
    }
}

/* ================================
   SHOPEE-LIKE PRODUCT UI
   ================================ */
.shopee-container {
    background: rgba(20, 20, 25, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.shopee-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 30px;
}

.shopee-image-section img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
}

.shopee-image-section {
    position: relative;
}

.sold-out-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 5;
}

.sold-out-text {
    background: rgba(220, 38, 38, 0.9);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    transform: rotate(-15deg);
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.shopee-info-section h1 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-white);
}

.shopee-stats {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.shopee-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.shopee-stats .rating { color: var(--primary-orange); border-bottom: 1px solid var(--primary-orange); }

.shopee-price-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shopee-price-box .original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1rem;
}

.shopee-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-orange);
}

.shopee-form-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.shopee-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.shopee-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shopee-btn-buy {
    background: var(--primary-orange);
    color: white;
    border: 1px solid var(--primary-orange);
    padding: 12px 40px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.shopee-btn-buy:hover {
    background: #e07b3a;
}

@media (max-width: 768px) {
    .shopee-grid { grid-template-columns: 1fr; }
    .shopee-image-section { max-width: 100%; }
}

/* Marketplace Order UI */
/* New Commerce Layout (Shopee/Sellauth Style) */
.commerce-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    background: #141419; /* Solid Hex Color */
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    align-items: start;
    backdrop-filter: none !important;
}

.commerce-image {
    position: sticky;
    top: 100px;
}

.commerce-image img {
    width: 100%;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.commerce-image img:hover {
    transform: scale(1.02);
}

.commerce-details h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.commerce-price {
    font-size: 2.5rem;
    color: var(--primary-orange);
    font-weight: 800;
    background: rgba(255, 140, 66, 0.08);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: inline-block;
    margin: 1rem 0 1.5rem;
    border: 1px solid rgba(255, 140, 66, 0.2);
    width: 100%;
}

.commerce-features {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.feature-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-tag i { color: var(--primary-orange); }

.commerce-form-section {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.commerce-total-bar {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.commerce-total-label { font-size: 1.1rem; color: var(--text-gray); }
.commerce-total-value { font-size: 1.8rem; font-weight: 800; color: white; }

@media (max-width: 900px) {
    .commerce-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    .commerce-image {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Discount Field */
.discount-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.discount-input-group input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.6rem;
    color: var(--text-white);
    font-size: 0.9rem;
}

.discount-input-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.discount-msg {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    min-height: 1.2em;
}

.discount-msg.success { color: var(--success); }
.discount-msg.error { color: var(--danger); }

/* ================================
   CHECKOUT MODAL
   ================================ */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 11000; /* Lebih tinggi dari Header (10000) */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    background: #1a1a1f;
    border: 1px solid var(--primary-orange);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    padding: 2rem;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-backdrop.show .checkout-modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 1.5rem;
    cursor: pointer;
}

.checkout-details {
    margin-bottom: 2rem;
}

.checkout-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.checkout-row span:last-child {
    color: var(--text-white);
    font-weight: 500;
}

.checkout-row.total {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.checkout-row.total span:last-child {
    color: var(--primary-orange);
}

.checkout-actions {
    display: flex;
    gap: 1rem;
}

.btn-confirm {
    flex: 1;
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-confirm:hover {
    background: #e07b3a;
}

.btn-close-modal {
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-close-modal:hover {
    background: rgba(255,255,255,0.2);
}

/* ================================
   REVIEWS SECTION
   ================================ */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.review-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(to right, var(--primary-orange), var(--primary-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.review-stars {
    color: var(--primary-orange);
    font-size: 0.9rem;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}
.star-rating-input input { display: none; }
.star-rating-input label {
    font-size: 1.5rem;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: var(--primary-orange);
}

/* Pagination Buttons */
.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

/* Hide Number Input Spinners */
/* Chrome, Safari, Edge, Opera */
input.qty-input::-webkit-outer-spin-button,
input.qty-input::-webkit-inner-spin-button,
.pdp-qty-val::-webkit-outer-spin-button,
.pdp-qty-val::-webkit-inner-spin-button,
.cart-qty-val::-webkit-outer-spin-button,
.cart-qty-val::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input.qty-input[type=number], .pdp-qty-val[type=number], .cart-qty-val[type=number] {
  -moz-appearance: textfield;
}

/* ================================
   NEW SHOP UI (SIDEBAR & GRID)
   ================================ */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}

.shop-sidebar {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.5rem;
}

.sidebar-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-list { list-style: none; }

.category-item {
    padding: 0.8rem 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.category-item:hover, .category-item.active {
    background: rgba(255, 140, 66, 0.1);
    color: var(--primary-orange);
    font-weight: 600;
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 140, 66, 0.5);
    box-shadow: 0 0 20px rgba(255, 140, 66, 0.15);
}

.prod-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: #1a1a1f;
}

.prod-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.5s ease;
}

.product-card:hover .prod-img { transform: scale(1.1); }

.prod-details {
    padding: 0.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.prod-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 2.8em;
}

.prod-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.prod-price {
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 1.1rem;
}

.prod-sold { font-size: 0.8rem; color: var(--text-gray); }

/* ================================
   NEW PRODUCT DETAIL UI (SHOPEE STYLE)
   ================================ */
.pdp-container {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 2rem;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2.5rem;
}

.pdp-gallery { position: sticky; top: 100px; }

.pdp-img-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden; /* KUNCI AGAR GAMBAR TIDAK KELUAR */
    border: 1px solid var(--glass-border);
    margin-bottom: 1rem;
    aspect-ratio: 1/1;
    background: #1a1a1f;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.pdp-main-img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 0.5s ease; padding: 10px; }
.pdp-img-container:hover .pdp-main-img { transform: scale(1.05); }

.pdp-info h1 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; line-height: 1.3; }

.pdp-meta { display: flex; gap: 1.5rem; font-size: 0.9rem; color: var(--text-gray); border-bottom: 1px solid var(--glass-border); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.pdp-meta span { display: flex; align-items: center; gap: 0.5rem; }
.pdp-meta .rating { color: var(--primary-orange); border-bottom: 1px solid var(--primary-orange); padding-bottom: 2px; }

.pdp-price-box { background: rgba(255, 255, 255, 0.03); padding: 1.5rem; margin-bottom: 2rem; display: flex; align-items: center; gap: 1rem; border-radius: 8px; }
.pdp-price { font-size: 1.8rem; font-weight: 700; color: var(--primary-orange); }
.pdp-old-price { text-decoration: line-through; color: #888; font-size: 1rem; }
.pdp-discount-tag { background: var(--primary-orange); color: white; font-size: 0.7rem; padding: 2px 6px; border-radius: 2px; font-weight: 700; }

.pdp-section { margin-bottom: 1.5rem; display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 1rem; }
.pdp-label { color: var(--text-gray); font-size: 0.9rem; }

.pdp-variants { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.pdp-variant-btn { background: transparent; border: 1px solid var(--glass-border); color: var(--text-white); padding: 0.6rem 1.2rem; border-radius: 4px; cursor: pointer; transition: var(--transition); font-size: 0.9rem; }
.pdp-variant-btn:hover, .pdp-variant-btn.active { border-color: var(--primary-orange); color: var(--primary-orange); background: rgba(255, 140, 66, 0.05); }

.pdp-qty-input { display: flex; align-items: center; border: 1px solid var(--glass-border); border-radius: 4px; width: fit-content; }
.pdp-qty-btn { background: transparent; border: none; color: var(--text-white); width: 35px; height: 35px; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.pdp-qty-btn:hover { background: rgba(255,255,255,0.1); }
.pdp-qty-val { width: 50px; text-align: center; background: transparent; border: none; border-left: 1px solid var(--glass-border); border-right: 1px solid var(--glass-border); color: var(--text-white); height: 35px; }

.pdp-actions { display: flex; gap: 1rem; margin-top: 2rem; }
.pdp-btn-buy { background: var(--primary-orange); color: white; border: none; padding: 1rem 3rem; font-size: 1rem; font-weight: 600; border-radius: 4px; cursor: pointer; transition: var(--transition); flex: 1; max-width: 250px; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.pdp-btn-buy:hover { background: #e07b3a; box-shadow: 0 0 20px rgba(255, 140, 66, 0.4); }
.pdp-btn-cart { background: rgba(255, 255, 255, 0.1); color: white; border: 1px solid var(--glass-border); padding: 1rem; font-size: 1.2rem; border-radius: 4px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; width: 50px; }
.pdp-btn-cart:hover { background: rgba(255, 255, 255, 0.2); border-color: var(--primary-orange); color: var(--primary-orange); }
.pdp-btn-buy:disabled { background: #555; cursor: not-allowed; box-shadow: none; }

/* PDP Description & Modern Form */
.pdp-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-orange);
}
.pdp-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.pdp-label-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}
.pdp-label-icon i {
    color: var(--primary-orange);
}
.pdp-input-modern {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s;
}
.pdp-input-modern:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(0, 0, 0, 0.3);
}
.coupon-group-modern {
    display: flex;
    gap: 0.8rem;
}
.btn-coupon-modern {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-coupon-modern:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
}
.input-helper {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.4rem;
}

/* Modern Payment Selection */
.pdp-section-vertical {
    margin-bottom: 1.5rem;
}
.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.payment-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}
.payment-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 140, 66, 0.5);
}
.payment-card input[type="radio"] {
    display: none;
}
.payment-card.selected {
    background: rgba(255, 140, 66, 0.1);
    border-color: var(--primary-orange);
    box-shadow: 0 0 15px rgba(255, 140, 66, 0.1);
}
.payment-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    transition: 0.3s;
}  
/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Wrapper */
.parallax-bg {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: -1;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

/* Home Background Pattern (Anime Style) */
.home-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Black Orange Gradient */
    background: linear-gradient(to bottom, #000000, #1a0a00, #2a1000);
    overflow: hidden;
}

/* Anime Tech Grid */
.home-bg-pattern::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 90%);
    z-index: 1;
}

/* Magical Glows */
.home-bg-pattern::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 140, 66, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.2) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(255, 165, 0, 0.1) 0%, transparent 40%);
    filter: blur(50px);
    animation: animeGlowPulse 6s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes animeGlowPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }

.payment-card.selected .payment-icon {
    background: var(--primary-orange);
    color: white;
}

/* Full Height Section Utility */
.full-height {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0; /* Tetap ada padding agar tidak terlalu mepet */
}

/* Hero Slider Full Height & Solid Background */
.hero-slider {
    min-height: 100vh;
    background-color: var(--bg-dark); /* Menutupi background pattern abstrak */
}
.hero-slides, .hero-slide { height: 100vh; }
.hero-slide .container { height: 100%; padding-top: 80px; /* Kompensasi navbar */ }

.payment-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.payment-name {
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.95rem;
}
.payment-desc {
    font-size: 0.8rem;
    color: var(--text-gray);
}
.payment-check {
    color: var(--primary-orange);
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.payment-card.selected .payment-check {
    opacity: 1;
    transform: scale(1);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { display: none; } /* Hide sidebar on mobile for now, or make it a drawer */
    .pdp-container { grid-template-columns: 1fr; padding: 1.5rem; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transform: none !important; will-change: auto !important; background: #141419 !important; }
    .pdp-info { padding-bottom: 100px; }
    .pdp-gallery { position: static; }
    .pdp-actions { position: static !important; width: 100% !important; background: transparent !important; padding: 0 !important; margin-top: 2rem !important; box-shadow: none !important; border-top: none !important; display: flex !important; gap: 1rem; z-index: 1; transform: none !important; pointer-events: auto !important; }
    .pdp-btn-buy { max-width: 100%; }

    /* Paksa metode pembayaran menjadi 2 kolom (kiri-kanan) di mobile */
    .payment-method-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    body { padding-bottom: 80px; } /* Space for fixed bottom bar */
}

/* Search Input in Sidebar */
.sidebar-search { width: 100%; padding: 0.8rem; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 8px; color: white; margin-bottom: 1rem; }
.sidebar-search:focus { outline: none; border-color: var(--primary-orange); }

/* Wishlist Button on Product Card */
.btn-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: var(--transition);
    z-index: 5;
    backdrop-filter: blur(4px);
}
.btn-wishlist:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.1); }
.btn-wishlist.active { color: #ff4757; background: rgba(255, 71, 87, 0.1); }
.btn-wishlist i { font-size: 1.2rem; }

/* Nav Icon Button */
.nav-icon-btn {
    font-size: 1.5rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    transition: var(--transition);
}
.nav-icon-btn:hover { color: var(--primary-pink); transform: translateY(-2px); }

/* Nav Badge */
.nav-badge {
    background: var(--primary-orange);
    color: white;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 10px;
    margin-left: 5px;
    font-weight: bold;
}

/* ================================
   USER DASHBOARD UI (CYBERGLASS)
   ================================ */
.dashboard-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 1rem;
}

.dashboard-sidebar {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.dash-nav-item:hover, .dash-nav-item.active {
    background: rgba(255, 140, 66, 0.1);
    color: var(--primary-orange);
    box-shadow: 0 0 15px rgba(255, 140, 66, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.2);
}

.dash-nav-item i { font-size: 1.2rem; }

.dashboard-content {
    min-width: 0; /* Prevent grid blowout */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Mobile Dashboard Nav (Hidden on Desktop) */
.mobile-dash-nav { display: none; }

@media (max-width: 900px) {
    .dashboard-wrapper { grid-template-columns: 1fr; }
    .dashboard-sidebar { display: none; }
    .mobile-dash-nav { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(10px); border-top: 1px solid var(--glass-border); justify-content: space-around; padding: 0.8rem; z-index: 9999; }
    .mobile-nav-item { display: flex; flex-direction: column; align-items: center; font-size: 0.7rem; color: var(--text-gray); text-decoration: none; gap: 0.3rem; }
    .mobile-nav-item.active { color: var(--primary-orange); }
    .mobile-nav-item i { font-size: 1.4rem; }
}

/* ================================
   DASHBOARD COMPONENTS & UTILS
   ================================ */

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.5s ease forwards; }

.hover-3d { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-3d:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }

/* Overview Header */
.overview-header { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; margin-bottom: 2rem; }

.welcome-banner {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.welcome-banner::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: url('../img/bg.gif'); opacity: 0.1; mix-blend-mode: overlay; pointer-events: none;
}

.profile-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 20px; padding: 1.5rem; text-align: center;
    backdrop-filter: blur(var(--glass-blur));
}
.profile-name { font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 0.2rem; }
.profile-email { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 1rem; }
.profile-rank { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }

.btn-topup {
    display: block; width: 100%; background: rgba(16, 185, 129, 0.1); color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3); padding: 0.8rem; border-radius: 10px;
    margin-top: 1rem; text-align: center; text-decoration: none; font-weight: 600; transition: var(--transition);
}
.btn-topup:hover { background: rgba(16, 185, 129, 0.2); transform: translateY(-2px); }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }

.stat-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px;
    padding: 1.5rem; position: relative; overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-card:hover { transform: translateY(-5px); border-color: rgba(255, 140, 66, 0.3); }
.stat-value { font-size: 2.2rem; font-weight: 800; color: white; margin-bottom: 0.5rem; }
.stat-label { color: var(--text-gray); font-size: 0.9rem; font-weight: 500; }
.stat-icon-bg { position: absolute; right: -10px; bottom: -15px; font-size: 5rem; opacity: 0.05; transform: rotate(-15deg); color: white; }

/* Order List */
.order-list { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; overflow: hidden; }
.order-item { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--glass-border); transition: var(--transition); }
.order-item:hover { background: rgba(255, 255, 255, 0.05); }
.order-item:last-child { border-bottom: none; }

.order-info h3 { font-size: 1.1rem; color: white; margin-bottom: 0.3rem; }
.order-info p { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 0.2rem; }

.order-status { display: inline-block; padding: 0.4rem 0.8rem; border-radius: 6px; font-size: 0.85rem; font-weight: 600; }
.status-pending { background: rgba(245, 158, 11, 0.2); color: var(--warning); }
.status-paid { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.status-expired { background: rgba(239, 68, 68, 0.2); color: var(--danger); }
.status-cancelled { background: rgba(156, 163, 175, 0.2); color: #9ca3af; }
.status-error { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.status-underpaid { background: rgba(234, 179, 8, 0.2); color: #facc15; }

.order-timer { text-align: right; }
.timer-text { font-size: 0.8rem; color: var(--text-gray); }
.timer-count { color: var(--danger); font-weight: bold; font-family: monospace; font-size: 1.1rem; }

.order-actions { display: flex; gap: 0.5rem; }
.btn-view { background: rgba(59, 130, 246, 0.1); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.btn-view:hover { background: rgba(59, 130, 246, 0.2); }
.btn-cancel { background: rgba(239, 68, 68, 0.1); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.btn-cancel:hover { background: rgba(239, 68, 68, 0.2); }

/* Empty State */
.empty-state { text-align: center; padding: 3rem; color: var(--text-gray); }
.empty-state-icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.5; }

/* FAQ Section */
.faq-section { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border); border-radius: 10px; margin-bottom: 1rem; overflow: hidden; cursor: pointer; transition: var(--transition); }
.faq-section:hover { background: rgba(255, 255, 255, 0.05); }
.faq-question { padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--text-white); }
.faq-toggle { font-size: 1.2rem; color: var(--primary-orange); transition: transform 0.3s; }
.faq-section.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s; color: var(--text-gray); font-size: 0.9rem; line-height: 1.6; }
.faq-section.active .faq-answer { padding-bottom: 1.5rem; max-height: 500px; }

/* Mutation Item */
.mutation-item { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-bottom: 1px solid var(--glass-border); }
.mutation-item:last-child { border-bottom: none; }
.mutation-info h4 { color: white; font-size: 1rem; margin-bottom: 0.2rem; }
.mutation-info p { color: var(--text-gray); font-size: 0.8rem; }
.mutation-amount { font-weight: bold; font-size: 1.1rem; }
.amount-credit { color: #10b981; }
.amount-debit { color: #ef4444; }

/* Profile Avatar */
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 1rem; overflow: hidden; position: relative; border: 2px solid var(--primary-orange); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-placeholder { width: 100%; height: 100%; background: linear-gradient(to right, var(--primary-orange), var(--primary-pink)); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: white; }

/* Responsive Dashboard */
@media (max-width: 900px) {
    .overview-header { grid-template-columns: 1fr; }
    .order-item { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .order-actions { width: 100%; justify-content: space-between; }
    .order-timer { text-align: left; width: 100%; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.05); padding: 0.5rem; border-radius: 6px; }
}

/* ================================
   AUTH PAGES (Login, Register, Forgot Password)
   ================================ */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-top: 100px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 3rem 2rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-logo { font-size: 3rem; margin-bottom: 1rem; }
.auth-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.auth-subtitle { color: var(--text-gray); font-size: 0.9rem; }

.remember-me {
    display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem;
    color: var(--text-gray); font-size: 0.9rem;
}
.remember-me input { width: 18px; height: 18px; cursor: pointer; }

.forget-password { text-align: right; margin-bottom: 1.5rem; }
.forget-password a { color: var(--primary-orange); font-size: 0.9rem; text-decoration: none; transition: var(--transition); }
.forget-password a:hover { color: var(--primary-pink); }

.btn-submit {
    width: 100%; padding: 0.9rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    color: white; border: none; border-radius: 10px;
    font-weight: 600; cursor: pointer; font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5); }
.btn-submit:active { transform: translateY(0); }

.divider {
    display: flex; align-items: center; margin: 2rem 0; gap: 1rem;
    color: var(--text-gray); font-size: 0.9rem;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: rgba(255, 107, 53, 0.2); }

.social-login { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
.social-btn {
    padding: 0.75rem; border: 1px solid rgba(255, 107, 53, 0.3);
    background: rgba(255, 107, 53, 0.05); border-radius: 10px;
    color: var(--text-white); cursor: pointer; font-size: 0.9rem;
    font-weight: 600; transition: var(--transition);
    text-decoration: none; text-align: center; display: block;
}
.social-btn:hover { border-color: var(--primary-orange); background: rgba(255, 107, 53, 0.1); }

.auth-footer { text-align: center; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255, 107, 53, 0.2); }
.auth-footer p { color: var(--text-gray); font-size: 0.9rem; }
.auth-footer a { color: var(--primary-orange); text-decoration: none; font-weight: 600; transition: var(--transition); }
.auth-footer a:hover { color: var(--primary-pink); }

.error-message {
    background: rgba(239, 68, 68, 0.1); border: 1px solid var(--danger);
    color: var(--danger); padding: 1rem; border-radius: 10px;
    margin-bottom: 1rem; display: none;
}

@media (max-width: 480px) {
    .auth-card { padding: 2rem 1.5rem; }
    .auth-title { font-size: 1.5rem; }
}

/* ================================
   ORDER STATUS PAGE
   ================================ */
.status-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 24px;
    padding: 2.5rem; max-width: 600px; margin: 2rem auto; text-align: center;
    position: relative; z-index: 100; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.status-icon { font-size: 4rem; margin-bottom: 1rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-20px);} 60% {transform: translateY(-10px);} }
.status-badge { display: inline-block; padding: 0.5rem 1.5rem; border-radius: 25px; font-weight: 700; font-size: 1.1rem; margin: 1rem 0; text-transform: uppercase; }
.status-badge.status-pending { border: 1px solid var(--warning); }
.status-badge.status-paid { border: 1px solid var(--success); }
.status-badge.status-cancelled { border: 1px solid var(--danger); }
.status-badge.status-underpaid { border: 1px solid #facc15; }
.order-details { background: rgba(255, 255, 255, 0.03); border-radius: 10px; padding: 1.5rem; margin-top: 2rem; text-align: left; border: 1px solid var(--glass-border); }
.detail-row { display: flex; justify-content: space-between; margin-bottom: 0.8rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 0.8rem; }
.detail-row:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.detail-label { color: var(--text-gray); }
.detail-value { font-weight: 600; color: var(--text-white); }
.btn-group { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; }

/* ================================
   REGISTER PAGE SPECIFICS
   ================================ */
.password-requirements { background: rgba(245, 158, 11, 0.1); border-left: 4px solid var(--warning); padding: 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.85rem; }
.password-requirements ul { list-style: none; margin: 0.5rem 0 0 0; }
.password-requirements li { color: var(--text-gray); margin-bottom: 0.3rem; }
.password-requirements li.valid { color: var(--success); }

.agree-terms { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.85rem; }
.agree-terms input { width: 18px; height: 18px; cursor: pointer; margin-top: 2px; }
.agree-terms label { color: var(--text-gray); margin: 0; cursor: pointer; }
.agree-terms a { color: var(--primary-orange); text-decoration: none; }

/* ================================
   TOPUP PAGE
   ================================ */
.topup-card { background: var(--glass-bg); backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur)); border: 1px solid var(--glass-border); border-radius: var(--card-radius); padding: 2rem; max-width: 600px; margin: 2rem auto; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.balance-display { background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink)); padding: 1.5rem; border-radius: 15px; text-align: center; margin-bottom: 2rem; color: white; box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3); }
.balance-amount { font-size: 2.5rem; font-weight: 800; margin: 0.5rem 0; }
.preset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.preset-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 1rem; border-radius: 10px; color: white; cursor: pointer; transition: 0.3s; font-weight: 600; }
.preset-btn:hover, .preset-btn.active { background: rgba(255, 140, 66, 0.1); border-color: var(--primary-orange); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255, 140, 66, 0.2); }
.warning-box { background: rgba(239, 68, 68, 0.1); border-left: 4px solid var(--danger); padding: 1rem; border-radius: 8px; margin-top: 2rem; font-size: 0.9rem; color: #fca5a5; }

/* ================================
   WEBMAIL PAGE
   ================================ */
.centered-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: #050812; overflow: hidden; position: relative; }
.centered-body::before { content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%); z-index: -1; }
.mail-card { background: rgba(26, 10, 31, 0.9); border: 1px solid rgba(255, 140, 66, 0.3); border-radius: 20px; padding: 3rem 2rem; width: 100%; max-width: 400px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.5); backdrop-filter: blur(10px); animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); margin: auto; }
.mail-icon-wrapper { width: 80px; height: 80px; background: rgba(255, 140, 66, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; border: 1px solid rgba(255, 140, 66, 0.3); }
.mail-icon-wrapper i { font-size: 2.5rem; color: var(--primary-orange); }
.btn-mail { display: block; width: 100%; padding: 1rem; background: linear-gradient(135deg, var(--primary-orange), #ff6b35); color: white; text-decoration: none; border-radius: 10px; font-weight: 700; transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer; }
.btn-mail:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3); }
.back-link { display: inline-block; margin-top: 1.5rem; color: var(--text-gray); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.back-link:hover { color: var(--primary-orange); }

/* ================================
   MAINTENANCE PAGE
   ================================ */
.maintenance-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; text-align: center; background: #050812; overflow: hidden; }
.maintenance-card { background: rgba(20, 20, 25, 0.95); border: 1px solid rgba(255, 140, 66, 0.3); border-radius: 20px; padding: 3rem; max-width: 500px; width: 90%; box-shadow: 0 0 50px rgba(255, 140, 66, 0.1); position: relative; z-index: 10; }
.maintenance-icon { font-size: 4rem; color: var(--primary-orange); margin-bottom: 1rem; animation: float 3s ease-in-out infinite; }

/* ================================
   ORDER PAGE MODALS & OVERLAYS
   ================================ */
.sold-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; color: white; font-size: 2rem; font-weight: bold; display: none; z-index: 2; border-radius: 8px; }
.modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: none; align-items: center; justify-content: center; z-index: 9999; backdrop-filter: blur(5px); }
.modal-backdrop.show { display: flex; }
.checkout-modal { background: #1a1a1f; border: 1px solid var(--primary-orange); border-radius: 12px; width: 90%; max-width: 400px; padding: 20px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.modal-title { color: white; font-size: 1.2rem; font-weight: bold; }
.modal-close { background: none; border: none; color: #aaa; font-size: 1.5rem; cursor: pointer; }
.checkout-row { display: flex; justify-content: space-between; margin-bottom: 10px; color: #ccc; }
.checkout-row.total { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px; margin-top: 10px; font-weight: bold; color: var(--primary-orange); font-size: 1.2rem; }
.checkout-actions { display: flex; gap: 10px; margin-top: 20px; }
.btn-confirm { flex: 1; background: var(--primary-orange); color: white; border: none; padding: 10px; border-radius: 5px; cursor: pointer; font-weight: bold; }
.btn-close-modal { flex: 1; background: rgba(255,255,255,0.1); color: white; border: none; padding: 10px; border-radius: 5px; cursor: pointer; }
.swal2-container { z-index: 20000 !important; }

/* ================================
   TUTORIAL PAGE
   ================================ */
.tutorial-section { background: var(--glass-bg); background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0); background-size: 20px 20px; border: 1px solid var(--glass-border); border-radius: 20px; padding: 2rem; margin-bottom: 2rem; backdrop-filter: blur(20px); }
.tutorial-section h2 { color: var(--primary-orange); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.step-list { display: grid; gap: 1.5rem; }
.step-item { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--glass-border); padding: 1.5rem; border-radius: 15px; position: relative; padding-left: 5rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.step-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); border-color: var(--primary-orange); }
.step-number { position: absolute; left: 1.5rem; top: 1.5rem; background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink)); color: white; width: 3rem; height: 3rem; border-radius: 50%; text-align: center; line-height: 3rem; font-weight: 800; font-size: 1.2rem; box-shadow: 0 4px 15px rgba(255, 126, 95, 0.4); margin-bottom: 0.5rem; }
.step-item h3 { color: var(--primary-orange); font-size: 1.2rem; margin-bottom: 0.5rem; }
.step-item p { color: #e0e0e0; margin-bottom: 0.5rem; line-height: 1.6; }
.step-item code { background: rgba(0, 0, 0, 0.3); color: #ff9f43; padding: 0.3rem 0.6rem; border-radius: 4px; font-family: 'Courier New', monospace; border: 1px solid rgba(255, 159, 67, 0.2); }
.payment-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; position: relative; z-index: 2; }
.method-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 15px; padding: 1.5rem; text-align: center; transition: var(--transition); }
.method-card:hover { border-color: var(--primary-orange); box-shadow: 0 10px 30px rgba(255, 126, 95, 0.15); transform: translateY(-5px); background: rgba(255, 255, 255, 0.05); }
.method-icon { font-size: 3.5rem; color: var(--primary-orange); margin-bottom: 1rem; }
.method-card h3 { color: var(--primary-orange); margin-bottom: 0.5rem; }
.method-card p { color: var(--text-gray); font-size: 0.9rem; }
.highlight { background: rgba(245, 158, 11, 0.2); border-left: 4px solid var(--warning); padding: 1rem; border-radius: 8px; margin: 1.5rem 0; }
.highlight strong { color: var(--warning); }
.video-placeholder { background: rgba(255, 255, 255, 0.05); border: 2px dashed var(--glass-border); border-radius: 12px; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; font-size: 3rem; margin-bottom: 1rem; }

/* ================================
   ADMIN GUIDE PAGE
   ================================ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar, .sidebar { width: 260px; background: rgba(15, 23, 42, 0.95); border-right: 1px solid rgba(255, 107, 53, 0.2); height: 100vh; position: fixed; padding: 2rem; display: flex; flex-direction: column; backdrop-filter: blur(10px); z-index: 100; }
.admin-sidebar-header, .sidebar-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem; color: var(--primary-orange); font-weight: 700; font-size: 1.2rem; }
.admin-nav-item, .nav-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; color: var(--text-gray); text-decoration: none; border-radius: 10px; transition: 0.3s; margin-bottom: 0.5rem; }
.admin-nav-item:hover, .admin-nav-item.active, .nav-item:hover, .nav-item.active { background: rgba(255, 107, 53, 0.15); color: var(--primary-orange); }
.admin-nav-item i, .nav-item i { font-size: 1.2rem; }
.guide-card { background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(255, 107, 53, 0.2); border-radius: 15px; padding: 2rem; margin-bottom: 2rem; }
.guide-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1rem; }
.guide-icon { font-size: 2rem; }
.guide-step-list { padding-left: 1.5rem; color: #ccc; line-height: 1.8; }
.guide-step-list li { margin-bottom: 0.5rem; }
.code-box { background: rgba(0,0,0,0.3); padding: 0.5rem 1rem; border-radius: 6px; font-family: monospace; color: var(--primary-orange); border: 1px solid rgba(255,255,255,0.1); display: inline-block; margin: 0.2rem 0; }
.btn-link { background: var(--primary-orange); color: white; padding: 0.5rem 1rem; border-radius: 6px; text-decoration: none; font-size: 0.9rem; display: inline-block; margin-top: 1rem; }
.env-preview { background: #1e293b; padding: 1.5rem; border-radius: 10px; font-family: monospace; color: #a5b4fc; overflow-x: auto; border: 1px solid #475569; }

/* ================================
   RECEIVED PAGE
   ================================ */
.received-box { margin: 80px auto; max-width: 420px; background: #151a2e; padding: 25px; border-radius: 15px; text-align: center; }
.received-img { width: 260px; }

/* ================================
   ADMIN DASHBOARD & PAGES
   ================================ */
.admin-body { background: #050812; min-height: 100vh; font-family: 'Poppins', sans-serif; padding: 0; display: flex; color: white; }

/* Sidebar (Matches sidebar.php structure) */

.admin-main { flex: 1; margin-left: 260px; padding: 2rem; max-width: 1600px; width: 100%; }
.admin-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }

.admin-card { background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(255, 107, 53, 0.2); border-radius: 15px; padding: 1.5rem; margin-bottom: 2rem; height: fit-content; }
.admin-card h2 { color: var(--primary-orange); font-size: 1.1rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; margin-top: 0; }

.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.admin-stat-card { background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(255, 107, 53, 0.2); padding: 1.5rem; border-radius: 15px; display: flex; align-items: center; gap: 1.5rem; }
.admin-stat-icon { width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.admin-stat-info h3 { font-size: 2rem; margin: 0; color: white; }
.admin-stat-info p { color: var(--text-gray); font-size: 0.9rem; margin: 0; }

.admin-table-wrapper { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; color: #e2e8f0; }
.admin-table th { text-align: left; padding: 1rem; color: var(--text-gray); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.admin-table td { padding: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.admin-table code { font-family: monospace; }

.admin-btn { padding: 0.6rem 1.2rem; background: var(--primary-orange); color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; text-decoration: none; display: inline-block; font-size: 0.9rem; transition: 0.3s; }
.admin-btn:hover { opacity: 0.9; transform: translateY(-2px); }
.admin-btn-small { padding: 0.3rem 0.6rem; font-size: 0.8rem; margin-right: 0.3rem; }
.admin-btn-danger { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }
.admin-btn-danger:hover { background: rgba(239, 68, 68, 0.4); }
.admin-btn-success { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.4); }
.admin-btn-success:hover { background: rgba(16, 185, 129, 0.4); }
.admin-btn-secondary { background: rgba(255, 255, 255, 0.1); color: white; }
.admin-btn-secondary:hover { background: rgba(255, 255, 255, 0.2); }

.admin-btn-warning { background: rgba(245, 158, 11, 0.2); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.4); }
.admin-btn-warning:hover { background: rgba(245, 158, 11, 0.4); }

.admin-btn-info { background: rgba(59, 130, 246, 0.2); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.4); }
.admin-btn-info:hover { background: rgba(59, 130, 246, 0.4); }

.admin-btn-pink { background: rgba(236, 72, 153, 0.2); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.4); }
.admin-btn-pink:hover { background: rgba(236, 72, 153, 0.4); }

.star-rating { color: #facc15; }
.admin-form-control { width: 100%; padding: 0.8rem; background: #000000; border: 1px solid var(--primary-orange); border-radius: 8px; color: var(--primary-orange); margin-bottom: 1rem; font-family: inherit; }
.admin-form-control:focus { outline: none; border-color: var(--primary-orange); }
.admin-textarea { height: 150px; font-family: monospace; }

.admin-grid-2 { display: grid; grid-template-columns: 1fr 350px; gap: 2rem; }
.admin-grid-2-equal { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

@media (max-width: 900px) {
    .sidebar { display: none; }
    .admin-main { margin-left: 0; padding: 1rem; }
    .admin-grid-2, .admin-grid-2-equal { grid-template-columns: 1fr; }
}

/* ================================
   ADMIN MODALS & COMPONENTS
   ================================ */
.admin-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.admin-modal.show { display: flex; }
.admin-modal-content { background: #1e293b; border: 1px solid var(--primary-orange); border-radius: 12px; width: 90%; max-width: 500px; padding: 2rem; position: relative; }
.admin-close-modal { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: #aaa; font-size: 1.5rem; cursor: pointer; }

.admin-slide-item { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); padding: 1.5rem; border-radius: 10px; margin-bottom: 1.5rem; position: relative; }
.admin-category-item { background: rgba(255, 140, 66, 0.05); border: 1px solid rgba(255, 140, 66, 0.2); padding: 1.5rem; border-radius: 10px; margin-bottom: 2rem; position: relative; }
.admin-slide-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.5rem; }
.admin-product-item { background: rgba(0,0,0,0.3); padding: 1rem; border-radius: 8px; margin-top: 1rem; border: 1px solid rgba(255,255,255,0.05); }
.admin-items-container { margin-top: 1rem; padding-left: 1rem; border-left: 2px solid var(--primary-orange); }
.admin-preview-img { max-width: 100px; max-height: 100px; margin-top: 10px; border-radius: 5px; border: 1px solid rgba(255,255,255,0.2); }
.admin-logo-preview { width: 60px; height: 60px; background: rgba(0,0,0,0.3); border-radius: 8px; object-fit: contain; margin-right: 1rem; }

/* ================================
   ADMIN LOGIN
   ================================ */
.admin-login-body { background: #050812; min-height: 100vh; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; }
.admin-login-box { background: rgba(15, 23, 42, 0.8); border: 1px solid rgba(255, 107, 53, 0.2); padding: 2.5rem; border-radius: 15px; width: 100%; max-width: 400px; box-shadow: 0 0 30px rgba(255, 107, 53, 0.1); backdrop-filter: blur(10px); }
.admin-login-header { text-align: center; margin-bottom: 2rem; }
.admin-login-header h2 { color: var(--primary-orange); font-size: 1.8rem; margin-bottom: 0.5rem; }
.admin-login-header p { color: var(--text-gray); font-size: 0.9rem; }
.admin-error-msg { background: rgba(239, 68, 68, 0.2); color: #fca5a5; padding: 0.8rem; border-radius: 8px; margin-bottom: 1.5rem; text-align: center; font-size: 0.9rem; }

/* ================================
   HOME PAGE COMPONENTS
   ================================ */
.hero-slider { 
    position: relative; 
    width: 100%; 
    overflow: hidden;
}
.hero-slider::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('../img/bg.gif') center center no-repeat; background-size: cover;
    opacity: 0.3; z-index: 0;
}
.hero-slides { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); width: 100%; position: relative; z-index: 1; }
.hero-slide { min-width: 100%; box-sizing: border-box; }
.hero-slide .container { display: flex; align-items: center; justify-content: space-between; height: 100%; padding-top: 4rem; padding-bottom: 4rem; }
.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.1); color: white; border: 1px solid rgba(255,255,255,0.2); width: 45px; height: 45px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: 0.3s; z-index: 10; backdrop-filter: blur(5px); }
.slider-prev:hover, .slider-next:hover { background: var(--primary-orange); border-color: var(--primary-orange); transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.dot { width: 10px; height: 10px; background: rgba(255,255,255,0.3); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--primary-orange); transform: scale(1.3); }

.scroll-down-indicator {
    position: absolute;
    bottom: 80px; /* Lebih ke atas */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    z-index: 20;
    transition: color 0.3s;
}
.scroll-down-indicator:hover { color: var(--primary-orange); }
.scroll-down-indicator span { font-size: 0.75rem; letter-spacing: 2px; margin-bottom: -5px; text-transform: uppercase; }
.scroll-down-indicator i { font-size: 3rem; animation: scrollBounce 2s infinite; } /* Lebih besar */

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.flash-sale-banner { background: linear-gradient(45deg, #ff0f7b, #f89b29); padding: 2rem 0; text-align: center; margin: 2rem 0; position: relative; overflow: hidden; }
.flash-sale-banner::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('../img/bg.gif'); opacity: 0.1; }
.fs-content { position: relative; z-index: 2; }
.fs-title { font-size: 2.5rem; font-weight: 900; color: white; text-transform: uppercase; margin-bottom: 1rem; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.fs-timer { display: flex; justify-content: center; gap: 1rem; font-size: 1.5rem; font-weight: bold; color: white; }
.fs-time-box { background: rgba(0,0,0,0.3); padding: 0.5rem 1rem; border-radius: 8px; min-width: 60px; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.2); }
.fs-label { font-size: 0.8rem; display: block; font-weight: normal; opacity: 0.8; }

.announcement-bar { background: linear-gradient(90deg, #2563eb, #7c3aed); color: white; padding: 0.5rem; text-align: center; font-size: 0.9rem; font-weight: 600; position: relative; z-index: 10001; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.announcement-bar i { margin-right: 5px; }

.leaderboard-wrapper { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; margin: 0 auto; }
.leaderboard-card { display: flex; align-items: center; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); padding: 1rem 1.5rem; border-radius: 15px; gap: 1.5rem; position: relative; transition: 0.3s; }
.leaderboard-card:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--primary-orange); transform: translateX(10px); }
.leaderboard-card.top-1 { background: linear-gradient(90deg, rgba(255, 140, 66, 0.1), rgba(255, 107, 157, 0.1)); border-color: var(--primary-orange); transform: scale(1.02); }
.rank-badge { font-size: 1.5rem; font-weight: 900; color: rgba(255, 255, 255, 0.5); width: 30px; text-align: center; }
.top-1 .rank-badge { color: var(--primary-orange); text-shadow: 0 0 10px rgba(255, 140, 66, 0.5); }
.buyer-avatar { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.buyer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #333, #555); display: flex; align-items: center; justify-content: center; font-weight: bold; color: white; }
.top-1 .avatar-placeholder { background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink)); }
.buyer-info { flex: 1; }
.buyer-info h3 { margin: 0; font-size: 1.1rem; color: white; }
.buyer-info p { margin: 0; font-size: 0.9rem; color: #aaa; }
.buyer-info .price { color: #10b981; font-weight: bold; }
.crown-icon { font-size: 2rem; animation: float 3s ease-in-out infinite; }

@media (max-width: 768px) {
    .hero-slide .container { flex-direction: column-reverse; text-align: center; justify-content: center; padding-top: 2rem; }
    .hero-image { margin-bottom: 2rem; }
    .leaderboard-card { padding: 1rem; gap: 1rem; }
    .buyer-avatar { width: 40px; height: 40px; }
    .rank-badge { font-size: 1.2rem; }
}

/* Admin Utilities */
.admin-header-flex { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 2rem; gap: 1rem; }
.admin-search-form { display: flex; gap: 0.5rem; }
.admin-user-info { display: flex; align-items: center; gap: 10px; }
.admin-user-avatar { width: 35px; height: 35px; background: #334155; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.admin-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-action-gap { display: flex; gap: 0.5rem; }
.admin-page-title { font-size: 1.8rem; margin: 0; }
.text-right { text-align: right; }
.admin-modal-title { color: var(--primary-orange); margin-bottom: 1.5rem; }
.admin-modal-title-secondary { color: #fcd34d; margin-bottom: 1rem; }
.admin-modal-title-pink { color: #f472b6; margin-bottom: 1rem; }
.admin-text-gray { color: #ccc; margin-bottom: 1.5rem; }
.admin-list-reset { list-style: none; padding: 0; color: #e2e8f0; }

/* Setting Home Utilities */
.admin-accordion { background: rgba(15, 23, 42, 0.8); border: 1px solid rgba(255, 107, 53, 0.2); border-radius: 12px; margin-bottom: 1rem; overflow: hidden; }
.admin-accordion-header { background: rgba(255, 107, 53, 0.1); width: 100%; padding: 1rem 1.5rem; border: none; color: white; font-size: 1.1rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; }
.admin-accordion-header i { transition: transform 0.3s; }
.admin-accordion.active .admin-accordion-header i.ri-arrow-down-s-line { transform: rotate(180deg); }
.admin-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; padding: 0 1.5rem; }
.admin-accordion.active .admin-accordion-content { max-height: 10000px; /* Large value */ padding: 1.5rem; }

.admin-section-title { color: var(--primary-orange); margin-bottom: 1rem; }
.admin-card-title { margin: 0; color: var(--primary-orange); }
.admin-card-title-white { margin: 0; color: white; }
.admin-divider { border-color: rgba(255,255,255,0.1); margin: 3rem 0; }
.admin-subtitle { margin-top: 1rem; color: #ccc; }
.admin-variant-box { margin-top: 1rem; background: rgba(255,255,255,0.05); padding: 1rem; border-radius: 8px; }
.admin-label-orange { color: var(--primary-orange); margin-bottom: 0.5rem; display: block; }
.admin-flex-row { display: flex; gap: 10px; margin-bottom: 5px; }
.admin-input-flex-2 { margin: 0; flex: 2; }
.admin-input-flex-1 { margin: 0; flex: 1; }
.admin-input-width-70 { margin: 0; width: 70px; }
.admin-card-flashsale { background: rgba(255, 140, 66, 0.05); border: 1px solid rgba(255, 140, 66, 0.2); }
.admin-checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.admin-checkbox { width: 20px; height: 20px; accent-color: var(--primary-orange); }
.admin-sticky-btn { width: 100%; padding: 1rem; font-size: 1.1rem; margin-top: 2rem; position: sticky; bottom: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.5); }

/* Activity & Reports Utilities */
.badge { padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.8rem; font-weight: 600; display: inline-block; }
.badge-guest { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }
.badge-user { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.badge-admin { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }

.admin-filter-form { display: flex; gap: 1rem; align-items: end; flex-wrap: wrap; }
.admin-filter-group { display: flex; flex-direction: column; gap: 0.5rem; }
.admin-filter-label { color: var(--text-gray); font-size: 0.9rem; }
.admin-date-input { padding: 0.5rem; border-radius: 6px; border: 1px solid rgba(255, 107, 53, 0.3); background: rgba(0,0,0,0.2); color: white; }
.admin-stock-badge { background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; font-size: 0.8rem; }

/* Dashboard Utilities */
@keyframes pulse-red { 0% { opacity: 1; } 50% { opacity: 0.8; } 100% { opacity: 1; } }
.admin-alert-pulse { background: #ef4444; color: white; padding: 1rem; border-radius: 8px; margin-bottom: 1rem; animation: pulse-red 2s infinite; }
.admin-btn-purple { background: #8b5cf6; color: white; border: none; }
.admin-btn-purple:hover { background: #7c3aed; }
.admin-btn-flex { display: inline-flex; align-items: center; gap: 0.5rem; width: auto; }

.stat-icon-green { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.stat-icon-orange { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }
.stat-icon-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.stat-icon-pink { background: rgba(236, 72, 153, 0.2); color: #f472b6; }

.stock-breakdown-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.stock-breakdown-item { background: rgba(255,255,255,0.05); padding: 1rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; justify-content: space-between; }
.stock-breakdown-name { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 0.5rem; font-weight: 500; }
.stock-breakdown-code { font-size: 0.75rem; color: var(--primary-orange); background: rgba(0,0,0,0.3); padding: 2px 6px; border-radius: 4px; }
.stock-breakdown-count { font-size: 1.4rem; font-weight: 800; }
.text-green { color: #10b981; }
.text-red { color: #ef4444; }

.admin-modal-lg { max-width: 800px; max-height: 90vh; overflow-y: auto; }
.admin-table-subrow td:first-child { padding-left: 40px; color: #aaa; }
.admin-table-header-row td { background: rgba(255,255,255,0.05); color: var(--primary-orange); font-weight: bold; }
.admin-input-sm { margin: 0; padding: 5px; }
.admin-input-sm-90 { margin: 0; padding: 5px; width: 90%; }
.sidebar-icon-lg { font-size: 2rem; }
.sidebar-logout { color: #fca5a5; }
.mt-auto { margin-top: auto; }

.admin-table-empty { text-align: center; padding: 2rem; color: var(--text-gray); }
.text-nowrap { white-space: nowrap; }
.text-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.max-w-300 { max-width: 300px; }
.max-w-200 { max-width: 200px; }
.admin-code-badge { color: var(--primary-orange); background: rgba(0,0,0,0.3); padding: 2px 6px; border-radius: 4px; font-size: 0.85rem; font-family: monospace; }
.admin-grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.admin-chart-container { height: 300px; position: relative; }
.admin-wishlist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.admin-wishlist-item { background: rgba(244, 114, 182, 0.1); border: 1px solid rgba(244, 114, 182, 0.3); padding: 1rem; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; }
.admin-wishlist-count { background: #f472b6; color: white; padding: 2px 8px; border-radius: 10px; font-size: 0.8rem; font-weight: bold; }
.admin-coupon-input-group { display: flex; gap: 0.5rem; }

.admin-table-scroll { max-height: 500px; overflow-y: auto; }
.bg-dark-slate { background: #1e293b; }
.border-b-light { border-bottom: 1px solid rgba(255,255,255,0.1); }
.guide-icon { font-size: 2rem; }
.env-preview { background: #1e293b; padding: 1.5rem; border-radius: 10px; font-family: monospace; color: #a5b4fc; overflow-x: auto; border: 1px solid #475569; }
.code-box { background: rgba(0,0,0,0.3); padding: 0.5rem 1rem; border-radius: 6px; font-family: monospace; color: var(--primary-orange); border: 1px solid rgba(255,255,255,0.1); display: inline-block; margin: 0.2rem 0; }

/* User Dashboard Utilities */
.welcome-title { color: white; margin-bottom: 0.5rem; font-size: 1.8rem; }
.welcome-text { color: rgba(255,255,255,0.8); }
.profile-rank-badge { color: #1a0a1f; }
.balance-section { margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; }
.balance-label { color: var(--text-gray); font-size: 0.9rem; }
.balance-value { font-size: 1.5rem; font-weight: 800; color: #6ee7b7; }
.stat-card-orange { background: linear-gradient(135deg, rgba(255, 140, 66, 0.2), rgba(255, 107, 157, 0.1)); border-color: rgba(255, 140, 66, 0.5); }
.text-orange { color: var(--primary-orange); }
.text-green-500 { color: #10b981; }
.icon-green { color: #10b981; }
.icon-opacity { opacity: 0.1; }
.member-status-box { background: rgba(10, 20, 15, 0.95); border-left: 4px solid var(--success); padding: 1.5rem; border-radius: 10px; border: 1px solid rgba(16, 185, 129, 0.2); }
.member-status-title { color: var(--success); margin-bottom: 0.5rem; }
.empty-state-btn { display: inline-block; margin-top: 1rem; }
.pagination-container { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; padding: 1rem; }
.pagination-btn { background: rgba(255, 255, 255, 0.1); color: white; text-decoration: none; padding: 0.5rem 1rem; }
.pagination-btn.active { background: var(--primary-orange); color: white; }
.pagination-info { text-align: center; color: var(--text-gray); font-size: 0.8rem; margin-bottom: 1rem; }
.profile-form-title { color: white; margin-bottom: 1.5rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 1rem; }
.file-input-wrapper { display: flex; gap: 10px; align-items: center; }
.file-input { padding: 0.5rem; flex: 1; }
.btn-delete-photo { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); padding: 0.5rem 1rem; }
.input-highlight { color: var(--primary-orange) !important; font-weight: 600; }
.input-disabled { cursor: not-allowed; opacity: 0.7; color: var(--text-gray) !important; }
.input-hint { color: var(--text-gray); font-size: 0.8rem; }
.profile-stat-box { background: rgba(255,255,255,0.05); padding: 1.5rem; border-radius: 15px; border: 1px solid var(--glass-border); }
.profile-stat-label { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 0.5rem; }
.profile-stat-value { font-size: 1.5rem; font-weight: 800; color: var(--primary-orange); }
.profile-stat-value-rank { font-size: 1.5rem; font-weight: 800; }
.security-icon { font-size: 4rem; margin-bottom: 1rem; filter: drop-shadow(0 0 20px rgba(255, 140, 66, 0.3)); }
.security-text { color: var(--text-gray); margin-bottom: 2rem; line-height: 1.6; }
.help-card { margin-bottom: 1.5rem; }
.help-title { color: var(--primary-orange); margin-bottom: 1rem; }
.help-text { color: var(--text-gray); margin-bottom: 1rem; }
.btn-discord { display: inline-block; padding: 0.9rem 1.5rem; }
.faq-list { list-style: none; color: var(--text-gray); }
.faq-item { margin-bottom: 0.75rem; }
.faq-link { color: var(--primary-orange); }
.back-btn-wrapper { margin-bottom: 1rem; }
.back-btn { background: rgba(255,255,255,0.1); color: white; }

/* Order Status Utilities */
.status-success-title { color: var(--success); }
.status-text-gray { color: var(--text-gray); }
.account-details-container { margin-top: 2rem; text-align: left; }
.account-details-title { color: var(--primary-orange); border-bottom: 1px solid var(--glass-border); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.account-box { background: rgba(255, 255, 255, 0.05); padding: 1rem; border-radius: 8px; margin-bottom: 1rem; border: 1px solid var(--glass-border); }
.account-row { margin-bottom: 0.5rem; }
.account-label { color: var(--text-gray); font-size: 0.9rem; }
.account-value { font-size: 1.1rem; color: var(--text-white); }
.account-value-highlight { font-size: 1.1rem; color: var(--primary-orange); }
.webmail-info { background: rgba(59, 130, 246, 0.1); border-left: 3px solid #3B82F6; padding: 0.8rem; font-size: 0.9rem; color: #93C5FD; margin-top: 1rem; }
.webmail-link { color: white; text-decoration: underline; }
.review-section { margin-top: 2rem; border-top: 1px solid var(--glass-border); padding-top: 1.5rem; }
.review-title { color: var(--primary-orange); margin-bottom: 1rem; }
.review-form { text-align: left; }
.review-stars-container { margin-bottom: 1rem; text-align: center; }
.review-textarea { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: white; padding: 10px; border-radius: 8px; }
.review-success-box { margin-top: 2rem; padding: 1rem; background: rgba(255,255,255,0.05); border-radius: 10px; }
.review-success-text { color: var(--success); }
.status-danger-title { color: var(--danger); }
.status-warning-title { color: var(--warning); }
.status-badge-manual { border-color: var(--danger); color: var(--danger); }
.status-underpaid-title { color: #facc15; }
.underpaid-box { background: rgba(234, 179, 8, 0.1); padding: 1rem; border-radius: 8px; margin-top: 1rem; border: 1px solid rgba(234, 179, 8, 0.3); }
.contact-admin-btn { margin-top: 1rem; display: inline-block; }
.countdown-container { margin: 1rem 0; }
.countdown-label { color: var(--text-gray); font-size: 0.9rem; }
.countdown-display { font-size: 2rem; font-weight: 700; color: var(--danger); }
.pending-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; }
.pending-warning { color: var(--warning); font-size: 0.95rem; background: rgba(245, 158, 11, 0.1); padding: 0.8rem; border-radius: 8px; border: 1px solid rgba(245, 158, 11, 0.3); }
.btn-pay-now { padding: 0.8rem 2rem; font-size: 1.1rem; width: 100%; max-width: 300px; }
.btn-cancel-order { border: 1px solid var(--danger); color: var(--danger); background: transparent; margin-top: 0.5rem; }

.text-small-gray { color: var(--text-gray); font-size: 0.85rem; }

/* Cart Page */
.cart-item { display: flex; gap: 1rem; padding: 1rem; background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); border-radius: 12px; margin-bottom: 1rem; align-items: center; }
.cart-img { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; }
.cart-info { flex: 1; }
.cart-title { font-weight: 600; color: white; margin-bottom: 0.3rem; }
.cart-variant { font-size: 0.85rem; color: var(--text-gray); }
.cart-price { color: var(--primary-orange); font-weight: bold; margin-top: 0.3rem; }
.cart-actions { display: flex; align-items: center; gap: 1rem; }
.cart-qty-ctrl { display: flex; align-items: center; border: 1px solid var(--glass-border); border-radius: 6px; }
.cart-qty-btn { background: transparent; border: none; color: white; padding: 5px 10px; cursor: pointer; }
.cart-qty-val { width: 30px; text-align: center; border: none; background: transparent; color: white; }
.cart-remove { color: #ef4444; cursor: pointer; font-size: 1.2rem; transition: 0.3s; }
.cart-remove:hover { transform: scale(1.1); }
.cart-summary { background: var(--glass-bg); padding: 1.5rem; border-radius: 12px; border: 1px solid var(--glass-border); position: sticky; top: 100px; }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 1rem; color: var(--text-gray); }
.cart-summary-total { display: flex; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--glass-border); font-size: 1.2rem; font-weight: bold; color: white; }
.cart-empty { text-align: center; padding: 3rem; color: var(--text-gray); }

@media (max-width: 768px) {
    .cart-item { flex-direction: column; text-align: center; }
    .cart-actions { width: 100%; justify-content: space-between; margin-top: 1rem; }
}

.mb-0 { margin-bottom: 0 !important; }
.w-auto { width: auto !important; }
.flex-1 { flex: 1; }
.h-fit { height: fit-content; }
.mr-2 { margin-right: 0.5rem; }

.items-center { align-items: center; }
.justify-end { justify-content: flex-end; }
.gap-4 { gap: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.pl-5 { padding-left: 1.25rem !important; }
.cursor-pointer { cursor: pointer; }
.admin-code-block { margin-top: 0.5rem; font-size: 0.8rem; background: rgba(0,0,0,0.3); padding: 0.5rem; border-radius: 4px; white-space: pre-wrap; word-break: break-all; }

.w-150 { width: 150px; }
.col-start-2 { grid-column: 2; }
.status-text-paid { color: #6ee7b7; font-weight: bold; }
.status-text-pending { color: #fca5a5; font-weight: bold; }
.status-text-error { color: #ef4444; font-weight: bold; }
.status-text-warning { color: #facc15; font-weight: bold; }
.status-text-unknown { color: #9ca3af; font-weight: bold; }

/* Settings & Auth Utilities */
.settings-box-warning { background: rgba(255, 140, 66, 0.1); padding: 1rem; border-radius: 8px; border: 1px solid rgba(255, 140, 66, 0.3); }
.settings-label-warning { margin-bottom: 0.5rem; color: var(--primary-orange); font-weight: bold; display: block; }
.settings-box-info { background: rgba(59, 130, 246, 0.1); padding: 1rem; border-radius: 8px; border: 1px solid rgba(59, 130, 246, 0.3); }
.settings-label-info { margin-bottom: 0.5rem; color: #60a5fa; font-weight: bold; display: block; }
.checkbox-wrapper { display: flex; align-items: center; gap: 10px; }
.checkbox-input { width: 20px; height: 20px; accent-color: var(--primary-orange); cursor: pointer; }
.checkbox-input-info { width: 20px; height: 20px; accent-color: #60a5fa; cursor: pointer; }
.checkbox-label { margin: 0; font-weight: normal; color: #ccc; cursor: pointer; }
.logo-upload-wrapper { display: flex; align-items: center; }
.input-group-relative { position: relative; }
.password-toggle { position: absolute; right: 15px; top: 42px; color: rgba(255, 140, 66, 0.8); cursor: pointer; z-index: 10; }
.nav-balance { color: #6ee7b7; font-weight: bold; display: flex; align-items: center; gap: 5px; }

/* Catalog Toolbar (Compact) */
.catalog-toolbar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.toolbar-item {
    flex: 1;
    min-width: 200px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: border-color 0.3s;
    backdrop-filter: blur(var(--glass-blur));
}

.toolbar-item:focus-within {
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.05);
}

.toolbar-item i {
    color: var(--primary-orange);
    font-size: 1.1rem;
}

.toolbar-item input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    font-size: 0.9rem;
    padding: 0;
}

.toolbar-item select {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
}

.toolbar-item select option {
    background: #1a1a1f;
    color: white;
}

.price-divider {
    color: var(--text-gray);
    font-size: 0.9rem;
    padding: 0 0.5rem;
}

/* Modern Support Section */
.support-section-modern {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.support-section-modern::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 140, 66, 0.1), transparent 40%);
    pointer-events: none;
}

.support-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.support-header p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.support-card-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-card-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-orange);
}

.support-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.support-card-item.discord .support-icon {
    background: #5865F2;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.support-card-item.email .support-icon {
    background: var(--primary-orange);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.support-info {
    text-align: left;
}

.support-info h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.support-info span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Step 2 Payment UI Modern */
.step2-card {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 2.5rem !important;
    background: #141419 !important;
    border: 1px solid rgba(255, 140, 66, 0.3) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.step2-header { margin-bottom: 2rem; }
.step2-icon-pulse { font-size: 3rem; color: var(--warning); margin-bottom: 1rem; animation: pulse-orange 2s infinite; }
@keyframes pulse-orange {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}
.step2-timer-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.step2-timer {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    color: var(--primary-orange);
    letter-spacing: 2px;
}
.step2-payment-area { margin-bottom: 2rem; }
.payment-instruction-text {
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.step2-qr-wrapper {
    display: inline-block;
    padding: 10px;
    background: white;
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.step2-qr-wrapper:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); }
.step2-qr-img { width: 200px; height: 200px; display: block; }
.qr-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); color: white;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; opacity: 0; transition: opacity 0.3s;
    font-weight: 600; gap: 5px;
}
.step2-qr-wrapper:hover .qr-overlay { opacity: 1; }
.step2-instruction-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}
.step2-instruction-title {
    font-size: 1.1rem; color: white; margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.5rem;
}
.step2-steps { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; }
.step-row { display: flex; gap: 1rem; font-size: 0.9rem; color: var(--text-gray); align-items: flex-start; }
.step-idx {
    background: rgba(255, 255, 255, 0.1); color: white;
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: bold; flex-shrink: 0;
}
.step-row.highlight { background: rgba(245, 158, 11, 0.1); padding: 0.5rem; border-radius: 6px; border-left: 3px solid var(--warning); }
.step-row.highlight .step-idx { background: var(--warning); color: #1a1a1f; }
.step-row.highlight span { color: #fcd34d; }
.step2-code-section { text-align: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed rgba(255,255,255,0.1); }
.code-label { color: var(--text-gray); font-size: 0.85rem; margin-bottom: 0.5rem; }
.code-display {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed var(--primary-orange);
    color: var(--primary-orange);
    font-family: monospace; font-size: 1.5rem; font-weight: 700;
    padding: 0.8rem; border-radius: 8px; cursor: pointer;
    transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.code-display:hover { background: rgba(255, 140, 66, 0.1); transform: translateY(-2px); }
.code-hint { display: block; margin-top: 0.5rem; color: var(--text-gray); font-size: 0.8rem; }
.step2-cancel-btn {
    width: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; 
}
 
/* Roblox Verification UI */
.roblox-verify-box {
    background: rgba(255, 140, 66, 0.05);
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}
.roblox-verify-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--primary-orange);
}
.roblox-verify-label {
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}
.roblox-input-group {
    display: flex;
    gap: 0.8rem;
}
.roblox-input-group .pdp-input-modern {
    flex: 1;
    border-color: rgba(255, 140, 66, 0.3);
    background: rgba(0, 0, 0, 0.3);
}
.roblox-input-group .pdp-input-modern:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.2);
}
.btn-check-roblox {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}
.btn-check-roblox:hover {
    background: #e07b3a;
    box-shadow: 0 0 15px rgba(255, 140, 66, 0.3);
    transform: translateY(-2px);
}

/* Roblox Result Box */
.roblox-result-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    animation: fadeUp 0.3s ease;
}
.rbx-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-orange);
    object-fit: cover;
}
.rbx-info { flex: 1; }
.rbx-name { font-weight: 700; color: white; font-size: 0.95rem; }
.rbx-status { font-size: 0.85rem; margin-top: 2px; }

/* TOS Section Styling (New) */
.tos-card {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.tos-header {
    background: rgba(239, 68, 68, 0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
}
.tos-icon {
    font-size: 2rem;
    color: #ef4444;
    animation: pulse-red 2s infinite;
}
.tos-header h3 {
    margin: 0;
    color: #ef4444;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.tos-body {
    padding: 1.5rem;
}
.tos-alert-text {
    color: #fca5a5;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.text-danger-bold {
    color: #ef4444;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(239, 68, 68, 0.5);
}
.tos-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}
.tos-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.02);
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}
.tos-list li i {
    color: #ef4444;
    font-size: 1.2rem;
    margin-top: 2px;
}
.tos-warranty-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    padding: 1.2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.tos-warranty-box i {
    color: #10b981;
    font-size: 1.5rem;
    margin-top: 2px;
}
.tos-warranty-box p {
    margin: 0;
    color: #d1fae5;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================================
   MOBILE OPTIMIZATIONS
   ================================ */

/* Mobile Bottom Navigation (Global) */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
    justify-content: space-around;
    padding: 0.8rem 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.75rem;
    gap: 4px;
    transition: 0.3s;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.mobile-bottom-nav .nav-item.active {
    color: var(--primary-orange);
}

@media (max-width: 900px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Produk Tampil 2 Kolom (Ke Samping) */
    .grid-5:not(.features-grid), .grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    /* Features Section Grid (Better for Mobile) */
    .features-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        overflow-x: visible;
        padding-bottom: 0;
    }
    
    .features-grid .feature-card {
        min-width: 0;
        padding: 1.5rem 1rem;
    }
    
    .feature-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
    .feature-card h3 { font-size: 1rem; }
    .feature-card p { font-size: 0.8rem; line-height: 1.4; }
    
    /* Prevent content hidden behind nav */
    body { padding-bottom: 80px; }
}

/* Pull to Refresh Spinner */
#ptr-spinner {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: rgba(20, 20, 25, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    border: 1px solid var(--primary-orange);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: top 0.2s ease-out;
}
#ptr-spinner i { color: var(--primary-orange); font-size: 1.2rem; transition: transform 0.2s; }
#ptr-spinner.loading i { animation: spin 0.8s linear infinite; }

/* Mobile Performance Optimization */

/* --- CHAT ENHANCEMENTS --- */
.typing-indicator {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 5px;
    min-height: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.typing-indicator.active { opacity: 1; }

.chat-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    margin-top: 5px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-attach {
    background: transparent; border: none; color: var(--text-gray); font-size: 1.3rem; cursor: pointer; padding: 0 10px; display: flex; align-items: center;
}
.btn-attach:hover { color: var(--primary-orange); }
@media (max-width: 768px) {
    .home-bg-pattern::after {
        filter: blur(20px); /* Kurangi radius blur */
        animation: none; /* Matikan animasi glow berat */
    }
    
    /* Kurangi beban render glassmorphism di HP kentang */
    .card, .feature-card, .product-card, .pdp-container, .shop-sidebar {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(20, 20, 30, 0.95); /* Fallback solid */
    }

    .hero-image img {
        animation: none; /* Disable floating animation on mobile */
    }
}