/* Import Google Fonts for modern English & Khmer typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Kantumruy+Pro:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #be185d;
    --primary-hover: #9d174d;
    --primary-light: #fdf2f8;
    --secondary-color: #10b981;
    --secondary-hover: #059669;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --font-sans: 'Inter', 'Kantumruy Pro', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    padding-bottom: 50px;
}

a {
    color: inherit;
    text-decoration: none;
}

input, button, select, textarea {
    font-family: inherit;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* TOP PROMO BANNER */
.promo-banner {
    background: linear-gradient(90deg, #be185d, #f472b6);
    color: #ffffff;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.promo-banner a {
    text-decoration: underline;
    margin-left: 5px;
}

/* HEADER STYLE */
.main-header {
    background-color: var(--bg-card);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    gap: 15px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #be185d;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-icon {
    background: linear-gradient(135deg, #f472b6, #be185d);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    font-weight: 900;
    font-size: 1.4rem;
    box-shadow: 0 4px 6px rgba(190, 24, 93, 0.3);
}

/* SEARCH */
.search-form {
    flex: 1;
    max-width: 450px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 16px;
    padding-right: 40px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    background-color: #f1f5f9;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(43, 86, 245, 0.15);
}

.search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

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

/* HEADER USER STATS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f5f9;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.stat-badge:hover {
    background-color: #e2e8f0;
}

.stat-badge.wallet {
    color: var(--primary-color);
}

.stat-badge.coins {
    color: #059669;
}

.stat-icon {
    font-size: 1.1rem;
}

/* PROFILE DROPDOWN */
.profile-menu {
    position: relative;
    cursor: pointer;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.profile-trigger:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 6px rgba(43, 86, 245, 0.2);
}

.profile-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background-color: var(--bg-card);
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    z-index: 110;
}

@media (hover: hover) {
    .profile-menu:hover .profile-dropdown-content {
        display: block !important;
    }
}

.profile-menu.active .profile-dropdown-content {
    display: block !important;
}

.profile-dropdown-content a {
    display: block;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text-main);
    transition: background-color 0.2s;
}

.profile-dropdown-content a:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

.profile-dropdown-content .divider {
    border-top: 1px solid var(--border-color);
}

/* MAIN CONTENT CONTAINER */
.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* HERO SLIDER */
.hero-slider {
    background: linear-gradient(135deg, #f472b6 0%, #be185d 100%);
    border-radius: var(--radius-lg);
    color: #ffffff;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 40px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.feature-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* OVERLAY PRODUCT DECORATION */
.hero-overlay-img {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    height: 80px;
    position: relative;
}

.hero-overlay-img svg {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.slider-dot.active {
    background-color: #ffffff;
    width: 20px;
    border-radius: 4px;
}

/* CATEGORIES */
.categories-wrapper {
    margin-bottom: 35px;
}

.categories-container {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: none; /* Firefox */
}

.categories-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.category-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.category-pill:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.category-pill.active {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.category-count {
    background-color: #f1f5f9;
    color: var(--text-muted);
    font-size: 0.75rem;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-weight: 700;
}

.category-pill.active .category-count {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* SECTION HEADER */
.section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* PRODUCT CARD */
.product-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(43, 86, 245, 0.3);
}

/* Cover Image Banner (Sleek CSS patterns or logo placeholders) */
.product-cover {
    height: 140px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
}

.product-cover.capcut {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.product-cover.youtube {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}
.product-cover.alightmotion {
    background: linear-gradient(135deg, #10b981 0%, #064e3b 100%);
}
.product-cover.chatgpt {
    background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
}
.product-cover.spotify {
    background: linear-gradient(135deg, #1db954 0%, #191414 100%);
}
.product-cover.default {
    background: linear-gradient(135deg, #f472b6 0%, #be185d 100%);
}

.product-cover-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

/* HOT BADGE */
.hot-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    z-index: 10;
}

/* CARD DETAILS */
.product-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.product-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.4em;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.buy-btn {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.product-card:hover .buy-btn {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(43, 86, 245, 0.2);
}

/* AUTH PAGES (LOGIN/REGISTER) */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 20px;
}

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

.auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

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

.auth-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s;
}

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

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ERROR/SUCCESS ALERTS */
.alert {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-weight: 500;
}
.alert-error {
    background-color: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
}
.alert-success {
    background-color: #ecfdf5;
    color: #10b981;
    border: 1px solid #a7f3d0;
}

/* PRODUCT DETAIL VIEW */
.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
}
@media (min-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 350px minmax(0, 1fr);
    }
}

.detail-sidebar {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.detail-logo-wrapper {
    margin-bottom: 20px;
}

.detail-content {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.detail-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.detail-desc {
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 25px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.checkout-box {
    background-color: var(--primary-light);
    border: 1px dashed rgba(43, 86, 245, 0.4);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.checkout-price-info {
    display: flex;
    flex-direction: column;
}

.checkout-price-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.checkout-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* USER DASHBOARD & TABLES */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}
@media (min-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 280px 1fr;
    }
}

.user-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 15px auto;
}

.user-info-list {
    margin-top: 20px;
    text-align: left;
}

.user-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.user-info-item span:first-child {
    color: var(--text-muted);
}

.user-info-item span:last-child {
    font-weight: 600;
}

/* DATA TABLE */
.table-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 25px;
}

.table-header {
    padding: 16px 20px;
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 1rem;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.85rem;
}

th {
    background-color: #f1f5f9;
    padding: 12px 20px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.badge.pending {
    background-color: #fef3c7;
    color: #d97706;
}

.badge.approved {
    background-color: #d1fae5;
    color: #059669;
}

.badge.rejected {
    background-color: #fee2e2;
    color: #dc2626;
}

.delivered-key-box {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-family: monospace;
    font-size: 0.8rem;
    word-break: break-all;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
}

/* DEPOSIT PAGE */
.deposit-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}


.payment-instructions {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.qr-code-box {
    text-align: center;
    margin: 20px 0;
}

.qr-code-box img, .qr-code-box svg {
    max-width: 200px;
    border: 4px solid #ffffff;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
}

/* ADMIN PANEL SPECIFICS */
.admin-summary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.summary-info h3 {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.summary-info .val {
    font-size: 1.5rem;
    font-weight: 800;
}

.summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.admin-action-btn {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
    margin-right: 5px;
}

.admin-action-btn.approve {
    background-color: #10b981;
    color: #ffffff;
}

.admin-action-btn.approve:hover {
    background-color: #059669;
}

.admin-action-btn.reject {
    background-color: #ef4444;
    color: #ffffff;
}

.admin-action-btn.reject:hover {
    background-color: #dc2626;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.admin-tab {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

.admin-tab.active {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Modal standard */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.modal-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: zoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    padding: 16px 20px;
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 12px 20px;
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ==========================================================
   PREMIUM SHIRYU USER INTERFACE AND DASHBOARD STYLES
   ========================================================== */

/* Primary brand colors for the user dashboard (Blue Theme like shiryupremium.com) */
:root {
    --dash-blue: #0b57d0;
    --dash-blue-hover: #0842a0;
    --dash-blue-light: #e8f0fe;
    --dash-gray-light: #f8fafd;
    --dash-text: #1f2937;
    --dash-muted: #6b7280;
    --dash-border: #e2e8f0;
}

/* Premium Header adjustments */
.main-header.premium-nav {
    background-color: #ffffff !important;
    border-bottom: 2px solid #0b57d0 !important; /* Premium blue border line */
}

/* Redesigned Search Icon trigger */
.search-icon-btn {
    background-color: #f1f5f9;
    border: 1px solid var(--border-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}
.search-icon-btn:hover {
    background-color: #e2e8f0;
    color: var(--dash-blue);
}

/* Custom premium profile dropdown */
.profile-menu.premium-dropdown {
    position: relative;
}
.profile-trigger.premium-trigger {
    background-color: #ffffff !important;
    color: var(--dash-text) !important;
    border: 1px solid var(--dash-border) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 6px 14px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
    box-shadow: none !important;
}
.profile-trigger.premium-trigger:hover {
    background-color: #f8fafc !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}
.profile-trigger.premium-trigger .avatar-circle-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--dash-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.profile-dropdown-content.premium-dropdown-content {
    min-width: 250px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    padding: 12px 0 !important;
}
.profile-dropdown-content.premium-dropdown-content .user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background-color: var(--dash-gray-light);
    border-bottom: 1px solid var(--dash-border);
    margin-bottom: 8px;
}
.profile-dropdown-content.premium-dropdown-content .user-dropdown-header .avatar-circle-md {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dash-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.profile-dropdown-content.premium-dropdown-content .user-dropdown-header .user-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: left;
}
.profile-dropdown-content.premium-dropdown-content .user-dropdown-header .user-meta .name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dash-blue);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.profile-dropdown-content.premium-dropdown-content .user-dropdown-header .user-meta .email {
    font-size: 0.75rem;
    color: var(--dash-muted);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.profile-dropdown-content.premium-dropdown-content a {
    padding: 8px 20px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.profile-dropdown-content.premium-dropdown-content a i {
    font-size: 1rem;
    color: var(--dash-blue);
    width: 20px;
    text-align: center;
}
.profile-dropdown-content.premium-dropdown-content a:hover {
    background-color: var(--dash-blue-light) !important;
    color: var(--dash-blue) !important;
}
.profile-dropdown-content.premium-dropdown-content a.logout-link {
    color: #ef4444 !important;
}
.profile-dropdown-content.premium-dropdown-content a.logout-link i {
    color: #ef4444 !important;
}
.profile-dropdown-content.premium-dropdown-content a.logout-link:hover {
    background-color: #fef2f2 !important;
}

/* Premium Profile Banner Card */
.premium-profile-banner {
    background-color: #ffffff;
    border: 1px solid var(--dash-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}
.premium-profile-left {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}
.premium-profile-left .avatar-circle-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--dash-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2.2rem;
    box-shadow: 0 4px 10px rgba(11, 87, 208, 0.2);
}
.premium-profile-details {
    display: flex;
    flex-direction: column;
}
.premium-profile-details h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dash-text);
    margin: 0;
    line-height: 1.2;
}
.premium-profile-details .handle {
    font-size: 0.85rem;
    color: #2563eb;
    font-weight: 600;
    margin-top: 2px;
}
.premium-profile-details .email {
    font-size: 0.85rem;
    color: var(--dash-muted);
    margin-bottom: 8px;
}
.premium-profile-details .badge-member {
    background-color: #3b82f6;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    align-self: flex-start;
    text-transform: uppercase;
}

/* User stats counter in banner */
.premium-banner-stats {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}
.premium-banner-stat-item {
    display: flex;
    flex-direction: column;
}
.premium-banner-stat-item .num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dash-text);
}
.premium-banner-stat-item .label {
    font-size: 0.75rem;
    color: var(--dash-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Wallet/Coins Section in Banner */
.premium-profile-right-wallet {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--dash-gray-light);
    border: 1px solid var(--dash-border);
    padding: 16px 20px;
    border-radius: 12px;
}
.wallet-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.wallet-details .wallet-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dash-muted);
    text-transform: uppercase;
}
.wallet-details .wallet-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dash-blue);
}
.premium-deposit-btn {
    background-color: var(--dash-blue);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s;
}
.premium-deposit-btn:hover {
    background-color: var(--dash-blue-hover);
    box-shadow: 0 4px 6px rgba(11, 87, 208, 0.2);
}

/* Dashboard Stats Cards */
.premium-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}
@media (max-width: 768px) {
    .premium-stats-grid {
        grid-template-columns: 1fr;
    }
}
.premium-stat-card {
    background-color: #ffffff;
    border: 1px solid var(--dash-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    text-align: left;
}
.premium-stat-card .label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dash-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}
.premium-stat-card .value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dash-blue);
}
.premium-stat-card .sub-label {
    font-size: 0.75rem;
    color: var(--dash-muted);
}

/* Quick Actions Section */
.quick-actions-section {
    margin-top: 30px;
    text-align: left;
}
.quick-actions-section h3 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dash-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
@media (max-width: 992px) {
    .quick-actions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 576px) {
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.quick-action-card {
    background-color: #ffffff;
    border: 1px solid var(--dash-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.quick-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--dash-blue);
    background-color: var(--dash-blue-light);
}
.quick-action-card i {
    font-size: 1.5rem;
    color: var(--dash-blue);
}
.quick-action-card span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dash-blue);
}

/* Affiliate/Referral Section */
.affiliate-section {
    margin-top: 30px;
    background-color: #ffffff;
    border: 1px solid var(--dash-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    text-align: left;
}
.affiliate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.affiliate-header h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dash-blue);
    margin: 0;
}
.affiliate-header .promo-text {
    font-size: 0.85rem;
    color: var(--dash-blue);
    font-weight: 600;
}
.affiliate-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}
@media (max-width: 576px) {
    .affiliate-stats-row {
        grid-template-columns: 1fr;
    }
}
.affiliate-stat-box {
    background-color: var(--dash-gray-light);
    border: 1px solid var(--dash-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.affiliate-stat-box .val {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dash-text);
}
.affiliate-stat-box .lbl {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--dash-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Referral Link Container */
.referral-link-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.referral-link-wrapper label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dash-muted);
    text-transform: uppercase;
}
.referral-input-container {
    display: flex;
    border: 1px solid var(--dash-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--dash-gray-light);
}
.referral-input-container input {
    flex: 1;
    border: none;
    background: none;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--dash-text);
    outline: none;
}
.referral-input-container button {
    background-color: var(--dash-blue);
    color: #ffffff;
    border: none;
    padding: 0 20px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.15s;
}
.referral-input-container button:hover {
    background-color: var(--dash-blue-hover);
}

/* Settings Modal Form group styling */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

/* ==========================================================
   PRODUCT CARD ENHANCEMENTS AND RESPONSIVE 2-COLUMN GRID
   ========================================================== */

/* Price and original discount layout */
.product-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.product-price-row .product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b57d0; /* Premium blue accent */
}

.product-price-row .product-original-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

/* Stock and Instant badges */
.product-badges-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
}

.badge-stock {
    background-color: #e6f4ea;
    color: #137333;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-instant {
    background-color: #fef7e0;
    color: #b06000;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Premium full-width block button */
.buy-btn-block {
    width: 100%;
    background-color: #0b57d0;
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    text-align: center;
    margin-top: auto;
    display: block;
}

.buy-btn-block:hover {
    background-color: #0842a0;
}

.buy-btn-block:active {
    transform: scale(0.98);
}

/* Desktop settings for login text and search toggle button */
.login-desktop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.login-mobile {
    display: none;
}
.search-toggle-btn {
    display: none;
}
.wallet-val-mobile {
    display: none;
}

/* Mobile Media Query for Premium Responsive Layout */
@media (max-width: 768px) {
    /* Hide desktop elements and show mobile equivalents */
    .login-desktop {
        display: none !important;
    }
    .login-mobile {
        display: inline !important;
        font-weight: 700;
        font-size: 0.85rem;
    }
    .btn-login-premium {
        background-color: #0b57d0 !important;
        color: #ffffff !important;
        border-color: #0b57d0 !important;
        border-radius: 8px !important;
        padding: 8px 16px !important;
        box-shadow: 0 2px 4px rgba(11, 87, 208, 0.2) !important;
        font-size: 0.85rem !important;
    }
    .btn-register-premium {
        display: none !important; /* Hide register button on mobile to save space */
    }
    
    /* Toggleable search button and form overlay on mobile */
    .search-toggle-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        border: 1px solid var(--border-color);
        background-color: #f1f5f9;
        color: #0b57d0;
        cursor: pointer;
        font-size: 0.95rem;
        transition: all 0.2s;
    }
    .search-toggle-btn:hover {
        background-color: #e2e8f0;
    }
    .search-form {
        display: none;
    }
    .search-form.active {
        display: flex !important;
        position: absolute;
        top: 70px;
        left: 15px;
        right: 15px;
        z-index: 1000;
        max-width: none !important;
        background: #ffffff !important;
        padding: 4px !important;
        border-radius: 30px !important;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid #cbd5e1 !important;
    }
    .search-form.active .search-input {
        background-color: #ffffff !important;
    }

    /* Logged-in header optimizations to fit on single line */
    .wallet-text {
        display: none !important;
    }
    .wallet-val-mobile {
        display: inline !important;
    }
    .stat-badge.coins {
        display: none !important; /* Hide coins badge on mobile to save space */
    }
    .profile-name-desktop {
        display: none !important; /* Hide username, show only avatar */
    }
    .profile-trigger.premium-trigger {
        padding: 5px !important;
        border-radius: 50% !important;
    }
    .profile-trigger.premium-trigger i {
        display: none !important; /* Hide chevron icon */
    }

    /* Layout & container tweaks */
    .container {
        margin: 15px auto !important;
        padding: 0 12px !important;
    }

    /* 2-column product grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .product-card {
        border-radius: 16px !important; /* Premium rounded corners like the screenshot */
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02) !important;
    }
    
    .product-cover {
        height: 110px !important;
        border-top-left-radius: 16px !important;
        border-top-right-radius: 16px !important;
        overflow: hidden !important;
    }
    
    .product-details {
        padding: 12px !important;
    }
    
    .product-category {
        font-size: 0.68rem !important;
        margin-bottom: 2px !important;
        color: #6b7280 !important;
        font-weight: 500 !important;
    }
    
    .product-title {
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        color: #0b57d0 !important; /* Blue title text matching screenshot */
        margin-bottom: 6px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Hide description on mobile to keep cards uniform and clean */
    .product-description {
        display: none !important;
    }
    
    .product-price-row {
        margin-bottom: 8px !important;
        gap: 6px !important;
        align-items: center !important;
    }
    
    .product-price-row .product-price {
        font-size: 1.05rem !important;
        color: #0b57d0 !important; /* Blue price matching screenshot */
    }
    
    .product-price-row .product-original-price {
        font-size: 0.75rem !important;
        color: #9ca3af !important;
    }
    
    .product-badges-row {
        gap: 6px !important;
        margin-bottom: 12px !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }
    
    .badge-stock, .badge-instant {
        font-size: 0.65rem !important;
        padding: 3px 6px !important;
        border-radius: 6px !important;
        font-weight: 700 !important;
    }
    
    .badge-stock {
        background-color: #e6f4ea !important;
        color: #137333 !important;
    }

    .badge-instant {
        background-color: #fef7e0 !important;
        color: #b06000 !important;
    }
    
    .buy-btn-block {
        padding: 9px !important;
        font-size: 0.85rem !important;
        border-radius: 8px !important;
        background-color: #0b57d0 !important;
    }
}

/* Make section title vertical bar blue to match shiryupremium.com theme */
.section-title::before {
    background-color: #0b57d0 !important;
}

/* ==========================================================
   PREMIUM HERO BANNER AND SHORTCUT CARDS STYLES
   ========================================================== */

.premium-hero-banner {
    background: linear-gradient(135deg, #ffffff 60%, #e8f0fe 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-left {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.hero-badge-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-badge-pill {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0b57d0;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-badge-pill.secondary {
    background: #0b57d0;
    color: #ffffff;
    border-color: #0b57d0;
}

.hero-title-main {
    font-size: 2.6rem;
    font-weight: 850;
    color: #1f2937;
    line-height: 1.15;
    margin-bottom: 10px;
}

.hero-title-main .accent-text {
    color: #0b57d0;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 25px;
    line-height: 1.6;
}

.brand-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.shortcut-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    text-decoration: none;
}

.shortcut-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(11, 87, 208, 0.08);
    border-color: #0b57d0;
}

.shortcut-card.active {
    background: #e8f0fe;
    border-color: #0b57d0;
    box-shadow: 0 4px 10px rgba(11, 87, 208, 0.08);
}

.shortcut-card.active .shortcut-info .title {
    color: #0b57d0;
}

.shortcut-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.shortcut-info .title {
    font-weight: 750;
    font-size: 0.8rem;
    color: #1f2937;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-podium-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-circle-bg {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 87, 208, 0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

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

.podium-logo-card {
    width: 180px;
    height: 180px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(11, 87, 208, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    padding: 10px;
    transition: all 0.3s ease;
}

.podium-logo-card:hover {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 20px 40px rgba(11, 87, 208, 0.12);
}

.podium-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.podium-base {
    position: absolute;
    bottom: 20px;
    width: 160px;
    height: 14px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    filter: blur(4px);
    z-index: 2;
}

.floating-badge {
    position: absolute;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: floatY 3s ease-in-out infinite;
}

.floating-badge i {
    color: #0b57d0;
}

.badge-top-right {
    top: 20px;
    right: -10px;
    animation-delay: 0.5s;
}

.badge-bottom-left {
    bottom: 20px;
    left: -10px;
    animation-delay: 1s;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Responsive styles for Hero Banner */
@media (max-width: 992px) {
    .premium-hero-banner {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }
    .hero-right {
        order: -1;
        margin-bottom: 10px;
    }
    .hero-title-main {
        font-size: 2.2rem;
        text-align: center;
    }
    .hero-subtitle, .hero-description {
        text-align: center;
    }
    .hero-badge-row {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .premium-hero-banner {
        padding: 20px 15px;
        border-radius: 16px;
        margin-bottom: 25px;
    }
    .brand-shortcuts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .shortcut-card {
        padding: 8px 10px;
    }
    .shortcut-info .title {
        font-size: 0.75rem;
    }
    .hero-title-main {
        font-size: 1.8rem;
    }
    .hero-podium-wrapper {
        width: 220px;
        height: 220px;
    }
    .podium-logo-card {
        width: 145px;
        height: 145px;
        border-radius: 18px;
    }
    .glow-circle-bg {
        width: 200px;
        height: 200px;
    }
}

/* ==========================================================
   ADMIN PANEL PREMIUM AND RESPONSIVE UPGRADES
   ========================================================== */

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}

@media (max-width: 1024px) {
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Hover effects for admin stats cards */
.summary-card {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}
.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(11, 87, 208, 0.05), 0 4px 6px -2px rgba(11, 87, 208, 0.05);
    border-color: rgba(11, 87, 208, 0.2);
}

/* Premium form focus styles */
.payment-instructions form .form-input:focus,
.payment-instructions form select:focus,
.payment-instructions form textarea:focus {
    border-color: var(--dash-blue);
    box-shadow: 0 0 0 3px rgba(11, 87, 208, 0.15);
    outline: none;
}

/* Tables and badges admin tuning */
.table-card {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.table-header {
    border-bottom: 1px solid var(--border-color);
}

table tbody tr {
    transition: background-color 0.15s ease;
}

table tbody tr:hover {
    background-color: rgba(11, 87, 208, 0.02) !important;
}

/* Form input styling tweaks for admin panel */
.payment-instructions {
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.payment-instructions h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Smooth scale on actions */
.admin-action-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.admin-action-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.admin-action-btn:active {
    transform: scale(0.96);
}

.buy-btn, .auth-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.buy-btn:hover, .auth-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.buy-btn:active, .auth-btn:active {
    transform: translateY(0);
}


/* New Product Detail Premium Layout matching shiryupremium.com */
.detail-sidebar-clean {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.025);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    height: 200px; /* Fixed height for clean mobile layout */
    position: relative;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}
@media (min-width: 768px) {
    .detail-sidebar-clean {
        align-self: start; /* Prevent grid column stretch on desktop */
        height: 280px; /* Comfortable height for desktop sidebar */
    }
}
.detail-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.detail-logo-icon {
    font-size: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-badge-pill {
    display: inline-block;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.product-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #f59e0b;
    margin-bottom: 15px;
    font-weight: 600;
}
.product-rating-row .reviews-count {
    color: #64748b;
    font-weight: 500;
}
.detail-meta-clean {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}
.detail-meta-clean span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.detail-meta-clean .stock-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.detail-meta-clean .stock-badge.in-stock {
    background-color: #ecfdf5;
    color: #10b981;
}
.detail-meta-clean .stock-badge.out-of-stock {
    background-color: #fef2f2;
    color: #ef4444;
}
.detail-meta-clean .price-tag-badge {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0b57d0;
    margin-left: auto;
}
@media (max-width: 767px) {
    .detail-meta-clean .price-tag-badge {
        margin-left: 0;
        width: 100%;
        margin-top: 5px;
    }
}

/* Styling for product serial number badges and group sections */
.product-serial-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(11, 87, 208, 0.95); /* Deep theme blue with opacity */
    color: #ffffff;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.product-card:hover .product-serial-badge {
    background: #0b57d0; /* Full solid blue on card hover */
    transform: scale(1.08);
}

.product-cover {
    position: relative; /* Ensure relative positioning for absolute badges */
}

/* Adjustments for group headers */
.brand-group-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.brand-group-header {
    border-bottom: 2px solid #f1f5f9 !important;
}

@media (max-width: 768px) {
    .brand-group-wrapper {
        padding: 12px;
        border-radius: 14px;
        margin-bottom: 25px !important;
    }
    
    .product-serial-badge {
        top: 6px;
        left: 6px;
        padding: 2px 7px;
        font-size: 0.65rem;
        border-radius: 8px;
    }
}

/* Loading state for action buttons */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.75;
    cursor: not-allowed;
    transition: all 0.2s ease;
}


