/* Ultra-Premium & Elegant Styling for Minecraft Plugin Bundles Page */

/* Base container styling with a deep dark gradient and space-like ambient glow */
.bundles-container {
    position: relative;
    background: linear-gradient(135deg, #090a12 0%, #0d0f1b 50%, #06070c 100%) !important;
    color: #f8fafc !important;
    transition: all 0.3s ease;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Glow Orbs for ambient mesh gradient effect */
.bundles-container .glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
    animation: pulseGlow 10s infinite alternate ease-in-out;
}

.bundles-container .glow-orb-1 {
    width: 500px;
    height: 500px;
    background: #3b82f6; /* Blue */
    top: -150px;
    left: -100px;
}

.bundles-container .glow-orb-2 {
    width: 600px;
    height: 600px;
    background: #10b981; /* Emerald */
    bottom: -150px;
    right: -100px;
    animation-delay: -3s;
}

.bundles-container .glow-orb-3 {
    width: 400px;
    height: 400px;
    background: #a855f7; /* Purple for premium look */
    top: 30%;
    left: 45%;
    animation-delay: -6s;
}

@keyframes pulseGlow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }
    100% {
        transform: translate(30px, -20px) scale(1.15);
        opacity: 0.16;
    }
}

/* Headers & General Text inside the dark container */
.bundles-container h1 {
    background: linear-gradient(135deg, #60a5fa 0%, #34d399 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.75px;
    margin-bottom: 8px;
    display: inline-block;
    font-size: 2.5rem;
}

.bundles-container h2 {
    color: #94a3b8 !important;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.bundles-container hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
    opacity: 1 !important;
}

.bundles-container p, 
.bundles-container .text-muted {
    color: #94a3b8 !important;
}

/* Inset Premium Glassmorphism Cards */
.bundles-container .card {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease, 
                background-color 0.4s ease !important;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
    padding: 10px;
}

.bundles-container .card:hover {
    transform: translateY(-8px) scale(1.02);
    background-color: rgba(21, 32, 57, 0.6) !important;
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.12), 
                0 0 30px rgba(52, 211, 153, 0.1),
                0 0 1px rgba(96, 165, 250, 0.5) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

/* Inset Thumbnail Design */
.bundles-container .card a img.card-img-top {
    border-radius: 14px !important;
    margin-top: 10px !important;
    width: calc(100% - 20px) !important;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bundles-container .card:hover a img.card-img-top {
    transform: scale(1.03);
}

/* Badge Enhancements */
.bundles-container .badge {
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    border-radius: 8px !important;
    text-transform: uppercase;
}

.bundles-container .badge.bg-danger {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bundles-container .badge.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card body, titles & texts */
.bundles-container .card-body {
    padding: 24px 16px 16px !important;
}

.bundles-container .card-title {
    color: #f8fafc !important;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.bundles-container .card-title:hover {
    color: #60a5fa !important;
}

.bundles-container .card-text {
    color: #cbd5e1 !important;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Premium pricing area with gold accents */
.bundles-container .card-body h5.card-text {
    color: #fbbf24 !important; /* Premium Gold color */
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.2);
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bundles-container .card-body h5.card-text s {
    color: #64748b !important;
    font-size: 0.95rem;
    font-weight: 400;
    margin-left: 6px;
    text-decoration: line-through;
}

/* Purchase Button - Emerald/Green Premium CTA with Hover Shimmer & Glow */
.bundles-container .card-body .btn-success {
    position: relative;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    overflow: hidden;
}

.bundles-container .card-body .btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5) !important;
    filter: brightness(1.1);
}

/* Shine effect sweep on hover */
.bundles-container .card-body .btn-success::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 25%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.8s ease;
}

.bundles-container .card-body .btn-success:hover::after {
    left: 125%;
}

.bundles-container .card-body .btn-success:active {
    transform: translateY(-1px);
}

/* Pagination Styling overrides */
.bundles-container .pagination .page-link {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 3px;
}

.bundles-container .pagination .page-link:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.bundles-container .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    border-color: #3b82f6 !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4) !important;
}
