:root {
    --primary-color: #009900;
    --text-color: #ffffff;
    --bg-color: #1a1a1a;
    --discord-dark: #202225;
    --discord-text: #b9bbbe;
    --discord-hover: #2f3136;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
}

.container {
    text-align: center;
    padding: 2.5rem;
    max-width: 800px;
    background-color: var(--discord-dark);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.8s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gears {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    animation: float 6s ease-in-out infinite;
}

.gear {
    position: absolute;
}

.main-gear {
    width: 60px;
    height: 60px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.small-gear {
    width: 35px;
    height: 35px;
    top: 0;
    right: 0;
}

.main-gear svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
    animation: spin 2s linear infinite;
    filter: drop-shadow(0 0 8px rgba(0, 153, 0, 0.3));
}

.small-gear svg {
    width: 100%;
    height: 100%;
    fill: var(--discord-text);
    animation: spin-reverse 2s linear infinite;
    filter: drop-shadow(0 0 5px rgba(185, 187, 190, 0.2));
}

.title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 153, 0, 0.4);
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.description {
    font-size: 1.1rem;
    color: var(--discord-text);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

.discord-button-wrapper {
    position: relative;
    display: inline-block;
}

.discord-button {
    position: relative;
    background: linear-gradient(45deg, #202225, #2f3136);
    padding: 15px 30px;
    border-radius: 10px;
    color: #b9bbbe;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(114, 137, 218, 0.3);
    animation: buttonGlow 2s ease-in-out infinite;
    font-size: 1.1rem;
    border: 1px solid rgba(114, 137, 218, 0.2);
}

.discord-button::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, #5865F2, #404EED, #5865F2);
    border-radius: 12px;
    z-index: -1;
    animation: borderGlow 2s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(114, 137, 218, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(114, 137, 218, 0.5);
    }
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.button-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(114, 137, 218, 0.2), transparent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.discord-button:hover {
    transform: translateY(-2px) scale(1.03);
    color: #fff;
    background: linear-gradient(45deg, #2f3136, #202225);
    box-shadow: 0 8px 20px rgba(114, 137, 218, 0.4);
}

.discord-button:hover::after {
    opacity: 0.8;
    filter: blur(2px);
}

.discord-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.5s ease;
}

.discord-button:hover .discord-icon {
    transform: rotate(360deg);
}

.button-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .container {
        padding: 2rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .discord-button {
        padding: 0.8rem 1.5rem;
    }
}