/* MINECRAFT PAGE SPECIFIC STYLES */
.minecraft-hero::before {
    background-image: url('minecraft-back.webp') !important;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

/* -------------------------------------
   PROFESSIONAL LIST LAYOUT
------------------------------------- */
.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
}

.plan-row {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    /* Name - Specs - Action */
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 30px;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.plan-row:hover {
    transform: scale(1.01);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Plan Identity (Left) */
.plan-id {
    display: flex;
    align-items: center;
    gap: 15px;
}

.plan-id img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.plan-id h3 {
    font-family: 'Russo One';
    font-size: 1.2rem;
    margin: 0;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Plan Specs (Middle) */
.plan-specs {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
}

.spec-item svg {
    color: var(--accent);
    width: 16px;
    height: 16px;
}

.spec-item strong {
    color: #fff;
    font-weight: 600;
}

/* Plan Action (Right) */
.plan-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.plan-price {
    font-family: 'Russo One';
    font-size: 1.4rem;
    color: #fff;
}

.plan-btn {
    text-decoration: none;
    font-family: 'Russo One';
    font-size: 0.9rem;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 30px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(177, 18, 122, 0.3);
}

.plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(177, 18, 122, 0.5);
}

/* Popular Badge (Row Version) */
.popular-tag {
    background: linear-gradient(135deg, #FFC107, #FF9800);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: 10px;
}

/* Toggle Switch */
.toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.toggle-label {
    font-family: 'Russo One';
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-label.active {
    color: var(--accent);
}

.toggle-switch {
    width: 60px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-dot {
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 3px;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.toggle-switch.premium .toggle-dot {
    left: 31px;
    background: var(--accent);
}

.pricing-section-container {
    display: none;
}

.pricing-section-container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE: Stack on Mobile */
/* Light Mode Adjustments for Plans */
body.light .plan-row {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light .plan-row:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);
}

body.light .plan-id h3 {
    color: inherit;
}

body.light .spec-item {
    background: rgba(0, 0, 0, 0.04);
    color: #333;
}

body.light .spec-item strong {
    color: #000;
}

body.light .plan-price {
    color: #000;
}

/* Popular Gold Plan Effect */
.plan-row.popular {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.15);
}

.plan-row.popular:hover {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.2);
}

body.light .plan-row.popular {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.25);
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.12);
}

body.light .plan-row.popular:hover {
    border-color: rgba(251, 191, 36, 0.45);
    box-shadow: 0 10px 35px rgba(251, 191, 36, 0.18);
}

@media (max-width: 900px) {

    /* Fix Hero Alignment to prevent top cutoff */
    .minecraft-hero {
        align-items: flex-start;
        padding-top: 140px;
        /* Ensure clearance for fixed header */
        height: auto;
        /* Allow content to expand */
        min-height: 100vh;
    }

    /* MOBILE HERO SECTION */
    .minecraft-hero .hero-container {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 30px;
        padding: 20px;
        width: 100%;
        overflow-x: hidden;
    }

    .minecraft-hero .hero-text {
        order: 1;
    }

    .minecraft-hero .hero-server-img {
        display: none;
    }

    /* Badges - wrap and center */
    /* Badges - wrap and center */
    .minecraft-hero .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .minecraft-hero .badge-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .minecraft-hero .badge-v-divider {
        display: none;
    }

    .minecraft-hero .badge {
        font-size: 0.8rem;
        /* Reduced from 0.9rem to prevent wrap issues */
        padding: 6px 12px;
        /* Standard padding */
    }

    /* Title - larger on mobile to match index */
    .minecraft-hero h1 {
        font-size: 2.2rem;
        /* Reduced from 2.4rem for safety */
        line-height: 1.1;
        margin-left: 0;
        margin-right: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
    }

    .minecraft-hero p {
        font-size: 1.3rem;
        /* Increased from 1.1rem */
        margin-left: 0;
        margin-right: 0;
    }

    /* Features list - centered */
    .minecraft-hero .hero-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-left: 0;
    }

    .minecraft-hero .hero-features li {
        font-size: 1rem;
        /* Increased from 0.85rem */
        justify-content: center;
    }

    /* CTA button - centered */
    .minecraft-hero .hero-cta {
        justify-content: center;
    }

    /* Larger Order Now Button on Mobile */
    .plan-btn {
        padding: 14px 32px;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        max-width: 300px;
    }

    /* PLAN ROWS */
    .plan-row {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }

    .plan-id {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .plan-specs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .plan-action {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .pricing-list {
        width: 100%;
        padding: 0 15px;
    }
}