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

:root {
    --bg: #0b0d10;
    --bg-soft: #111419;
    --panel: #151920;
    --panel-2: #1a1f27;
    --text: #f2f4f7;
    --muted: #9299a5;
    --line: rgba(255,255,255,.09);
    --accent: #ff9900;
    --accent-2: #ff9100;
    --green: #56d364;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   TOPO
========================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6vw;
    background: url("coisacoisado.png") center / cover no-repeat;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    left: 6vw;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand strong,
.brand span {
    display: block;
}

.brand strong {
    font-size: 20px;
    letter-spacing: .04em;
}

.brand span {
    color: var(--muted);
    font-size: 1px;
    letter-spacing: .14em;
}

nav {
    display: flex;
    gap: 45px;
}

nav a {
    color: #b9bec7;
    font-size: 13px;
    transition: .2s;
}

nav a:hover {
    color: white;
}


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

.hero {
    min-height: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 50px;
    padding: 35px 9vw 90px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #000 !important;
    background-image: none !important;
}

/* Vídeo ocupa todo o fundo do hero */
.hero-bg-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

/* Escurece o vídeo para o texto ficar legível */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .10);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    width: 150%;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    transform: translateY(20px);
}

.eyebrow {
    color: var(--accent-2);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    margin-bottom: 13px;
}

h1 {
    font-size: clamp(45px, 7vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
    max-width: 650px;
}

.hero-text {
    color: var(--muted);
    max-width: 550px;
    width: 100%;
    margin: 25px auto 32px;
    text-align: center;
    font-size: 15px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 20px 19px;
    border-radius: 7px;
    font-size: 20px;
    font-weight: 800;
    transition: transform .2s, background .2s;
}

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

.btn.primary {
    background: var(--accent);
    color: #111;
}

.btn.secondary {
    background: url("skinclick.png") center / cover no-repeat;
    text-shadow: 1px 1px 0 rgba(0,0,0,.55);
    box-shadow: 0 6px 20px rgba(0,0,0,.35);
    border: 1px solid var(--line);
    color: #dce0e6;
}

.connect-small {
    padding: 10px 17px;
    border: 1px solid rgb(212,145,0);
    border-radius: 7px;
    color: var(--accent-2);
    font-size: 12px;
    font-weight: 700;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 3px;
}

.server-status strong,
.server-status small {
    display: block;
}

.server-status strong {
    font-size: 12px;
}

.server-status small {
    color: var(--muted);
    font-family: monospace;
    font-size: 11px;
    margin-top: 2px;
}

.status-dot {
    width: 9px;
    height: 9px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(86,211,100,.6);
}

.hero-card {
    justify-self: center;
    width: min(100%, 380px);
    aspect-ratio: 1 / 1.05;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(145deg, #1a1e25, #0d0f13);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    position: relative;
    z-index: 2;
}

.card-top,
.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-top {
    font-size: 12px;
    font-weight: 800;
}

.live {
    color: var(--green);
    font-size: 10px;
}

.card-bottom {
    position: absolute;
    bottom: 23px;
    left: 22px;
    right: 22px;
}

.card-bottom strong {
    font-size: 13px;
}

.card-bottom span {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .13em;
}


/* =========================
   SEÇÕES
========================= */

.section {
    padding: 100px 9vw;
}

.dark-section {
    background: #0e1115;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 45px;
}

h2 {
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: -.045em;
    line-height: 1;
    margin-bottom: 15px;
}

.section-heading > p:last-child {
    color: var(--muted);
    font-size: 14px;
}


/* =========================
   PASSOS
========================= */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.step {
    min-height: 20px;
    padding: 20px;
    background: var(--panel);
    border-right: 3px solid var(--line);
}

.step:last-child {
    border-right: 0;
}

.step-number {
    color: var(--accent);
    font-size: 19px;
    font-weight: 800;
}

.step h3 {
    margin: 10px 0 9px;
    font-size: 18px;
}

.step p {
    color: var(--muted);
    font-size: 13px;
}

kbd,
code {
    font-family: "SFMono-Regular", Consolas, monospace;
}

kbd {
    padding: 2px 6px;
    border: 1px solid var(--line);
    background: #0a0c0f;
    border-radius: 4px;
    color: #ddd;
}

.step code {
    display: block;
    margin-top: 4px;
    color: var(--accent-2);
    font-size: 100px;
}


/* =========================
   CONEXÃO
========================= */

.connect-box {
    margin-top: 20px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .1em;
    margin-bottom: 10px;
}

.connect-box strong {
    font-family: monospace;
    font-size: 23px;
}

.copy-btn {
    cursor: pointer;
    border: 0;
    background: #f2f4f7;
    color: #101216;
    border-radius: 6px;
    padding: 11px 18px;
    font-weight: 800;
    font-size: 11px;
}


/* =========================
   COMANDOS
========================= */

.commands-layout {
    display: grid;
    grid-template-columns: 1.5fr .5fr;
    gap: 24px;
}

.command-list {
    border-top: 1px solid var(--line);
}

.command {
    min-height: 77px;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--line);
}

.command code {
    color: var(--accent-2);
    font-size: 22px;
}

.command p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 2px;
}

.command > span {
    color: #454b55;
    font-size: 20px;
}


/* =========================
   DICAS
========================= */

.tip-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-self: start;
}

.tip-card {
    padding: 50px;
    border-radius: 10px;
    background: linear-gradient(145deg, #1a1e25, #12151a);
    border: 4px solid var(--line);
}

.tip-icon {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgb(255,217,0);
    color: var(--accent);
    margin-bottom: 30px;
    font-weight: 800;
}

.tip-card h3 {
    font-size: 20px;
    line-height: 1.2;
    margin: 8px 0 12px;
}

.tip-card > p:last-child {
    color: var(--muted);
    font-size: 15px;
}

.tip-card code {
    color: var(--accent-2);
}

.tip-image {
    width: 100%;
    max-width: 1000px;
    border-radius: 8px;
    margin: 16px auto 0;
    display: block;
}


/* =========================
   ATUALIZAÇÕES
========================= */

.updates {
    background: #0b0d10;
}

.patch {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 35px;
    padding: 30px 0;
    border-top: 1px solid var(--line);
}

.patch:last-child {
    border-bottom: 1px solid var(--line);
}

.patch-version strong,
.patch-version small,
.patch-version span {
    display: block;
}

.patch-version strong {
    font-size: 27px;
}

.patch-version small {
    color: var(--muted);
    font-size: 17px;
    margin-top: 4px;
}

.patch-version span {
    display: inline-block;
    color: var(--accent);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 5px;
}

.patch h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.patch-intro,
.patch-content > p {
    color: var(--muted);
    font-size: 18px;
}

.change-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.change-grid > div {
    padding: 15px;
    background: var(--panel);
    border-radius: 7px;
}

.change-grid p {
    color: #c2c6cd;
    font-size: 14px;
    margin-top: 11px;
}

.change-tag {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .12em;
}

.added {
    color: #6ddf83;
}

.changed {
    color: var(--accent-2);
}

.fixed {
    color: #9ca9ff;
}


/* =========================
   AVISOS
========================= */

.warnings {
    scroll-margin-top: 90px;
    background: #0b0d10;
    border-top: 1px solid var(--line);
}

.warning-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.warning-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color .2s, transform .2s;
}



.warning-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,153,0,.45);
    border-radius: 50%;
    color: var(--accent);
    font-size: 18px;
    font-weight: 800;
}

.warning-content {
    flex: 1;
    min-width: 0;
}

.warning-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.warning-tag {
    display: block;
    color: var(--accent-2);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
    margin-bottom: 5px;
}

.warning-card h3 {
    font-size: 20px;
    line-height: 1.2;
}

.warning-header small {
    color: var(--muted);
    font-size: 10px;
    white-space: nowrap;
}

.warning-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin-top: 12px;
}

.warning-card b {
    color: #dce0e6;
}


/* =========================
   REDES SOCIAIS
========================= */

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--panel-2);
    color: #dce0e6;
    font-size: 12px;
    font-weight: 700;
    transition: .2s;
}

.social-btn:hover {
    color: var(--accent);
    border-color: rgba(255,153,0,.45);
    transform: translateY(-2px);
}

.social-section {
    padding: 80px 9vw;
    background: #0e1115;
    border-top: 1px solid var(--line);
}

.social-section .section-heading {
    margin-bottom: 35px;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #dce0e6;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.social-link:hover {
    border-color: rgba(255,153,0,.45);
    color: var(--accent);
    transform: translateY(-2px);
}

.social-link img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 7px;
    flex-shrink: 0;
}


/* =========================
   SKINS
========================= */

.skins-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--line);
}

/* Vídeo ocupa toda a seção */
.skins-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Escurece o vídeo para o texto ficar legível */
.skins-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.62);
    z-index: -1;
}

/* Conteúdo fica por cima do vídeo */
.skins-content {
    position: relative;
    z-index: 1;
}

.skins-section .section-heading {
    max-width: none;
    margin-bottom: 45px;
}

.skins-section .section-heading > p:last-child {
    max-width: 700px;
}

/* Título + botão */
.skins-title-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 15px;
    width: 100%;
}

.skins-title-row h2 {
    margin: 0;
}

/* Outline/sombra para leitura */
.skins-section .eyebrow,
.skins-section h2,
.skins-section .section-heading > p:last-child {
    text-shadow:
        2px 2px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        0 3px 10px rgba(0,0,0,.9);
}

/* Botão */
.skins-btn {
    display: inline-block;
    margin-left: auto;
    padding: 24px 90px;
    border-radius: 10px;
    background: url("skinclick.png") center / cover no-repeat;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
    text-shadow: 2px 2px 0 rgba(0,0,0,.55);
    box-shadow: 0 6px 20px rgba(0,0,0,.35);
    transition: transform .2s, background .2s;
}

.skins-btn:hover {
    background:
        linear-gradient(rgba(255, 153, 0, 0.45), rgba(255, 153, 0, 0.45)),
        url("skinclick.png") center / cover no-repeat;
    transform: translateY(-2px);
}

/* Mantido caso ainda exista algum skins-foto no HTML */
.skins-foto video,
.skins-foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.skins-stack {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.skins-subtitle {
    margin-bottom: 18px;
    padding-left: 10px;
    border-left: 3px solid var(--accent);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.skins-section .steps {
    margin: 0;
}

.skins-cmds {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.skins-cmd {
    min-height: 0;
    padding: 20px 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.skins-help {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 30px;
    padding: 36px;
    background: linear-gradient(145deg, #1a1e25, #12151a);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.skins-help h3 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.2;
}

.skins-help p {
    color: var(--muted);
    font-size: 15px;
}

.skins-help code {
    color: var(--accent-2);
}

.skins-help-img {
    display: block;
    width: 100%;
    max-height: 100px;
    object-fit: contain;
    border-radius: 8px;
    transform: scale(1.5);
}


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

footer {
    padding: 45px 9vw;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

footer strong {
    font-size: 12px;
}

footer span,
footer p {
    color: var(--muted);
    font-size: 11px;
}

footer p {
    margin-left: auto;
}


/* =========================
   TOAST
========================= */

#toast {
    position: fixed;
    left: 50%;
    bottom: 25px;
    transform: translate(-50%, 80px);
    padding: 11px 17px;
    background: #f2f4f7;
    color: #111;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 800;
    opacity: 0;
    transition: .25s;
    z-index: 50;
}

#toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 850px) {

    nav {
        display: none;
    }

    .topbar {
        padding: 0 5vw;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 35px 7vw 75px;
    }

    .hero-card {
        width: min(100%, 330px);
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .step:last-child {
        border-bottom: 0;
    }

    .commands-layout {
        grid-template-columns: 1fr;
    }

    .tip-card {
        display: none;
    }

    .change-grid {
        grid-template-columns: 1fr;
    }

    .patch {
        grid-template-columns: 100px 1fr;
        gap: 20px;
    }

    footer p {
        margin-left: 0;
        width: 100%;
    }

    .skins-cmds,
    .skins-help {
        grid-template-columns: 1fr;
    }

    .skins-help {
        gap: 24px;
        padding: 24px;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================
   AVISOS - CELULAR
========================= */

@media (max-width: 520px) {

    .connect-small {
        display: none;
    }

    .hero {
        padding-left: 6vw;
        padding-right: 6vw;
    }

    .section {
        padding: 75px 6vw;
    }

    h1 {
        font-size: 48px;
    }

    .connect-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .warning-card {
        padding: 20px;
        gap: 14px;
    }

    .warning-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .warning-header {
        flex-direction: column;
        gap: 5px;
    }

    .warning-header small {
        font-size: 9px;
    }

    .warning-card h3 {
        font-size: 17px;
    }

    .warning-card p {
        font-size: 12px;
    }

    .social-section {
        padding: 70px 6vw;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .skins-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .skins-btn {
    display: inline-block;
    margin-left: 25px;
    padding: 24px 32px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    text-shadow: 2px 2px 0 rgba(0,0,0,.55);
    box-shadow: 0 6px 20px rgba(0,0,0,.35);
    transition: transform .2s, background .2s;
}

.skins-btn:hover {
    background: var(--accent-2);
    transform: translateY(-2px);
}
}

.topbar-actions {
    position: absolute;
    right: 6vw;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.user-status {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.user-status strong {
    color: var(--text);
}

.logout-button {
    padding: 10px 17px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    transition: .2s;
    white-space: nowrap;
}

.logout-button:hover {
    color: white;
    border-color: rgba(255,153,0,.45);
}
.login-steam {
    position: relative;
    padding: 10px 17px;
    border: 1px solid rgb(212,145,0);
    border-radius: 7px;
    color: var(--accent-2);
    font-size: 12px;
    font-weight: 700;
    transition: .2s;
}

.login-steam:hover {
    background: rgba(255,153,0,.08);
    color: #fff;
}

.login-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-5px);

    width: 230px;
    padding: 10px 12px;

    background: #151920;
    border: 1px solid var(--line);
    border-radius: 7px;

    color: var(--text);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity .2s, transform .2s;
    z-index: 100;
}

.login-tooltip::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);

    border: 6px solid transparent;
    border-bottom-color: #151920;
}

.login-steam:hover .login-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


.hero-warning {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin: 22px auto 0;
    padding: 16px 19px;
    text-align: left;

    background: rgba(219, 121, 0, 0.09);
    border: 1px solid rgba(219, 121, 0, 0.4);
    border-radius: 9px;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-warning-title {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--accent-2);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.warning-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 19px;
    height: 19px;
    flex-shrink: 0;

    border: 1.5px solid currentColor;
    border-radius: 50%;

    font-size: 12px;
    font-weight: 900;
}

.hero-warning p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.hero-warning strong {
    color: #e8a13b;
    font-weight: 700;
}

@media (max-width: 480px) {
    .hero-warning {
        padding: 14px;
        margin-top: 18px;
    }

    .hero-warning p {
        font-size: 11px;
    }
}

