/* =========================
   PACKAGES SECTION
========================= */

.packages-section {
    position: relative;
    padding: 80px 0;
    background: #0f172a;
    color: #ffffff;
    overflow: hidden;
}

.packages-overlay {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.2;
    z-index: 1;
}

.packages-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1444px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================
   HEADER
========================= */

.packages-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.packages-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.packages-header p {
    color: #94a3b8;
    font-size: 16px;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.view-all-btn:hover {
    color: #ffffff;
}

.view-all-btn i {
    width: 20px;
    height: 20px;
}

/* =========================
   GRID
========================= */

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* =========================
   CARD
========================= */

.package-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 28px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 0.9);
    transform: translateY(-4px);
}

.package-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

/* =========================
   PRICE
========================= */

.price-box {
    display: flex;
    align-items: baseline;
    margin-bottom: 24px;
}

.price {
    font-size: 52px;
    font-weight: 800;
    color: #60a5fa;
    line-height: 1;
}

.featured-price {
    color: #ffffff;
}

.game-price {
    color: #3b82f6;
}

.duration {
    margin-left: 6px;
    font-size: 14px;
    color: #94a3b8;
}

.featured-duration {
    color: #cbd5e1;
}

/* =========================
   FEATURES
========================= */

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #cbd5e1;
    font-size: 16px;
}

.feature-list i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Icon Colors */

.feature-list li:nth-child(1) i {
    color: #3b82f6;
}

.feature-list li:nth-child(2) i {
    color: #22c55e;
}

.feature-list li:nth-child(3) i {
    color: #3b82f6;
}

.featured-features li {
    color: #e2e8f0;
}

/* =========================
   BUTTONS
========================= */

.select-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 14px;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s ease;
}

.select-btn:hover {
    background: #1d4ed8;
}

.featured-btn {
    background: #ffffff;
    color: #0f172a;
}

.featured-btn:hover {
    background: #f1f5f9;
}

.dark-btn {
    background: #334155;
}

.dark-btn:hover {
    background: #2563eb;
}

/* =========================
   FEATURED CARD
========================= */

.featured-card {
    background: linear-gradient(to bottom, #1e3a8a, #1e293b);
    border: 1px solid #3b82f6;
    transform: translateY(-16px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.best-value-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 0 24px 0 14px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        transform: translateY(0);
    }

    .packages-header {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {

    .packages-section {
        padding: 60px 0;
    }

    .packages-container {
        padding: 0 18px;
    }

    .packages-header h2 {
        font-size: 34px;
    }

    .package-card {
        padding: 26px;
    }

    .price {
        font-size: 42px;
    }
}