/* ===== Base Styles ===== */
:root {
    --primary: #6a4c93;    /* Deep purple */
    --secondary: #8e44ad;  /* Vibrant purple */
    --accent: #f1c40f;     /* Bright yellow */
    --dark: #2c3e50;       /* Dark slate */
    --light: #ecf0f1;      /* Light gray */
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== Header & Navbar ===== */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Burger Menu for Mobile */
.burger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
}

.lang-toggle {
    display: flex;
    gap: 0.5rem;
}

.lang-toggle a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--dark);
    text-align: center;
    padding: 5rem 0;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* ===== Challenges Section ===== */
.challenges {
    padding: 4rem 0;
    text-align: center;
}

.challenges h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.challenge-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.challenge-card h3 {
    color: var(--secondary);
}

/* ===== Patreon CTA ===== */
.patreon-cta {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: var(--dark);
    text-align: center;
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: var(--radius);
}

.patreon-cta h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* ===== Footer ===== */
footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.social-icons {
    margin: 1rem 0;
}

.social-icons a {
    color: var(--white);
    margin: 0 0.7rem;
    font-size: 1.6rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--accent);
    transform: scale(1.2);
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}
