* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #07080f;
    background-image:
        radial-gradient(ellipse 140% 70% at 50% 0%, rgba(30, 60, 180, 0.55) 0%, rgba(20, 30, 100, 0.25) 45%, transparent 70%),
        radial-gradient(ellipse 80% 50% at 50% 50%, rgba(15, 30, 100, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(20, 40, 120, 0.2) 0%, transparent 55%);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #f4f4f5;
}

/* ── Navbar ── */
.navbar {
    background: rgba(13, 13, 16, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04),
        0 4px 24px rgba(0, 0, 0, 0.3),
        0 8px 48px rgba(0, 0, 0, 0.18);
    padding: 0;
}

.navbar .container {
    padding-top: 13px;
    padding-bottom: 13px;
}

.navbar-brand {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f4f4f5 !important;
    letter-spacing: 0.2px;
}

.nav-link {
    color: #71717a !important;
    font-size: 0.875rem;
    padding: 5px 12px !important;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.nav-link:hover,
.nav-link.ativo {
    color: #71717a !important;
    background: rgba(255, 255, 255, 0.06);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 3px 6px;
    border-radius: 6px;
    line-height: 1;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 0.95em;
    height: 0.95em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2371717a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 767px) {
    .navbar .container {
        padding-right: 4px;
    }
}

/* ── Conteúdo ── */
.conteudo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 64px 16px;
}

.card-home {
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 44px 40px;
    width: 100%;
    max-width: 520px;
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 2px 4px rgba(0, 0, 0, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.28),
        0 24px 48px rgba(0, 0, 0, 0.28),
        0 48px 96px rgba(0, 0, 0, 0.15),
        0 0 80px rgba(50, 50, 130, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

h1 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #f4f4f5;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.subtitulo {
    color: #52525b;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 32px;
}

/* ── Grade de botões ── */
.grade-botoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.botao-conversor {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #27272a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    text-decoration: none;
    color: #a1a1aa;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.1s;
}

.botao-conversor:hover {
    background: #2e2e32;
    color: #f4f4f5;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.28),
        0 8px 24px rgba(0, 0, 0, 0.22),
        0 16px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.botao-conversor:active {
    transform: translateY(0);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.25),
        inset 0 1px 3px rgba(0, 0, 0, 0.18);
}

.icone {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.nome {
    font-size: 0.95rem;
    font-weight: 600;
    color: inherit;
    flex: 1;
    text-align: left;
}

.detalhe {
    font-size: 0.78rem;
    color: #52525b;
    flex-shrink: 0;
}

.botao-conversor:hover .detalhe {
    color: #71717a;
}

@media (max-width: 576px) {
    .card-home {
        padding: 32px 20px;
    }

    h1 {
        font-size: 1.2rem;
    }
}
