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

body {
    font-family: 'Inter', sans-serif;
    color: #e2e8f0;

    background-color: #050505;

    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 150, 255, 0.18) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 0, 0, 1) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(0, 150, 255, 0.08) 0px, transparent 80%),
        linear-gradient(180deg, #020617, #050505); /* 👈 base escura suave */

    background-attachment: fixed;
}



/* CONTAINER */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* HEADER */
.glass-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(14px);
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 999;
}

.glass-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #cbd5f5;
    font-size: 14px;
}

.btn-primary-glow {
    padding: 8px 16px;
    background: linear-gradient(135deg, #0a7cef, #08f7ff);
    border-radius: 8px;
    color: white;
}

/* TITLE */
h1 {
    text-align: center;
    margin: 30px 0;
    color: rgb(0, 247, 255);
}

/* CARD */
.card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(12px);
    
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* 👈 profundidade */
}


.card h2 {
    margin-bottom: 10px;
}

.card:hover {
    transform: translateY(-3px);
    transition: 0.2s;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; /* mais espaço */
    margin-top: 25px; /* separa do card de cima */
}

/* INPUTS */
input, select {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border-radius: 10px;
    border: none;
    background: #020617;
    color: white;
}

/* COIN SELECT */
.coin-select select {
    background: #020617;
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
}

/* BOTÃO */
button {
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #0037ff, #00ffff);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.02);
}

/* RESULTADO */
.resultado {
    margin-top: 20px;
    padding: 20px;
    border-radius: 14px;
    background: rgba(2,6,23,0.8);
}

.melhor {
    color: #00c3ff;
    font-weight: bold;
}

/* FOOTER */
.glass-footer {
    margin-top: 60px;
    padding: 40px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    max-width: 1100px;
    margin: auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo {
    height: 40px;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.link-group h4 {
    margin-bottom: 10px;
}


.link-group a {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    color: #a0a0a0;
    font-size: 14px;
    transition: 0.3s ease;
}

.footer-divider {
    margin: 20px 0;
    border-color: rgba(255,255,255,0.05);
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-link {
    margin-left: 10px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}



.select-wrapper {
    position: relative;
    width: 150px;
}

.select-wrapper img {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.select-wrapper select {
    width: 100%;
    padding: 12px 12px 12px 40px; /* espaço pro ícone */
    border-radius: 10px;
    background: #020617;
    color: white;
    border: none;
}


.input-row {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

/* cada campo vira um bloco vertical */
.input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* moeda menor */
.input-group:first-child {
    flex: 0 0 160px;
}

/* labels bonitos */
.input-group label {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 6px;
}



.hero-intro {
    text-align: left;
    margin: 40px 0 20px 0;
    padding: 30px;

    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.hero-intro h1 {
    text-align: left; /* 👈 resolve o problema */
    margin-bottom: 10px;
}

.hero-intro p {
    color: #94a3b8;
    font-size: 15px;
    max-width: 600px;
    line-height: 1.5;
}


.titulo-comparacao {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.titulo-comparacao .material-symbols-outlined {
    font-size: 20px;
    color: #00c3ff; /* combina com seu tema */
}