/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-theme {
    background-color: #f0f4f8;
    color: #333333;
}

/* Loading Animation */
/* Loader Section */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a; /* Dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    max-width: 600px;
    padding: 20px;
}

.loader-text h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #ffffff;
    animation: fadeInUp 1s ease-out;
}

.loader-text p {
    font-size: 1.2rem;
    margin: 10px 0 30px;
    color: #b9bbbe; /* Light gray text */
    animation: fadeInUp 1.5s ease-out;
}

.spinner-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.spinner-image {
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #7289da, #4361c1);
    border-radius: 5px;
    transition: width 0.5s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.493);
    z-index: 100;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00886f;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4361c1;
}

.cta-button {
    background-color: #00886f;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #3a9483;
}

.theme-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.theme-toggle:hover {
    color: #4361c1;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #36393f; /* Discord-like dark background */
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* Full viewport height */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #00e5bc, #36393f);
    z-index: 1;
    opacity: 0.5;
    animation: gradientAnimation 10s infinite alternate;
}

@keyframes gradientAnimation {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.bot-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #00e5bc;
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.5);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bot-avatar img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px #00e5bc;
}

.hero h1 {
    font-size: 3rem;
    margin: 0;
    line-height: 1.2;
    color: #ffffff;
    animation: glow 2s infinite alternate;
}



.hero p {
    font-size: 1.2rem;
    margin: 20px 0;
    color: #b9bbbe; /* Discord-like light gray text */
    animation: fadeInUp 1.5s ease-out;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-button {
    background-color: #00e5bc;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-button.add-to-server {
    background-color: #00886f;
}

.cta-button.learn-more {
    background-color: transparent;
    border: 2px solid #00886f;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(114, 218, 183, 0.8);
}

.cta-button.add-to-server:hover {
    background-color: #67c4a8;
}

.cta-button.learn-more:hover {
    background-color: rgba(114, 137, 218, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Features Section */
.features {
    padding: 80px 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 2rem;
    color: #4361c1;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.feature-card p {
    font-size: 1rem;
    color: #ccc;
}

/* Commands Section */
.commands {
    padding: 80px 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.commands h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards in one line */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.command-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.command-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.command-card i {
    font-size: 2rem;
    color: #4361c1;
    margin-bottom: 10px;
}

.command-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.command-card p {
    font-size: 1rem;
    color: #ccc;
}

/* Premium Section */
.premium {
    padding: 80px 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.premium h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    animation: fadeInUp 1s ease-out;
}

.premium p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #b9bbbe; /* Light gray text */
    animation: fadeInUp 1.5s ease-out;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.premium-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 3rem;
    color: #ffdd57; /* Gold color for premium */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.premium-card:hover .card-icon {
    transform: scale(1.2);
}

.premium-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #ffffff;
}

.premium-card p {
    font-size: 1rem;
    color: #b9bbbe; /* Light gray text */
}

.cta-button.premium-button {
    background-color: #ffdd57; /* Gold color for premium */
    color: #333333; /* Dark text for contrast */
    margin-top: 40px;
    padding: 15px 30px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button.premium-button:hover {
    background-color: #e6c84e; /* Slightly darker gold */
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 221, 87, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Statistics Section */
.stats {
    padding: 80px 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.stats h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ffffff;
    animation: fadeInUp 1s ease-out;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.stat-card i {
    font-size: 3rem;
    color: #7289da; /* Discord-like blue */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover i {
    transform: scale(1.2);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin: 10px 0;
    color: #ffffff;
}

.stat-card p {
    font-size: 1.2rem;
    color: #b9bbbe; /* Light gray text */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 10px 10px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4361c1;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 1.2rem;
}

#contact-form button {
    background-color: #4361c1;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#contact-form button:hover {
    background-color: #354f9e;
}

#form-status {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ffdd57;
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    padding: 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4361c1;
}

/* Top Servers Section */
.top-servers {
    padding: 80px 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.top-servers h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    animation: fadeInUp 1s ease-out;
}

.top-servers p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #b9bbbe; /* Light gray text */
    animation: fadeInUp 1.5s ease-out;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards in one line */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.server-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.server-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.server-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #00e5bc;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.5);
}

.server-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #ffffff;
}

.server-members {
    font-size: 1rem;
    color: #b9bbbe; /* Light gray text */
    margin: 5px 0;
}

.server-description {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 10px;
}