@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body, h2, button, input, .link-text {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 body {
    width: 100%;
    height: 100%;
    overflow: auto; /* Permitir rolagem */
}


.container {
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h2 {
    color: #0b0101;
    font-size: 3em;
    display: flex;
    justify-content: center;
}

.result-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin: 20px auto;
}

.link-card {
    background: rgb(246, 244, 244);
    padding: 15px;
    border-radius: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.link-text {
    color: #333;
    font-size: 1em;
    word-wrap: break-word;
}

@media (max-width: 600px) {
    button {
        width: 100%;
    }
    .card {
        padding: 1rem; /* Reduz o padding em telas menores */
    }
    h2 {
        font-size: 2em; /* Ajusta o tamanho da fonte */
    }
}

.generate-link-button {
    background-color: #333;
    color: white;
    border-color: rgb(70, 70, 70);
}

.generate-link-button:hover {
    background-color: #8f8f8f;
    color: rgb(204, 204, 204);
    border-color: rgb(148, 148, 148);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 20%;
    top: 0;
    left: 0;
    z-index: -1;
}

.card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.btn-animated {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #dc3545, #ff6b6b);
    color: #fff;
    transition: all 0.4s ease;
    box-shadow: 0 0 4px #dc3545, 0 0 8px #ff6b6b, 0 0 16px #ff6b6b, 0 0 32px #dc3545;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #ff6b6b, #dc3545, #ff6b6b, #dc3545);
    animation: rotateBorder 6s linear infinite;
    z-index: 0;
}

.btn-animated span {
    position: relative;
    z-index: 1;
}

.btn-animated:hover {
    box-shadow: 0 0 8px #ff6b6b, 0 0 16px #dc3545, 0 0 32px #ff6b6b, 0 0 64px #dc3545;
    transform: scale(1.05);
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* btn-animated-primary */
.btn-animated-primary {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #0d6efd, #6ea8fe);
    color: #fff;
    transition: all 0.4s ease;
    box-shadow: 0 0 4px #0d6efd, 0 0 8px #6ea8fe, 0 0 16px #6ea8fe, 0 0 32px #0d6efd;
}

.btn-animated-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #6ea8fe, #0d6efd, #6ea8fe, #0d6efd);
    animation: rotateBorderPrimary 6s linear infinite;
    z-index: 0;
}

.btn-animated-primary span {
    position: relative;
    z-index: 1;
}

.btn-animated-primary:hover {
    box-shadow: 0 0 8px #6ea8fe, 0 0 16px #0d6efd, 0 0 32px #6ea8fe, 0 0 64px #0d6efd;
    transform: scale(1.05);
}

@keyframes rotateBorderPrimary {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* btn-animated-success */
.btn-animated-success {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #198754, #51e29a);
    color: #fff;
    transition: all 0.4s ease;
    box-shadow: 0 0 4px #198754, 0 0 8px #51e29a, 0 0 16px #51e29a, 0 0 32px #198754;
}

.btn-animated-success::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #51e29a, #198754, #51e29a, #198754);
    animation: rotateBorderSuccess 6s linear infinite;
    z-index: 0;
}

.btn-animated-success span {
    position: relative;
    z-index: 1;
}

.btn-animated-success:hover {
    box-shadow: 0 0 8px #51e29a, 0 0 16px #198754, 0 0 32px #51e29a, 0 0 64px #198754;
    transform: scale(1.05);
}

@keyframes rotateBorderSuccess {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* btn-animated-dark */
.btn-animated-dark {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #212529, #495057);
    color: #fff;
    transition: all 0.4s ease;
    box-shadow: 0 0 4px #212529, 0 0 8px #495057, 0 0 16px #495057, 0 0 32px #212529;
}

.btn-animated-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #495057, #212529, #495057, #212529);
    animation: rotateBorderDark 6s linear infinite;
    z-index: 0;
}

.btn-animated-dark span {
    position: relative;
    z-index: 1;
}

.btn-animated-dark:hover {
    box-shadow: 0 0 8px #495057, 0 0 16px #212529, 0 0 32px #495057, 0 0 64px #212529;
    transform: scale(1.05);
}

@keyframes rotateBorderDark {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 70%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #dc3545;
}
.position-relative {
    position: relative;
}

    .light-theme {
      background-color: #f8f9fa !important;
      color: #212529 !important;
    }

.fa-sun {
    font-size: small;
}

/* Garante que o botão de fechar do Bootstrap não seja afetado por regras globais */
.btn-close {
    all: unset;
    position: relative;
    float: right;
    font-size: 1.5rem;
    color: #fff;
    opacity: 0.7;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 1em;
    height: 1em;
    line-height: 1;
    text-align: center;
    padding: 0;
    margin-left: auto;
    filter: none;
}
.btn-close:before {
    content: "×";
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff;
}
.btn-close:hover {
    opacity: 1;
}

    .border-opacity {
      border-color: rgba(108, 117, 125, 0.3) !important;
    }

    .main-content {
            position: relative;
            z-index: 1; /* Conteúdo principal fica na frente das partículas */
        }

        .btn-custom-gradient {
            background: linear-gradient(45deg, #dc3545, #ff6b6b);
            color: #fff;
            border: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
        }

        .btn-custom-gradient:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
            color: #fff;
        }

        .feature-card {
            background-color: rgba(var(--bs-dark-rgb), 0.8); /* Usando variável Bootstrap para consistência */
            border: 1px solid rgba(var(--bs-light-rgb), 0.15);
            transition: all 0.3s ease-in-out;
            opacity: 0;
            transform: translateY(20px);
            display: flex; 
            flex-direction: column; 
        }
        .feature-card:hover {
            border-color: var(--bs-danger);
            transform: translateY(-5px) scale(1.02);
        }
        .feature-card.in-view {
            opacity: 1;
            transform: translateY(0);
        }
        .feature-card > p.small { 
            margin-top: auto; /* Empurra o parágrafo para a base do card */
        }

        .example-preview-card {
            background-color: rgba(var(--bs-dark-rgb), 0.85);
            border: 1px solid rgba(var(--bs-light-rgb), 0.2);
            transition: transform 0.3s ease-in-out;
            /* Estilos de animação inicial via JS, visibilidade via .in-view */
        }
        .example-preview-card:hover {
            transform: scale(1.03);
        }
        .example-preview-card.in-view { /* Adicionado para garantir visibilidade */
            opacity: 1 !important;
            transform: translateY(0) !important;
        }
        .example-preview-card img.preview-content-img {
            /* max-height: 300px; */ /* Removido para img-fluid controlar melhor */
            object-fit: cover;
            border-radius: 0.375rem; /* Bootstrap's rounded-2 */
        }
        
        .mobile-frame-container {
            transition: transform 0.3s ease-in-out;
            /* Estilos de animação inicial via JS, visibilidade via .in-view */
        }
        .mobile-frame-container:hover {
            transform: scale(1.05);
        }
        .mobile-frame-container.in-view { /* Adicionado para garantir visibilidade */
            opacity: 1 !important;
            transform: translateY(0) !important;
        }
        .mobile-frame-container .mobile-content-img-wrapper {
            top: 8%; 
            bottom: 8%; 
            left: 12%; 
            right: 12%;
        }
        .mobile-frame-container .mobile-content-img-wrapper img {
            object-fit: cover; /* Garante que a imagem cubra a área */
            border-radius: 0.5rem; /* Arredondamento para a imagem interna */
        }
        .hover-danger:hover {
            color: var(--bs-danger) !important;
        }

        .site-header {
            transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
            background-color: transparent;
            opacity: 1;
            transform: translateY(0);
            padding-top: 0.5rem; /* Ajuste para navbar */
            padding-bottom: 0.5rem; /* Ajuste para navbar */
        }

        .site-header .container {
            display: flex;
            justify-content: flex-end; /* Alinha o conteúdo (botão) à direita */
            align-items: center;
        }

        .site-header.header-scrolled {
            background-color: rgba(33, 37, 41, 0.85); /* bg-dark com opacidade */
            -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
        }

        .site-header.header-hidden {
            opacity: 0;
            transform: translateY(-100%);
        }

        .btn-header-login {
            background-color: var(--bs-danger);
            color: white;
            border-color: var(--bs-danger);
        }
        .btn-header-login:hover {
            background-color: #c82333; /* Um tom mais escuro de vermelho */
            border-color: #bd2130;
            color: white;
        }

          body.bg-dark .social-icon i:hover {
    color: #dc3545 !important;
  }
  body:not(.bg-dark) .social-icon i:hover {
    color: #dc3545 !important;
  }
    .lgpd-button:hover {
    color: #dc3545 !important;
  }

.modal-header {
    opacity: 0.5;
}
.modal-title {
    opacity: 1;
} 

.gradient-preview-square { display:inline-block; vertical-align:middle; }
.gradient-square.selected { border-color: #dc3545 !important; box-shadow: 0 0 0 2px #dc354533; }

/* Estilos do footer admin*/
  body:not(.bg-dark) .social-icon i {
    color:rgb(255, 255, 255) !important;
    transition: color 0.2s;
  }
  body.bg-dark .social-icon i:hover {
    color: #dc3545 !important;
  }
  body:not(.bg-white) .social-icon i {
    color:rgb(79, 80, 81) !important;
    transition: color 0.2s;
  }
  body:not(.bg-dark) .social-icon i:hover {
    color: #dc3545 !important;
  }

    /* Arredonda apenas as pontas direitas do offcanvas */
  #sidebarOffcanvas.offcanvas {
    border-top-right-radius: 1.1rem;
    border-bottom-right-radius: 1.1rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    overflow: hidden;
  }

.icon_bio_page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  max-width: 36px;
  height: 36px;
  font-size: 1.45em;
  margin-right: 18px;
  background: rgba(0,0,0,0.06);
  border-radius: 50%;
}