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

body {
    background: #ffffff;
    color: #1e293b;
    min-height: 100vh;
    position: relative;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.store-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    background: #e0f2fe;
    border: 2px solid #3b82f6;
}

.store-title {
    display: flex;
    flex-direction: column;
}

.store-title .line1 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.store-title .line2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1.2;
    letter-spacing: 1px;
}

/* Tombol Logout - KECIL */
.btn-logout {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 6px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 5px rgba(59, 130, 246, 0.3);
}

.btn-logout:hover {
    background: #2563eb;
}

/* Store Description - BRIGHT BLUE */
.store-description {
    background: #3b82f6;
    border-radius: 20px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.store-description p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    font-weight: 400;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Product Card - BRIGHT BLUE */
.product-card {
    background: #3b82f6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #2563eb;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.product-desc {
    font-size: 0.9rem;
    color: #e0f2fe;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

/* Tombol WA */
.btn-wa {
    display: block;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
    border-radius: 40px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-wa:hover {
    background: #1d4ed8;
}

.btn-wa i {
    margin-right: 6px;
    color: #25D366;
}

/* Login Modal - BRIGHT BLUE */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: #3b82f6;
    border-radius: 30px;
    padding: 40px 30px;
    width: 90%;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.login-container h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.login-container h2 span {
    color: #ffffff;
    opacity: 0.9;
}

.login-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e0f2fe;
    border-radius: 40px;
    padding: 12px 18px;
    color: #1e293b;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.login-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.login-input::placeholder {
    color: #94a3b8;
}

.login-btn {
    width: 100%;
    background: #2563eb;
    border: none;
    border-radius: 40px;
    padding: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin: 15px 0;
}

.login-btn:hover {
    background: #1d4ed8;
}

.login-switch {
    text-align: center;
    color: #e0f2fe;
    font-size: 0.9rem;
    line-height: 1.5;
}

.login-switch span {
    color: #ffffff;
    cursor: pointer;
    font-weight: 500;
    text-decoration: underline;
}

.login-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 40px;
    font-size: 0.85rem;
    text-align: center;
    display: none;
}

/* Admin Sidebar - BRIGHT BLUE */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 90%;
    max-width: 400px;
    height: 100vh;
    background: #3b82f6;
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 4px 0 20px rgba(59, 130, 246, 0.3);
}

.admin-sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #2563eb;
    background: #2563eb;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar-header h2 {
    font-size: 1.2rem;
    color: #ffffff;
}

.close-sidebar {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 5px;
}

.sidebar-content {
    padding: 20px;
}

.admin-section {
    background: #2563eb;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 15px;
}

.admin-section h3 {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.admin-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e0f2fe;
    border-radius: 10px;
    padding: 10px 12px;
    color: #1e293b;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.admin-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.file-label {
    display: inline-block;
    background: #ffffff;
    border: 1px dashed #3b82f6;
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 0.85rem;
    color: #2563eb;
    cursor: pointer;
}

.file-name {
    display: block;
    font-size: 0.8rem;
    color: #ffffff;
    margin-top: 5px;
    opacity: 0.8;
}

.admin-btn {
    width: 100%;
    background: #1d4ed8;
    border: none;
    border-radius: 10px;
    padding: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.admin-btn:hover {
    background: #1e40af;
}

/* Admin Product List */
.admin-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2563eb;
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 8px;
}

.admin-product-info strong {
    font-size: 0.9rem;
    color: #ffffff;
}

.admin-product-info small {
    font-size: 0.8rem;
    color: #e0f2fe;
}

.admin-product-actions button {
    background: #1d4ed8;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    color: #ffffff;
    font-size: 0.8rem;
    cursor: pointer;
    margin-left: 5px;
}

/* Footer Discord - DI TENGAH */
.footer {
    width: 100%;
    padding: 25px 20px;
    margin-top: 40px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* TENGAH */
}

.discord-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 40px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.discord-link:hover {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.discord-link i {
    font-size: 1.2rem;
    color: #5865F2;
}

/* Hidden */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-area {
        justify-content: center;
    }
    
    .store-title .line1 {
        font-size: 1.2rem;
    }
    
    .store-title .line2 {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        justify-content: center;
    }
}