body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}
#tsparticles {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
}
.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: transparent;
}
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 48px;
}
.menu-icons {
    display: flex;
    gap: 20px;
    background: rgba(20,20,30,0.85);
    padding: 12px 32px;
    border-radius: 32px;
    margin-bottom: 16px;
    box-shadow: 0 6px 24px #000a;
}
.menu-icons button {
    background: none;
    border: none;
    font-size: 1.7em;
    color: #fff;
    cursor: pointer;
    outline: none;
    margin: 0 6px;
    transition: transform 0.18s;
}
.menu-icons button:hover {
    transform: scale(1.15);
}
.logo-area img {
    width: 220px;
    height: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 20px #0053a5);
}
.title-area {
    text-align: center;
    margin-bottom: 48px;
}
.title-area h1 {
    font-size: 3em;
    color: #e41b23;
    font-weight: bold;
    margin-bottom: 24px;
    letter-spacing: 1px;
}
.btn-group {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 8px;
}
.main-btn {
    background: linear-gradient(90deg, #0053a5 0%, #e41b23 100%);
    color: #fff;
    border: none;
    border-radius: 32px;
    font-size: 1.1em;
    font-weight: bold;
    padding: 14px 38px;
    margin-top: 8px;
    box-shadow: 0 4px 16px #0005;
    text-decoration: none;
    transition: background 0.25s, transform 0.18s;
    letter-spacing: 1px;
    cursor: pointer;
}
.main-btn:hover, .main-btn:focus {
    background: linear-gradient(90deg, #e41b23 0%, #0053a5 100%);
    transform: scale(1.08);
}
.main-btn.purple {
    background: linear-gradient(90deg, #a53de4 0%, #0053a5 100%);
}
.main-btn.purple:hover, .main-btn.purple:focus {
    background: linear-gradient(90deg, #0053a5 0%, #a53de4 100%);
}
.section-title {
    font-size: 2em;
    color: #e41b23;
    text-align: center;
    margin-top: 48px;
    margin-bottom: 32px;
    letter-spacing: 1px;
    position: relative;
}
.section-title::after {
    content: "";
    display: block;
    margin: 14px auto 0 auto;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0053a5, #e41b23);
    border-radius: 2px;
    opacity: 0.7;
}
.section-title.purple {
    color: #a53de4;
}
.section-title.purple::after {
    background: linear-gradient(90deg, #a53de4, #0053a5);
}
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-bottom: 40px;
}
.features {
    gap: 28px;
}

/* TARJETAS + EFECTO DE BRILLO/REFLEJO DIAGONAL REPETITIVO SOLO EN HOVER */
.card {
    position: relative;
    background: rgba(20, 20, 40, 0.93);
    border-radius: 24px;
    box-shadow: 0 4px 32px #0053a540;
    border: 1.5px solid #0053a5;
    min-width: 280px;
    max-width: 340px;
    padding: 32px 26px 28px 26px;
    text-align: left;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 24px;
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.18s;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 40%,
        rgba(255,255,255,0.14) 50%,
        rgba(255,255,255,0) 60%
    );
    z-index: 2;
    transform: translate(-120%, -120%) scale(1.6);
    transition: opacity 0.22s;
}

.card:hover, .card:focus-within {
    border-color: #e41b23;
    box-shadow: 0 8px 52px #0053a580;
    transform: scale(1.08);
}
.card:hover::before, .card:focus-within::before {
    opacity: 1;
    animation: shine-diagonal 2s linear infinite;
}

@keyframes shine-diagonal {
    0% {
        transform: translate(-120%, -120%) scale(1.6);
        opacity: 1;
    }
    85% {
        transform: translate(100%, 100%) scale(1.6);
        opacity: 1;
    }
    100% {
        transform: translate(100%, 100%) scale(1.6);
        opacity: 0;
    }
}

/* ICONOS PRINCIPALES: color azul, brillo azul-rojo en hover */
.card .feature-icon {
    font-size: 2.5em;
    font-family: 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji', Arial, sans-serif;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0053a5; /* azul por defecto */
    transition: 
        font-size 0.22s,
        filter 0.2s,
        color 0.22s;
}
.card:hover .feature-icon,
.card:focus-within .feature-icon {
    filter: drop-shadow(0 0 8px #e41b23) drop-shadow(0 0 4px #0053a5);
    font-size: 2.9em;
}

/* BULLETS DE LISTA: color azul, brillo en hover */
.emoji-bullet {
    font-size: 1.3em;
    margin-right: 7px;
    vertical-align: middle;
    color: #0053a5;
    transition: filter 0.2s;
}
.card:hover .emoji-bullet,
.card:focus-within .emoji-bullet {
    filter: drop-shadow(0 0 7px #e41b23) drop-shadow(0 0 3px #0053a5);
}

.card h3, .card .feature-icon {
    transition: color 0.22s;
}
.card:hover h3,
.card:hover .feature-icon {
    color: #e41b23;
}
.card h3 {
    font-size: 1.5em;
    color: #e41b23;
    font-weight: bold;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.card.features h3 {
    color: #a53de4;
}
.card p {
    font-size: 1em;
    color: #fff;
    margin-bottom: 18px;
    opacity: 0.88;
}
.card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 18px;
}
.card ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 0;
}
.card .main-btn {
    align-self: flex-start;
    margin-top: 18px;
    padding: 9px 24px;
    font-size: 1em;
}
.boost-discord {
    background: rgba(20, 20, 40, 0.85);
    border-radius: 16px;
    padding: 28px;
    max-width: 540px;
    margin: 0 auto 48px auto;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 24px #0053a530;
    border: 1.2px solid #e41b23;
}
.boost-discord a.main-btn {
    margin-top: 16px;
}
footer {
    text-align: center;
    color: #fff;
    font-size: 1em;
    opacity: 0.7;
    margin-top: 48px;
    padding: 16px 0 24px 0;
}

/* SECCIONES EXTRA: FACCIÓNES, NORMATIVAS, ETC. */
.factions {
    gap: 28px;
}
.faction-card {
    background: rgba(20, 20, 40, 0.93);
    border-radius: 18px;
    box-shadow: 0 2px 16px #0053a540;
    border: 1.2px solid #0053a5;
    min-width: 240px;
    max-width: 320px;
    padding: 24px 20px 20px 20px;
    text-align: left;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.faction-card h4 {
    color: #e41b23;
    margin-bottom: 12px;
}
.faction-card .faction-icon {
    font-size: 2em;
    margin-bottom: 8px;
    color: #0053a5;
    transition: filter 0.2s;
}
.faction-card:hover, .faction-card:focus-within {
    border-color: #e41b23;
    box-shadow: 0 6px 24px #e41b23a0;
    transform: scale(1.04);
}
.faction-card:hover .faction-icon,
.faction-card:focus-within .faction-icon {
    filter: drop-shadow(0 0 8px #e41b23) drop-shadow(0 0 4px #0053a5);
}

/* NORMATIVAS Y OTRAS SECCIONES */
.normatives-card {
    background: rgba(20, 20, 40, 0.93);
    border-radius: 18px;
    box-shadow: 0 2px 16px #0053a540;
    border: 1.2px solid #0053a5;
    min-width: 240px;
    max-width: 340px;
    padding: 24px 20px 20px 20px;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.normatives-card .normative-icon {
    font-size: 2em;
    margin-bottom: 8px;
    color: #0053a5;
    transition: filter 0.2s;
}
.normatives-card:hover, .normatives-card:focus-within {
    border-color: #e41b23;
    box-shadow: 0 6px 24px #e41b23a0;
    transform: scale(1.04);
}
.normatives-card:hover .normative-icon,
.normatives-card:focus-within .normative-icon {
    filter: drop-shadow(0 0 8px #e41b23) drop-shadow(0 0 4px #0053a5);
}
.normatives-card h4 {
    color: #e41b23;
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }
    .card {
        max-width: 98vw;
        min-width: 220px;
    }
    .logo-area img {
        width: 160px;
    }
    .title-area h1 {
        font-size: 2em;
    }
}