:root {
    --cor-primaria: #ffffff;
    --cor-secundaria: #ffffff;
    --cor-texto: #000000;
    --cor-branco: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, var(--cor-primaria-clara) 0%, var(--cor-primaria-escura) 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}


.header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    
}

.header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--cor-secundaria-clara), var(--cor-secundaria-escura));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Navegação de Categorias */
.navegacao-categorias {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-categoria {
    background: linear-gradient(45deg, var(--cor-secundaria-clara), var(--cor-secundaria-escura));
    color: black;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-categoria:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: black;
    text-decoration: none;
}

.btn-categoria.ativo {
    background: linear-gradient(45deg, var(--cor-secundaria-escura), var(--cor-secundaria-clara));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    cursor: default;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: var(--cor-secundaria-clara);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
}

/* Título da Categoria Atual */
.titulo-categoria {
    text-align: center;
    margin-bottom: 20px;
}

.titulo-categoria h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--cor-secundaria-clara), var(--cor-secundaria-escura));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.2rem;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--cor-loading);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error {
    text-align: center;
    padding: 40px;
    color: #e74c3c;
    font-size: 1.1rem;
    background: #fdf2f2;
    border-radius: 10px;
    margin: 20px 0;
}

.bloco-frase {
    border: 1px solid #e0e0e0;
    padding: 25px;
    margin: 20px 0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.bloco-frase:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.bloco-frase:hover::before {
    transform: scaleX(1);
}

.texto-frase {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.7;
    position: relative;
    padding-left: 20px;
}

.texto-frase::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 3rem;
    color: var(--cor-texto-destaque);
    opacity: 0.3;
    font-family: serif;
}

.acoes-frase {
  display: flex;
  justify-content: center; /* Centraliza horizontalmente */
  gap: 15px; /* Espaço entre os botões */
  margin-top: 10px;
}



.compartilhar {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.compartilhar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 50px; /* Tamanho igual */
    height: 50px; /* Tamanho igual */
    border-radius: 50%;

    border: 2px solid #e0e0e0; /* Mesma borda dos outros */
    background: linear-gradient(135deg, #ffffff, #f8f9fa); /* Igual aos outros */
    
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.compartilhar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    opacity: 0;
}

.compartilhar a:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.compartilhar a:hover::before {
    transform: scale(1);
    opacity: 1;
}

.compartilhar a:active {
    transform: scale(0.95) translateY(-1px);
    transition: all 0.1s ease;
}

.compartilhar a svg,
.compartilhar a i {
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 20px;
}

.whatsapp {
    color: #25d366;
    border: 2px solid transparent;
}

.whatsapp:hover {
    background: linear-gradient(135deg, #25d366, #20b954);
    color: white;
    border-color: #25d366;
}

.whatsapp:hover::before {
    background: linear-gradient(135deg, #25d366, #20b954);
}

.facebook {
    color: #1877f2;
}

.facebook:hover {
    background: linear-gradient(135deg, #1877f2, #166fe5);
    color: white;
    border-color: #1877f2;
}

.facebook:hover::before {
    background: linear-gradient(135deg, #1877f2, #166fe5);
}

.pinterest {
    color: #e60023;
    border: 2px solid transparent;
}

.pinterest:hover {
    background: linear-gradient(135deg, #e60023, #cc001f);
    color: white;
    border-color: #e60023;
}

.pinterest:hover::before {
    background: linear-gradient(135deg, #e60023, #cc001f);
}

.telegram {
    color: #0088cc;
    border: 2px solid transparent;
}

.telegram:hover {
    background: linear-gradient(135deg, #0088cc, #0077b3);
    color: white;
    border-color: #0088cc;
}

.telegram:hover::before {
    background: linear-gradient(135deg, #0088cc, #0077b3);
}

.interacoes {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-curtir,
.btn-copiar {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-curtir:hover,
.btn-copiar:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-curtir:active,
.btn-copiar:active {
    transform: scale(0.95) translateY(0);
    transition: all 0.1s ease;
}

.btn-curtir {
    color: #888;
}

.btn-curtir:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    background: linear-gradient(135deg, #ffe6e6, #ffcccc);
}

.btn-curtir.curtido {
    background: linear-gradient(135deg, #e74c3c, #d63031);
    border-color: #e74c3c;
    color: white;
    animation: heartBeat 0.8s ease;
}

.btn-copiar {
    color: #666;
}

.btn-copiar:hover {
    border-color: #3498db;
    background: linear-gradient(135deg, #e6f3ff, #cce7ff);
    color: #3498db;
}

.btn-copiar.copiado {
    background: linear-gradient(135deg, #27ae60, #219a52);
    border-color: #27ae60;
    color: white;
    animation: checkMark 0.6s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

@keyframes checkMark {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Responsividade */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px;
        border-radius: 15px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .navegacao-categorias {
        gap: 10px;
    }

    .btn-categoria {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .texto-frase {
        font-size: 1.1rem;
        padding-left: 15px;
    }

    .acoes-frase {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .compartilhar {
        justify-content: center;
        gap: 12px;
    }

    .compartilhar a {
        width: 42px;
        height: 42px;
    }

    .compartilhar a svg,
    .compartilhar a i {
        width: 22px;
        height: 22px;
        font-size: 18px;
    }

    .interacoes {
        justify-content: center;
    }

    .btn-curtir,
    .btn-copiar {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

}

.contador-curtidas {
    font-size: 0.9rem;
    color: #666;
    margin-left: 5px;
    font-weight: 500;
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.7rem;
    }
    
    .texto-frase::before {
        left: -8px;
        top: -15px;
        font-size: 2.5rem;
    }

    .bloco-frase {
        padding: 20px;
    }

    .texto-frase {
        font-size: 1rem;
    }

    .compartilhar a {
        width: 38px;
        height: 38px;
    }

    .compartilhar a svg,
    .compartilhar a i {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }

    .btn-curtir,
    .btn-copiar {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* Animações de entrada */
.bloco-frase {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.bloco-frase:nth-child(even) {
    animation-delay: 0.1s;
}

.bloco-frase:nth-child(odd) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Estilos para imagens das frases - Responsividade aprimorada */
.imagem-frase {
    margin-bottom: 20px;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
}

.imagem-frase img {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 10px;
    background-color: #f8f9fa;
}

.imagem-frase img:hover {
    transform: scale(1.02);
}

/* Garantir que imagens não quebrem o layout */
.imagem-frase img {
    max-width: 100%;
    height: auto;
}

/* Ajustes responsivos para imagens */
@media (max-width: 1024px) {
    .imagem-frase img {
        min-height: 180px;
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .imagem-frase img {
        min-height: 160px;
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .imagem-frase {
        margin-bottom: 15px;
    }
    
    .imagem-frase img {
        min-height: 140px;
        max-height: 250px;
    }
}

@media (max-width: 360px) {
    .imagem-frase img {
        min-height: 120px;
        max-height: 200px;
    }
}

/* Imagens nas categorias principais */
.categoria-card img,
.subcategoria-card img,
.frase-destaque img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    background-color: #f8f9fa;
}

/* Imagens no header/logo */
.logo-section img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-section img {
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .logo-section img {
        max-height: 40px;
    }
}



/* Estilos para logo no cabeçalho */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.site-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-text {
    text-align: center;
}

@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .site-logo {
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .site-logo {
        max-height: 45px;
    }
    
    .logo-container {
        gap: 8px;
    }
}


/* Estilos para o Footer */
.main-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.footer-section p {
    line-height: 1.8;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.newsletter-btn {
    background-color: #764ba2;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #764ba2;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    color: #bdc3c7;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        justify-content: center;
    }
}

.btn-social {
  display: inline-block;
  margin: 5px 8px;
  padding: 8px 12px;
  border-radius: 6px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#share-whatsapp { background-color: #25D366; }
#share-facebook { background-color: #3b5998; }
#share-twitter  { background-color: #1DA1F2; }

img {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}
