/**
 * templates/css/hero-override.css
 * Template-only hero layout: content fills section, text overlay.
 * Root css/hero.css is unchanged for studio/main site.
 */

body { background: #1e1e1e; }

.universes-section {
    background: #1e1e1e;
    min-height: 60vh;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.hero-title {
    margin: 0 16px 8px;
    font-family: var(--font-display, 'Orbitron', sans-serif);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--hero-title-color, #d4af37);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    text-align: center;
}

.hero-tagline {
    margin: 0 16px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--hero-tagline-color, rgba(255, 255, 255, 0.9));
    text-align: center;
}

/* Template hero image: stretch to fill the entire hero area */
.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hide creator block until template data is applied (removes flash of default content) */
body.template-loading #template-creator-content {
    opacity: 0;
    visibility: hidden;
}
