/* Reset & Variables */
:root {
    --primary-color: #6c5ce7;
    --primary-hover: #5b4bc4;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --header-bg: rgba(15, 23, 42, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo img {
    height: 40px;
}

.nav-list ul {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-muted);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.header-auth .btn-signup {
    background: linear-gradient(135deg, var(--primary-color), #a29bfe);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s;
    display: inline-block;
}

.header-auth .btn-signup:hover {
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-main);
    transition: 0.3s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        padding: 1rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-list.active {
        display: block;
    }

    .nav-list ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .header-auth {
        display: block;
        order: 2;
    }

    .header-auth .btn-signup {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .mobile-menu-toggle {
        display: flex;
        order: 3;
        margin-left: 1rem;
    }
}

/* Footer */
footer {
    background-color: var(--bg-card);
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--primary-color);
}

.ad-container {
    max-width: 900px;
    margin: 2rem auto;
    border-radius: 8px;
    overflow: hidden;
}