/* Estilos Roferal Hosting */
body {
    min-height: 100vh;
    background: radial-gradient(ellipse at 60% 0%, #1a2340 0%, #0a1020 100%);
    color: #e6eaf3;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 96vw;
    max-width: 1250px;
    background: rgba(10, 16, 32, 0.98);
    border-radius: 18px;
    box-shadow: 0 4px 32px #0006;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 2.2rem 0.7rem 1.2rem;
    z-index: 100;
    border: 1.5px solid #232a3a;
}

.nav-logo.flex {
    display: flex;
    align-items: center;
    gap: 0.7em;
}

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.nav-list.flex {
    display: flex;
    gap: 2.2em;
}

.nav-list a {
    color: #fff;
    font-size: 1.1em;
    font-weight: 500;
    text-decoration: none;
    padding: 0.2em 0.7em;
    border-radius: 8px;
    transition: background 0.18s;
}

.nav-list a:hover {
    background: #232a3a;
}

.nav-btn.btn-login.flex {
    background: #181f33;
    color: #fff;
    border-radius: 10px;
    padding: 0.3em 1.1em;
    font-weight: 600;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 0.5em;
    text-decoration: none;
    border: none;
    transition: background 0.18s;
}

.nav-btn.btn-login.flex:hover {
    background: #232a3a;
}

.main {
    max-width: 1200px;
    margin: 120px auto 0 auto;
    background: rgba(10, 16, 32, 0.97);
    border-radius: 18px;
    box-shadow: 0 4px 32px #0006;
    padding: 2.5rem 2rem 2rem 2rem;
}

.header.header-text {
    text-align: center;
    margin-bottom: 1.5rem;
}

.header.header-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.header.header-text span {
    font-size: 1.35rem;
    color: #b3bed7;
    font-weight: 400;
}

.plans-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.plan-card {
    background: linear-gradient(135deg, #0e2233 80%, #1a2340 100%);
    border-radius: 18px;
    box-shadow: 0 2px 16px #0008;
    color: #fff;
    width: 370px;
    min-height: 570px;
    padding: 2.2rem 2rem 0 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: visible;
    border: 2.5px solid #162a3a;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.plan-card .plan-cube {
    color: white;
    /* El cubo ahora es la imagen flotante, no se usa .plan-cube */
}

/* No se usa .plan-cube para Redstone */
.plan-header-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 0.2rem;
}

.plan-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin-top: 0.5rem;
    margin-bottom: 0.1rem;
    flex: 1;
}

.plan-title.red {
    color: #ff2222;
}

.plan-price {
    font-size: 2.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.1em;
    margin-top: 0.1em;
    text-align: left;
    line-height: 1.1;
}

.plan-billing {
    color: #b3bed7;
    font-size: 1.08em;
    margin-bottom: 1.2em;
    font-weight: 500;
    margin-top: -0.5em;
}

.plan-features {
    width: 100%;
    margin: 0 0 1.2rem 0;
    padding: 0;
    color: #fff;
    font-size: 1.09rem;
    list-style: none;
}

.plan-features li {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.7em;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.plan-features li i {
    min-width: 22px;
    text-align: center;
    font-size: 1.18em;
}

/* Colores de iconos personalizados para cada plan */
.plan-card .plan-features li span:first-child i {
    color: #fbfaf9;
}

.plan-card.red .plan-features li span:first-child i {
    color: #ff321a;
}

.plan-features li.important i,
.plan-features li.important {
    color: #ff2222;
}

.plan-location {
    width: 100%;
    background: #12263a;
    border-radius: 8px;
    padding: 0.7em 1em;
    margin-bottom: 1.5em;
    color: #fff;
    font-size: 1.08em;
    display: flex;
    align-items: center;
    gap: 0.7em;
    border: 1.5px solid #1a2a3a;
    margin-top: 1em;
    font-weight: 500;
}

.plan-location i {
    font-size: 1.2em;
}

.plan-button {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 1.25rem 0 1.15rem 0;
    background: #fbfaf9;
    color: #181f33;
    border-radius: 0 0 18px 18px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.32em;
    text-align: center;
    border: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
    margin-left: -2rem;
    margin-right: -2rem;
    margin-bottom: -1.5rem;
    letter-spacing: -0.5px;
}

.plan-card .plan-button {
    background: #fbfaf9;
    color: #181f33;
}

.plan-card .plan-button:hover {
    background: #3b5cff;
    color: #fff;
}

.plan-card.red .plan-button {
    background: #ff321a;
    color: #fff;
}

.plan-card.red .plan-button:hover {
    background: #fff;
    color: #ff321a;
}

@media (max-width: 1100px) {
    .plans-container {
        flex-direction: column;
        align-items: center;
    }

    .nav {
        flex-direction: column;
        gap: 1em;
        padding: 1.2em 1em;
    }
}

@media (max-width: 600px) {
    .main {
        padding: 1rem 0.2rem;
    }

    .plan-card {
        width: 95vw;
        min-width: 0;
        padding: 1.2rem 0.5rem;
    }

    .nav {
        padding: 0.7em 0.5em;
    }
}

.discord-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.discord-float a {
    background: #23272a;
    color: #fff;
    padding: 12px 20px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 8px #0003;
    font-size: 1.05em;
}

.discord-float a:hover {
    background: #3b5cff;
    color: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0c1a26;
    color: #fff;
    padding: 40px 20px;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.card {
    background-color: #0f2233;
    border-radius: 12px;
    padding: 25px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card::before {
    content: "";
    background-image: url('../img/cuarzo.png');
    /* Icono decorativo */
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
}

.card h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.billing {
    font-size: 0.9rem;
    color: #c0c0c0;
    margin-bottom: 16px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature img {
    width: 20px;
    margin-right: 10px;
}

.location {
    margin: 20px 0;
    padding: 8px 12px;
    background-color: #0d1f2e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.location img {
    width: 18px;
    margin-right: 8px;
}

.btn {
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #e0e0e0;
}

/* Footer */
.footer {
    background: transparent;
    margin-top: 3rem;
    padding-bottom: 2rem;
}

.footer-modern {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem 1.5rem 1rem;
    border-radius: 18px;
    background: rgba(10, 16, 32, 0.97);
    box-shadow: 0 2px 16px #0003;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-socials {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.7em;
    text-decoration: none;
}

.footer-logo {
    border-radius: 12px;
    background: #232a3a;
    box-shadow: 0 2px 8px #0002;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.footer-socials {
    display: flex;
    gap: 1.1em;
}

.footer-socials a {
    color: #b3bed7;
    font-size: 2rem;
    transition: color 0.18s;
}

.footer-socials a:hover {
    color: #3b5cff;
}

.footer-links {
    color: #b3bed7;
    font-size: 1em;
    display: flex;
    gap: 0.7em;
    align-items: center;
}

.footer-links a {
    color: #b3bed7;
    text-decoration: none;
    transition: color 0.18s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    color: #b3bed7;
    font-size: 0.98em;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.2em;
}

.footer-mojang {
    font-size: 0.93em;
    color: #6c7a99;
}

@media (max-width: 600px) {
    .footer-modern {
        padding: 1.2rem 0.2rem 0 0.2rem;
    }

    .footer-logo-socials {
        flex-direction: column;
        gap: 0.7em;
    }
}