/* GAMING NP - Main Styles */
/* Premium Gaming Theme with Black, White, Red */

/* General Styles */
body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #F5F5F5;
    background: linear-gradient(180deg, #0A0A0A 0%, #1A1A1A 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.6rem;
    color: #FFFFFF !important;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
}

/* ========================================
   PREMIUM GAMING CATEGORY CARDS
   Free Fire Style - Image on top, name below
   ======================================== */

.category-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    background: linear-gradient(145deg, #1A1A1A 0%, #0A0A0A 100%) !important;
    border: 2px solid #2A2A2A !important;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(220, 20, 60, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 15px 60px rgba(220, 20, 60, 0.5) !important;
    border-color: #DC143C !important;
}

.category-card:hover::before {
    opacity: 1;
}

/* Category Image Container */
.category-card .card-img-top,
.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(145deg, #2A2A2A 0%, #1A1A1A 100%);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 2;
}

.category-card:hover .card-img-top,
.category-card:hover img {
    transform: scale(1.08);
}

/* Category Icon (for categories without images) */
.category-icon {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #FF1744 !important;
    background: linear-gradient(145deg, #2A2A2A 0%, #1A1A1A 100%) !important;
    text-shadow: 0 0 30px rgba(255, 23, 68, 0.6);
    border-radius: 16px 16px 0 0;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    color: #DC143C !important;
    text-shadow: 0 0 40px rgba(220, 20, 60, 0.8);
}

/* Category Card Body */
.category-card .card-body {
    padding: 1.2rem 1rem !important;
    background: linear-gradient(180deg, #0A0A0A 0%, #1A1A1A 100%) !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 0 16px 16px;
    position: relative;
    z-index: 2;
}

/* Category Title - Premium Style */
.category-card .card-title,
.category-card h5,
.category-card .category-name {
    color: #FFFFFF !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem !important;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(220, 20, 60, 0.3);
    transition: all 0.3s ease;
}

.category-card:hover .card-title,
.category-card:hover h5,
.category-card:hover .category-name {
    color: #FF1744 !important;
    text-shadow: 0 0 20px rgba(255, 23, 68, 0.6);
    transform: translateY(-2px);
}

/* Category Description */
.category-card .card-text,
.category-card .category-description {
    color: #B0B0B0 !important;
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* Category Item Count Badge - Gaming Red */
.category-card .badge,
.category-card .item-count,
.category-card span[class*="badge"],
.category-card small {
    background: linear-gradient(135deg, #DC143C, #FF1744) !important;
    color: #FFFFFF !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.4) !important;
    border: none !important;
}

.category-card:hover .badge,
.category-card:hover .item-count {
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.6) !important;
}

/* ======================================== */

/* Product Cards - Gaming Style */
.product-card {
    background: linear-gradient(145deg, #1A1A1A 0%, #0A0A0A 100%);
    border: 2px solid #2A2A2A;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #DC143C, #FF1744);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(220, 20, 60, 0.4);
    border-color: #DC143C;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card img {
    transition: transform 0.4s ease;
}

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

.product-card .card-title {
    color: #FFFFFF !important;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
}

.product-card:hover .card-title {
    color: #FF1744 !important;
}

.product-price {
    color: #00E676 !important;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 230, 118, 0.4);
}

/* Admin Sidebar - Gaming Style */
.admin-sidebar {
    background: linear-gradient(180deg, #0A0A0A 0%, #1A1A1A 100%);
    border-right: 3px solid #DC143C;
    min-height: calc(100vh - 56px);
    color: #FFFFFF;
    box-shadow: 5px 0 20px rgba(220, 20, 60, 0.2);
}

.admin-sidebar .nav-link {
    color: #B0B0B0 !important;
    padding: 0.9rem 1.2rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    margin: 0.3rem 0;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #FFFFFF !important;
    background: rgba(220, 20, 60, 0.1);
    border-left-color: #DC143C;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.2);
}

.admin-sidebar .nav-link i {
    margin-right: 0.7rem;
    color: #FF1744;
    font-size: 1.1rem;
}

/* Stats Cards - Gaming Dashboard */
.stats-card,
.product-stats-card,
.category-stats-card,
.order-stats-card,
.user-stats-card {
    background: linear-gradient(145deg, #1A1A1A 0%, #0A0A0A 100%);
    border: 2px solid #2A2A2A;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-card::before,
.product-stats-card::before,
.category-stats-card::before,
.order-stats-card::before,
.user-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #DC143C, #FF1744);
}

.stats-card:hover,
.product-stats-card:hover,
.category-stats-card:hover,
.order-stats-card:hover,
.user-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.3);
    border-color: #DC143C;
}

.stats-card h3,
.product-stats-card h3,
.category-stats-card h3,
.order-stats-card h3,
.user-stats-card h3 {
    color: #FFFFFF !important;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.4);
}

.stats-card p,
.product-stats-card p,
.category-stats-card p,
.order-stats-card p,
.user-stats-card p {
    color: #B0B0B0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Badges - Gaming Style */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.badge-warning,
.badge-yellow {
    background: linear-gradient(135deg, #DC143C, #FF1744) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.4) !important;
}

.badge-cancelled {
    background: linear-gradient(135deg, #DC143C, #B71C1C) !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.4);
}

.badge-pending {
    background: linear-gradient(135deg, #FFA726, #FF6F00) !important;
    box-shadow: 0 0 15px rgba(255, 167, 38, 0.4);
}

.badge-processing {
    background: linear-gradient(135deg, #42A5F5, #1976D2) !important;
    box-shadow: 0 0 15px rgba(66, 165, 245, 0.4);
}

.badge-completed {
    background: linear-gradient(135deg, #66BB6A, #388E3C) !important;
    box-shadow: 0 0 15px rgba(102, 187, 106, 0.4);
}

/* Hover Effects - Gaming Enhanced */
a {
    color: #FF1744;
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: #DC143C;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

.btn {
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.btn:active {
    transform: scale(0.95);
}

/* Responsive Gaming Adjustments */
@media (max-width: 768px) {

    .category-card .card-img-top,
    .category-card img,
    .category-icon {
        height: 150px;
    }

    .category-card .card-title,
    .category-card h5,
    .category-card .category-name {
        font-size: 1rem;
    }

    .category-icon {
        font-size: 3rem;
    }
}