/* DISCORD BOT PAGE SPECIFIC STYLES */
.discord-hero::before {
    background-image: url('sfondo-discord.webp') !important;
}

/* Discord page hero layout */
.discord-hero .hero-container {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
}

.discord-hero .hero-server-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Static image like Minecraft page */
.discord-hero .hero-server-img img {
    /* No animation - static image */
    max-width: 450px;
}

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

/* Badge Discord Style */
.badge-discord {
    color: #fff;
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.3);
}

.badge-discord svg {
    color: #5865f2;
}

body.light .badge-discord {
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.2);
    color: #333;
}

/* Popular Plan Row */
.plan-row.popular {
    background: rgba(244, 114, 182, 0.08);
    border-color: rgba(244, 114, 182, 0.3);
    box-shadow: 0 0 30px rgba(244, 114, 182, 0.1);
}

.plan-row.popular:hover {
    border-color: rgba(244, 114, 182, 0.5);
    box-shadow: 0 15px 40px rgba(244, 114, 182, 0.15);
}

/* Popular Badge Inline */
.plan-row .popular-tag {
    display: inline-block;
    background: linear-gradient(135deg, #f472b6, #ec4899);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

/* Light Mode Adjustments */
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-row.popular {
    background: rgba(244, 114, 182, 0.05);
    border-color: rgba(244, 114, 182, 0.2);
}

body.light .plan-row.popular:hover {
    border-color: rgba(244, 114, 182, 0.4);
}

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;
}

/* Responsive Discord Page */
@media (max-width: 1200px) {
    .discord-hero .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .discord-hero .hero-container {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 30px;
        padding: 20px;
        width: 100%;
        overflow-x: hidden;
    }

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

    .discord-hero .hero-text {
        order: 1;
        align-items: center;
    }

    /* Badges - wrap and center like Minecraft */
    .discord-hero {
        align-items: flex-start;
        padding-top: 140px;
        height: auto;
        min-height: 100vh;
    }

    .discord-hero .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

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

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

    .discord-hero .badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    /* Title - match Minecraft dimensions */
    .discord-hero h1 {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-left: 0;
        margin-right: 0;
        padding: 0 20px;
        word-wrap: break-word;
        /* Legacy */
        overflow-wrap: break-word;
        /* Modern */
        width: 100%;
    }

    .discord-hero p {
        font-size: 1.3rem;
        margin-left: 0;
        margin-right: 0;
        padding: 0 20px;
    }

    .discord-hero .hero-features {
        margin-left: 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .discord-hero .hero-features li {
        font-size: 1rem;
        justify-content: center;
    }

    .discord-hero .hero-cta {
        margin-left: 0;
        text-align: center;
        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 Row Mobile */
    .plan-row {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }

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

    .plan-id img {
        width: 56px;
        height: 56px;
    }

    .plan-id>div {
        text-align: center;
    }

    .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;
    }
}

@media (max-width: 480px) {
    .plan-specs {
        gap: 8px;
    }

    .spec-item {
        font-size: 0.85rem;
        padding: 5px 10px;
    }

    .plan-id img {
        width: 48px;
        height: 48px;
    }

    .plan-icon {
        width: 48px;
        height: 48px;
    }

    .plan-icon svg {
        width: 24px;
        height: 24px;
    }
}