.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Vibrant Hover Effects */
.pricing-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(139, 92, 246, 0.2);
}

/* Shiny Border Animation */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pricing-card:hover::before {
    opacity: 1;
    background: linear-gradient(45deg, #f472b6, #a78bfa, #22d3ee);
    /* Pink, Purple, Cyan */
}

/* Featured Card - Gold Theme */
.pricing-card.featured {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(251, 191, 36, 0.1);
    transform: scale(1.05);
    z-index: 2;
    padding-top: 3.5rem;
    /* Extra padding for featured card badges */
}

.pricing-card.featured:hover {
    border-color: rgba(251, 191, 36, 0.8);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(251, 191, 36, 0.3);
    transform: scale(1.05) translateY(-10px);
}

/* Badges */
.pricing-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(45deg, #ec4899, #8b5cf6);
    /* Pink to Purple */
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
    z-index: 10;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.pricing-badge.best {
    background: linear-gradient(45deg, #f59e0b, #fbbf24, #fcd34d);
    /* Gold Gradient */
    color: #000;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

/* Offer Badge - Adjusted Position */
.offer-badge {
    position: absolute;
    top: 15px;
    /* Moved up slightly */
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ef4444, #f97316);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    z-index: 10;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-anim {
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
        transform: translateX(-50%) scale(1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
        transform: translateX(-50%) scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
        transform: translateX(-50%) scale(1);
    }
}

/* Gradient Text Headers */
.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.pricing-card.featured .pricing-header h3 {
    background: linear-gradient(to right, #fbbf24, #fcd34d, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Custom Price Text */
.custom-price-text {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 1.5rem 0;
    background: linear-gradient(to right, #22d3ee, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.3));
    letter-spacing: -0.5px;
}

.pricing-card.featured .custom-price-text {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.4));
    font-size: 1.5rem;
}

/* Features List */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: right;
}

.pricing-features li {
    margin-bottom: 12px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.pricing-features li:hover {
    transform: translateX(-5px);
}

/* Neon Icons */
.pricing-features li i {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
    padding: 5px;
    border-radius: 50%;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.pricing-card.featured .pricing-features li i {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

/* Colorful Feature Text */
.feat-channels {
    color: #38bdf8;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.feat-movies {
    color: #f472b6;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(244, 114, 182, 0.3);
}

.feat-series {
    color: #a78bfa;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.3);
}

.feat-quality {
    color: #fbbf24;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

/* Gold */

/* Button Enhancements */
.btn-block {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card .btn-primary {
    background: linear-gradient(90deg, #fbbf24, #d97706);
    color: #fff;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
    border: none;
}

.pricing-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.5);
}

.pricing-card .btn-outline {
    background: transparent;
    border: 2px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
}

.pricing-card .btn-outline:hover {
    border-color: #22d3ee;
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.05);
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Holographic Text Utility */
.holographic-text {
    background: linear-gradient(to right, #ffffff, #a5b4fc, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(165, 180, 252, 0.4);
}

.text-glow {
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
        order: -1;
        /* Make featured first on mobile/tablet */
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        /* Add padding to prevent edge touching */
    }

    .pricing-card {
        padding: 2rem 1.5rem;
        /* Reduce padding slightly for mobile */
    }
}