* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: black;
    color: white;
    font-family: 'Cinzel', serif;
    height: 100vh;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: auto;
}



/* FONDO GIF */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("https://i.imgur.com/iXJ7Vlm.gif") center / cover no-repeat;
  opacity: 0.50;
  z-index: -1;
}

/* 🔥 IMPORTANTE PARA CLICKS */
body::before,
body::after {
    pointer-events: none;
}

/* HEADER */
header {
    position: absolute;
    width: 100%;
    top: 20px;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    align-items: center;
}

/* CONTENEDORES */
.icons-left,
.icons-right {
    display: flex;
}

/* BOTONES CIRCULARES */
.circle {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(182, 67, 248, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    margin-right: 12px;
    transition: all 0.3s ease;
    position: relative;
}

/* ICONOS */
.circle i {
    font-size: 14px;
}

/* HOVER PRO */
.circle:hover {
    background: rgb(130, 93, 179);
    box-shadow: 0 0 10px rgb(160, 80, 252), 0 0 25px rgb(182, 67, 248, 0.7);
    transform: scale(1.1);
}

/* DESACTIVADOS */
.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* CENTRO */
.top-center a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    border: 1px solid rgba(182, 67, 248, 0.7);
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgb(235, 228, 228), 0 0 40px rgb(182, 180, 180);
    border: 3px solid #e170f8;
    padding: 12px 22px;
    border-radius: 20px;
    font-size: 12px;
    left: 45%;
    top: 0px;
    position: absolute;
}
/* MAIN */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* TITULO */
h1 {
    font-size: 120px;
    text-shadow: 0 0 15px rgb(49, 49, 49), 0 0 40px #ff01dd;
}

/* SUBTITULO */
.subtitle {
    font-size: 20px;
    letter-spacing: 4px;
    opacity: 0.7;
    margin-top: 10px;
}

/* BOTON */
.btn {
    margin-top: 25px;
    padding: 16px 54px;
    border: 1px solid  rgba(182, 67, 248, 0.7);
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.btn:hover {
    background: rgb(49, 1, 41);
    color: rgb(241, 239, 239);
}

/* MENU */
.bottom-menu {
    position: absolute;
    bottom: 40px;
    text-shadow: 0 0 20px rgb(252, 252, 252), 0 0 40px rgb(253, 85, 239);
}

.bottom-menu a {
    margin: 0 25px;
    color: white;
    text-decoration: none;
}

/* COLORES */
.vip:hover { color: rgb(255, 17, 0); }
.maps:hover { color: rgb(255, 210, 9); }
.rules:hover { color: rgb(248, 89, 89); }
.modes:hover { color: cyan; }

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 120px;
}
/* GRID 3x3 */
.maps-container {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */
.map-card {
    background: rgba(207, 127, 247, 0.9);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.map-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px #bb7ef5;
}

/* IMG */
.map-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

/* TITLE */
.map-card h3 {
    padding: 10px;
}

/* CHAPTERS */
.chapters {
    padding: 10px;
}

.chapter {
    background: rgba(255,255,255,0.05);
    padding: 8px;
    margin-bottom: 5px;
    border-radius: 8px;
    font-size: 12px;
}

/* BUTTON */
.download-btn {
    display: block;
    margin: 10px;
    padding: 10px;
    text-align: center;
    background: linear-gradient(45deg,#ff0080,#a855f7);
    border-radius: 10px;
    text-decoration: none;
    color: white;
}

/* ===== BUSCADOR ===== */
.search-container {
    width: 100%;
    display: flex;
    justify-content: center !important;
    align-items: center;
}

#searchInput {
    width: 400px;
    padding: 12px 20px;
    border-radius: 30px;
    border: 2px solid #ff00aa;
    background: transparent;
    color: white;
    outline: none;
    text-align: center;
    margin: 0 auto !important;
    display: block;
}

#searchInput::placeholder {
    color: #aaa;
}

/* ===== GRID ===== */
.maps-container {
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ===== CARD ===== */
.map-card {
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #f76ac8;
}

/* ===== IMAGEN ===== */
.map-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* ===== INFO ===== */
.map-info {
    padding: 15px;
}

.map-info h2 {
    color: rgb(253, 116, 242);
    margin-bottom: 10px;
}

.cap-title {
    color: #ff00aa;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ===== LISTA ===== */
.map-info ul {
    list-style: none;
    padding: 0;
}

.map-info li {
    background: #2a0022;
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 5px;
    font-size: 14px;
}

/* ===== BOTÓN ===== */
.download-btn {
    display: block;
    margin-top: 15px;
    text-align: center;
    background: #92269c;
    padding: 10px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .maps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .maps-container {
        grid-template-columns: 1fr;
    }

    #searchInput {
        width: 80%;
    }
}

/* SECCION FINAL SIN FONDO */
.final-section {
    position: relative;
    background: #000; /* negro puro */
    padding: 120px 40px;
    text-align: center;
    z-index: 1;
}

/* ESTO BLOQUEA EL GIF SOLO AQUÍ */
.final-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    z-index: -1;
}
/* TITULOS */
.final-section h2 {
    font-size: 32px;
    text-shadow: 0 0 10px rgb(250, 110, 255);
}

.final-sub {
    opacity: 0.6;
    margin-bottom: 50px;
}

/* SECCION NEGRA */
.final-section {
    position: relative;
    background: #000;
    padding: 60px 40px;
    text-align: center;
    z-index: 1;
}

/* BLOQUEA EL GIF */
.final-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    z-index: -1;
}

/* TITULO */
.final-section h2 {
    font-size: 32px;
    text-shadow: 0 0 10px rgb(217, 99, 247);
}

.final-sub {
    opacity: 0.6;
    margin-bottom: 60px;
}

/* LISTA */
.team-list {
    max-width: 600px;
    margin: auto;
}

/* ITEMS */
.team-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(83, 13, 74, 0.993);
}

/* NOMBRE */
.team-item h3 {
    font-size: 18px;
}

/* DESCRIPCION */
.team-item span {
    font-size: 14px;
    opacity: 0.6;
}

/* EFECTO HOVER SUAVE */
.team-item:hover {
    color: rgb(200, 104, 255);
}