@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    background: #050914;
    color: #ffffff;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* =========================
   HEADER
========================= */

.site-header {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: rgba(5,9,20,.92);
    backdrop-filter: blur(14px);
    position: relative;
    z-index: 20;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    min-height: 72px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    text-decoration: none;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 1px;
}

.brand span {
    color: #3b82f6;
}

.brand b {
    color: #ffffff;
}

/* NAV */

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    transition: .2s;
}

.nav-links a:hover {
    color: #60a5fa;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 0;
    border-radius: 10px;

    padding: 12px 18px;

    text-decoration: none;
    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
    transition: .2s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn.primary {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #2563eb,
        #1d4ed8
    );
    box-shadow: 0 10px 30px rgba(37,99,235,.20);
}

.btn.secondary {
    color: #dbeafe;
    background: #0d1728;
    border: 1px solid #263247;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;

    right: -180px;
    top: -220px;

    background: rgba(37,99,235,.15);
    filter: blur(100px);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: auto;
    padding: 90px 20px;
}

/* =========================
   CARDS
========================= */

.card {
    background: rgba(11,18,32,.92);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
}

.card:hover {
    border-color: rgba(59,130,246,.25);
}

/* =========================
   FOOTER
========================= */

.site-footer {
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: 50px;
    padding: 35px 20px;
    background: #040711;
}

.footer-container {
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-text {
    color: #64748b;
    font-size: 12px;
}

/* =========================
   TELEGRAM SUPPORT
========================= */

.telegram-float {
    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #229ed9;
    color: #ffffff;

    text-decoration: none;

    font-size: 22px;

    box-shadow:
        0 12px 35px rgba(0,0,0,.35);

    z-index: 100;
    transition: .2s;
}

.telegram-float:hover {
    transform: translateY(-3px) scale(1.03);
}

/* =========================
   AUTH
========================= */

.auth {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background:
        radial-gradient(
            circle at top right,
            rgba(37,99,235,.18),
            transparent 35%
        ),
        #050914;
}

.authbox {
    width: 100%;
    max-width: 430px;

    padding: 35px;

    background: #0b1220;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;

    box-shadow: 0 25px 70px rgba(0,0,0,.45);
}

.authbox h2 {
    margin-top: 25px;
    margin-bottom: 8px;
}

.authbox p {
    color: #8f9bb3;
    font-size: 13px;
}

.authbox form {
    margin-top: 25px;
}

.authbox label {
    display: block;
    margin-bottom: 7px;

    color: #cbd5e1;
    font-size: 12px;
}

.authbox input {
    width: 100%;

    padding: 13px 14px;
    margin-bottom: 17px;

    border-radius: 10px;
    border: 1px solid #263247;

    background: #080e1b;
    color: #ffffff;

    outline: none;
}

.authbox input:focus {
    border-color: #3b82f6;
}

.authlink {
    text-align: center;
    margin-top: 20px;

    color: #64748b;
    font-size: 13px;
}

.authlink a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 700;
}

/* =========================
   MOBILE MENU
========================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid #263247;
    border-radius: 10px;

    background: #0b1220;
    color: #ffffff;

    cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 850px) {

    .navbar {
        min-height: 65px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-container {
        padding: 65px 20px;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {

    .brand {
        font-size: 20px;
    }

    .nav-actions .btn {
        padding: 10px 12px;
        font-size: 11px;
    }

    .hero-container {
        padding: 50px 18px;
    }

    .authbox {
        padding: 26px 20px;
    }

    .telegram-float {
        width: 48px;
        height: 48px;
        right: 15px;
        bottom: 15px;
    }
}