@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
    --primary-color: #e91e8c;
    --accent-color: #00f5d4;
    --gold: #ffd700;
    --secondary-color: #0a0612;
    --bg-body: #0d0a14;
    --bg-dark: #0d0a14;
    --bg-section: #110d1a;
    --bg-card: #15101f;
    --bg-card-hover: #1c1528;
    --text-main: #f0e6ff;
    --text-muted: #9d8cb8;
    --text-white: #ffffff;
    --header-bg: rgba(10, 6, 18, 0.88);
    --border-color: rgba(233, 30, 140, 0.22);
    --border-subtle: rgba(157, 140, 184, 0.15);
    --glow-pink: 0 0 24px rgba(233, 30, 140, 0.45);
    --glow-cyan: 0 0 24px rgba(0, 245, 212, 0.35);
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(233, 30, 140, 0.18), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 245, 212, 0.08), transparent),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(255, 215, 0, 0.06), transparent),
        var(--bg-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', system-ui, sans-serif;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

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: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container {
        width: 92%;
        padding: 0;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
}

body > header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

body > header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
    opacity: 0.6;
}

body > header.scrolled {
    background: rgba(10, 6, 18, 0.96);
    box-shadow: 0 8px 40px rgba(233, 30, 140, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 5%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 12px;
    flex-wrap: nowrap;
}

.logo img {
    height: 40px;
    filter: drop-shadow(var(--glow-pink));
}

.nav-list ul {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-list a {
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.nav-list a:hover {
    color: var(--accent-color);
    border-color: rgba(0, 245, 212, 0.3);
    background: rgba(0, 245, 212, 0.06);
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-auth .btn-signup:first-child {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid rgba(0, 245, 212, 0.5);
    box-shadow: none;
}

.header-auth .btn-signup:first-child:hover {
    background: rgba(0, 245, 212, 0.1);
    box-shadow: var(--glow-cyan);
}

.header-auth .btn-signup {
    background: linear-gradient(135deg, var(--primary-color), #c4157a);
    color: #fff;
    padding: 7px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-pink);
    border: 1px solid rgba(233, 30, 140, 0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

.header-auth .btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(233, 30, 140, 0.6);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

footer {
    background:
        linear-gradient(180deg, transparent, rgba(233, 30, 140, 0.05)),
        var(--secondary-color);
    padding: 5rem 5% 2.5rem;
    color: var(--text-white);
    border-top: 1px solid var(--border-color);
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand .footer-desc {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--gold);
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer-nav a:hover {
    color: var(--accent-color);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    gap: 10px;
}

.footer-links a {
    color: var(--accent-color);
    margin-left: 1rem;
    font-size: 0.85rem;
}

section {
    padding: 5.5rem 0;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

.section-subtitle::before {
    content: "◆";
    color: var(--primary-color);
    font-size: 0.6rem;
}

.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 6, 18, 0.96);
    padding: 12px 16px;
    z-index: 1005;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
}

.mobile-bottom-bar a {
    flex: 1;
    text-align: center;
    padding: 13px 0;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mobile-bottom-bar .btn-login {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid rgba(0, 245, 212, 0.4);
}

.mobile-bottom-bar .btn-register {
    background: linear-gradient(135deg, var(--primary-color), #c4157a);
    color: #fff;
    border: 1px solid rgba(233, 30, 140, 0.5);
    box-shadow: var(--glow-pink);
}

@media (max-width: 1200px) {
    .header-container {
        padding: 12px 20px;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 6, 18, 0.98);
        padding: 6rem 2rem;
        z-index: 999;
        border-left: 1px solid var(--border-color);
        backdrop-filter: blur(20px);
    }

    .nav-list.active {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-list ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-list a {
        font-size: 1.1rem;
        padding: 14px 24px;
        border: 1px solid var(--border-subtle);
        color: var(--text-main);
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .header-auth .btn-signup:first-child {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links a {
        margin: 0 0.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3.5rem 0;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    body {
        padding-bottom: 72px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

.ad-container img,
.ad-wrapper img {
    width: 100%;
    height: auto;
    min-height: 40px;
    display: block;
}

@media (max-width: 768px) {
    .ad-container img,
    .ad-wrapper img {
        min-height: 50px;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 36px;
    }
}
