/* ================= BACKGROUND ================= */

.bg {
    position: fixed;
    inset: 0;
    background: url('../../img/inicio.jpg') center/cover no-repeat;
    filter: brightness(1) contrast(1);
    transform: scale(1.03);
    z-index: -2;
}

.overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.05), rgba(0,0,0,0.35));
    z-index: -1;
}


/* ================= PANEL ================= */

.panel {
    padding: 140px 20px 60px;
}

/* ================= HERO ================= */

.hero {
    text-align: center;
    margin-bottom: 40px;
}

.server-title {
    font-size: 48px;
    color: #FFD36A;
    text-shadow: 0 0 15px rgba(0,0,0,0.9);
}

.subtitle {
    opacity: 0.8;
    margin-top: 10px;
}

/* ================= SECTIONS ================= */

.section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px 25px;

    background: rgba(0,0,0,0.42);
    border: 1px solid rgba(255,180,0,0.15);
    border-radius: 16px;

    box-shadow: 0 0 40px rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);

    text-align: center;
}

.section h2 {
    font-size: 38px;
    color: #FFD36A;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.muted {
    opacity: 0.85;
    margin-bottom: 25px;
}

/* ================= GRID ================= */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

/* ================= CARDS (GLOBAL +10%) ================= */

.bg-card {
    position: relative;

    height: 220px; /* +10% */
    min-height: 220px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 14px;

    border-radius: 14px;
    overflow: hidden;

    background-size: cover;
    background-position: center;

    border: 1px solid rgba(255,180,0,0.18);

    transition: 0.3s ease;
    cursor: pointer;
}

/* LIGHT & CLEAR OVERLAY FOR 100% BRIGHTNESS */
.bg-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.55) 100%);
    transition: 0.3s ease;
}

/* TITLE */
.bg-card h3 {
    position: relative;
    z-index: 2;

    color: #FFD36A;
    font-size: 15px;

    margin: 6px 0 10px;
    text-align: center;

    text-shadow: 0 0 10px rgba(0,0,0,0.9);
}

/* TEXT */
.card-desc {
    position: relative;
    z-index: 2;

    font-size: 12px;
    line-height: 1.35;

    opacity: 0.92;

    text-align: center;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

/* HOVER EFFECT */
.bg-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(255,215,0,0.75);
    box-shadow: 0 12px 30px rgba(0,0,0,0.8);
}

.bg-card:hover::before {
    background: rgba(0,0,0,0.35);
}

/* EXPAND TEXT ON HOVER */
.bg-card:hover .card-desc {
    -webkit-line-clamp: unset;
}

/* ================= PvE SECTION BIGGER ================= */

.pve-section .bg-card {
    height: 260px; /* más grande como pediste */
    min-height: 260px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    .panel {
        padding-top: 200px;
    }

    .server-title {
        font-size: 36px;
    }

    .bg-card {
        height: auto;
        min-height: 230px;
    }

    .pve-section .bg-card {
        min-height: 260px;
    }
}