:root {
    --bg-dark: #050510;
    --card-bg: rgba(20, 20, 40, 0.85);
    --accent: #00e0ff;
    --accent-strong: #7f00ff;
    --text-main: #ffffff;
    --text-muted: rgba(255,255,255,0.6);
    --border: rgba(255,255,255,0.1);
    --shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background: radial-gradient(circle at top, #120024, #02010a 60%);
    color: var(--text-main);
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.filters-container {
    width: min(560px, 100%);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.filters-header {
    text-align: center;
}

.filters-logo {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--accent);
}

.filters-subtitle {
    margin: 0;
    color: var(--text-muted);
}

.filters-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field label {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

select,
input[type="text"],
input[type="range"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 224, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

select:focus,
input[type="text"]:focus,
input[type="range"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 224, 255, 0.25);
}

.slider-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.slider-wrapper input[type="range"] {
    flex: 1;
    accent-color: var(--accent);
}

.slider-value {
    min-width: 80px;
    text-align: right;
    font-weight: 600;
    color: var(--accent);
}

.field-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.filters-submit {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #010104;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.filters-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 224, 255, 0.3);
}

.filters-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Botões de Navegação Global */
.back-button {
    background: rgba(0, 224, 255, 0.1);
    border: 2px solid #00e0ff;
    color: #00e0ff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.2);
    z-index: 1000;
    position: relative;
}

.back-button:hover {
    background: rgba(0, 224, 255, 0.2);
    transform: translateX(-5px);
    box-shadow: 0 0 30px rgba(0, 224, 255, 0.4);
}

.back-button:active {
    transform: translateX(-3px) scale(0.98);
}

.home-button {
    background: rgba(255, 0, 255, 0.1);
    border: 2px solid #ff00ff;
    color: #ff00ff;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    z-index: 1000;
}

.home-button:hover {
    background: rgba(255, 0, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
}

.home-button:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .filters-card {
        padding: 24px 20px;
    }

    .slider-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .slider-value {
        text-align: left;
    }
    
    .back-button, .home-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .filters-header {
        position: relative;
        padding-top: 60px;
    }
}
