/* Color Variables */
:root {
    --discord-gray: #36393f;
    --discord-gray-light: #40444b;
    --discord-gray-dark: #2f3136;
    --industrial-gold: #ffbb00;
    --industrial-gold-dark: #b8860b;
    --white: #ffffff;
    --text-light: #f0f0f0;
    --text-gray: #b9bbbe;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--discord-gray);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: var(--white);
}

p {
    margin-bottom: 15px;
    color: var(--text-gray);
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInFromBottom {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from { 
        opacity: 0;
        transform: translateX(-50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from { 
        opacity: 0;
        transform: translateX(50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Header Styles */
header {
    background-color: var(--discord-gray-dark);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideInFromTop 0.8s ease-out;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 28px;
    margin: 0;
    color: var(--industrial-gold);
}

.logo-icon {
    color: var(--industrial-gold);
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--industrial-gold);
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--industrial-gold);
    transition: width 0.3s;
}

nav a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--discord-gray), var(--discord-gray-dark));
    padding-top: 150px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: slideInFromLeft 1s ease-out 0.3s both;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    animation: slideInFromRight 1s ease-out 0.5s both;
}

.cta-button {
    display: inline-block;
    background-color: var(--industrial-gold);
    color: var(--discord-gray-dark);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    animation: slideInFromBottom 1s ease-out 0.7s both;
}

.cta-button:hover {
    background-color: var(--industrial-gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    /* Removed the animation property that was causing the issue */
}

/* Features Section */
.features {
    background-color: var(--discord-gray-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    animation: slideInFromTop 1s ease-out;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--industrial-gold);
    margin: 15px auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--discord-gray-dark);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
    border-left: 4px solid var(--industrial-gold);
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    color: var(--industrial-gold);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Download Section */
.download {
    text-align: center;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.download-option {
    background-color: var(--discord-gray-light);
    padding: 30px;
    border-radius: 8px;
    width: 250px;
    transition: all 0.3s;
    border: 2px solid transparent;
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
}

.download-option {
    animation-delay: 0.2s;
}

.download-option:hover {
    border-color: var(--industrial-gold);
    transform: scale(1.05);
}

.download-option h3 {
    color: var(--industrial-gold);
}

.download-option p {
    margin-bottom: 20px;
}

/* Documentation Section */
.documentation {
    text-align: center;
    background-color: var(--discord-gray-dark);
}

.documentation-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--discord-gray-light);
    border-radius: 8px;
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
}

.documentation-content h3 {
    color: var(--industrial-gold);
    margin-top: 20px;
}

.documentation-content p {
    margin-bottom: 25px;
}

.doc-placeholder {
    font-size: 4rem;
    color: var(--industrial-gold);
}

.documentation .cta-button i {
    margin-right: 8px;
}

/* Footer */
footer {
    background-color: var(--discord-gray-dark);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

.footer-column h3 {
    color: var(--industrial-gold);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--industrial-gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--discord-gray-light);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--industrial-gold);
    color: var(--discord-gray-dark);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--discord-gray-light);
    color: var(--text-gray);
    font-size: 14px;
    animation: fadeIn 1s ease-out 0.8s both;
}

/* Placeholder for missing images */
.logo-placeholder, .hero-placeholder, .download-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--discord-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    border-radius: 8px;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    font-size: 24px;
}

.hero-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    font-size: 48px;
}

.download-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    font-size: 36px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    section {
        padding: 60px 0;
    }
}