/* ============================================
   PREMIUM CONTENT PLATFORM - Main Stylesheet
   Netflix + YouTube + Instagram + TikTok Style
   FU
LLY RESPONSIVE
   V6 FIXED: Image display, price visibility, clean cards
   ============================================ */

:root {
    --primary: #e50914;
    --primary-dark: #b0060f;
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent-blue: #0088cc;
    --accent-green: #00c853;
    --accent-gold: #ffd700;
    --gradient-primary: linear-gradient(135deg, #e50914, #ff6b08);
    --gradient-dark: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.95));
    --shadow-glow: 0 0 30px rgba(229, 9, 20, 0.3);
    --navbar-height: 70px;
}

* { box-sizing: border-box; }

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(229,9,20,0.15) 0%, transparent 70%);
}

.min-vh-50 { min-height: 50vh; }

@media (max-width: 768px) {
    .hero-section { min-height: 50vh; }
    .hero-section .display-3 { font-size: 1.8rem !important; }
    .hero-section .fs-5 { font-size: 0.95rem !important; }
    .hero-section .fs-3 { font-size: 1.3rem !important; }
    .min-vh-50 { min-height: 40vh; }
}

@media (max-width: 576px) {
    .hero-section { min-height: 45vh; }
    .hero-section .display-3 { font-size: 1.5rem !important; }
}

/* ============================================
   CONTENT CARDS - Netflix/TikTok Style
   V6 FIX: Proper image display, no red background
   ============================================ */
.content-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
}

.content-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(229,9,20,0.15);
    border-color: rgba(229,9,20,0.3);
    z-index: 10;
}

.content-card .card-thumbnail {
    position: relative;
    padding-top: 150%;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.content-card .card-thumbnail img,
.content-card .card-thumbnail video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    z-index: 1;
    display: block;
}

.content-card .card-thumbnail img {
    object-fit: contain;
    background: transparent;
    color: transparent;
}

.content-card .card-thumbnail video {
    object-fit: cover;
    background: transparent;
}

.content-card .card-thumbnail img:-moz-broken {
    display: none !important;
}

.content-card .card-thumbnail img::before {
    content: '';
    display: block;
}

.content-card .card-thumbnail .no-image-placeholder {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    z-index: 0;
}

.content-card:hover .card-thumbnail img,
.content-card:hover .card-thumbnail video {
    transform: scale(1.08);
}

.content-card .card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 12px 12px;
    background: var(--gradient-dark);
    z-index: 3;
}

/* ============================================
   PRICE BADGE - V6 FIX: Much more visible
   ============================================ */
.content-card .card-price {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(0, 0, 0, 0.85);
    color: #00ff88;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 5;
    border: 1px solid rgba(0,255,136,0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.content-card .card-price .original-price {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 0.75rem;
    color: #ff6b6b;
    font-weight: 600;
}

.content-card .card-price .discounted-price {
    color: #00ff88;
    font-weight: 800;
    font-size: 0.95rem;
}

.content-card .card-price .current-price {
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.content-card .card-badge {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 5;
}

.content-card .card-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.content-card .btn-watch {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 7px 12px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.content-card .btn-watch:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-glow);
    color: white;
}

@media (max-width: 576px) {
    .content-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    .content-card .card-overlay {
        padding: 12px 8px 8px;
    }
    .content-card .card-overlay h6 {
        font-size: 0.8rem;
    }
    .content-card .btn-watch {
        padding: 5px 8px;
        font-size: 0.7rem;
    }
    .content-card .card-price {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    .content-card .card-price .discounted-price,
    .content-card .card-price .current-price {
        font-size: 0.8rem;
    }
    .content-card .card-price .original-price {
        font-size: 0.65rem;
    }
}

/* ============================================
   HORIZONTAL SCROLL ROW (Netflix Style)
   ============================================ */
.content-row {
    position: relative;
    padding: 0 4%;
}

.content-row .row-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-row .row-title .icon {
    color: var(--primary);
}

.scroll-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0 20px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.scroll-container::-webkit-scrollbar { display: none; }

.scroll-container .content-card {
    min-width: 190px;
    max-width: 190px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

@media (max-width: 992px) {
    .scroll-container .content-card {
        min-width: 170px;
        max-width: 170px;
    }
}

@media (max-width: 768px) {
    .content-row { padding: 0 3%; }
    .content-row .row-title { font-size: 1.1rem; }
    .scroll-container .content-card {
        min-width: 150px;
        max-width: 150px;
    }
    .scroll-container { gap: 10px; }
}

@media (max-width: 576px) {
    .content-row { padding: 0 2%; }
    .scroll-container .content-card {
        min-width: 135px;
        max-width: 135px;
    }
    .scroll-container { gap: 8px; }
}

/* Scroll Arrows */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 45px;
    height: 90px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.content-row:hover .scroll-arrow { opacity: 1; }
.scroll-arrow.left { left: 0; background: linear-gradient(90deg, rgba(0,0,0,0.8), transparent); border-radius: 0 8px 8px 0; }
.scroll-arrow.right { right: 0; background: linear-gradient(-90deg, rgba(0,0,0,0.8), transparent); border-radius: 8px 0 0 8px; }

@media (max-width: 768px) {
    .scroll-arrow { display: none !important; }
}

/* ============================================
   REELS / TIKTOK GRID STYLE
   ============================================ */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 15px;
    padding: 15px;
}

@media (max-width: 768px) {
    .reels-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px;
    }
}

@media (max-width: 360px) {
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 6px;
    }
}

/* ============================================
   CONTENT WATCH PAGE
   ============================================ */
.watch-container {
    display: flex;
    gap: 25px;
    padding: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.watch-video {
    flex: 1;
    min-width: 0;
}

.watch-sidebar {
    width: 380px;
    flex-shrink: 0;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

@media (max-width: 1200px) {
    .watch-sidebar { width: 340px; }
}

@media (max-width: 991px) {
    .watch-container {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }
    .watch-video, .watch-sidebar {
        width: 100%;
    }
    .watch-sidebar {
        max-height: none;
    }
}

.video-player-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    aspect-ratio: 16 / 9;
    max-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player-wrapper video,
.video-player-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    object-fit: contain;
    background: #000;
}

@media (max-width: 991px) {
    .video-player-wrapper {
        max-height: 380px;
    }
}

@media (max-width: 576px) {
    .video-player-wrapper {
        max-height: 260px;
        aspect-ratio: 16 / 9;
    }
}

/* ============================================
   PAYMENT SECTION
   ============================================ */
.payment-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s;
}

.payment-card:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
}

.payment-method-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
    color: white;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
    text-align: left;
}

.payment-method-btn:hover,
.payment-method-btn.active {
    border-color: var(--primary);
    background: rgba(229,9,20,0.1);
    box-shadow: 0 0 20px rgba(229,9,20,0.15);
}

.payment-method-btn .icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .payment-card { padding: 15px; }
    .payment-method-btn { padding: 10px 12px; gap: 10px; }
    .payment-method-btn .icon { width: 38px; height: 38px; }
}

/* ============================================
   DELIVERY SUCCESS
   ============================================ */
.delivery-success {
    background: linear-gradient(135deg, rgba(0,200,83,0.1), rgba(0,200,83,0.02));
    border: 2px solid rgba(0,200,83,0.3);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0,200,83,0.1); }
    50% { box-shadow: 0 0 40px rgba(0,200,83,0.2); }
}

.delivery-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-green);
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 15px;
}

.delivery-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,200,83,0.3);
    color: white;
}

/* ============================================
   ADMIN DASHBOARD
   ============================================ */
.admin-sidebar {
    position: fixed;
    left: 0;
    top: var(--navbar-height);
    bottom: 0;
    width: 250px;
    background: #111;
    border-right: 1px solid rgba(255,255,255,0.05);
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s ease;
}

.admin-sidebar .nav-link {
    color: #aaa;
    padding: 11px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    margin: 2px 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background: rgba(229,9,20,0.15);
}

.admin-sidebar .nav-link.active {
    border-left: 3px solid var(--primary);
}

.admin-content {
    margin-left: 250px;
    padding: 20px;
    min-height: calc(100vh - var(--navbar-height));
}

@media (max-width: 991px) {
    .admin-sidebar {
        transform: translateX(-100%);
        width: 260px;
        z-index: 1050;
    }
    .admin-sidebar.show {
        transform: translateX(0);
        box-shadow: 5px 0 30px rgba(0,0,0,0.5);
    }
    .admin-content {
        margin-left: 0;
        padding: 15px;
    }
}

/* Admin sidebar overlay for mobile */
.admin-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1049;
}
.admin-sidebar-overlay.show { display: block; }

.stat-card {
    background: linear-gradient(135deg, var(--bg-card), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-card .stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 8px 0 4px;
}

@media (max-width: 576px) {
    .stat-card { padding: 14px; border-radius: 12px; }
    .stat-card .stat-icon { width: 42px; height: 42px; font-size: 1.1rem; }
    .stat-card .stat-value { font-size: 1.2rem; }
    .stat-card .text-muted.small { font-size: 0.7rem; }
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.custom-toast {
    position: fixed;
    top: 80px;
    right: 15px;
    z-index: 9999;
    min-width: 280px;
    max-width: calc(100vw - 30px);
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-premium {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(229,9,20,0.2);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
    background: rgba(255,255,255,0.03);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
}

@media (max-width: 576px) {
    .glass-card { border-radius: 12px; }
}

.glow-text {
    text-shadow: 0 0 20px rgba(229,9,20,0.5);
}

.badge-premium {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   CRYPTO ADDRESS
   ============================================ */
.crypto-address {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    word-break: break-all;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.copy-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    flex-shrink: 0;
}

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

@media (max-width: 576px) {
    .crypto-address {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        font-size: 0.7rem;
    }
    .copy-btn { text-align: center; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    animation: fadeIn 0.5s ease;
}

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

.pulse {
    animation: pulse 2s infinite;
}

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

/* ============================================
   RESPONSIVE TABLES
   ============================================ */
.table-responsive {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .table { font-size: 0.8rem; }
    .table th, .table td { padding: 0.5rem 0.4rem; white-space: nowrap; }
}

/* ============================================
   RESPONSIVE NAVBAR FIXES
   ============================================ */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0,0,0,0.98);
        padding: 15px;
        border-radius: 0 0 12px 12px;
        margin-top: 10px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .navbar .input-group {
        max-width: 100% !important;
    }
}

/* ============================================
   TELEGRAM FLOAT BUTTON
   ============================================ */
@media (max-width: 576px) {
    .telegram-float-btn {
        width: 48px !important;
        height: 48px !important;
        bottom: 15px !important;
        right: 15px !important;
    }
}

/* ============================================
   AUTH PAGES RESPONSIVE
   ============================================ */
@media (max-width: 576px) {
    .container .glass-card.p-4.p-md-5 {
        margin-left: -5px;
        margin-right: -5px;
    }
}

/* ============================================
   QUICK STATS BAR
   ============================================ */
@media (max-width: 768px) {
    .quick-stats-bar .text-center {
        font-size: 0.8rem;
    }
}

/* ============================================
   UTILITY
   ============================================ */
.cursor-pointer { cursor: pointer; }
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* Fix for Bootstrap dark theme inputs */
.form-control:focus, .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(229,9,20,0.25) !important;
}

/* ============================================
   PROOF IMAGE UPLOAD AREA
   ============================================ */
#proof-preview-container img {
    max-height: 150px;
    max-width: 100%;
    border: 2px solid var(--accent-green);
    border-radius: 8px;
}

/* Crypto address text break */
.crypto-address span.text-break {
    word-break: break-all;
    font-size: 0.75rem;
}

/* Gift card purchase link hover */
.gift-card-buy-link {
    transition: all 0.3s ease !important;
}

.gift-card-buy-link:hover {
    background: rgba(255,215,0,0.2) !important;
    border-color: rgba(255,215,0,0.5) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,215,0,0.15);
}

/* Back Button on Watch Page */
.back-btn-watch {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.back-btn-watch:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateX(-3px);
}

/* Watch page video player improvements */
.video-player-wrapper img {
    object-fit: contain;
    max-height: 100%;
}

/* Admin thumbnail in table */
.admin-content .table img[onerror] {
    background: #333;
    min-height: 50px;
}

/* ============================================
   PWA INSTALL BANNER - V7
   ============================================ */
#pwa-install-banner {
    position: sticky;
    top: var(--navbar-height);
    z-index: 900;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

/* ============================================
   CONTENT ROWS - V7 Improved
   ============================================ */
.content-row {
    padding: 0 0 20px;
}

.row-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.row-title .icon {
    color: var(--primary);
    font-size: 1.1rem;
}

.scroll-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 12px 16px 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar { display: none; }

.scroll-container .content-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
}

@media (max-width: 576px) {
    .scroll-container .content-card { flex: 0 0 150px; }
    .row-title { font-size: 1.1rem; }
}

@media (min-width: 1200px) {
    .scroll-container .content-card { flex: 0 0 200px; }
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.scroll-arrow:hover { background: var(--primary); border-color: var(--primary); }
.scroll-arrow.left  { left: 4px; }
.scroll-arrow.right { right: 4px; }

@media (max-width: 576px) {
    .scroll-arrow { display: none; }
}

/* Best Sellers rank badges on cards */
.card-rank-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a1a;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 5;
    letter-spacing: 0.5px;
}


/* ============================================
   NOWPAYMENTS CURRENCY BUTTONS - V8
   ============================================ */
.np-currency-btn {
    transition: all 0.2s ease;
    cursor: pointer;
}
.np-currency-btn:hover {
    background: rgba(0,200,83,0.1) !important;
    border-color: rgba(0,200,83,0.4) !important;
    transform: translateY(-2px);
}
.np-currency-btn:active {
    transform: scale(0.97);
}

.payment-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px;
}

.payment-method-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    color: white;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s;
}
.payment-method-btn:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(229,9,20,0.4);
    transform: translateX(3px);
}
.payment-method-btn.active {
    background: rgba(229,9,20,0.1);
    border-color: rgba(229,9,20,0.5);
}
.payment-method-btn .icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.delivery-success {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0,200,83,0.05);
    border: 1px solid rgba(0,200,83,0.2);
    border-radius: 16px;
}

.video-player-wrapper {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.video-player-wrapper video {
    width: 100%;
    display: block;
    max-height: 70vh;
}

/* ============================================
   FIX: Active Nav Link Styling
   ============================================ */
.nav-link.nav-active {
    color: #e50914 !important;
    font-weight: 600;
    position: relative;
}
.nav-link.nav-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: #e50914;
    border-radius: 2px;
}

/* ============================================
   FIX: Welcome Banner Animation
   ============================================ */
#welcomeBanner {
    animation: slideDown 0.5s ease-out;
}
@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}