.hero {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    /* Fallback background; main visual comes from ::before map image */
    background: linear-gradient(135deg, #111318, #0b0c10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-inner {
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.hero-home {
    min-height: 75vh;
    position: relative;
    overflow: hidden;
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Base world map background image (save your chosen map as hero-worldmap-bg.jpg in /images) */
    background-image: url("../images/hero-worldmap-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* Make map clearly visible – brighten lights slightly */
    opacity: 1;
    filter: saturate(1.1) contrast(1.3) brightness(1.35);
    pointer-events: none;
    z-index: 0;
}

.hero-home::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Semi-transparent dark grey gradient so the map is still partly visible */
    background:
        radial-gradient(1200px 700px at 20% 35%, rgba(144, 164, 174, 0.08), transparent 55%),
        radial-gradient(900px 600px at 78% 55%, rgba(168, 213, 186, 0.05), transparent 50%),
        linear-gradient(135deg, rgba(21, 23, 28, 0.72), rgba(18, 20, 26, 0.78));
    /* Semi-transparent: map shows through while text stays readable */
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.hero-home .hero-inner {
    position: relative;
    z-index: 2; /* text + search above overlays */
}

.hero-home .hero-inner {
    align-items: flex-start;
    justify-content: center;
}

.hero-home h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin: 0;
}

.hero-home p {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-music {
    padding: 32px 24px;
}

.hero-music .hero-inner {
    align-items: flex-start;
}

.hero-music .hero-inner h1 {
    font-size: 1.8rem;
    margin: 0 0 8px 0;
}

.hero-search,
.music-search {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 8px;
}

.hero-search input[type="search"],
.music-search input[type="search"] {
    flex: 1;
    max-width: 640px;
    padding: 14px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 9, 12, 0.95);
    color: #ffffff;
    font-size: 0.98rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-search input[type="search"]::placeholder,
.music-search input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.hero-search input[type="search"]:focus,
.music-search input[type="search"]:focus {
    border-color: var(--color-accent, #a8d5ba);
    background: rgba(10, 12, 16, 0.98);
    box-shadow: 0 0 0 1px rgba(168, 213, 186, 0.4);
}

.hero-search button,
.music-search button {
    padding: 0 22px;
    border-radius: 999px;
    border: none;
    background: var(--button-color, #a8d5ba);
    color: #111;
    font-weight: 600;
    font-size: 0.96rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.hero-search button:hover,
.music-search button:hover {
    background: var(--button-color-hover, #c1e2c8);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.hero-search button:active,
.music-search button:active {
    transform: translateY(0);
    box-shadow: none;
}



/* ── Start-a-Show hero actions ───────────────────────────────────────────── */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 8px;
}
.hero-start-show {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--color-accent, #a8d5ba);
    color: #111;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}
.hero-start-show:hover {
    background: var(--button-color-hover, #c1e2c8);
    color: #111;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.hero-search-inline {
    flex: 1;
    min-width: 240px;
    max-width: 460px;
}
