@import '/css/commons.css';
@import '/css/nav.css';
@import '/css/footer.css';
@import '/css/spinner.css';

.menu {
    background-color: #000;
    width: 100%;
    padding-inline: 30px;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 85vh;
    background: url('/images/cine.jpg');
    background-size: cover;
    background-position: center;
}

.main h1 {
    text-align: center;
    margin-top: 0;
}

.main {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    backdrop-filter: blur(15px);
	padding: 30px;
    margin-block: 20px;
}

.plans-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.plan-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 12px;
    padding: 25px;
    width: calc(25% - 20px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.plan-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #38bdf8;
    text-align: center;
}

.plan-price {
    font-size: 32px;
    font-weight: bold;
    margin: 15px 0;
    color: #38bdf8;
}

.plan-price span {
    font-size: 16px;
    color: #94a3b8;
}

.plan-features {
    margin: 20px 0;
}

.plan-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 15px;
}
/*
.ads-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ef4444;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.no-ads-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #10b981;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}
*/
.plan-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: #10b981;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 15px;
    min-width: 150px;
}

.needed-plan:hover {
    background-color: #3b82f6;
}

.actual-plan {
	background-color: #2563eb;
}

.actual-plan:hover {
    background-color: #ef4444;
}

.free-button {
    position: relative;
    top: 30px;
}

.free-button:hover {
    background-color: #2563eb;
}

/* Botón para planes no disponibles */
.plan-button.disabled-plan {
    background-color: #64748b !important;
    cursor: auto;
    opacity: 0.7;
}

@media (max-width: 600px) {
    section {
        height: auto;
    }

    .plans-container {
        width: 100%;
        margin-block: 20px;
        flex-direction: column;
        align-items: center;
    }

    .plan-card {
        width: 90% !important;
    }

    .free-button {
        position: relative;
        top: -10px;
    }

    .menu {
        padding-inline: 0;
    }
}

@media (max-width: 991px) {
    .plan-card {
        width: calc(50% - 20px);
    }
}