/* Importar tipografía desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code&display=swap');

/* Estilos generales del cuerpo */
body {
    background-color: #0d0d0d;
    color: #e0e0e0;
    font-family: 'Fira Code', monospace;
    margin: 0;
    padding: 20px;
    font-size: 17px;
    line-height: 1.7;
}

/* Contenedor principal */
.container {
    max-width: 900px;
    margin: auto;
    padding: 40px;
    border-radius: 12px;
    background-color: transparent;
}

/* Logo principal */
.logo {
    max-width: 300px;
    display: block;
    margin: 0 auto 25px;
    filter: drop-shadow(0 0 10px #00ffcc66);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Títulos principales */
h1, h2 {
    background: linear-gradient(to right, #00ffcc, #00ffee, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    border-bottom: 1px solid #00ffcc33;
    padding-bottom: 5px;
    text-shadow: 0 0 6px #00ffcc22;
}

/* Emojis en títulos */
.emoji {
    -webkit-text-fill-color: initial !important;
    background: none !important;
    text-shadow: none !important;
}

/* Párrafos */
p {
    text-shadow: 0 0 2px #00ffcc33;
}

/* Listas */
ul {
    padding-left: 20px;
}

ul li, ol li {
    transition: all 0.3s ease;
}

ul li:hover, ol li:hover {
    color: #00ffee;
    transform: translateX(4px);
}

ol li {
    background-color: #1c1c1c;
    padding: 14px 18px;
    margin-bottom: 12px;
    border-radius: 6px;
    box-shadow: 0 0 6px #00ffcc33;
    cursor: default;
}

ol li:hover {
    transform: translateY(-4px);
    background-color: #222;
    box-shadow: 0 0 12px #00ffccaa;
}

/* Enlaces */
a {
    color: #00ffcc;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
    color: #00ffee;
}

/* Inputs y textareas */
input, textarea {
    background-color: #1c1c1c;
    border: 1px solid #00ffcc44;
    color: #00ffcc;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    margin-top: 5px;
    font-family: 'Fira Code', monospace;
}

input:focus, textarea:focus {
    outline: none;
    border: 1px solid #00ffee;
    box-shadow: 0 0 8px #00ffee88;
}

/* Botones */
button {
    background-color: #00ffcc;
    color: #000;
    font-weight: bold;
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fira Code', monospace;
}

button:hover {
    background-color: #00ffee;
    transform: scale(1.05);
    box-shadow: 0 0 10px #00ffeeaa;
}

/* Tarjetas */
.card {
    background-color: #1c1c1c;
    padding: 18px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 0 6px #00ffcc33;
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-4px);
    background-color: #222;
    box-shadow: 0 0 12px #00ffccaa;
}

/* Pie de página */
.footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.9em;
    color: #aaa;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* Fondo animado */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-radial-gradient(circle at center, #00ffcc22, #000000 10%);
    background-size: 600% 600%;
    animation: circuitGlow 8s ease-in-out infinite;
    z-index: -1;
    opacity: 0.25;
}

@keyframes circuitGlow {
    0%, 100% {
        filter: brightness(0.9);
    }
    50% {
        filter: brightness(1.5);
    }
}

/* Estadísticas */
.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.stat-card {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 12px #00ffcc33;
    text-align: center;
    min-width: 180px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00ffcc99;
}

.stat-number {
    font-size: 40px;
    font-weight: bold;
    color: #00ffee;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #cccccc;
}

/* Botones flotantes */
.floating-buttons {
    position: fixed;
    bottom: 90px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-buttons a {
    background-color: #00ffcc;
    color: #000;
    font-size: 22px;
    padding: 10px 14px;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffeeaa;
    transition: all 0.3s ease;
    text-align: center;
}

.floating-buttons a:hover {
    background-color: #00ffee;
    transform: scale(1.1);
}

/* Botón volver arriba */
.scroll-top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #00ffcc;
    color: #000;
    font-size: 24px;
    padding: 10px 15px;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffeeaa;
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 999;
}

.scroll-top-button:hover {
    background-color: #00ffee;
    transform: scale(1.1);
}

/* Sección de medallas */
.medallas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
    justify-items: center;
}

.medalla {
    background-color: #1c1c1c;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    width: 140px;
    box-shadow: 0 0 10px #00ffcc33;
    transition: transform 0.3s ease;
}

.medalla:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #00ffeeaa;
}

.medalla img {
    max-width: 80px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 4px #00ffee55);
}

.medalla p {
    font-size: 14px;
    color: #ccc;
}

/* Preguntas frecuentes visibles y estáticas */
.faq-item {
    margin-bottom: 20px;
    background-color: #1c1c1c;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 0 6px #00ffcc33;
}

.faq-item p {
    margin: 0 0 8px;
    font-weight: bold;
    color: #00ffee;
}

.faq-answer {
    padding-left: 10px;
    line-height: 1.6;
    background-color: #111;
    color: #ccc;
    border-top: 1px solid #00ffcc22;
    padding: 10px;
}
.blog-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.blog-card {
    background-color: #1c1c1c;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px #00ffcc33;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px #00ffeeaa;
}

.blog-card h3 {
    margin-top: 0;
    color: #00ffee;
}

.blog-card p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.5;
}

.blog-card a {
    color: #00ffcc;
    text-decoration: none;
    font-weight: bold;
}

.blog-card a:hover {
    text-decoration: underline;
    color: #00ffee;
}
.card h3 {
    margin-top: 0;
    color: #00ffee;
}

.card a {
    display: inline-block;
    margin-top: 10px;
    background-color: #00ffcc33;
    padding: 8px 15px;
    border-radius: 6px;
    color: #00ffee;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.card a:hover {
    background-color: #00ffee22;
}
