:root {
    --primary: #00d2ff;
    --secondary: #9d50bb;
    --background: #020024;
    --text: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/hero.png') no-repeat center center/cover;
    z-index: -2;
    filter: brightness(0.6);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--background) 100%);
    z-index: -1;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 120px;
    width: auto;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    margin: 0 0.5rem;
}

.btn.primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
}

.btn.secondary {
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(5px);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

main {
    padding: 5rem 5%;
}

.glass-section {
    padding: 4rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    margin-bottom: 4rem;
    text-align: center;
}

.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

footer {
    padding: 4rem 5%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    opacity: 0.6;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.fade-in-delayed-more {
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }
}

/* Contact Form Styles */
.contact-section {
    max-width: 700px;
    margin: 8rem auto 4rem;
}

.contact-form {
    margin-top: 2rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.captcha-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    position: relative;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    font-size: 0.95rem;
}

.form-message.success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
}

.form-message.error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

.form-message span:first-child {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.discord-widget-container {
    margin-top: 2rem;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}