/* ===== Importação de Fontes ===== */
@import url('https://fonts.googleapis.com/css2?family=Jersey+10&display=swap');
@import url('https://fonts.googleapis.com/css2?family=SUSE:ital,wght@0,100..900;1,100..900&display=swap');

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

/* ===== Body ===== */
body {
    font-family: 'SUSE', sans-serif;
    background: linear-gradient(135deg, rgb(24, 14, 38), rgb(4, 2, 5), rgb(43, 56, 30));
    background: url(./assets/fundo.jpg) no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* ===== Card Principal ===== */
.card {
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 40rem;
    text-align: center;
    border: 2px solid #654197;
    background: linear-gradient(135deg, rgba(24, 14, 38, 0.7), rgba(4, 2, 5, 0.7), rgba(43, 56, 30, 0.7));
    position: relative;
    z-index: 10;
}

/* ===== Header ===== */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.logo {
    height: 80px;
    width: 80px;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 3px solid #654197;
    box-shadow: 0 0 15px rgba(101, 65, 151, 0.5);
}

.title {
    font-family: 'Jersey 10', cursive;
    font-size: 32px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

/* ===== Descrição ===== */
.description {
    margin-bottom: 30px;
}

.description p {
    font-size: 13px;
    line-height: 1.5;
    margin: 5px 0;
    color: #ddd;
}

/* ===== Links/Navegação ===== */
.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

/* ===== Botões - Estilo Base ===== */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn img {
    height: 20px;
    width: 20px;
}

.btn:hover {
    transform: scale(1.05);
}

/* ===== Botão WhatsApp ===== */
.btn-whatsapp {
    background: linear-gradient(135deg, #7FFF00, #ADFF2F);
    color: #000;
}

.btn-whatsapp:hover {
    box-shadow: 0 0 15px rgba(127, 255, 0, 0.5);
}

/* ===== Botão Catálogo ===== */
.btn-catalog {
    background: linear-gradient(135deg, #B24BF3, #854AC7);
    color: #fff;
}

.btn-catalog:hover {
    box-shadow: 0 0 15px rgba(178, 75, 243, 0.5);
}

/* ===== Botões Redes Sociais ===== */
.btn-social {
    background: #000;
    color: #fff;
    border: 2px solid #fff;
}

.btn-social:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* ===== Botão Twitch ===== */
.btn-twitch {
    background: #654197;
    color: #fff;
    border: 2px solid #654197;
    cursor: not-allowed;
}

.btn-twitch:hover {
    box-shadow: 0 0 15px rgba(101, 65, 151, 0.5);
}

/* ===== Botão Voltar ===== */
.btn-back {
    background: #654197;
    color: #fff;
    border: 2px solid #654197;
}

.btn-back:hover {
    box-shadow: 0 0 15px rgba(101, 65, 151, 0.5);
}

/* ===== Catálogo ===== */
.catalog {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.catalog .images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-top: 15px;
    /* nao esticar a image, preencher; */
    object-fit: cover;
}

.catalog-image {
    width: 100%;
    max-width: 15rem;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    object-fit: cover;

    @media (max-width: 614px) {
        max-width: 100%;
    }
}

.catalog-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(101, 65, 151, 0.5);
}

@media (max-width: 768px) {
    .catalog .images {
        grid-template-columns: 1fr;
        justify-content: center;
        width: 100%;
        
    }
}



/* ===== Footer ===== */
.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 12px;
    color: #aaa;
    margin: 0;
}

/* ===== Créditos ===== */
.credits {
    margin-top: 30px;
    font-size: 12px;
    color: #aaa;
}

.credits a {
    color: #729251;
    text-decoration: none;
}

.credits a:hover {
    text-decoration: underline;
}
/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: translate(-50%, -50%) scale(0.8); }
    to { transform: translate(-50%, -50%) scale(1); }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease, transform 0.3s ease;
    user-select: none;
}

.modal-close:hover,
.modal-close:focus {
    color: #B24BF3;
    transform: scale(1.2);
}

/* Fechar modal ao clicar fora da imagem */
.modal.show {
    display: block;
}
