/* ============================================================
   Componente: alltickets (Versión 2 - Bento Layout)
   Estilos premium: Dos columnas, tarjetas interactivas y fondo oscuro profundo.
   ============================================================ */

:root {
    --at-accent: #3b82f6;
    --at-accent-rgb: 59, 130, 246;
    --at-text: #eaf4fd;
    --at-text-muted: rgba(234, 244, 253, 0.7);
    --at-bg: #0E3D66; /* var(--darker) */
    --at-card-bg: rgba(255, 255, 255, 0.03);
    --at-card-border: rgba(255, 255, 255, 0.08);
}

.alltickets-section {
    padding: 8rem 2rem;
    background-color: var(--at-bg);
    display: flex;
    justify-content: center;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    position: relative;
    overflow: hidden;
}

/* Luces de fondo decorativas */
.alltickets-section::before {
    content: '';
    position: absolute;
    top: -10%; left: -10%;
    width: 40%; height: 40%;
    background: radial-gradient(circle, rgba(var(--at-accent-rgb), 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.alltickets-grid {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    align-items: start;
}

/* --- COLUMNA IZQUIERDA: Marca y CTA --- */
.alltickets-brand-side {
    text-align: left;
}

.at-badge {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background: rgba(var(--at-accent-rgb), 0.1);
    border: 1px solid rgba(var(--at-accent-rgb), 0.2);
    border-radius: 100px;
    color: var(--at-accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.at-logo-main {
    max-width: 320px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.at-main-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--at-text);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.at-main-description strong {
    color: #fff;
    background: linear-gradient(90deg, var(--at-accent), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.at-actions-row {
    display: flex;
    gap: 1rem;
}

/* --- COLUMNA DERECHA: Bento Cards --- */
.at-bento-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.25rem;
}

.at-card {
    background: var(--at-card-bg);
    border: 1px solid var(--at-card-border);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.at-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(var(--at-accent-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.at-card--wide {
    grid-column: span 2;
}

.at-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(var(--at-accent-rgb), 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--at-accent);
    margin-bottom: 1.5rem;
}

.at-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.at-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--at-text-muted);
    margin: 0;
}

/* --- BOTONES --- */
.at-btn-p {
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.at-btn-p--primary {
    background: var(--at-accent);
    color: #fff;
}

.at-btn-p--primary:hover {
    background: #2563eb;
    box-shadow: 0 10px 20px rgba(var(--at-accent-rgb), 0.4);
}

.at-btn-p--outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.at-btn-p--outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .alltickets-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .alltickets-brand-side { text-align: center; }
    .at-main-description { margin-left: auto; margin-right: auto; }
    .at-actions-row { justify-content: center; }
}

@media (max-width: 500px) {
    .at-bento-container { grid-template-columns: 1fr; }
    .at-card--wide { grid-column: span 1; }
    .at-actions-row { flex-direction: column; }
}
