@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.8); }
    100% { box-shadow: 0 0 5px rgba(34, 197, 94, 0.5); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

:root {
    --primary-color: #22c55e;
    --secondary-color: #16a34a;
    --background-color: #000000;
    --text-color: #ffffff;
    --accent-color: #22c55e;
    --gradient-start: #22c55e;
    --gradient-end: #16a34a;
    --card-bg: rgba(34, 197, 94, 0.03);
    --card-border: rgba(34, 197, 94, 0.1);
    --hover-color: #15803d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2.5rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.05) 0%, rgba(0, 0, 0, 1) 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-sphere {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    filter: blur(60px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.gradient-sphere:nth-child(1) {
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.gradient-sphere:nth-child(2) {
    bottom: -150px;
    right: -150px;
    animation-delay: 2s;
}

/* Hero Section Button Styles */
.hero .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero .download-btn {
    background: var(--primary-color);
    color: var(--background-color);
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.hero .download-btn .icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.hero .download-btn .download-text {
    display: flex;
    align-items: center;
}

.hero .download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero .download-btn .download-info {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.hero .discord-btn {
    background: #5865F2;
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.hero .discord-btn:hover {
    background: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero .discord-btn i {
    font-size: 1.4rem;
}

.hero .open-source-btn {
    background: #000000;
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    width: 250px;
    margin: 0 auto;
}

.hero .open-source-btn:hover {
    background: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero .open-source-btn i {
    font-size: 1.4rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.primary {
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
}

.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.secondary:hover::before {
    opacity: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(34, 197, 94, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.btn:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

/* Features Section */
.features {
    padding: 8rem 10%;
    background-color: var(--background-color);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.features h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    animation: glow 2s ease-in-out infinite;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Components Section */
.components {
    padding: 8rem 10%;
    background-color: var(--background-color);
    position: relative;
}

.components::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.components h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.components h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    animation: glow 2s ease-in-out infinite;
}

.component-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.category {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.category:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.category ul {
    list-style: none;
}

.category li {
    margin: 1rem 0;
    padding: 0.8rem 1.2rem;
    background: rgba(34, 197, 94, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.category li:hover {
    background: rgba(34, 197, 94, 0.05);
    transform: translateX(5px);
    color: var(--primary-color);
}

/* Installation Section */
.installation {
    padding: 8rem 10%;
    background-color: var(--background-color);
    position: relative;
}

.installation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.installation h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.installation h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    animation: glow 2s ease-in-out infinite;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.step i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.step p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

/* Download Options */
.download-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.download-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.github-note {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-style: italic;
}

.download-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2rem;
    background: var(--card-bg);
    color: var(--primary-color);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.download-btn::after {
    content: '→';
    position: absolute;
    right: 1.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.download-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.download-btn:hover .download-info {
    transform: translateX(-10px);
}

.download-btn .download-info {
    transition: transform 0.3s ease;
}

.download-btn .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    line-height: 1;
    margin-bottom: auto;
}

.download-btn .icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.download-btn .download-text {
    flex-grow: 1;
    text-align: left;
}

.download-btn .download-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.download-btn .version {
    font-weight: 500;
}

.download-btn .size {
    font-size: 0.8rem;
}

.download-btn .download-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.download-btn.downloading {
    background: var(--hover-color);
}

.download-btn.downloading .download-progress {
    animation: progress 2s ease-in-out forwards;
}

.download-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

.download-btn.windows:hover {
    border-color: #00a4ef; 
}

.download-btn.mac:hover {
    border-color: #a6b1b7;
}

.download-btn.linux:hover {
    border-color: #f47421;
}

@keyframes progress {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Community Section */
.community {
    padding: 8rem 10%;
    text-align: center;
    background-color: var(--background-color);
    position: relative;
}

.community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.community h2 {
    margin-bottom: 4rem;
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.community h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    animation: glow 2s ease-in-out infinite;
}

.community-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.discord-btn, .kofi-btn {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--background-color);
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
}

.discord-btn i, .kofi-btn i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.discord-btn:hover, .kofi-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--hover-color);
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem;
    text-align: center;
    border-top: 1px solid var(--card-border);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: glow 2s ease-in-out infinite;
}

.disclaimer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links a {
        margin: 0 1rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .features h2, .components h2, .installation h2, .community h2 {
        font-size: 2.5rem;
    }

    .gradient-sphere {
        width: 200px;
        height: 200px;
    }
    
    .gradient-sphere:nth-child(1) {
        top: -100px;
        left: -100px;
    }
    
    .gradient-sphere:nth-child(2) {
        bottom: -100px;
        right: -100px;
    }

    .install-steps {
        grid-template-columns: 1fr;
    }

    .download-btn {
        padding: 1rem 1.5rem;
    }

    .download-btn .download-info {
        display: none;
    }

    .hero .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero .download-btn,
    .hero .discord-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .feature-grid, .component-categories, .install-steps {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 0.8rem 1.8rem;
    }
}

/* Add animation classes */
.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-in {
    animation: slideIn 0.6s ease-out forwards;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Update existing button styles */
.primary {
    position: relative;
    overflow: hidden;
}

.primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(34, 197, 94, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.primary:hover::after {
    transform: translateX(100%);
} 