/* ===============
   CSS VARIABLES
   =============== */
:root {
    --primary-color: #ff3b3b;
    --secondary-color: #1a1a1a;
    --bg-color: #0d0d0d;
    --text-color: #f1f1f1;
    --text-muted: #a0a0a0;
    --border-color: #333;
    --card-bg: #1c1c1c;
    --hover-overlay: rgba(255, 255, 255, 0.1);
    --transition-speed: 0.3s;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* ===============
   RESET
   =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

ul {
    list-style: none;
}

/* ===============
   GLOBAL COMPONENTS
   =============== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============
   HEADER
   =============== */
.header {
    background-color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    position: relative;
    padding: 10px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #dbeafe;
    color: #1e3a8a !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: none;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.btn-signup:hover {
    background-color: #bfdbfe;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
}

/* ===============
   ADS BLOCK
   =============== */
.ad-banner-container {
    margin-top: 80px;
    text-align: center;
}

.ad-banner-container img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-speed) ease;
}

.ad-banner-container img:hover {
    transform: scale(1.02);
}

/* ===============
   FOOTER
   =============== */
.footer {
    background-color: var(--secondary-color);
    padding: 60px 0 30px;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* ===============
   RESPONSIVE
   =============== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        padding: 0 20px;
        border-bottom: 1px solid var(--border-color);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .nav-list.active {
        max-height: 400px;
        padding: 20px;
    }

    .nav-list a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-list a::after {
        display: none;
    }

    .footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }

    .footer-grid {
        gap: 30px;
    }
}