/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* HEADER/NAVBAR */
.header {
    background-color: #fff;
    border-bottom: 2px solid #eee;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #1a73e8; /* Cor que remete a confiança */
}

.navbar a {
    text-decoration: none;
    color: #555;
    padding: 10px 15px;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #000;
}

/* Botão de Cadastro/Submit */
.submit-btn {
    background-color: #4CAF50; /* Verde de Ação */
    color: white !important;
    padding: 8px 15px !important;
    border-radius: 5px;
    margin-left: 10px;
}

.submit-btn:hover {
    background-color: #45a049;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    color: #555;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* BANNER */
.banner-rotativo {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 20px;
    border-radius: 8px;
    /* Estilos minimalistas para o AD */
    font-size: 1.2em;
}

/* HEADLINE E STATS */
.headline {
    text-align: center;
    margin: 40px 0 30px;
}

.headline h1 {
    font-size: 2.5em;
    color: #1a73e8;
}

.headline p {
    color: #777;
    margin-top: 5px;
}

/* GRID DE FAUCETS */
.coin-title {
    margin-top: 40px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    font-size: 1.6em;
    color: #333;
}

.faucet-grid {
    display: grid;
    /* 5 colunas no desktop */
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px;
    margin-top: 20px;
}

.faucet-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.faucet-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faucet-icon {
    font-size: 1.5em;
    margin-right: 10px;
    width: 30px;
    text-align: center;
    color: #1a73e8;
}

.faucet-info h3 {
    font-size: 1.1em;
    margin: 0;
}

.faucet-info .url {
    font-size: 0.8em;
    color: #777;
}

.status-tag {
    position: relative;
    top: 5px;
    right: 5px;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.7em;
    font-weight: bold;
    color: white;
}

.paying { background-color: #4CAF50; } /* Verde Paga */
.auto { background-color: #ff9800; } /* Laranja Auto */
.scam { background-color: #f44336; } /* Vermelho Scam/Fechada */

.view-more {
    display: block;
    text-align: right;
    margin-top: 15px;
    color: #1a73e8;
    text-decoration: none;
    font-weight: bold;
}

.view-more:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background-color: #333;
    color: #ccc;
    text-align: center;
    padding: 15px 20px;
    margin-top: 40px;
    font-size: 0.9em;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    color: #fff;
}

/* MEDIA QUERIES para responsividade */
@media (max-width: 900px) {
    .faucet-grid {
        /* 3 colunas em tablets */
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
    }
    .navbar {
        margin-top: 10px;
    }
    .navbar a, .dropbtn, .submit-btn {
        padding: 5px 8px;
        font-size: 0.9em;
    }
    .faucet-grid {
        /* 2 colunas em celulares */
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Adicione estas classes ao final do seu arquivo style.css */

.banner-lista-top, .banner-lista-bottom {
    background-color: #c9c9c9;
    color: #555;
    text-align: center;
    padding: 10px;
    margin: 20px 0;
}

/* Filtros */
.filter-controls {
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap; /* Para funcionar bem no mobile */
}

.filter-controls label {
    font-weight: bold;
    color: #555;
}

.filter-controls select, .filter-controls button {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.filter-controls button {
    background-color: #1a73e8;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-controls button:hover {
    background-color: #0d60d8;
}

/* Tabela */
.table-responsive {
    overflow-x: auto; /* Para a tabela não quebrar no mobile */
}

.faucet-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.faucet-table th, .faucet-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.faucet-table th {
    background-color: #f9f9f9;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    font-size: 0.9em;
}

.faucet-table tr:hover {
    background-color: #f5f5f5;
}

/* Estrelas na Tabela */
.faucet-table .stars .fa-star, .faucet-table .stars .fa-star-half-stroke {
    color: gold;
    font-size: 0.9em;
}

/* Botão Visitar na Tabela */
.faucet-visit-btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white !important;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
}

.faucet-visit-btn:hover {
    background-color: #45a049;
}

.coin-item iconify-icon {
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.coin-item:hover iconify-icon {
    transform: scale(1.2); /* Dá um zoom no ícone quando passa o mouse */
}
