/* assets/style.css - Next-Gen Mobile-First & Responsive Design System for FF PANELS Storefront */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;700;800&display=swap');

:root {
    --bg-primary: #070a14;
    --bg-surface: #0e1424;
    --bg-surface-elevated: #151c30;
    --bg-glass: rgba(14, 20, 36, 0.85);
    
    --accent-purple: #b388ff;
    --accent-purple-deep: #7c4dff;
    --accent-cyan: #00f2fe;
    --accent-blue: #3a86ff;
    --accent-pink: #ff007f;
    --accent-green: #00e676;
    --accent-orange: #ff9100;
    
    --gradient-purple: linear-gradient(135deg, #a855f7 0%, #6366f1 100%); 
    --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --gradient-gold: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    --gradient-fire: linear-gradient(135deg, #ff007f 0%, #ff6b00 100%);
    --gradient-card: linear-gradient(180deg, #111728 0%, #0a0e1a 100%);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-purple: rgba(179, 136, 255, 0.25);
    --border-glow: rgba(168, 85, 247, 0.4);
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
    -webkit-tap-highlight-color: transparent;
}

html, body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 77, 255, 0.15), transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 242, 254, 0.05), transparent 70%);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    overflow-x: hidden !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #070a14;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* ==========================================================================
   Store Outer Layout & Containers (Responsive Desktop & Mobile)
   ========================================================================== */
.store-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-container {
    width: 100%;
    max-width: 480px; /* Default Mobile Viewport Width */
    margin: 0 auto;
    padding: 0 14px 90px; /* Bottom space for floating bottom nav */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Responsive Desktop & Tablet Container Overrides */
@media (min-width: 768px) {
    .store-container {
        max-width: 840px;
        padding: 0 24px 44px;
    }
}

@media (min-width: 1024px) {
    .store-container {
        max-width: 1240px;
        padding: 0 32px 52px;
    }
}

/* ==========================================================================
   Storefront Top Navigation Header
   ========================================================================== */
.store-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 10, 20, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 0 12px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand-logo-store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-header-logo {
    max-height: 42px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    filter: drop-shadow(0 2px 10px rgba(179, 136, 255, 0.45));
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-store:hover .site-header-logo {
    transform: scale(1.05);
}

.brand-auth-logo {
    max-height: 85px;
    max-width: 240px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 18px auto;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(179, 136, 255, 0.5));
}

@media (max-width: 480px) {
    .site-header-logo {
        max-height: 34px;
    }
    .brand-auth-logo {
        max-height: 70px;
        max-width: 190px;
    }
}

.user-nav-badge {
    background: rgba(179, 136, 255, 0.1);
    color: var(--accent-purple);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    border: 1px solid rgba(179, 136, 255, 0.25);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(179, 136, 255, 0.1);
}

.user-nav-badge:hover {
    background: rgba(179, 136, 255, 0.2);
    border-color: rgba(179, 136, 255, 0.4);
    transform: translateY(-1px);
}

/* Search Box Component */
.store-search-box {
    position: relative;
    width: 100%;
}

.store-search-box input {
    width: 100%;
    min-height: 44px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 10px 14px 10px 42px;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.store-search-box input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(179, 136, 255, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.store-search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Desktop Header Navigation Extensions */
.desktop-nav-links {
    display: none;
    align-items: center;
    gap: 20px;
}

.desktop-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.desktop-nav-link:hover, .desktop-nav-link.active {
    color: var(--accent-purple);
    background: rgba(179, 136, 255, 0.1);
}

@media (min-width: 1024px) {
    .header-top-row {
        gap: 24px;
    }
    .desktop-nav-links {
        display: flex;
    }
    .store-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0;
    }
    .store-search-box {
        max-width: 380px;
    }
}

/* ==========================================================================
   Account Balance & Coupon Bar (Top-Level Information Hierarchy)
   ========================================================================== */
.account-summary-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.balance-card-block {
    background: linear-gradient(135deg, rgba(21, 28, 48, 0.95) 0%, rgba(13, 18, 32, 0.95) 100%);
    border: 1px solid rgba(179, 136, 255, 0.2);
    border-left: 4px solid var(--accent-purple);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.balance-info-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.balance-title-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.balance-amount-display {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--accent-purple);
    text-shadow: 0 2px 10px rgba(179, 136, 255, 0.3);
}

.btn-add-funds {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 25px;
    background: var(--gradient-purple);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    touch-action: manipulation;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
}

.btn-add-funds:hover, .btn-add-funds:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
}

/* Coupon Bar */
.coupon-input-group {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 5px 5px 5px 14px;
    width: 100%;
    transition: border-color 0.25s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.coupon-input-group:focus-within {
    border-color: rgba(179, 136, 255, 0.4);
}

.coupon-input-group i {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-right: 8px;
    flex-shrink: 0;
}

.coupon-input-group input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    flex: 1;
    min-width: 0;
    outline: none;
    padding: 8px 0;
}

.coupon-input-group input::placeholder {
    color: var(--text-dim);
}

.btn-coupon-apply {
    min-height: 38px;
    padding: 0 18px;
    border-radius: 12px;
    background: rgba(179, 136, 255, 0.12);
    color: var(--accent-purple);
    border: 1px solid rgba(179, 136, 255, 0.3);
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    touch-action: manipulation;
}

.btn-coupon-apply:hover, .btn-coupon-apply:active {
    background: rgba(179, 136, 255, 0.24);
    border-color: rgba(179, 136, 255, 0.5);
}

/* ==========================================================================
   Product Cards & Grid (1-Col Mobile, 2-Col Tablet, 3-Col Desktop)
   ========================================================================== */
.products-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 28px;
}

@media (min-width: 640px) {
    .products-grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (min-width: 1024px) {
    .products-grid-layout {
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
    }
}

.product-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.product-card:hover {
    border-color: rgba(179, 136, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(124, 77, 255, 0.18), 0 0 20px rgba(179, 136, 255, 0.1);
}

/* Video Preview Container */
.product-video-wrap {
    height: 185px;
    position: relative;
    background: #000;
    overflow: hidden;
}

.product-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(10, 14, 26, 0.95) 100%);
    pointer-events: none;
}

.product-card-title {
    position: absolute;
    left: 16px;
    bottom: 14px;
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    max-width: 78%;
    line-height: 1.25;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    word-break: break-word;
}

.btn-share-icon {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(7, 10, 20, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.btn-share-icon:hover {
    background: rgba(179, 136, 255, 0.25);
    color: var(--accent-purple);
    border-color: rgba(179, 136, 255, 0.4);
}

/* Product Card Meta Content */
.product-card-meta {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Tag Pills */
.tag-pill-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tag-pill {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.tag-pill.purple {
    background: rgba(179, 136, 255, 0.12);
    color: #c49eff;
    border-color: rgba(179, 136, 255, 0.3);
}

.tag-pill.cyan {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    border-color: rgba(0, 242, 254, 0.3);
}

.tag-pill.orange {
    background: rgba(255, 145, 0, 0.1);
    color: #ffab40;
    border-color: rgba(255, 145, 0, 0.3);
}

/* Status Banners */
.update-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(255, 145, 0, 0.1) 0%, rgba(255, 145, 0, 0.03) 100%);
    border: 1px solid rgba(255, 145, 0, 0.25);
    border-left: 3px solid #ff9100;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffb74d;
}

.maintenance-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 0, 127, 0.1);
    border: 1px solid rgba(255, 0, 127, 0.3);
    border-left: 3px solid #ff007f;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ff4d94;
    text-transform: uppercase;
}

/* Features List */
.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.features-list span {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.features-list i {
    color: var(--accent-purple);
    font-size: 0.8rem;
}

/* Product Card Action Buttons (Equal Height & Touch Target) */
.product-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.btn-store-action {
    height: 46px;
    min-height: 46px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    touch-action: manipulation;
}

.btn-download-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(179, 136, 255, 0.3);
    color: #c49eff;
}

.btn-download-secondary:hover, .btn-download-secondary:active {
    background: rgba(179, 136, 255, 0.14);
    color: #fff;
}

.btn-buy-primary {
    background: var(--gradient-purple);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-buy-primary:hover, .btn-buy-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.48);
}

.btn-buy-primary:disabled, .btn-download-secondary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   Mobile Bottom Navigation Bar (Hidden on Desktop)
   ========================================================================== */
.store-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(8, 11, 20, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    z-index: 150;
    padding: 8px 4px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.nav-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-dim);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 6px 0;
    flex: 1;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-tab-item i {
    font-size: 1.18rem;
}

.nav-tab-item.active {
    color: var(--accent-purple);
    font-weight: 800;
}

.nav-tab-item:hover {
    color: var(--text-main);
}

@media (min-width: 1024px) {
    .store-bottom-nav {
        display: none !important;
    }
    .store-container {
        padding-bottom: 36px !important;
    }
}

/* ==========================================================================
   Purchase Bottom Sheet / Modal Component
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: flex-end; /* Bottom sheet on mobile */
    justify-content: center;
}

@media (min-width: 640px) {
    .modal-overlay {
        align-items: center; /* Centered modal on desktop */
        padding: 20px;
    }
}

.modal-overlay.active {
    display: flex !important;
}

.modal-sheet {
    background: linear-gradient(180deg, #111628 0%, #0a0d18 100%);
    border: 1px solid rgba(179, 136, 255, 0.3);
    border-radius: 28px 28px 0 0; /* Bottom Sheet rounded top */
    width: 100%;
    max-width: 480px;
    max-height: 88vh;
    max-height: 88dvh;
    overflow-y: auto;
    padding: 22px 20px 28px;
    box-shadow: 0 -15px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(179, 136, 255, 0.15);
    position: relative;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
    .modal-sheet {
        border-radius: var(--radius-lg);
        animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

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

.sheet-drag-handle {
    width: 40px;
    height: 4px;
    background: var(--text-dim);
    border-radius: 4px;
    margin: 0 auto 18px;
}

@media (min-width: 640px) {
    .sheet-drag-handle { display: none; }
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.duration-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.duration-option-card:hover, .duration-option-card.selected {
    border-color: var(--accent-purple);
    background: rgba(179, 136, 255, 0.1);
}

.duration-option-card input[type="radio"] {
    accent-color: var(--accent-purple);
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   User Cards (History, Profile, Deposit & Auth Pages)
   ========================================================================== */
.user-card-panel {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.tabs-nav-row {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.tab-nav-btn {
    flex: 1;
    padding: 12px 0;
    min-height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.tab-nav-btn.active {
    background: rgba(179, 136, 255, 0.15);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

/* Forms & Inputs */
.form-group-store {
    margin-bottom: 16px;
    width: 100%;
}

.form-label-store {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-purple);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-input-store {
    width: 100%;
    min-height: 46px;
    background: #090d18;
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    outline: none;
    transition: border 0.25s ease;
}

.form-input-store:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 12px rgba(179, 136, 255, 0.2);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 0.9rem;
}

.input-with-icon input {
    padding-left: 42px;
}

/* Coupon & Discount Display Extensions */
.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 14px;
}

.price-label-text {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-original-striked {
    text-decoration: line-through;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 500;
}

.price-discounted-val {
    color: var(--accent-green);
    font-weight: 900;
    font-size: 1.1rem;
    text-shadow: 0 2px 8px rgba(0, 230, 118, 0.3);
}

.price-normal-val {
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
}

.coupon-badge-tag {
    background: rgba(0, 230, 118, 0.14);
    color: var(--accent-green);
    border: 1px solid rgba(0, 230, 118, 0.35);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 12px;
}

.coupon-active-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 230, 118, 0.08);
    border: 1px dashed rgba(0, 230, 118, 0.4);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    width: 100%;
}

.coupon-active-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #fff;
}

.btn-coupon-remove {
    background: rgba(255, 107, 139, 0.15);
    color: #ff6b8b;
    border: 1px solid rgba(255, 107, 139, 0.3);
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 8px;
    padding: 5px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-coupon-remove:hover {
    background: rgba(255, 107, 139, 0.25);
}

/* Automatic Deposit & QR Payment UI Extensions */
.amount-preset-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.btn-preset-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 10px 4px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.btn-preset-chip:hover, .btn-preset-chip.active {
    background: rgba(179, 136, 255, 0.18);
    border-color: var(--accent-purple);
    color: #fff;
}

.qr-display-card {
    background: rgba(10, 14, 26, 0.96);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.qr-image-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 16px auto;
    border-radius: var(--radius-md);
    padding: 10px;
    background: #fff;
    box-shadow: 0 0 30px rgba(179, 136, 255, 0.3);
    overflow: hidden;
}

.qr-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.qr-scan-laser {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), var(--accent-cyan), transparent);
    box-shadow: 0 0 15px var(--accent-purple);
    animation: scanAnim 2.5s ease-in-out infinite alternate;
}

@keyframes scanAnim {
    0% { top: 5%; }
    100% { top: 92%; }
}

.qr-meta-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 18px;
    text-align: left;
}

.qr-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 6px 0;
}

.qr-meta-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.qr-copy-pill {
    background: rgba(179, 136, 255, 0.12);
    color: var(--accent-purple);
    border: 1px solid rgba(179, 136, 255, 0.3);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.poller-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: var(--accent-green);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.poller-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulseDot 1.2s infinite;
}

@keyframes pulseDot {
    0% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.3; transform: scale(0.8); }
}

/* ==========================================================================
   Get FF Like Feature Styling (index.php)
   ========================================================================== */
.get-ff-like-nav-link {
    color: #ff4757 !important;
    font-weight: 800 !important;
    background: rgba(255, 71, 87, 0.12) !important;
    border: 1px solid rgba(255, 71, 87, 0.3) !important;
    transition: all 0.25s ease !important;
}

.get-ff-like-nav-link:hover {
    background: linear-gradient(135deg, #ff4757, #ff6b81) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    transform: translateY(-1px);
}

.get-ff-like-tab {
    color: #ff4757 !important;
}

.get-ff-like-tab i {
    animation: heartbeatPulse 1.8s infinite;
}

@keyframes heartbeatPulse {
    0% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

.ff-like-promo-banner {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.15) 0%, rgba(179, 136, 255, 0.12) 100%);
    border: 1px solid rgba(255, 71, 87, 0.35);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.18);
    position: relative;
    overflow: hidden;
}

.ff-like-promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 71, 87, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.ff-like-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.ff-like-promo-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ff-like-promo-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.4;
}

.btn-ff-like-action {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(255, 71, 87, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    white-space: nowrap;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.btn-ff-like-action:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 25px rgba(255, 71, 87, 0.65);
}

.floating-btn-fflike {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 12px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 18px rgba(255, 71, 87, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform .2s, box-shadow .2s;
}

.floating-btn-fflike:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 22px rgba(255, 71, 87, 0.6);
}

@media (max-width: 640px) {
    .ff-like-promo-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .btn-ff-like-action {
        width: 100%;
        justify-content: center;
    }
}

