/* Reset & Variables */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #121212; /* Deep Black */
    --accent-color: #FF0055; /* Neon Pink/Red */
    --bg-dark: #0A0A0B;
    --bg-section: #111112;
    --bg-card: #1A1A1C;
    --text-main: #E0E0E0;
    --text-muted: #A0A0A0;
    --text-white: #FFFFFF;
    --header-bg: #0A0A0B;
    --border-color: rgba(255, 215, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--text-white);
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .container {
        width: 90%;
        padding: 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-section);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Header */
body > header {
    background-color: var(--header-bg);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

body > header.scrolled {
    padding: 0.1rem 0;
    background-color: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 55px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.nav-list ul {
    display: flex;
    gap: 2.5rem;
}

.nav-list a {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-auth .btn-signup {
    background: linear-gradient(135deg, var(--primary-color), #b8860b);
    color: var(--secondary-color);
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-block;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    border: none;
}

.header-auth .btn-signup:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: #0a0e14;
        padding: 6rem 2rem;
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-list.active {
        display: block;
    }

    .nav-list ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 6rem 5% 3rem;
    color: var(--text-white);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-desc {
    margin-top: 1.5rem;
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a {
    color: #a0aec0;
}

.footer-nav a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a0aec0;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--primary-color);
    margin-left: 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--secondary-color);
        padding: 6rem 2rem;
        z-index: 999;
    }

    .nav-list.active {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-list ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-list a {
        color: var(--text-white);
        font-size: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        background: var(--primary-color);
    }
    
    body > header.scrolled .mobile-menu-toggle span {
        background: var(--primary-color);
    }
}

/* Section Common */
section {
    padding: 8rem 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    padding: 12px 20px;
    z-index: 1005;
    gap: 15px;
}

.mobile-bottom-bar a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.mobile-bottom-bar .btn-login {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--primary-color);
}

.mobile-bottom-bar .btn-register {
    background: var(--primary-color);
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
    }
    body {
        padding-bottom: 60px;
    }
    section {
        padding: 4rem 0;
    }
}

@media (max-width: 1200px) {
    .header-container {
        padding: 0.8rem 20px;
    }

    .nav-list ul {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .header-auth {
        display: flex;
        align-items: center;
    }

    .header-auth .btn-signup:first-child {
        display: none;
    }

    .header-auth .btn-signup {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    .footer-links a {
        margin: 0 0.6rem;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 46px;
    }

    .nav-list {
        width: 100%;
        padding: 6rem 1.5rem;
    }
}