@charset "UTF-8";
:root,
body {
    margin: 0;
    padding: 0;
}

.main-hero {
    position: relative;
    padding: 1.2rem 0 2.8rem 0;
    overflow: hidden;
    color: #fff;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, #6ddcff 0, #3c67e3 35%, #1b1f4b 70%, #0d0f23 100%);
    opacity: 0.95;
    z-index: 0;
}

.floating-blur {
    position: absolute;
    width: 320px;
    height: 320px;
    filter: blur(120px);
    opacity: 0.55;
    z-index: 0;
}

.blur-one { background: #ff9a9e; top: -60px; right: 10%; }
.blur-two { background: #a18cd1; bottom: -80px; left: 12%; }

.hero-shell {
    position: relative;
    z-index: 1;
}

.hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand img { height: clamp(80px, 16vw, 140px); width: auto; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.35)); }
.brand-name { font-size: clamp(1.25rem, 4vw, 1.725rem); text-transform: uppercase; }

.hero-menu { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.menu-chip {
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.menu-chip:hover, .menu-chip.active {
    background: #fff;
    color: #0d0f23;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

.hero-content {
    max-width: 820px;
    padding: 1rem 0 0.5rem 0;
}

.eyebrow {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.hero-title { font-weight: 800; font-size: clamp(1.54rem, 2.8vw, 2.17rem); margin-top: 0.8rem; margin-bottom: 0.5rem; }

.search-hero { margin-top: 1.25rem; }

.search-box .input-group {
    box-shadow: 0 12px 38px rgba(0,0,0,0.25);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px);
}

.search-box .input-group-text {
    background: transparent;
    border: none;
    color: #1b1f4b;
    font-size: 1.1rem;
}

.search-box .form-control {
    border: none;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.88);
}

.search-box .form-control:focus { box-shadow: none; }

.search-box .btn-primary {
    border: none;
    border-radius: 0 999px 999px 0;
    padding: 0.85rem 1.3rem;
    font-weight: 700;
    background: linear-gradient(90deg, #6ddcff 0%, #7f60f9 100%);
    min-width: 120px;
}

.search-suggestions {
    position: absolute;
    z-index: 1051;
    background: rgba(255, 255, 255, 0.97);
    width: 100%;
    max-width: 720px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
}

.suggestion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.suggestion-item:hover { background: #f3f6ff; }
.suggestion-left { display: flex; flex-direction: column; gap: 0.1rem; }
.suggestion-name { font-weight: 700; color: #1b1f4b; }
.suggestion-category { color: #6c757d; font-size: 0.9rem; }

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.pill {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(8px);
}

.dev-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
}

.hero-offset { margin-top: -1.2rem; position: relative; z-index: 2; }

.spotify-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2000;
}

.spotify-container.mini {
    pointer-events: auto;
}

.spotify-container .spotify-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.spotify-container .spotify-panel {
    position: fixed;
    background: linear-gradient(145deg, #121212, #1d1d1f);
    border-radius: 18px;
    padding: 1rem;
    width: 100%;
    max-width: 640px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.25s ease;
    pointer-events: auto;
}

.spotify-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    margin-bottom: 0.75rem;
}

.spotify-title { font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }

.spotify-panel iframe {
    border-radius: 12px;
    width: 100%;
    min-height: 360px;
    border: none;
}

.spotify-mini-wrapper {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2001;
    pointer-events: auto;
}

.spotify-mini-toggle {
    background: #1db954;
    color: #0b0b0b;
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.spotify-mini-close {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    padding: 0.45rem 0.65rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
}

.spotify-container.mini .spotify-panel {
    bottom: 1rem;
    left: 1rem;
    right: auto;
    max-width: 320px;
    padding: 0.75rem;
    min-height: auto;
}

.spotify-container.open {
    pointer-events: auto;
}

.spotify-container.open .spotify-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.spotify-container.open .spotify-panel {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spotify-container.mini .spotify-panel {
    top: auto;
    left: auto;
    transform: none;
}

.mic-button {
    border: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.12);
    color: #fff;
    transition: all 0.2s ease;
}

.mic-button.recording {
    background: #dc3545;
    color: #fff;
    box-shadow: 0 0 0 0 rgba(220,53,69,0.45);
    animation: pulse 1.5s infinite;
}

.mic-button:disabled {
    opacity: 0.7;
}

.mic-status {
    margin-top: 0.45rem;
    color: #f8f9fa;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.25);
    padding: 0.35rem 0.65rem;
    border-radius: 10px;
    display: inline-block;
    backdrop-filter: blur(6px);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220,53,69,0.45); }
    70% { box-shadow: 0 0 0 16px rgba(220,53,69,0); }
    100% { box-shadow: 0 0 0 0 rgba(220,53,69,0); }
}

@media (max-width: 992px) {
    .main-hero { padding: 1rem 0 2.5rem 0; }
    .hero-top { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .hero-actions { width: 100%; justify-content: flex-start; }
    .hero-menu { width: 100%; justify-content: flex-start; }
    .hero-content { max-width: 100%; padding: 0.5rem 0; }
    .search-hero { width: 100%; }
    .search-box .input-group { border-radius: 16px; }
    .search-box .btn-primary { width: 100%; border-radius: 0 0 16px 16px; }
    .search-suggestions { position: relative; max-width: none; max-height: 320px; overflow-y: auto; }
}

@media (max-width: 768px) {
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .search-box .input-group { flex-direction: column; align-items: stretch; }
    .search-box .input-group-text { display: none; }
    .search-box .form-control { border-radius: 16px 16px 0 0; }
    .spotify-container.mini .spotify-panel { max-width: 100%; right: 0.75rem; left: 0.75rem; }
}

@media (max-width: 576px) {
    .brand img { height: 72px; }
    .hero-title { font-size: clamp(1.35rem, 6vw, 1.7rem); }
    .hero-subtitle { font-size: 0.98rem; }
    .menu-chip { width: 100%; justify-content: center; }
    .hero-top { gap: 0.5rem; }
    .search-suggestions { border-radius: 12px; }
    .spotify-mini-wrapper { left: 0.75rem; bottom: 0.75rem; }
}
