/* Reset & Variables */
:root {
    --bg-dark: #0f111a;
    --bg-glass: rgba(30, 34, 53, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --primary: #6366f1; /* Indigo */
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #06b6d4; /* Cyan */
    --accent: #ec4899; /* Pink */
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --telegram: #0088cc;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Cairo', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    font-size: 16px;
}

h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Background Effects */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.blob.purple {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}

.blob.cyan {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, 100px) scale(1.2); }
}

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

.hidden {
    display: none !important;
}

.text-green { color: var(--success); }
.text-blue { color: var(--secondary); }
.text-orange { color: var(--warning); }

.box-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.gradient-text {
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 20px;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.brand-logo {
    height: 85px;
    width: auto;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95); /* Keep logo readable on dark */
    padding: 6px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 500;
}

.nav-links a:hover:not(.btn) {
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    font-size: 1rem;
}

.btn i { font-size: 1.1em; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #818cf8);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

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

.btn-outline:hover {
    background: var(--bg-glass);
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-telegram {
    background: #0088cc;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.btn-telegram:hover {
    background: #0099e6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.6);
}

.btn-facebook {
    background: #1877f2;
    color: white;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.btn-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.6);
}

.large {
    padding: 16px 32px;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
    border-radius: 12px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 60px;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Search Box */
.search-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-glass);
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .search-box {
        flex-direction: row;
        border-radius: 50px;
        padding: 8px;
    }
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 20px;
    gap: 12px;
}

.input-icon {
    color: var(--text-muted);
}

.search-input-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1.1rem;
    outline: none;
    padding: 12px 0;
}

.search-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.error-text {
    color: var(--danger);
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: right;
    min-height: 20px;
}

/* Features & New Info Sections */
.info-banner {
    padding: 24px 32px;
    margin: 40px auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    border-left: 4px solid var(--primary);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 80px 0 30px;
    color: var(--text-main);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.feature-card {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 16px;
    display: inline-block;
    padding: 16px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

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

/* How It Works Section */
.how-it-works {
    margin-bottom: 80px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.step-card {
    padding: 30px 20px;
    text-align: center;
    position: relative;
    border-top: 4px solid var(--primary);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--secondary);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    margin: -50px auto 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.step-card p {
    font-size: 1.1rem;
    font-weight: 700;
}

.conclusion-text {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 20px;
}

/* Loading State */
.loading-container {
    text-align: center;
    padding: 60px 0;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-glass);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

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

.loading-title {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 300px;
    margin: 0 auto;
    text-align: right;
}

.step {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.5s ease;
}

.step.active {
    color: var(--success);
}

/* Dashboard / Results */
.dashboard {
    padding: 40px 0;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.product-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    margin-bottom: 30px;
}

.product-image-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    border: 1px solid var(--border-glass);
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.product-tags {
    display: flex;
    gap: 10px;
}

.tag {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

.tag-choice { background: #fde047; color: #854d0e; }
.tag-top { background: #fee2e2; color: #b91c1c; }

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.panel {
    padding: 30px;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 1.3rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
}

/* AI Panel */
.ai-panel { position: relative; }

.score-circle {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.circular-chart {
    display: block;
    margin: 0;
    max-width: 80px;
    max-height: 80px;
}
.circle-bg {
    fill: none;
    stroke: var(--border-glass);
    stroke-width: 3.8;
}
.circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}
@keyframes progress {
    0% { stroke-dasharray: 0 100; }
}
.green .circle { stroke: var(--success); }
.percentage {
    fill: var(--text-main);
    font-family: sans-serif;
    font-size: 0.5em;
    text-anchor: middle;
    font-weight: bold;
}
.score-label {
    font-size: 1.2rem;
    font-weight: 700;
}

.analysis-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.analysis-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
}

/* Pricing Panel */
.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--text-muted);
}

.price-divider {
    height: 1px;
    background: var(--border-glass);
    margin: 8px 0;
}

.price-row.total {
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 700;
    align-items: center;
}

.highlight-price {
    font-size: 1.8rem;
    color: var(--secondary);
    font-family: var(--font-heading);
}

.reseller-box {
    background: rgba(16, 185, 129, 0.05);
    border: 1px dashed var(--success);
    padding: 20px;
    border-radius: 12px;
}

.reseller-header {
    color: var(--success);
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reseller-box p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.profit-estimate {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Action Footer */
.action-footer {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-glass), rgba(0, 136, 204, 0.1));
    border-radius: 20px;
    border: 1px solid var(--border-glass);
}

.action-footer p {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer {
    text-align: center;
    padding: 24px;
    margin-top: 40px;
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-radius: 16px 16px 0 0;
    color: var(--text-muted);
}

/* Supported Stores Section */
.stores-section {
    padding: 24px 0 0;
    margin: 30px auto 0;
    text-align: center;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stores-title {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 600;
}

.stores-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.store-icon:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.08);
}

.store-icon img, .store-icon h3 {
    transition: transform 0.3s ease;
}

.store-icon:hover img, .store-icon:hover h3 {
    transform: scale(1.1);
}

/* Pricing Table Section - Neon Edition */
.pricing-table-container {
    max-width: 600px;
    max-height: 480px; /* Reduces huge vertical space */
    overflow-y: auto;
    margin: 0 auto 60px;
    background: var(--bg-glass);
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    padding: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(6, 182, 212, 0.1);
    backdrop-filter: blur(20px);
}

/* Custom glowing scrollbar */
.pricing-table-container::-webkit-scrollbar {
    width: 8px;
}
.pricing-table-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}
.pricing-table-container::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--secondary);
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.pricing-table th {
    position: sticky;
    top: -16px; /* Offset against container padding */
    padding: 16px;
    text-align: right;
    font-size: 1.1rem;
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 800;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
    background: var(--bg-dark);
    border-bottom: 2px solid var(--secondary);
    z-index: 5;
    box-shadow: 0 10px 15px rgba(0,0,0,0.5);
}

.pricing-table th:first-child { border-radius: 0 16px 0 0; }
.pricing-table th:last-child { border-radius: 16px 0 0 0; }

.pricing-table tr {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pricing-table tr td {
    padding: 14px 20px;
    text-align: right;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.pricing-table tr td:first-child {
    border-radius: 0 12px 12px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 500;
}

.pricing-table tr td:last-child {
    border-radius: 12px 0 0 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--success);
    font-weight: 800;
    text-shadow: 0 0 5px rgba(16, 185, 129, 0.4);
}

/* Professional Neon Hover Effects */
.pricing-table tbody tr:hover td {
    background: rgba(6, 182, 212, 0.15); /* Deep cyan wash */
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    border-color: var(--secondary); /* Cyan top/bottom neon borders */
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3), inset 0 0 10px rgba(6, 182, 212, 0.2);
}

/* Specific left/right glowing edges */
.pricing-table tbody tr:hover td:first-child {
    border-right-color: var(--secondary);
    box-shadow: inset -5px 0 10px rgba(6, 182, 212, 0.4);
}
.pricing-table tbody tr:hover td:last-child {
    border-left-color: var(--secondary);
    box-shadow: inset 5px 0 10px rgba(6, 182, 212, 0.4);
}

/* Guarantees & CTA */
.guarantee-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid var(--success);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-bottom: 60px;
}

.guarantee-box h3 {
    color: var(--success);
    margin-bottom: 16px;
}

.final-cta {
    text-align: center;
    margin-bottom: 60px;
}

/* Store Specific Glow & Border Colors */
.store-icon.amazon { background: rgba(255, 153, 0, 0.02); }
.store-icon.amazon:hover {
    box-shadow: 0 10px 25px rgba(255, 153, 0, 0.2);
    border-color: rgba(255, 153, 0, 0.5);
}

.store-icon.aliexpress { background: rgba(255, 71, 71, 0.02); }
.store-icon.aliexpress:hover {
    box-shadow: 0 10px 25px rgba(255, 71, 71, 0.2);
    border-color: rgba(255, 71, 71, 0.5);
}

.store-icon.temu { background: rgba(255, 117, 0, 0.02); }
.store-icon.temu:hover {
    box-shadow: 0 10px 25px rgba(255, 117, 0, 0.2);
    border-color: rgba(255, 117, 0, 0.5);
}

.store-icon.banggood { background: rgba(0, 184, 83, 0.02); }
.store-icon.banggood:hover {
    box-shadow: 0 10px 25px rgba(0, 184, 83, 0.2);
    border-color: rgba(0, 184, 83, 0.5);
}

.store-icon.ebay { background: rgba(229, 50, 56, 0.02); }
.store-icon.ebay:hover {
    box-shadow: 0 10px 25px rgba(229, 50, 56, 0.2);
    border-color: rgba(229, 50, 56, 0.5);
}

.store-icon.walmart { background: rgba(0, 113, 206, 0.02); }
.store-icon.walmart:hover {
    box-shadow: 0 10px 25px rgba(0, 113, 206, 0.2);
    border-color: rgba(0, 113, 206, 0.5);
}

.store-icon.etsy { background: rgba(245, 100, 0, 0.02); }
.store-icon.etsy:hover {
    box-shadow: 0 10px 25px rgba(245, 100, 0, 0.2);
    border-color: rgba(245, 100, 0, 0.5);
}

.store-icon.shopify { background: rgba(149, 191, 71, 0.02); }
.store-icon.shopify:hover {
    box-shadow: 0 10px 25px rgba(149, 191, 71, 0.2);
    border-color: rgba(149, 191, 71, 0.5);
}

.store-icon.lazada { background: rgba(255, 8, 68, 0.02); }
.store-icon.lazada:hover {
    box-shadow: 0 10px 25px rgba(255, 8, 68, 0.2);
    border-color: rgba(255, 8, 68, 0.5);
}

/* ------------------------------------- */
/* Shipped Products Showcase (Animated)  */
/* ------------------------------------- */
.orders-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.order-card {
    position: relative;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.order-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(6, 182, 212, 0.15);
}

.cartoon-avatar {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 65px;
    height: 65px;
    background: var(--bg-glass);
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.order-card:hover .cartoon-avatar {
    transform: scale(1.25) rotate(15deg) translateY(-5px);
    box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3);
}

.cartoon-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.product-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.product-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.6s ease;
}

.order-card:hover .product-img {
    transform: scale(1.1);
}

.status-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-badge.shipped {
    animation: pulseGlow 2s infinite;
}

.order-info {
    text-align: right;
    padding: 0 10px;
}

.order-info h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.buyer-name {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.delivery-time {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 15px;
    border-radius: 10px;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: bold;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Scroll Animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------- */
/* Contact UI Interface                  */
/* ------------------------------------- */
.contact-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    width: 280px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.contact-card .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

/* Instagram */
.contact-card.instagram:hover { border-color: #d6249f; box-shadow: 0 10px 30px rgba(214, 36, 159, 0.2); }
.contact-card.instagram .icon-circle {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
}
.contact-card.instagram:hover .icon-circle { transform: scale(1.1) rotate(5deg); box-shadow: 0 0 25px rgba(214, 36, 159, 0.6); }

/* Whatsapp */
.contact-card.whatsapp:hover { border-color: #25d366; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2); }
.contact-card.whatsapp .icon-circle {
    background: #25d366;
    color: white;
}
.contact-card.whatsapp:hover .icon-circle { transform: scale(1.1) rotate(-5deg); box-shadow: 0 0 25px rgba(37, 211, 102, 0.6); }

/* Phone */
.contact-card.phone:hover { border-color: #007bff; box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2); }
.contact-card.phone .icon-circle {
    background: #007bff;
    color: white;
}
.contact-card.phone:hover .icon-circle { transform: scale(1.1) rotate(8deg); box-shadow: 0 0 25px rgba(0, 123, 255, 0.6); }

.contact-card h3 {
    color: var(--text-main);
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
}

/* Trust Signals Section */
.trust-signals {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.trust-badge i {
    color: var(--primary);
    font-size: 1.1rem;
}

.trust-badge:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--text-main);
    transform: translateY(-2px);
}

/* Digital Services Grid */
.digital-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 80px;
}

.digi-card {
    position: relative;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.digi-card:hover {
    transform: translateY(-8px);
}

.digi-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.digi-card:hover .digi-glow {
    opacity: 0.6;
}

.digi-icon {
    position: relative;
    width: 95px;
    height: 95px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    color: white;
}

.digi-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-main);
    font-weight: 800;
}

.digi-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.digi-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
    padding: 6px 12px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 10px;
}

.btn-digi {
    width: 100%;
    border-radius: 12px;
    padding: 12px;
    font-size: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.digi-card:hover .btn-digi {
    background: var(--text-main);
    color: var(--bg-dark);
}

/* Specific Service Styles */
.digi-card.meta-verified .digi-glow { background: #1877F2; }
.digi-card.meta-verified:hover { border-color: rgba(24, 119, 242, 0.5); box-shadow: 0 10px 30px rgba(24, 119, 242, 0.15); }
.digi-card.meta-verified .digi-price { color: #1877F2; background: rgba(24, 119, 242, 0.1); }
.digi-card.meta-verified:hover .btn-digi { background: #1877F2; color: white; border-color: #1877F2; }

.digi-card.netflix .digi-glow { background: #E50914; }
.digi-card.netflix:hover { border-color: rgba(229, 9, 20, 0.5); box-shadow: 0 10px 30px rgba(229, 9, 20, 0.15); }
.digi-card.netflix .digi-price { color: #E50914; background: rgba(229, 9, 20, 0.1); }
.digi-card.netflix:hover .btn-digi { background: #E50914; color: white; border-color: #E50914; }

.digi-card.chatgpt .digi-glow { background: #10a37f; }
.digi-card.chatgpt:hover { border-color: rgba(16, 163, 127, 0.5); box-shadow: 0 10px 30px rgba(16, 163, 127, 0.15); }
.digi-card.chatgpt .digi-price { color: #10a37f; background: rgba(16, 163, 127, 0.1); }
.digi-card.chatgpt:hover .btn-digi { background: #10a37f; color: white; border-color: #10a37f; }

.digi-card.gemini .digi-glow { background: linear-gradient(135deg, #1A73E8, #EA4335, #FBBC04, #34A853); filter: blur(40px); }
.digi-card.gemini:hover { border-color: rgba(66, 133, 244, 0.5); box-shadow: 0 10px 30px rgba(66, 133, 244, 0.15); }
.digi-card.gemini .digi-price { color: #4285F4; background: rgba(66, 133, 244, 0.1); }
.digi-card.gemini:hover .btn-digi { background: #4285F4; color: white; border-color: #4285F4; }

.digi-card.claude .digi-glow { background: #d97757; }
.digi-card.claude:hover { border-color: rgba(217, 119, 87, 0.5); box-shadow: 0 10px 30px rgba(217, 119, 87, 0.15); }
.digi-card.claude .digi-price { color: #d97757; background: rgba(217, 119, 87, 0.1); }
.digi-card.claude:hover .btn-digi { background: #d97757; color: white; border-color: #d97757; }

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .nav-links { display: none; }
    #nav-telegram-btn { display: inline-flex; }
}

/* =========================================
   SaaS MARKETPLACE ADDITIONS
   ========================================= */

/* Hide scrollbar for category tabs */
.category-tabs-wrapper::-webkit-scrollbar {
    display: none;
}
.category-tabs-wrapper {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Tab Hover & Active Styling */
.cat-tab:hover {
    background: rgba(255,255,255,0.1) !important;
    transform: translateY(-2px);
}
.cat-tab.active {
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.4);
    border-color: var(--secondary) !important;
}

/* Search Bar Focus */
.digital-search-container:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

/* Cards Animation */
@keyframes scaleUp {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Enhanced Card Hover */
.digi-card:hover {
    transform: scale(1.04) translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 182, 212, 0.15) !important;
    border-color: rgba(6, 182, 212, 0.3) !important;
}

/* Animated Badges */
.badge-popular, .badge-discount {
    animation: pulseBadge 2.5s infinite ease-in-out;
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* Button Micro-interactions */
.digi-actions .btn-digi {
    transition: all 0.3s ease;
}
.digi-actions .btn-digi:hover {
    filter: brightness(1.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px currentColor;
}


/* =========================================
   COMMISSION GRID ADDITIONS
   ========================================= */

.com-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.com-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.com-item:hover {
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.15);
}

.com-price {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.com-fee {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--secondary);
}

.com-item.highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.02));
    border-color: rgba(16, 185, 129, 0.3);
}

.com-item.highlight .com-fee {
    color: #10b981;
}

.com-item.highlight:hover {
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
    border-color: #10b981;
}

@media (min-width: 500px) {
    .com-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}


/* ==============================================
   ULTRA-PREMIUM MARKETPLACE — SaaS UPGRADE
   ============================================== */

/* ---- Section Label Bar ---- */
.section-label-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 10px;
}
.section-label-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
    animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.5; }
}

/* ---- Category Tabs Overhaul ---- */
.category-tabs {
    display: flex;
    flex-wrap: wrap; /* حسب الطلب */
    overflow-x: auto; /* لظهور أفقي عند الحاجة */
    gap: 10px;
    -webkit-overflow-scrolling: touch; /* تمرير سلس على الهواتف */
}
.category-tabs::-webkit-scrollbar {
    height: 4px;
}
.category-tabs::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}
.cat-tab {
    padding: 9px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.cat-tab:hover {
    background: rgba(6,182,212,0.12);
    border-color: rgba(6,182,212,0.3);
    color: var(--text);
}
.cat-tab.active {
    background: var(--secondary) !important;
    color: #fff !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 0 20px rgba(6,182,212,0.4);
}

/* ---- Skeleton Loader ---- */
@keyframes shimmer {
    0% { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}
.skeleton-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.skeleton-icon {
    width: 72px; height: 72px;
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 600px 100%;
    animation: shimmer 1.5s infinite linear;
}
.skeleton-line {
    height: 12px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 600px 100%;
    animation: shimmer 1.5s infinite linear;
    align-self: stretch;
}
.skeleton-line.w70 { width: 70%; align-self: center; }
.skeleton-line.w50 { width: 50%; align-self: center; }
.skeleton-line.w60 { width: 60%; align-self: center; }

/* ---- Digi Card — Premium Remaster ---- */
.digi-card {
    position: relative;
    background: rgba(10, 15, 30, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 28px 20px 22px;
    text-align: center;
    overflow: visible;
    backdrop-filter: blur(20px);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: default;
    min-width: 0;
}

/* Animated gradient border on hover */
.digi-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    padding: 1px;
    background: conic-gradient(from var(--angle, 0deg), transparent 70%, var(--brand-glow, rgba(6,182,212,0.8)) 80%, transparent 90%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotateBorder 3s linear infinite;
    pointer-events: none;
}
.digi-card:hover::before {
    opacity: 1;
}
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes rotateBorder {
    to { --angle: 360deg; }
}

.digi-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 35px var(--brand-glow, rgba(6,182,212,0.2));
    border-color: transparent;
    z-index: 2;
}

/* ---- Brand Icon ---- */
.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px !important;
    height: 80px !important;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 6px;
    flex-shrink: 0;
}
.brand-icon img,
.brand-icon svg {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain !important;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 0 0px transparent);
}
.digi-card:hover .brand-icon {
    transform: translateY(-4px) scale(1.08);
    border-color: var(--brand-glow, rgba(6,182,212,0.3));
    background: rgba(255,255,255,0.07);
}
.digi-card:hover .brand-icon img,
.digi-card:hover .brand-icon svg {
    filter: drop-shadow(0 0 10px var(--brand-glow, rgba(6,182,212,0.6)));
}

/* ---- Card Badge ---- */
.card-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    z-index: 4;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    animation: badgePop 2.5s ease-in-out infinite;
}
.card-badge.hot {
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255,65,108,0.4);
}
.card-badge.new {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #fff;
    box-shadow: 0 4px 15px rgba(6,182,212,0.4);
}
.card-badge.limited {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245,158,11,0.4);
}
@keyframes badgePop {
    0%,100% { transform: scale(1) rotate(-1deg); }
    50% { transform: scale(1.1) rotate(1deg); }
}

/* ---- Digi Glow (Background effect) ---- */
.digi-glow {
    position: absolute;
    top: -30px; left: 50%;
    transform: translateX(-50%);
    width: 120px; height: 120px;
    border-radius: 50%;
    filter: blur(45px);
    z-index: 0;
    opacity: 0.2;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.digi-card:hover .digi-glow {
    opacity: 0.55;
    transform: translateX(-50%) scale(1.3);
}

/* ---- Card text ---- */
.digi-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    z-index: 1;
}
.digi-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    z-index: 1;
}
.digi-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    padding: 4px 14px;
    background: rgba(6,182,212,0.08);
    border-radius: 8px;
    border: 1px solid rgba(6,182,212,0.2);
    z-index: 1;
}

/* ---- Card Actions ---- */
.digi-actions {
    display: flex;
    gap: 8px;
    width: 100%;
    z-index: 1;
    margin-top: 4px;
}
.digi-actions .btn {
    flex: 1;
    padding: 10px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.digi-actions .btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.3), transparent 70%);
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s, transform 0.3s;
}
.digi-actions .btn:active::after {
    opacity: 1;
    transform: scale(2.5);
    transition: 0s;
}
.digi-actions .btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.2);
}

/* ---- Premium Tooltip ---- */
.digi-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(10,15,30,0.97);
    border: 1px solid rgba(6,182,212,0.3);
    color: var(--text);
    font-size: 0.82rem;
    padding: 10px 14px;
    border-radius: 12px;
    white-space: nowrap;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    direction: rtl;
    text-align: center;
    max-width: 280px;
    white-space: normal;
}
.digi-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(6,182,212,0.3);
}
.digi-card:hover .digi-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---- Search Bar Neon Focus ---- */
.digital-search-container:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(6,182,212,0.15), 0 0 25px rgba(6,182,212,0.1);
}

/* ---- Tablet & Mobile — Digital Catalog Overhaul ---- */
@media (max-width: 1024px) {
    #marketGrid,
    #skeletonGrid,
    .digital-services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    }
}

@media (max-width: 768px) {

    /* === شبكة البطاقات: عمود واحد على الهاتف === */
    #marketGrid,
    #skeletonGrid,
    .digital-services-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        display: grid !important;
    }

    /* === البطاقة === */
    .digi-card {
        padding: 10px !important;
        gap: 10px !important;
        border-radius: 14px !important;
    }

    /* === أيقونة البراند === */
    .brand-icon {
        width: 56px !important;
        height: 56px !important;
        border-radius: 13px !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }
    .brand-icon img,
    .brand-icon svg {
        width: 36px !important;
        height: 36px !important;
    }

    /* === عنوان وصف البطاقة === */
    .digi-card h3 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }
    .digi-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* === السعر === */
    .digi-price {
        font-size: 0.85rem !important;
        padding: 4px 10px !important;
    }

    /* === أزرار التواصل === */
    .digi-actions {
        gap: 5px !important;
        margin-top: 2px !important;
    }
    .digi-actions .btn {
        padding: 8px 4px !important;
        font-size: 0.98rem !important;
        border-radius: 8px !important;
    }

    /* === الشارة === */
    .card-badge {
        font-size: 0.62rem !important;
        padding: 2px 7px !important;
        top: -7px !important;
        right: -5px !important;
    }

    /* === إخفاء التولتيب === */
    .digi-tooltip { display: none !important; }

    /* === شريط البحث === */
    .digital-search-container {
        padding: 10px 16px !important;
        margin: 0 0 14px !important;
        max-width: 100% !important;
    }
    #digitalSearch { font-size: 0.88rem !important; }

    /* === تبويبات الفئات === */
    .category-tabs-wrapper { padding: 8px 0 !important; }
    .category-tabs {
        gap: 5px !important;
        padding: 0 10px !important;
    }
    .cat-tab {
        padding: 6px 10px !important;
        font-size: 14px !important;
    }

    /* === العنوان الرئيسي للكتالوج === */
    .section-label-bar { gap: 10px !important; margin-bottom: 6px !important; }

    /* === السكلتون === */
    .skeleton-card { padding: 10px !important; gap: 8px !important; }
    .skeleton-icon { width: 52px !important; height: 52px !important; }

    /* === بانر CTA === */
    .digital-cta-banner {
        padding: 22px 14px !important;
        margin: 10px 0 40px !important;
    }
    .digital-cta-banner h3 { font-size: 1.05rem !important; }
    .digital-cta-banner p { font-size: 0.88rem !important; margin-bottom: 16px !important; }
    .cta-actions { gap: 8px !important; }
    .cta-actions .btn-digi {
        padding: 9px 12px !important;
        font-size: 0.85rem !important;
    }

    /* === تعطيل hover transform على touch === */
    .digi-card:hover {
        transform: none !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    }
    .digi-card:active {
        transform: scale(0.97) !important;
        transition: transform 0.1s ease !important;
    }
}

/* تحسين خاص لأجهزة صغيرة جداً (320px) */
@media (max-width: 360px) {
    #marketGrid,
    #skeletonGrid,
    .digital-services-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .digi-card { padding: 10px !important; }
    .brand-icon { width: 48px !important; height: 48px !important; flex-shrink: 0 !important; }
    .brand-icon img, .brand-icon svg { width: 30px !important; height: 30px !important; }
    .digi-card h3 { font-size: 0.85rem !important; }
    .digi-card p { font-size: 0.75rem !important; }
}

/* ---- Card Reveal Keyframe (used by JS stagger) ---- */
@keyframes cardReveal {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Grid display fix when JS reveals it ---- */
#marketGrid[style*="display: grid"] {
    animation: gridFadeIn 0.5s ease forwards;
}
@keyframes gridFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ==============================================================
   Game Top-Up Section
============================================================== */
.game-topup-section {
    padding: 20px 0;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.game-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .game-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.game-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    z-index: 2;
}

.ff-card:hover { box-shadow: 0 15px 35px rgba(255, 107, 0, 0.3); border-color: rgba(255, 107, 0, 0.5); }
.pubg-card:hover { box-shadow: 0 15px 35px rgba(0, 150, 60, 0.3); border-color: rgba(0, 150, 60, 0.5); }
.efootball-card:hover { box-shadow: 0 15px 35px rgba(25, 118, 210, 0.3); border-color: rgba(25, 118, 210, 0.5); }

.game-card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 120px;
    z-index: 0;
}
.ff-card .game-card-bg {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.4), transparent);
}
.pubg-card .game-card-bg {
    background: linear-gradient(135deg, rgba(0, 150, 60, 0.4), transparent);
}
.efootball-card .game-card-bg {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.4), transparent);
}

.game-image-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.game-logo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.1);
    object-fit: cover;
    background: #000;
}

.game-content {
    position: relative;
    z-index: 1;
    padding: 20px 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-title {
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
}
.ff-card .game-title { color: #ff8a00; }
.pubg-card .game-title { color: #00e676; }
.efootball-card .game-title { color: #2196f3; }

.game-features {
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.game-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ff-card .game-features li i { color: #ff8a00; }
.pubg-card .game-features li i { color: #00e676; }
.efootball-card .game-features li i { color: #2196f3; }

.game-form {
    margin-top: auto;
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.input-group {
    margin-bottom: 15px;
}

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

.id-input-wrapper {
    display: flex;
    gap: 8px;
}

.input-group input, .input-group select {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-main);
    padding: 12px 15px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.id-input-wrapper input {
    flex: 1;
}

.verify-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
    width: 45px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.verify-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.input-group input:focus, .input-group select:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}

.player-name-display {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.player-name-display.error {
    color: var(--warning);
}

.input-group select option {
    background: var(--bg-dark);
    color: var(--text-main);
}

.buy-now-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    font-size: 1.1rem;
    margin-top: 10px;
    border-radius: 12px;
}

.btn-ff {
    background: linear-gradient(135deg, #ff8a00, #e52e71);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 138, 0, 0.4);
    border: none;
}
.btn-ff:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.6);
}

.btn-pubg {
    background: linear-gradient(135deg, #02b350, #004d20);
    color: white;
    box-shadow: 0 4px 15px rgba(2, 179, 80, 0.4);
    border: none;
}
.btn-pubg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 179, 80, 0.6);
}

.btn-efootball {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    color: white;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4);
    border: none;
}
.btn-efootball:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.6);
}

.game-info-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 25px;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 16px;
}

.game-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
    min-width: 250px;
}

.game-info-item i {
    font-size: 1.8rem;
}

.game-info-item div {
    display: flex;
    flex-direction: column;
}

.game-info-item strong {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.game-info-item span {
    font-size: 0.95rem;
    color: var(--text-muted);
}
