body {
    margin: 0;
    background: #121212;
    color: #fff;
    padding-bottom: 80px;
    font-family: "Roboto", sans-serif;
}

/* ============================================== */
/* ==                HEADER                    == */
/* ============================================== */
.header {
    background: #341933;
    padding: 3px 20px;
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 9999;
    top: 0; 
    box-sizing: border-box; 
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.menu-toggle {
    font-size: 24px;
    cursor: pointer;
}

.menu-content {
    position: fixed;
    right: 10px;
    top: 90px;
    background: #1e1e1e;
    padding: 15px;
    border-radius: 10px;
    display: none;
    width: 200px;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
    z-index: 1000000;
}

.menu-content img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.menu-content div {
    margin-bottom: 5px;
}

.intro-text {
    text-align: center;
    font-size: 18px;
    margin: 20px;
    font-weight: bold;
    color: #e91e63;
}

/* ============================================== */
/* ==   GRID BASE (DESKTOP E TABLETS GRANDES)  == */
/* ============================================== */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 5px 20px;
    margin: 20px auto 0;
    max-width: 1400px; 
    justify-content: center;
}

.modelos.card {
    background:#1e1e1e;
    padding:15px;
    border-radius:10px;
    margin-top:120px;
}

a.botao-aceitar {
    display:inline-block;
    background:#2196f3;
    color:white;
    padding:8px 12px;
    border-radius:8px;
    text-decoration:none;
    margin-top:10px;
}

/* ============================================== */
/* ==   ESTILOS DO CARD DA MODELO              == */
/* ============================================== */
.modelo-card {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
    width: 100%;
    max-width: 450px; 
    margin: 0 auto; 
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Garante que o card ocupe o espaço exato na fileira */
}

.modelo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
}

/* A MÁGICA ESTÁ AQUI: Trava a caixa da imagem num quadrado perfeito blindado! */
.modelo-card-imagem {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Força a altura ser exatamente igual à largura (1:1) */
    background: #121212; 
    overflow: hidden; /* Impede que fotos gigantes vazem pra fora da caixa */
}

.modelo-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    object-fit: cover; /* Corta a imagem centralizando, sem esticar/amassar */
    border-radius: 0; 
    display: block; 
}

.modelo-card-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.modelo-card h3 {
    margin: 0 0 0.75rem; 
    font-size: 1.25rem;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 20px; 
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.status.online { background: #4caf50; }
.status.ocupada { background: #ff9800; color: #000; }
.status.offline { background: #f44336; }

.botao {
    padding: 12px 10px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    width: 100%; 
    margin-bottom: 10px; 
    text-transform: uppercase;
    font-weight: bold;
    display: flex; 
    align-items: center;
    justify-content: center;
    gap: 8px; 
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.botao img { width: 20px; height: 20px; }

.botao.chamar { background: #e91e63; color: #fff; }
.botao.chamar:hover { background: #d81b60; transform: scale(1.02); }

.botao.espiar { background: #ff9800; color: #000; }
.botao.espiar:hover { background: #fb8c00; transform: scale(1.02); }

.botao.offline { background: #444; color: #888; cursor: not-allowed; }

.presentear {
    width: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    padding: 12px;
    margin-top: auto; 
    background-color: #333; 
    text-decoration: none;
    color: #fff;
    border: 1px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.presentear:hover { background: #444; border-color: #666; }

.cam_acepted {
    padding: 8px;
    background: rgba(0, 0, 0, 0.5); 
    position: absolute;
    top: 10px;
    right: 10px; 
    border-radius: 50%; 
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cam_acepted img { width: 20px; height: 20px; }

/* ============================================== */
/* ==               MODAIS GERAIS              == */
/* ============================================== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); display: none; justify-content: center;
    align-items: center; z-index: 1000001; 
}
.modal-content {
    background: #1e1e1e; padding: 25px 30px; border-radius: 12px;
    text-align: center; width: 90%; max-width: 380px; position: relative;
    box-shadow: 0px 0px 15px 1px rgba(255, 46, 223, 0.8);
    border: 1px solid rgba(255, 46, 223, 0.5);
}
.modal-content h2 { color: #e91e63; margin-top: 0; margin-bottom: 15px; font-size: 22px; }
.modal-content p { font-size: 16px; margin-bottom: 25px; line-height: 1.5; }
.modal-button {
    display: inline-block; background: #e91e63; color: white; padding: 12px 25px;
    border-radius: 8px; text-decoration: none; font-weight: bold; text-transform: uppercase;
    font-size: 14px; transition: background-color 0.3s ease;
}
.modal-button:hover { background: #cf1974; }
.modal-close { position: absolute; top: 10px; right: 15px; font-size: 28px; font-weight: bold; color: #fff; cursor: pointer; }

/* ============================================== */
/* ==   MOBILE RESPONSIVO (FORÇANDO 3 CARDS)   == */
/* ============================================== */
@media screen and (max-width: 600px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px; 
        padding: 10px;
    }

    .modelo-card {
        max-width: 100%; 
    }

    .modelo-card-info {
        padding: 8px 4px; 
    }

    .modelo-card h3 {
        font-size: 0.85rem; 
        margin-bottom: 5px;
    }

    .status {
        font-size: 0.55rem;
        padding: 3px 6px;
        top: 5px;
        left: 5px;
    }

    .cam_acepted {
        padding: 4px;
        top: 5px;
        right: 5px;
    }
    
    .cam_acepted img {
        width: 12px;
        height: 12px;
    }

    .botao {
        padding: 8px 4px;
        font-size: 0.65rem;
        border-radius: 6px;
        gap: 3px;
        margin-bottom: 5px;
    }

    .botao i {
        font-size: 11px;
    }

    .botao strong {
        font-size: 0.6rem; 
    }

    .presentear {
        font-size: 0.6rem;
        padding: 6px 4px;
        border-radius: 6px;
        gap: 3px;
    }
}

/* ============================================== */
/* ==       BOTÕES DE FILTRO (VITRINE)         == */
/* ============================================== */
.filtros-vitrine {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn-filtro {
    background: #1e1e1e;
    color: #aaa;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #333;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-filtro:hover {
    background: #2a2a2a;
    color: #fff;
    border-color: #555;
}

.btn-filtro.ativo {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

@media screen and (max-width: 600px) {
    .btn-filtro {
        font-size: 12px;
        padding: 6px 15px;
    }
}