@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

:root {
    --primary-color: #e61919;
    --primary-hover: #c41414;
    --secondary-color: #111;
    --text-color: #fff;
    --background-color: #000;
    --border-color: #333;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    line-height: 1.6;
    background: linear-gradient(to bottom, #000000, #111111);
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    animation: fadeIn 1s ease-in-out;
    position: relative;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

header {
    text-align: center;
    width: 100%;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Increasing the silhouettes height and adjusting styles */
.silhouettes {
    background-image: url('../img/silhouettes.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 500px;
    width: 100%;
    margin: 15px 0;
    transition: transform var(--transition-speed);
    position: relative;
    animation: pulse 3s infinite alternate ease-in-out;
}

@keyframes pulse {
    from { opacity: 0.9; }
    to { opacity: 1; }
}

/* Enhancing the button styling */
.btn {
    padding: 14px 40px; /* Larger padding */
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600; /* Bolder text */
    transition: all var(--transition-speed);
    text-decoration: none;
    font-size: 1.1rem; /* Larger font */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px; /* Wider button */
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px; /* Added letter spacing */
}

/* Estilo unificado e aprimorado para o botão Entrar */
.primary-btn {
    background: linear-gradient(45deg, #e61919, #ff3333);
    color: var(--text-color);
    border: none;
    padding: 18px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(230, 25, 25, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.primary-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
    z-index: -1;
}

.primary-btn:hover {
    background: linear-gradient(45deg, #ff1a1a, #ff0000);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.6);
}

.primary-btn:hover:before {
    left: 100%;
}

.primary-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(230, 25, 25, 0.5);
}

/* Remove the site-footer styles or keep them but don't use the footer in HTML */
.silhouettes:hover {
    transform: scale(1.02);
}

.action-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    background-color: rgba(17, 17, 17, 0.8);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.action-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 25, 25, 0.05) 0%, transparent 60%);
    opacity: 0.7;
    z-index: -1;
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.media-icons {
    display: flex;
    gap: 25px;
    margin-bottom: 10px;
}

.icon-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.icon-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(230, 25, 25, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.icon-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 25, 25, 0.3);
}

.icon-btn:hover::after {
    opacity: 1;
}

.icon-btn:active {
    transform: translateY(0);
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-speed);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
}

.primary-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 25, 25, 0.3);
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.secondary-btn:hover {
    background-color: rgba(230, 25, 25, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 25, 25, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.site-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    width: 100%;
}

/* Estilos responsivos para dispositivos móveis */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .action-panel {
        flex-direction: column;
        padding: 15px;
    }
    
    .media-icons {
        margin-bottom: 20px;
    }
    
    .auth-buttons {
        width: 100%;
    }
    
    .btn {
        width: 100%;
        margin: 5px 0;
    }
}

/* Ajustes específicos para telas muito pequenas */
@media (max-width: 480px) {
    .logo-container {
        height: 120px;
    }
    
    h1, h2 {
        font-size: 1.5rem;
    }
    
    .icon-btn {
        width: 40px;
        height: 40px;
        margin: 0 5px;
    }
}

@media (max-width: 480px) {
    .silhouettes {
        height: 250px;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .media-icons {
        gap: 15px;
    }
    
    .icon-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Adicionar efeito de foco para acessibilidade */
.btn:focus, .icon-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 25, 25, 0.5);
}

/* Adicionar título acima do botão */
.auth-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: var(--text-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Estilo para o subtítulo de autenticação */
.auth-subtitle {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 12px;
    text-align: center;
    color: #cccccc;
    letter-spacing: 0.5px;
}