body {
    font-family: Arial;
    background: #0f172a;
    color: white;
    margin: 0px;
}

h1 {
    text-align: center;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px;
}

.card {
    background: #1e293b;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.ticker {
    font-size: 20px;
    font-weight: bold;
}

.alcista { color: #22c55e; }
.bajista { color: #ef4444; }
.neutral { color: #94a3b8; }

.señal {
    padding: 5px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

.comprar { background: #16a34a; }
.vender { background: #dc2626; }
.mantener { background: #475569; }
.evitar { background: #b45309; }
.vigilar { background: #2563eb; }

.small {
    font-size: 13px;
    color: #cbd5f5;
}

.section {
    margin-top: 10px;
    border-top: 1px solid #334155;
    padding-top: 8px;
}

.hero {
    background-image: url("analytics-trading-bg.png"); /* tu imagen */
    background-size: cover;
    background-position: center;
    height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    position: relative;
}

/* capa oscura encima de la imagen */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* opacidad */
}

/* contenido arriba del overlay */
.overlay {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 700px;
    padding: 20px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
}