@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
    --bg: #06080f;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.05);
    --line: rgba(255, 255, 255, 0.07);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #e9eeff;
    --muted: rgba(233, 238, 255, 0.4);
    --primary: #3f8ff2;
    --primary-light: #7ab8ff;
    --ok: #4ade80;
    --warn: #f97316;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100%;
}

body {
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ─── ATMOSPHERE ─── */
.bg-atmosphere {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 12%, rgba(63, 143, 242, 0.12), transparent 38%),
        radial-gradient(circle at 85% 5%,  rgba(63, 143, 242, 0.08), transparent 34%);
}

.grid-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(to right,  rgba(165, 199, 255, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(165, 199, 255, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

/* ─── LAYOUT ─── */
.container {
    width: min(1160px, 92vw);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-shell {
    padding: 0 0 4rem;
}

/* ─── HEADER / NAV ─── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: rgba(6, 8, 15, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 2rem;
}

.brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 32px;
    width: auto;
    filter: brightness(1.1);
}

/* fallback text logo if image missing */
.brand-logo-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    color: #fff;
    text-transform: uppercase;
}

.brand-logo-text span {
    color: var(--primary);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
    min-height: 34px;
    line-height: 1;
}

.site-nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: transparent;
    transform: translateX(-50%);
    border-radius: 2px;
    transition: background-color 0.2s;
}

.site-nav-links a:hover {
    color: var(--text);
}

.site-nav-links a.is-active {
    color: var(--text);
}

.site-nav-links a.is-active::after {
    background: var(--primary);
}

.site-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 7px;
    border: 1px solid transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: #5aa3ff;
    border-color: #5aa3ff;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--line-strong);
}

.btn-outline:hover {
    background: var(--surface-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-discord {
    background: #5865F2;
    border-color: #5865F2;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-discord:hover {
    background: #6d78ff;
    border-color: #6d78ff;
    transform: translateY(-1px);
}

/* ─── HERO ─── */
.home-hero {
    padding: 3rem 0 2.5rem;
}

.home-header-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
    align-items: start;
}

.home-banner {
    display: flex;
    flex-direction: column;
}

.hero-centered {
    align-items: center;
    text-align: center;
}

.hero-centered .lead {
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(3.2rem, 7vw, 6rem);
    line-height: 0.92;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #fff;
}

h1 em {
    font-style: normal;
    color: var(--primary);
}

h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2rem);
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}

h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.15;
}

h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    color: #fff;
}

.lead {
    margin-top: 1.4rem;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 44ch;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    padding: 11px 26px;
    font-size: 0.82rem;
}


.hero-stats {
    margin-top: 2.5rem;
}

.hero-metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 760px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(63, 143, 242, 0.08), rgba(255, 255, 255, 0.02));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.metric-label {
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
}

.metric-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1;
    color: #fff;
    text-align: center;
}

/* ─── SERVER PANEL ─── */
.players-online-wrapper {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.improved-servers-panel {
    box-shadow: 0 2px 16px 0 rgba(63,143,242,0.07);
    border: 1.5px solid var(--primary-light);
}

.panel-header {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.online-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ok);
}

.servers-table {
    width: 100%;
}

.servers-table table {
    width: 100%;
    border-collapse: collapse;
}

.servers-table td {
    padding: 13px 10px;
    font-size: 0.93rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}
.server-icon {
    width: 36px;
    text-align: center;
    color: var(--primary-light);
    font-size: 1.3rem;
}
.server-online {
    color: var(--ok);
    font-size: 1.3rem;
    vertical-align: middle;
}

.servers-table tr:last-child td {
    border-bottom: none;
}

.server-name {
    font-weight: 600;
    color: var(--text);
}

.server-bar-cell {
    width: 72px;
}

.server-bar-wrap {
    width: 64px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.server-bar-wrap.big {
    width: 140px;
    height: 8px;
    background: rgba(63,143,242,0.13);
    box-shadow: 0 1px 6px 0 rgba(63,143,242,0.09);
}
.server-bar {
    height: 100%;
    border-radius: 2px;
    background: var(--primary);
    transition: width 0.5s cubic-bezier(.4,2,.6,1);
}
.server-bar.near-full {
    background: var(--warn);
}

.panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid var(--line);
}

.panel-footer-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.panel-footer-count {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

/* ─── SECTION HEAD ─── */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.section-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 4px;
}

.link-sm {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
    white-space: nowrap;
}

.link-sm:hover {
    color: var(--text);
}

/* ─── PROMO CARDS ─── */
.promo-cards-area {
    margin-top: 2.5rem;
}

.promo-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.promo-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    grid-auto-rows: 180px;
}

.promo-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #0d1220;
    border: 1px solid var(--line);
    display: block;
    text-decoration: none;
    color: inherit;
}

.large-card {
    min-height: 320px;
}

.small-card {
    height: 100%;
    min-height: 180px;
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.promo-card:hover img {
    opacity: 0.82;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(0deg, rgba(6, 8, 15, 0.95) 0%, transparent 100%);
}

.small-card .card-overlay {
    padding: 10px 12px;
}

.news-tag {
    display: inline-block;
    background: rgba(63, 143, 242, 0.18);
    border: 1px solid rgba(63, 143, 242, 0.3);
    color: var(--primary-light);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 7px;
}

/* ─── BANNED STRIP ─── */
.banned-strip {
    margin-top: 1.8rem;
}

.banned-card-content {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.banned-card-content:hover {
    background: var(--surface-hover);
}

.banned-text p {
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--muted);
}

.banned-arrow {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ─── LIVE DROPS ─── */
.live-drops-section {
    margin-top: 2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.4rem;
}

.live-drops-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.section-heading p {
    margin-top: 3px;
    font-size: 0.8rem;
    color: var(--muted);
}

.live-drops-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
}

.drop-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(6, 8, 15, 0.6);
}

.drop-item img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
    opacity: 0.7;
}

.drop-info {
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drop-info strong {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}

.drop-info span {
    font-size: 0.72rem;
    color: var(--muted);
}

/* ─── RANKINGS ─── */
.ranking-area {
    margin-top: 2rem;
}

.ranking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ranking-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px 18px;
}

.ranking-card-head {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.rank-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.rank-row:last-child {
    border-bottom: none;
}

.rank-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(233, 238, 255, 0.18);
    width: 16px;
    text-align: right;
    flex-shrink: 0;
}

.rank-num.top {
    color: var(--primary);
}

.rank-name {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.rank-val {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
}

/* ─── NEWS ─── */
.news-preview {
    margin-top: 2rem;
}

.news-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
}

.news-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card:hover {
    border-color: var(--line-strong);
}

.news-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    opacity: 0.65;
    transition: opacity 0.3s;
    border-bottom: 1px solid var(--line);
}

.news-card:hover img {
    opacity: 0.8;
}

.news-card-body {
    padding: 14px 16px;
}

.meta {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 6px;
}

.news-card-body h3 {
    margin-bottom: 8px;
}

.news-card-body p {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.news-link {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.news-link:hover {
    color: var(--primary-light);
}

/* ─── AUTH PAGES ─── */
.auth-section {
    padding: 3rem 0 1.5rem;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.4fr);
    gap: 1rem;
    align-items: stretch; /* 🔥 chave */
}

.auth-visual,
.auth-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.auth-shell-login .auth-visual {
    order: 1;
}

.auth-shell-login .auth-card {
    order: 2;
}

.auth-shell-login {
    grid-template-columns: minmax(320px, 1fr) minmax(330px, 470px);
    min-height: 480px;
}

.auth-shell-register .auth-visual {
    order: 1;
}

.auth-shell-register .auth-card {
    order: 2;
}

.auth-shell-register {
    min-height: 620px;
}

.auth-visual {
    position: relative;
    overflow: hidden;
}

.auth-visual img {
    position: absolute;   /* 🔥 chave */
    inset: 0;             /* top:0 right:0 bottom:0 left:0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 20%, rgba(63, 143, 242, 0.28), transparent 48%),
        linear-gradient(to top, rgba(63, 143, 242, 0.08), transparent 45%);
    pointer-events: none;
    z-index: 1;
}

.auth-card {
    padding: 1.2rem;
    height: auto; /* 🔥 antes era 100% */
    display: flex;
    flex-direction: column;
}

.auth-shell-login .auth-card {
    width: 100%;
    justify-content: center;
}

.auth-form-head {
    margin-bottom: 0.95rem;
}

.auth-form-head h2 {
    margin-top: 6px;
}

.auth-form-head p {
    margin-top: 0.72rem;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.auth-shell-login .auth-form {
    gap: 0.55rem;
    flex: 0 1 auto;
    justify-content: center;
}

.auth-shell-login .auth-form-head {
    margin-bottom: 0.75rem;
}

.auth-shell-login .auth-form-head p {
    margin-top: 0.6rem;
}

.auth-shell-login .form__group {
    gap: 4px;
}

.auth-shell-login .form__button {
    margin-top: 0.35rem;
}

.captcha-placeholder {
    min-height: 56px;
    border: 1px dashed rgba(122, 184, 255, 0.45);
    border-radius: 8px;
    background: rgba(63, 143, 242, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(233, 238, 255, 0.72);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 0.1rem;
}

.auth-fieldset {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.auth-fieldset legend {
    padding: 0 0.45rem;
    color: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.form__input {
    width: 100%;
    border: 1px solid var(--line-strong);
    background: rgba(6, 8, 15, 0.8);
    color: var(--text);
    border-radius: 7px;
    padding: 11px 12px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(63, 143, 242, 0.14);
}

.form__input.is-invalid {
    border-color: #ef4444;
}

.invalid-feedback {
    color: #fca5a5;
    font-size: 0.78rem;
}

.auth-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.auth-shell-register .auth-form {
    gap: 0.85rem;
}

.auth-shell-register .auth-fieldset + .auth-fieldset {
    margin-top: 0.1rem;
}

.auth-shell-register .form__group {
    gap: 4px;
}

.captcha-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(63, 143, 242, 0.08), rgba(255, 255, 255, 0.02));
    padding: 0.85rem 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.captcha-panel.has-error {
    border-color: rgba(239, 68, 68, 0.55);
    background: rgba(239, 68, 68, 0.1);
}

.captcha-panel-head {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.captcha-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-light);
}

.captcha-help {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.5;
}

.captcha-widget-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow-x: auto;
    padding: 0.25rem 0;
}

.captcha-widget-wrap .cf-turnstile {
    min-height: 65px;
}

.captcha-panel .invalid-feedback {
    margin-top: -1px;
}

.password-wrapper {
    position: relative;
}

.password-wrapper .form__input {
    padding-right: 82px;
}

.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 9px;
    cursor: pointer;
}

.toggle-password:hover {
    color: var(--text);
    border-color: var(--line-strong);
}

.auth-submit {
    width: 100%;
    min-height: 42px;
}

.auth-alert {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.auth-alert-success {
    background: rgba(74, 222, 128, 0.14);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #bbf7d0;
}

.auth-alert-danger {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fecaca;
}

.auth-links p {
    font-size: 0.84rem;
    color: var(--muted);
}

.auth-links a {
    color: var(--primary-light);
    text-decoration: none;
}

.auth-links a:hover {
    color: var(--text);
}

.auth-links-sep {
    color: rgba(255, 255, 255, 0.25);
    margin: 0 4px;
}

/* ─── FOOTER ─── */
.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 2rem;
}

.site-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 56px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(233, 238, 255, 0.22);
}

/* ─── REVEAL ANIMATION ─── */
[data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ─── RESPONSIVE ─── */
@media (max-width: 1020px) {
    .home-header-grid,
    .promo-main-grid,
    .ranking-grid,
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .promo-mini-grid,
    .live-drops-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-nav {
        gap: 1rem;
    }

    .auth-visual {
        height: 220px;
        min-height: unset; /* remove o problema */
    }

    .auth-shell-register .auth-card,
    .auth-shell-register .auth-visual,
    .auth-shell-login .auth-visual,
    .auth-shell-login .auth-card {
        order: initial;
    }

    .auth-shell-login .auth-card {
        max-width: 100%;
    }
}

/* ─── MOBILE NAV ─── */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    display: block;
    transition: 0.3s;
}

/* MOBILE */
@media (max-width: 680px) {

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(6, 8, 15, 0.98);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;

        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all 0.25s ease;
    }

    .site-nav.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav-actions {
        width: 100%;
    }

    .site-nav-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
