/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Container principal */
.container {
    text-align: center;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.flex-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px 20px;
}

/* Ícone like */
.like {
    width: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.like:hover {
    transform: scale(1.1);
}

/* Textos */
.copy {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.alt {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 400;
    color: #34495e;
    margin-bottom: 30px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Container de botões */
.button-container {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Botões de idioma */
.language-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    min-width: 120px;
}

.language-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.language-button:hover::before {
    left: 100%;
}

.language-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.language-button:active {
    transform: translateY(0);
}

/* Botão principal */
#redirect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6a0dad 0%, #9106f5 100%);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 30px;
    margin-top: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(106, 13, 173, 0.3);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

#redirect::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

#redirect:hover::after {
    transform: translateX(5px);
}

#redirect:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.4);
    animation: pulse 1s infinite;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    line-height: 1.6;
    padding: 40px 20px;
    text-align: center;
    margin-top: auto;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6a0dad, #667eea, #764ba2);
}

.footer a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #5dade2;
    text-decoration: underline;
}

.footer-links {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

/* Responsividade */
@media (max-width: 768px) {
    .flex-content {
        padding: 20px 15px;
    }
    
    .button-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .language-button {
        width: 100%;
        max-width: 200px;
        padding: 14px 20px;
    }
    
    #redirect {
        width: 100%;
        max-width: 250px;
        padding: 16px 30px;
    }
    
    .footer {
        padding: 30px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .like {
        width: 100px;
    }
    
    .copy {
        font-size: 22px;
    }
    
    .alt {
        font-size: 16px;
    }
    
    .language-button, #redirect {
        font-size: 16px;
    }
}

/* Efeitos especiais */
.container:hover .like {
    animation-play-state: paused;
}

/* Modo escuro (opcional) */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    }
    
    .copy {
        color: #ecf0f1;
    }
    
    .alt {
        color: #bdc3c7;
    }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states para acessibilidade */
.language-button:focus,
#redirect:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

