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

:root {
    --bg: #070707;
    --surface: #111111;
    --surface-hover: #1a1a1a;
    --surface-border: #222222;
    --primary: #E31E24;
    --primary-glow: rgba(227, 30, 36, 0.4);
    --primary-dark: #b3161c;
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --font-th: 'Prompt', sans-serif;
    --font-en: 'Orbitron', sans-serif;
    --transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-th);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(227, 30, 36, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(227, 30, 36, 0.03), transparent 25%);
}

/* Background Grid Pattern */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(227, 30, 36, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(227, 30, 36, 0.03) 1px, transparent 1px);
    pointer-events: none;
}
.bg-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(227, 30, 36, 0.1) 0%, transparent 50%);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.text-en { font-family: var(--font-en); }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(7, 7, 7, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--surface-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
}

.nav-brand {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    color: #fff;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-text {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--primary);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid var(--surface-border);
}

.user-profile i {
    color: var(--primary);
    font-size: 1.2rem;
}

.user-profile span {
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-logout {
    color: #666;
    text-decoration: none;
    margin-left: 5px;
    transition: var(--transition);
}

.btn-logout:hover {
    color: var(--primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 2rem 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-th);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--surface-border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-glow {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
    animation: glow-slide 3s infinite;
}

@keyframes glow-slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 5px;
}

.btn-edit:hover { color: #3b82f6; }
.btn-delete:hover { color: #ef4444; }

/* Sections */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    font-family: var(--font-en);
    letter-spacing: 2px;
    background: linear-gradient(to right, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: table;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20%;
    width: 60%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1.5rem;
}

.bento-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 0 1px var(--primary-glow);
}

.card-large { grid-column: span 2; grid-row: span 2; }
.card-wide { grid-column: span 2; }
.card-tall { grid-row: span 2; }

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.bento-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-image-wrapper {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--surface-border);
}

.card-image-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.bento-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

/* Packages Grid */
.packages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.package-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    width: 100%;
    max-width: 600px;
    flex: 1 1 300px;
}

.package-card.highlight {
    border-color: var(--primary);
    background: linear-gradient(to bottom, var(--surface), rgba(227, 30, 36, 0.05));
    transform: scale(1.05);
    z-index: 10;
}

.package-card.highlight::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-en);
    letter-spacing: 1px;
}

.package-card:hover {
    border-color: var(--primary);
}

.pkg-name {
    font-family: var(--font-en);
    font-size: 1.25rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.package-card.highlight .pkg-name {
    color: var(--primary);
}

.pkg-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pkg-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Reseller Pricing UI */
.reseller-price-preview {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(0, 229, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.reseller-price-preview span {
    color: #00e5ff;
    font-weight: 700;
    font-family: var(--font-en);
}

.old-price {
    display: block;
    font-size: 1rem;
    color: #666;
    text-decoration: line-through;
    margin-bottom: -5px;
}

.reseller-label {
    display: block;
    font-size: 0.7rem;
    color: #00e5ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.package-card.reseller-active {
    border-color: #00e5ff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.pkg-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    min-height: 40px;
}

.pkg-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pkg-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.pkg-features li i {
    color: var(--primary);
    margin-top: 4px;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Changelog */
.changelog-container {
    max-width: 800px;
    margin: 0 auto;
}

.changelog-item {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 1rem;
}

.version {
    font-family: var(--font-en);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

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

.changelog-item ul {
    list-style: none;
    padding-left: 0.5rem;
}

.changelog-item ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #ccc;
    position: relative;
    padding-left: 1.5rem;
}

.changelog-item ul li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Footer */
footer {
    border-top: 1px solid var(--surface-border);
    padding: 3rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* -------------------------------------
   ADMIN DASHBOARD STYLES
   ------------------------------------- */

.admin-body {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.admin-container {
    display: flex;
    width: 100%;
}

.admin-sidebar {
    width: 250px;
    background: var(--surface);
    border-right: 1px solid var(--surface-border);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0;
}

.admin-brand {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 900;
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid var(--surface-border);
    margin-bottom: 1rem;
}

.admin-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.admin-menu li a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-menu li a i {
    width: 24px;
    margin-right: 10px;
}

.admin-menu li a:hover, .admin-menu li a.active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-left-color: var(--primary);
}

.admin-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.admin-header {
    height: 70px;
    border-bottom: 1px solid var(--surface-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: rgba(7, 7, 7, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
}

.admin-profile {
    color: var(--text-muted);
}

.admin-content {
    padding: 2rem;
}

.admin-tab {
    display: none;
    animation: fadeIn 0.4s ease;
}

.admin-tab.active {
    display: block;
}

.admin-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

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

/* Forms */
.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.admin-input, .admin-textarea {
    width: 100%;
    background: #151515;
    border: 1px solid var(--surface-border);
    color: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    font-family: var(--font-th);
    transition: var(--transition);
}

.admin-input:focus, .admin-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

/* Tables */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--surface-border);
}

.admin-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-success { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.badge-primary { background: rgba(227, 30, 36, 0.1); color: var(--primary); }

/* Toast */
.toast {
    position: fixed;
    bottom: -100px;
    right: 30px;
    background: #111;
    border: 1px solid var(--primary);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    z-index: 9999;
}

.toast.show {
    bottom: 30px;
}

.toast i { color: var(--primary); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modal Overlay & Content */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 15px;
}

.close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.order-summary {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.order-summary p { margin-bottom: 5px; font-weight: 600; }
.order-summary span { color: var(--primary); font-family: var(--font-en); }

.bank-info {
    background: linear-gradient(to right, rgba(227,30,36,0.1), transparent);
    border-left: 4px solid var(--primary);
    padding: 15px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 20px;
    text-align: left;
    font-size: 0.9rem;
}

.bank-info p { margin-bottom: 5px; }

.auth-input {
    width: 100%;
    background: #151515;
    border: 1px solid var(--surface-border);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-family: var(--font-th);
    margin-bottom: 15px;
}

.auth-input:focus {
    border-color: var(--primary);
    outline: none;
}

/* Music Player Container */
.music-player-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(7, 7, 7, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--surface-border);
    border-radius: 30px;
    padding: 8px 20px 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.music-player-container:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.music-player {
    width: 44px;
    height: 44px;
    background: #111;
    border: 1px solid var(--surface-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.music-player:hover {
    background: var(--surface-hover);
}

.music-player .btn-icon {
    color: #fff;
    font-size: 1.1rem;
    padding: 0;
    pointer-events: none;
}

.music-player.playing {
    border-color: var(--primary);
    background: rgba(227, 30, 36, 0.1);
    animation: pulseMusic 2s infinite;
}

.music-player.playing .btn-icon {
    color: var(--primary);
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: transform 0.2s;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

@keyframes pulseMusic {
    0% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(227, 30, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0); }
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .package-card.highlight { transform: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-actions { display: none; }
    .bento-grid { grid-template-columns: 1fr; }
    .card-large, .card-wide, .card-tall { grid-column: span 1; grid-row: span 1; }
    .hero h1 { font-size: 2.5rem; }
    
    .admin-body { flex-direction: column; overflow: auto; }
    .admin-sidebar { width: 100%; height: auto; border-right: none; border-bottom: 1px solid var(--surface-border); }
    .admin-menu { flex-direction: row; overflow-x: auto; }
    .admin-menu li a { border-left: none; border-bottom: 3px solid transparent; }
    .admin-menu li a.active { border-bottom-color: var(--primary); }
}

/* Shop Section Integrated */
.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.file-card.shopee-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    color: #fff;
    position: relative;
    cursor: pointer;
}

.file-card.shopee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(227, 30, 36, 0.2), 0 0 0 1px var(--primary);
    background: rgba(30, 30, 30, 0.8);
}

.shopee-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.shopee-img-wrapper img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.file-card.shopee-card:hover .shopee-img-wrapper img {
    transform: scale(1.1);
}

.shopee-badge-rec {
    position: absolute;
    top: 10px; left: 10px;
    background: linear-gradient(135deg, var(--primary), #ff4d4d);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.4);
    z-index: 2;
    text-transform: uppercase;
}

.file-info.shopee-info {
    padding: 10px;
    background: transparent;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.file-name.shopee-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    height: 2.4rem;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    letter-spacing: 0.3px;
}

.shopee-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed rgba(255,255,255,0.1);
}

.file-price.shopee-price {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
    text-shadow: 0 0 10px rgba(227, 30, 36, 0.3);
}

.shopee-sold {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 4px;
}

.shopee-sold::before {
    content: '\f02c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
}

/* -------------------------------------
   TOP SELLERS WIDGET (Shopee Style Dark Mode)
   ------------------------------------- */
.top-sellers-section {
    margin-bottom: 40px;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
}

.top-sellers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-sellers-title {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.top-sellers-more {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.top-sellers-more:hover {
    color: #fff;
}

.top-sellers-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.top-sellers-scroll::-webkit-scrollbar {
    height: 6px;
}
.top-sellers-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.top-seller-card {
    min-width: 140px;
    width: 140px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s;
}

.top-seller-card:hover {
    transform: translateY(-3px);
}

.top-seller-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255,255,255,0.05);
}

.top-seller-img-wrapper img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}

.top-badge {
    position: absolute;
    top: 0; left: 8px;
    background: #ff4d4d;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 6px 4px 4px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 85%, 0 100%);
    z-index: 2;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.top-seller-sales-bar {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    color: rgba(255,255,255,0.9);
    font-size: 0.65rem;
    text-align: center;
    padding: 4px 0;
    z-index: 2;
}

.top-seller-info {
    padding: 8px 4px;
}

.top-seller-title {
    font-size: 0.8rem;
    color: #fff;
    line-height: 1.3;
    height: 2.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* -------------------------------------
   HERO SEARCH BANNER
   ------------------------------------- */
.hero-search {
    position: relative;
    padding: 120px 20px 60px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(10,10,10,0.9), transparent);
    border-bottom: 1px solid rgba(227,30,36,0.1);
    margin-bottom: 20px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjMDAwIiBmaWxsLW9wYWNpdHk9IjAuMSI+PC9yZWN0Pgo8L3N2Zz4=');
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-family: var(--font-en);
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(227,30,36,0.5);
}

.hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.search-container {
    display: flex;
    align-items: center;
    background: rgba(20,20,20,0.8);
    border: 1px solid rgba(227,30,36,0.3);
    border-radius: 50px;
    padding: 5px 5px 5px 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 10px rgba(227,30,36,0.1);
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(227,30,36,0.2), inset 0 0 15px rgba(227,30,36,0.2);
}

.search-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 15px;
    font-size: 1rem;
    font-family: var(--font-th);
    outline: none;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(227,30,36,0.5);
}

.search-btn:hover {
    transform: scale(1.05);
    background: #ff4d4d;
    box-shadow: 0 0 25px rgba(227,30,36,0.8);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-pill {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-en);
    letter-spacing: 1px;
}

.filter-pill:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.filter-pill.active {
    background: rgba(227,30,36,0.15);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(227,30,36,0.2);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-search { padding: 100px 15px 40px; }
}
