:root {
    --glass: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --accent: #ff7e5f; /* Arancio corallo moderno */
    --accent-hover: #feb47b;
    --dark: #1a1a2e;
    --text-light: #f8f9fa;
}

/* Layout Base & Animazioni Globali */
body {
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-family: 'Tenor Sans', sans-serif, system-ui, -apple-system;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SEARCH / LOGIN SECTION (Glassmorphism & Animato) --- */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}

.search-container {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
    max-width: 1100px;
    width: 100%;
    margin: 40px auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.search-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.35);
}

.search-container h1 {
    color: rgb(44, 44, 44);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    animation: fadeInUp 0.7s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Griglia Input Unificata */
.search-grid {
    display: grid;
    gap: 15px;
    align-items: center;
    animation: fadeInUp 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.search-grid input, 
.search-grid select {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.search-grid input:hover, 
.search-grid select:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.search-grid input:focus, 
.search-grid select:focus {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 126, 95, 0.35), 0 6px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Pulsante Search / Login con Gradiente e Animazione */
.btn-search {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    
    height: 100%;
    min-height: 50px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(255, 126, 95, 0.3);
}

.btn-search:hover {
    filter: brightness(1.1);
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 126, 95, 0.5);
}

.btn-search:active {
    transform: scale(0.99) translateY(0);
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .search-container {
        padding: 1.5rem;
        margin: 20px 15px;
        border-radius: 20px;
    }

    .search-container h1 {
        font-size: 1.8rem;
    }

    .search-grid input, 
    .search-grid select {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .btn-search {
        padding: 15px;
        min-height: 48px;
    }
}