/* --- ESTILOS GENERALES --- */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #05000a; 
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1596838132731-3301c3fd4317?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    filter: brightness(0.15) contrast(1.3) saturate(0.7);
    z-index: 1;
}

/* Contenedor principal estilo máquina física */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #1a002c 0%, #000000 100%);
    border-radius: 24px;
    /* Borde dorado de luces de casino */
    border: 4px solid #ffcc00;
    box-shadow: 
        0 0 30px rgba(255, 204, 0, 0.2),
        inset 0 0 30px rgba(255, 0, 85, 0.3),
        0 20px 50px rgba(0, 0, 0, 0.9);
    max-width: 650px;
    width: 90%;
}

/* --- TÍTULO NEÓN / DORADO --- */
h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.5rem;
    line-height: 0.9;
    margin-top: 0;
    margin-bottom: 25px;
    background: linear-gradient(to bottom, #ffffff 0%, #ffcc00 50%, #b38600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 2px 10px rgba(255, 204, 0, 0.6));
    letter-spacing: 3px;
}

/* --- ESTRUCTURA DE TRAGAMONEDAS (SLOTS) --- */
#countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    background: #0a0a0c;
    padding: 20px;
    border-radius: 16px;
    border: 2px solid #222;
    /* Simula la ranura profunda de los rodillos */
    box-shadow: inset 0px 10px 20px rgba(0,0,0,1), 0 1px 1px rgba(255,255,255,0.1);
}

.time-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

/* El "tambor" o rodillo individual */
.slot-reel {
    display: flex;
    background: linear-gradient(to bottom, #111 0%, #ffffff 25%, #ffffff 50%, #ffffff 75%, #111 100%);
    padding: 8px 12px;
    border-radius: 8px;
    border: 2px solid #444;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8), 0 4px 8px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* Línea roja clásica que marca el centro del juego */
.slot-reel::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255, 0, 0, 0.4);
    z-index: 3;
    pointer-events: none;
}

/* Estilo numérico tipográfico de casino mecánico */
.number {
    font-family: 'Oswald', sans-serif;
    font-size: 3.8rem;
    color: #111;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.8);
    transition: transform 0.2s ease-in-out;
}

/* Etiquetas inferiores */
.label {
    font-size: 0.75rem;
    color: #ffcc00;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 12px;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
}

/* --- ESTILO DEL NOMBRE DE MARCA --- */
.brand-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-top: 35px;
    margin-bottom: 0;   /* Elimina espacio inferior */
    color: #ffffff;     /* Letras Blancas */
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Texto descriptivo de abajo (Eslogan) */
p {
    font-size: 1.1rem;
    margin-top: 0;      /* Elimina espacio superior para pegarse a la marca */
    margin-bottom: 0;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 400;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

p span {
    color: #ff0055;
    font-weight: 700;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    .number { font-size: 2.3rem; letter-spacing: 1px; }
    #countdown { gap: 8px; padding: 12px; }
    .slot-reel { padding: 6px 8px; }
    .brand-name { font-size: 1.8rem; margin-top: 25px; }
    p { font-size: 0.9rem; }
}
.brand-logo {
    max-width: 120px; /* Ajusta este valor para cambiar el tamaño del logo */
    height: auto;
    margin-bottom: 10px; /* Espacio entre el logo y el texto "ALGO BUENO" */
    display: block;
    margin-left: auto;
    margin-right: auto;
}