/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8a2387;
    --secondary: #e94057;
    --accent: #f27121;
    --dark: #0a0a0a;
    --darker: #050505;
    --light: #ffffff;
    --gray: #888;
    --light-gray: #b0b0b0;
    --card-bg: rgba(20, 20, 30, 0.8);
    --card-border: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
}

body {
    font-family: 'Segoe UI', 'Inter', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 35, 135, 0.2);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    font-size: 1.8rem;
}

.logo-sub {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--light);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-discord {
    background: #5865F2;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    margin-top: 80px;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.7)),
        url('verselogo.png');
    /* Changed to your local image */
    background-size: contain;
    /* Changed from cover to contain */
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.15;
    /* Reduced opacity to show logo better */
}

.hero-content {
    text-align: center;
    padding: 40px;
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-login {
    color: var(--light);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-register {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    background: var(--gradient);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(138, 35, 135, 0.3);
}

/* Mobile responsive for auth buttons */
@media (max-width: 768px) {
    .auth-buttons {
        display: none;
    }

    .nav-menu .btn-login,
    .nav-menu .btn-register {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        margin: 5px 0;
    }

    /* Add to your existing styles.css */
    .alert {
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 20px;
        animation: slideIn 0.3s ease;
    }

    .alert-success {
        background: rgba(0, 200, 83, 0.1);
        border: 1px solid rgba(0, 200, 83, 0.3);
        color: #00c853;
    }

    .alert-error {
        background: rgba(233, 64, 87, 0.1);
        border: 1px solid rgba(233, 64, 87, 0.3);
        color: #e94057;
    }

    .alert-info {
        background: rgba(33, 150, 243, 0.1);
        border: 1px solid rgba(33, 150, 243, 0.3);
        color: #2196f3;
    }

    @keyframes slideIn {
        from {
            transform: translateY(-10px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

.version-badge {
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(138, 35, 135, 0.3);
}

/* Section Common Styles */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 35, 135, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light);
}

.feature-card p {
    color: var(--light-gray);
    line-height: 1.7;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background: var(--dark);
}

.download-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.download-header {
    padding: 30px;
    background: rgba(138, 35, 135, 0.1);
    border-bottom: 1px solid var(--card-border);
}

.version-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.version-info h3 {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.version-tags {
    display: flex;
    gap: 10px;
}

.tag {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tag-latest {
    background: #00c853;
    color: white;
}

.tag-version {
    background: var(--gradient);
    color: white;
}

.tag-size {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
}

.download-meta {
    display: flex;
    gap: 30px;
    color: var(--gray);
    font-size: 0.95rem;
}

.download-meta i {
    margin-right: 8px;
}

.download-body {
    padding: 30px;
}

.download-body h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--light);
}

.update-list {
    list-style: none;
    margin-bottom: 30px;
}

.update-list li {
    padding: 10px 0;
    color: var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.update-list i {
    color: var(--accent);
}

.download-instructions {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.download-instructions ol {
    margin-left: 20px;
    color: var(--light-gray);
    line-height: 1.8;
}

.download-instructions code {
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--accent);
}

.download-footer {
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    border-top: 1px solid var(--card-border);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(138, 35, 135, 0.4);
}

.download-note {
    margin-top: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Modules Section */
.modules-section {
    padding: 100px 0;
    background: var(--darker);
}

.module-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--light-gray);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.module-category {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 40px;
    margin-top: 30px;
}

.module-category h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-description {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.module-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.module-item:hover {
    background: rgba(138, 35, 135, 0.1);
    border-color: rgba(138, 35, 135, 0.3);
    transform: translateY(-5px);
}

.module-item h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.module-item p {
    color: var(--light-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.module-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient);
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Request Section */
.request-section {
    padding: 100px 0;
    background: var(--dark);
}

.request-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
}

.request-info {
    padding: 40px;
    background: rgba(138, 35, 135, 0.1);
}

.request-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.request-info p {
    color: var(--light-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.benefits-list h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list ul {
    list-style: none;
}

.benefits-list li {
    padding: 8px 0;
    color: var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list i {
    color: var(--accent);
}

.request-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-footer {
    margin-top: 30px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(138, 35, 135, 0.3);
}

.form-note {
    text-align: center;
    margin-top: 15px;
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--darker);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(138, 35, 135, 0.3);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.contact-icon.discord {
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
}

.contact-icon.email {
    background: rgba(233, 64, 87, 0.1);
    color: var(--secondary);
}

.contact-icon.faq {
    background: rgba(242, 113, 33, 0.1);
    color: var(--accent);
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light);
}

.contact-card p {
    color: var(--light-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--gradient);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 60px 0 30px;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--gray);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-legal h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light);
}

.footer-links a {
    display: block;
    color: var(--light-gray);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-legal p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
    color: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
        flex-direction: column;
        gap: 10px;
    }

    .request-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--darker);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .module-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .module-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}