/* =============================================
   Loki Joki - Mobile Legends Boosting
   Dark Gaming Theme
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #222240;
    --bg-input: #16162a;
    --text-primary: #f0f0f5;
    --text-secondary: #9999bb;
    --text-muted: #666688;
    --accent: #ffe600;
    --accent-hover: #ffd000;
    --accent-glow: rgba(255, 230, 0, 0.3);
    --danger: #ff4444;
    --success: #00cc66;
    --info: #3399ff;
    --warning: #ff9900;
    --border: #2a2a44;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --radius: 12px;
    --radius-sm: 8px;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --gradient-hero: linear-gradient(135deg, #1a0033 0%, #0a0a2e 40%, #0a1628 100%);
    --gradient-accent: linear-gradient(135deg, #ffe600, #ff9900);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--accent-hover); }

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 64px;
    display: flex;
    align-items: center;
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
}

.navbar-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
    background: rgba(255, 230, 0, 0.08);
}

.nav-auth {
    display: flex;
    gap: 0.5rem;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 10px rgba(255,230,0,0.3); }
    50% { box-shadow: 0 0 25px rgba(255,230,0,0.7); }
    100% { box-shadow: 0 0 10px rgba(255,230,0,0.3); }
}

.btn-primary {
    background: var(--accent);
    animation: glowPulse 2s infinite;
    box-shadow: 0 0 15px rgba(255, 230, 0, 0.3);
    color: #000;
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #000;
    box-shadow: 0 0 30px rgba(255, 230, 0, 0.6);
    transform: translateY(-2px) scale(1.03);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-danger { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
.btn-lg { padding: 0.8rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 55vh;
    min-height: 380px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,230,0,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(100,0,255,0.08) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-heading);
    text-shadow: 0 0 20px rgba(255, 255, 253, 0.473);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.hero h1 .highlight {
    background: var(--gradient-accent);
    text-shadow: 0 0 25px rgba(238, 255, 0, 0.452);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-badge svg {
    color: var(--accent);
}

/* 🔥 HERO IMAGE BACKGROUND */
.hero-bg {
    filter: brightness(0.7);
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 20%;

    transition: transform 0.2s ease;
    transform: scale(1.05); /* 🔥 ZOOM OUT */
    opacity: 20;
}
/* 🔥 OVERLAY GELAP */
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(111, 64, 29, 0.6),
        #000000
    );
    z-index: 2;
}

/* 🔥 CONTENT DI ATAS GAMBAR */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

/* ===== SECTIONS ===== */
.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .dot {
    width: 8px;
    height: 28px;
    background: var(--accent);
    border-radius: 4px;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ===== PACKAGE CARDS ===== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.package-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255,230,0,0.15);
}

.package-card.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent), 0 8px 32px rgba(255,230,0,0.12);
}

.package-card .rank-path {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.package-card .rank-path .arrow {
    color: var(--accent);
    font-weight: 700;
}

.package-card .package-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.package-card .package-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.package-card .package-price .original {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 8px;
}

.package-card .badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.badge {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-discount {
    background: rgba(255, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(255,68,68,0.3);
}

.badge-instant {
    background: rgba(0, 204, 102, 0.12);
    color: var(--success);
    border: 1px solid rgba(0,204,102,0.3);
}

/* ===== ORDER FORM ===== */
.order-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.form-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239999bb' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-warning {
    background: rgba(255, 153, 0, 0.1);
    border: 1px solid rgba(255,153,0,0.2);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    color: var(--warning);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.5rem;
}

/* Quantity control */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
}

.quantity-control .form-control {
    border-radius: 0;
    text-align: center;
    width: 100%;
}

.quantity-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.quantity-btn:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.quantity-btn:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.quantity-btn:hover { background: var(--accent); color: #000; }

/* Promo */
.promo-input {
    display: flex;
    gap: 0.5rem;
}

.promo-input .form-control { flex: 1; }

/* Payment methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-option {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment-option:hover { border-color: var(--text-muted); }
.payment-option.selected { border-color: var(--accent); background: rgba(255,230,0,0.05); }

.payment-option label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.payment-option .price-tag {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===== ORDER SUMMARY SIDEBAR ===== */
.order-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.summary-product {
    display: flex;
    gap: 12px;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.summary-product img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.summary-product .product-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
}

.summary-product .product-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.summary-row.total {
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.summary-row.total .amount {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.order-btn {
    margin-top: 1.2rem;
}

/* ===== RATING ===== */
.rating-display {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.rating-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.rating-stars {
    color: var(--accent);
    font-size: 1.5rem;
    margin: 0.3rem 0;
    letter-spacing: 2px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== INVOICE CHECK ===== */
.invoice-check {
    max-width: 600px;
    margin: 4rem auto;
    text-align: center;
}

.invoice-check h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.invoice-check p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.invoice-search {
    display: flex;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}

.invoice-search .form-control {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    border-right: none;
}

.invoice-search .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    white-space: nowrap;
}

/* Invoice result */
.invoice-result {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending { background: rgba(255,153,0,0.15); color: var(--warning); }
.status-processing { background: rgba(51,153,255,0.15); color: var(--info); }
.status-in_progress { background: rgba(51,153,255,0.15); color: var(--info); }
.status-completed { background: rgba(0,204,102,0.15); color: var(--success); }
.status-cancelled { background: rgba(255,68,68,0.15); color: var(--danger); }

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
}

.auth-box h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-box .subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.auth-divider {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 1.5rem 0;
}

/* ===== ALERT ===== */
.alert {
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-success { background: rgba(0,204,102,0.1); border: 1px solid rgba(0,204,102,0.2); color: var(--success); }
.alert-danger { background: rgba(255,68,68,0.1); border: 1px solid rgba(255,68,68,0.2); color: var(--danger); }
.alert-info { background: rgba(51,153,255,0.1); border: 1px solid rgba(51,153,255,0.2); color: var(--info); }
.alert-warning { background: rgba(255,153,0,0.1); border: 1px solid rgba(255,153,0,0.2); color: var(--warning); }

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer p, .footer a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer a:hover { color: var(--accent); }

.footer-bottom {
    max-width: 1280px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.wa-float a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #000;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: all 0.3s;
}

.wa-float a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--accent-glow);
    color: #000;
}

/* ===== TABLES ===== */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

table th {
    background: var(--bg-input);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table tr:hover td { background: rgba(255,255,255,0.02); }

/* ===== MOBILE MENU ===== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .order-layout {
        grid-template-columns: 1fr;
    }
    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    
    .nav-links, .nav-auth {
        display: none;
    }
    
    .navbar.open .nav-links,
    .navbar.open .nav-auth {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
    }
    
    .navbar.open .nav-auth .profile-dropdown {
        position: relative;
    }
    
    .navbar.open .nav-auth .profile-dropdown .profile-menu {
        position: absolute !important;
        width: 240px;
    }
    
    .hero h1 { font-size: 2.2rem; }
    .packages-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .section { padding: 2rem 1rem; }
    .hero-badges { flex-direction: column; align-items: center; gap: 1rem; }
}

/* ===== ADMIN STYLES ===== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 1.5rem;
    position: fixed;
    top: 0;
    bottom: 0;
    overflow-y: auto;
}

.admin-sidebar .brand {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
    background: rgba(255,230,0,0.08);
    color: var(--accent);
}

.admin-main {
    margin-left: 260px;
    flex: 1;
    padding: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-header h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.stat-card .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.stat-card .value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.stat-card .value.accent { color: var(--accent); }

/* ===== CATEGORY TABS ===== */
.category-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.5rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.category-tab:hover { border-color: var(--text-muted); }
.category-tab.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: fadeUp 0.5s ease forwards;
}

.fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* ===== WELCOME BANNER ===== */
.welcome-banner {
    background: linear-gradient(90deg, rgba(255,230,0,0.08) 0%, rgba(255,153,0,0.05) 100%);
    border-bottom: 1px solid rgba(255,230,0,0.15);
    padding: 0.5rem 2rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.welcome-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.welcome-banner strong {
    color: var(--accent);
}

/* ===== AVATAR & PROFILE DROPDOWN ===== */
.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-circle.avatar-lg {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
}

.avatar-circle.avatar-xl {
    width: 72px;
    height: 72px;
    font-size: 1.8rem;
}

.profile-dropdown {
    position: relative;
}

.profile-avatar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 4px 12px 4px 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
    color: var(--text-primary);
}

.profile-avatar:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.avatar-name {
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.avatar-arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.profile-dropdown .profile-menu {
    display: block !important;
    position: absolute !important;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: 240px;
    background: var(--bg-card) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 2000;
    overflow: hidden;
    padding: 0 !important;
    flex-direction: column !important;
}

.profile-dropdown .profile-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown .profile-menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
}

.profile-dropdown .profile-menu-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.profile-dropdown .profile-menu-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.profile-dropdown .profile-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 0;
}

.profile-dropdown .profile-menu-item {
    display: block !important;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    color: var(--text-secondary) !important;
    transition: all 0.2s;
    white-space: nowrap;
    border: none !important;
    background: none;
    width: 100%;
    text-align: left;
}

.profile-dropdown .profile-menu-item:hover {
    background: rgba(255, 230, 0, 0.08) !important;
    color: var(--accent) !important;
}

.profile-dropdown .profile-menu-logout:hover {
    background: rgba(255, 68, 68, 0.08) !important;
    color: var(--danger) !important;
}

/* ===== PROFILE PAGE ===== */
.profile-header-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.profile-header-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.profile-stat {
    text-align: center;
}

.profile-stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.profile-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== FORGOT PASSWORD: Found Account Card ===== */
.found-account {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.2rem;
}

/* ===== LIVE STATS BAR ===== */
.live-stats-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 2rem;
}

.live-stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.live-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.live-stat-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.live-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

.live-dot {
    color: var(--success) !important;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(255, 230, 0, 0.3);
    transform: translateY(-2px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.6rem;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== ADMIN EXTRAS ===== */

/* ===== SIDEBAR REVIEWS ===== */
.sidebar-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sidebar-review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
}

.sidebar-review-card:hover {
    border-color: rgba(255, 230, 0, 0.2);
}

/* ===== ADMIN EXTRAS (cont) ===== */
.admin-layout .form-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.btn-delete {
    color: var(--danger) !important;
    font-size: 0.85rem;
    padding: 4px 10px;
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 6px;
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.btn-delete:hover {
    background: rgba(255, 68, 68, 0.15);
    color: #ff6666 !important;
    border-color: rgba(255, 68, 68, 0.5);
}

/* ===== PAYMENT PROOF ===== */
.payment-proof-preview {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.payment-proof-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #000;
}

input[type="file"].form-control {
    padding: 0.5rem;
    cursor: pointer;
}

input[type="file"].form-control::file-selector-button {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    margin-right: 0.8rem;
}

details summary {
    user-select: none;
}

details summary:hover {
    color: var(--accent) !important;
}

/* ===== NOTIFICATION BELL ===== */
.notif-dropdown {
    position: relative;
}

.notif-bell {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.notif-bell:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    animation: badgePulse 2s infinite;
}

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

.notif-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 2000;
    overflow: hidden;
}

.notif-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notif-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border);
}

.notif-list {
    max-height: 350px;
    overflow-y: auto;
}

.notif-item {
    display: block !important;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: background 0.2s;
    color: var(--text-secondary) !important;
}

.notif-item:hover {
    background: rgba(255, 230, 0, 0.04);
    color: var(--text-primary) !important;
}

.notif-item.unread {
    background: rgba(255, 230, 0, 0.03);
    border-left: 3px solid var(--accent);
}

.notif-item-title {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.notif-item-msg {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.notif-item-time {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.notif-empty {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== PARTICLE CANVAS ===== */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ===== SKELETON LOADING ===== */
.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--bg-card) !important;
    color: transparent !important;
    border-radius: var(--radius-sm);
}

.skeleton * {
    visibility: hidden;
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.04) 50%, 
        transparent 100%
    );
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-loaded {
    animation: skeletonReveal 0.3s ease forwards;
}

@keyframes skeletonReveal {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

/* ===== MOBILE BOTTOM NAVIGATION ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    z-index: 999;
    justify-content: space-around;
    padding: 0.4rem 0;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0));
    transition: transform 0.3s ease;
}

.bottom-nav-hidden {
    transform: translateY(100%);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0.3rem 0.8rem;
    color: var(--text-muted) !important;
    font-size: 0.7rem;
    transition: all 0.2s;
    text-decoration: none;
    border-radius: var(--radius-sm);
}

.bottom-nav-item.active {
    color: var(--accent) !important;
}

.bottom-nav-item:hover {
    color: var(--accent) !important;
}

.bottom-nav-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.bottom-nav-label {
    font-weight: 500;
}

/* ===== 404 PAGE ===== */
.page-404 {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.page-404 .error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-404 h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 0.5rem 0;
}

.page-404 p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 768px) {
    /* HERO FIX MOBILE */
    .hero {
        height: auto;
        min-height: unset;
        padding: 4rem 1rem 3rem 1rem;
    }
    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    .hero-badges {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        margin-top: 1.5rem;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
    
    .footer {
        padding-bottom: 5rem;
    }
    
    /* WA Float Button Fix */
    .wa-float {
        bottom: 80px;
        right: 15px;
        transform: scale(0.85);
        transform-origin: bottom right;
    }
    
    /* Live Stats Adjustments */
    .live-stats {
        padding: 1rem;
    }
    
    .avatar-name {
        display: none;
    }
    .profile-avatar {
        padding: 4px;
        border-radius: 50%;
    }
    .avatar-arrow {
        display: none;
    }
    .profile-header-card {
        flex-direction: column;
        text-align: center;
    }
    .profile-header-left {
        flex-direction: column;
    }
    .profile-stats {
        width: 100%;
        justify-content: center;
    }
    .welcome-banner {
        font-size: 0.82rem;
        padding: 0.4rem 1rem;
    }
    .live-stats-inner {
        gap: 1rem;
    }
    .live-stat-value {
        font-size: 1rem;
    }
    .live-stat-divider {
        display: none;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .admin-layout {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .admin-main {
        margin-left: 0;
        padding: 1rem;
    }
    
    .notif-panel {
        width: 280px;
        right: -40px;
    }
}