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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
    }
}

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

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Espaços para anúncios */
.ad-space {
    width: 100%;
    text-align: center;
    margin: 20px 0;
    animation: fadeInDown 1s ease-out;
}

.ad-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ad-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.5);
}

/* Logo */
.logo-container {
    text-align: center;
    margin: 40px 0;
    animation: fadeInDown 1.5s ease-out;
}

.logo {
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.6);
}

/* Conteúdo principal */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.unlock-section {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

/* Botões de desbloqueio */
.unlock-btn {
    width: 100%;
    padding: 20px;
    margin: 15px 0;
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border: 2px solid #00ffff;
    border-radius: 15px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.unlock-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.unlock-btn:nth-child(4) {
    animation-delay: 0.4s;
}

.unlock-btn:nth-child(5) {
    animation-delay: 0.6s;
}

.unlock-btn.active {
    background: linear-gradient(145deg, #00ffff, #0080ff);
    animation: pulse 2s infinite, glow 3s infinite;
    transform: scale(1.02);
}

.unlock-btn.active:hover {
    transform: scale(1.08);
    background: linear-gradient(145deg, #00ccff, #0066ff);
}

.unlock-btn.locked {
    background: linear-gradient(145deg, #333333, #1a1a1a);
    border-color: #666666;
    color: #888888;
    cursor: not-allowed;
}

.unlock-btn.locked .lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ff6666;
}

.btn-glow {
    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 ease;
}

.unlock-btn.active:hover .btn-glow {
    left: 100%;
}

/* Barra de progresso */
.progress-container {
    margin: 30px 0;
    animation: fadeInUp 1.2s ease-out;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00ffff, #0080ff, #00ff80);
    border-radius: 10px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    font-size: 14px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

/* Overlay de redirecionamento */
.redirect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.redirect-overlay.active {
    display: flex;
    animation: fadeInUp 0.5s ease-out;
}

.redirect-content {
    text-align: center;
    color: #ffffff;
}

.redirect-content h2 {
    margin-top: 30px;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #333;
    border-top: 4px solid #00ffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .logo {
        max-width: 250px;
    }
    
    .unlock-btn {
        font-size: 16px;
        padding: 15px;
    }
    
    .redirect-content h2 {
        font-size: 20px;
        padding: 0 20px;
    }
    
    .ad-image {
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 200px;
    }
    
    .unlock-btn {
        font-size: 14px;
        padding: 12px;
    }
    
    .redirect-content h2 {
        font-size: 18px;
    }
}

/* Animações para a página de executores */
.executor-page {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    min-height: 100vh;
}

.executor-header {
    text-align: center;
    padding: 40px 0;
    animation: fadeInDown 1s ease-out;
}

.executor-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00ffff, #0080ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    margin-bottom: 20px;
}

.category-section {
    margin: 60px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.category-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.category-title {
    font-size: 2rem;
    font-weight: 600;
    color: #00ffff;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.category-warning {
    text-align: center;
    color: #ff6666;
    font-size: 14px;
    margin-bottom: 30px;
    font-style: italic;
}

.executor-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.executor-btn {
    padding: 15px 30px;
    background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
    border: 2px solid #00ffff;
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.executor-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(145deg, #00ffff, #0080ff);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.4);
}

.executor-btn::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 ease;
}

.executor-btn:hover::before {
    left: 100%;
}

.category-description {
    text-align: center;
    color: #cccccc;
    font-style: italic;
    margin-top: 15px;
}

.discord-section {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 20px;
    padding: 30px;
    margin: 60px 0;
    text-align: center;
    border: 2px solid #7289da;
    animation: fadeInUp 1s ease-out;
}

.discord-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(145deg, #7289da, #5865f2);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(114, 137, 218, 0.4);
}

.footer-credit {
    text-align: center;
    margin-top: 40px;
    color: #888888;
    font-size: 14px;
}