@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #030303;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
    padding: 20px;
}

/* Animación de entrada de las cajas */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animación de flotar del logo */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.layout-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 900px;
    width: 100%;
}

.box {
    background: #0a0a0a;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #1a1a1a;
    width: 100%;
    max-width: 400px;
    /* Efecto Glow inicial */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.03);
    transition: box-shadow 0.3s ease;
    animation: fadeIn 0.8s ease-out forwards;
}

/* Efecto al pasar el mouse */
.box:hover {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.06);
}

.main-box { text-align: center; }

/* Logo Animado */
.logo { 
    width: 90px; 
    margin-bottom: 20px; 
    filter: invert(1); 
    animation: float 3s ease-in-out infinite; 
}

.main-box h1 { color: #fff; margin-bottom: 20px; letter-spacing: 3px; }
.main-box .desc { color: #666; font-size: 0.85rem; margin-bottom: 30px; line-height: 1.6; }

.btn { 
    display: block; width: 100%; padding: 14px; margin-bottom: 12px;
    background: transparent; border: 1px solid #333; color: #fff;
    text-decoration: none; font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 2px; border-radius: 10px; transition: 0.3s;
}
.btn:hover { background: #fff; color: #000; border-color: #fff; }

.rules-box h3 { color: #fff; font-size: 0.8rem; margin-bottom: 25px; text-align: center; letter-spacing: 3px; }
.rule-item { margin-bottom: 20px; border-left: 2px solid #222; padding-left: 15px; }
.rule-item strong { color: #fff; font-size: 0.8rem; display: block; }
.rule-item p { color: #666; font-size: 0.75rem; margin-top: 4px; }

.legal { color: #444; font-size: 0.6rem; margin-top: 30px; border-top: 1px solid #1a1a1a; padding-top: 15px; text-align: center; }
.legal a { color: #777; }

@media (max-width: 850px) {
    .layout-container { flex-direction: column; align-items: center; }
}