:root {
    --bg-dark: #070B19; /* Azul noche muy profundo */
    --primary-color: #0B132B; 
    --accent-gold: #D4AF37; /* Dorado institucional */
    --text-light: #E0E5EC;
    --text-muted: #8A94A6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.premium-portal {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Efecto de luz difuminada en el fondo */
.bg-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(7, 11, 25, 0) 70%);
    z-index: -1;
}

.portal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
}

/* Cabecera */
.portal-header {
    text-align: center;
    margin-bottom: 4rem;
}

.logo-emblem {
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
}

.portal-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    letter-spacing: 2px;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.portal-header p {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
}

.gold-divider {
    width: 80px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 2rem auto;
}

.subtitle {
    font-weight: 300;
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Cuadrícula de Talleres */
.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

/* Tarjetas Animadas y Premium */
.workshop-card {
    position: relative;
    background: rgba(11, 19, 43, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-border {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: border-color 0.4s ease;
    pointer-events: none;
}

.workshop-card:hover {
    transform: translateY(-10px);
    background: rgba(11, 19, 43, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.workshop-card:hover .card-border {
    border-color: rgba(212, 175, 55, 0.5); /* Borde dorado al pasar el mouse */
}

.workshop-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: block;
    font-style: italic;
}

.workshop-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.workshop-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.enter-btn {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: margin-left 0.3s ease;
}

.workshop-card:hover .enter-btn {
    margin-left: 10px;
}

/* Pie de página */
.portal-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

/* Animaciones controladas por JS */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}