:root {
    --bg: #0a0e14;
    --panel: #141d26;
    --panel2: #1b2733;
    --border: #2e3b46;

    --blue: #3aaaff;
    --blue2: #78c7ff;

    --yellow: #ffd12a;

    --text: #e8f0ff;
    --text2: #9fb2c7;
}

/* RESET */
* {margin: 0; padding: 0; box-sizing: border-box;}

body {
    background: linear-gradient(to bottom, #0b1118, #06090e);
    color: var(--text);
    font-family: Segoe UI, sans-serif;
}

/* NAVBAR */
.navbar {
    background: rgba(10,14,20,0.95);
    border-bottom: 1px solid #141b24;
    position: sticky;
    top: 0;
    z-index: 50;
}

.nav-inner {
    max-width: 1180px;
    margin: auto;
    padding: 12px 18px;
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    box-shadow: 0 0 18px rgba(58,170,255,0.8);
}

.brand-title {
    color: var(--blue);
    margin-left: 8px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-menu {
    margin-left: auto;
    display: flex;
    list-style: none;
    gap: 16px;
}

.nav-menu a,
.link-btn {
    padding: 6px 12px;
    color: var(--text2);
    font-size: 14px;
    cursor: pointer;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: 0.15s;
    background: transparent;
}

.nav-menu a:hover,
.link-btn:hover {
    border-color: rgba(58,170,255,0.5);
    background: rgba(26,36,48,0.9);
    color: var(--blue);
}

/* HERO */
.hero {
    padding: 40px 18px;
}

.hero-inner {
    max-width: 1180px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.hero-text h1 {
    font-size: 26px;
    color: var(--blue);
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 15px;
    color: var(--text2);
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.03em;
    position: relative;
    overflow: hidden;
    transition: 0.15s;
}

.btn.primary {
    background: linear-gradient(90deg, var(--blue), var(--blue2));
    color: #000;
    box-shadow: 0 0 16px rgba(58,170,255,0.9);
}

.btn.secondary {
    border: 1px solid var(--blue);
    background: transparent;
    color: var(--blue);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(58,170,255,1), 0 0 30px rgba(255,209,42,0.4);
}

.hero-icon {
    width: 240px;
    border-radius: 12px;
    box-shadow:
        0 0 30px rgba(58,170,255,0.7),
        0 0 50px rgba(255,209,42,0.4);
}

/* MODS */
.mods {
    padding: 40px 18px;
}

.mods h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
}

.mods-box {
    max-width: 900px;
    margin: auto;
    max-height: 400px;
    overflow-y: auto;
}

.mods-list {
    list-style: none;
    padding: 10px;
    line-height: 1.5;
    font-size: 14px;
}

/* MODALS */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal.show { display: flex; }

.modal-box {
    width: 90%;
    max-width: 420px;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 10px;
    top: 8px;
    color: var(--blue2);
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Launcher buttons */
.os-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    margin-top: 20px;
}

.os-btn {
    padding: 12px 0;
    background: linear-gradient(90deg, var(--blue), var(--blue2));
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

/* AUTH */
.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.auth-tab {
    flex: 1;
    padding: 10px 0;
    background: #0d141c;
    border: 1px solid #1f2a35;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text2);
}

.auth-tab.active {
    background: var(--blue);
    color: #000;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.safe-input {
    background: #0b1117;
    border: 1px solid #22303d;
    border-radius: 8px;
    padding: 11px;
    color: var(--text);
}

.forgot-btn {
    margin-top: 6px;
    background: none;
    border: none;
    color: var(--blue);
    cursor: pointer;
}

.hidden { display: none; }

/* FOOTER */
.footer {
    text-align: center;
    padding: 18px;
    color: var(--text2);
    border-top: 1px solid #111923;
}


.social-block {
    margin-top: 18px;
    display: flex;
    gap: 12px;
}

.social-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.15s;
    border: 1px solid transparent;
}

/* Telegram */
.social-btn.tg {
    background: rgba(0,145,255,0.15);
    border-color: rgba(0,145,255,0.4);
    color: #49baff;
}

.social-btn.tg:hover {
    background: rgba(0,145,255,0.3);
    box-shadow: 0 0 12px rgba(73,186,255,0.8);
}

/* Discord */
.social-btn.ds {
    background: rgba(88,101,242,0.15);
    border-color: rgba(88,101,242,0.4);
    color: #8b93ff;
}

.social-btn.ds:hover {
    background: rgba(88,101,242,0.3);
    box-shadow: 0 0 12px rgba(139,147,255,0.8);
}
