/* RockCity v7.3.1 — Landing Page Full-Bleed Comic Background + Glass Dark GOD MODE */

.rc-landing-body {
    margin: 0;
    min-height: 100vh;
    position: relative;
    background-color: #0b0f18;
    background-image:
        linear-gradient(180deg, rgba(11, 15, 24, 0.72) 0%, rgba(11, 15, 24, 0.56) 42%, rgba(11, 15, 24, 0.84) 100%),
        radial-gradient(circle at 20% 15%, rgba(245, 158, 11, 0.16), transparent 48%),
        radial-gradient(circle at 82% 20%, rgba(56, 189, 248, 0.14), transparent 48%),
        url('../img/hero_rockcity_comic.webp');
    background-size: cover, cover, cover, cover;
    background-position: center, center, center, center;
    background-attachment: fixed;
    color: #e5e7eb;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px 18px 34px;
    box-sizing: border-box;
}

/* Cabeçalho Centralizado com Logo em Destaque */
.rc-landing-brand {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rc-landing-logo {
    height: clamp(72px, 8.5vw, 104px);
    width: auto;
    max-width: 92%;
    display: block;
    filter:
        drop-shadow(0 10px 26px rgba(0, 0, 0, 0.78))
        drop-shadow(0 0 22px rgba(245, 158, 11, 0.34));
    transition: transform 0.3s ease;
}

.rc-landing-logo:hover {
    transform: scale(1.025);
}

.rc-landing-shell {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.88fr);
    gap: 30px;
    align-items: center;
}

/* Coluna Esquerda — Conteúdo Sobreposto à Cidade */
.rc-landing-showcase {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rc-landing-headline {
    margin: 0;
    font-size: clamp(1.9rem, 3.4vw, 2.85rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.rc-landing-headline span {
    background: linear-gradient(90deg, #fde047 0%, #f59e0b 52%, #7dd3fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.65));
}

.rc-landing-lead {
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.58;
    color: #f1f5f9;
    max-width: 58ch;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* Estatísticas do Mundo em Faixa Glass */
.rc-world-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.rc-world-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 10px;
    background: rgba(11, 15, 24, 0.72);
    border: 1px solid rgba(245, 158, 11, 0.32);
    font-size: 0.82rem;
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.rc-world-stat strong {
    color: #fbbf24;
    font-size: 0.98rem;
    font-weight: 800;
}

.rc-comic-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #7dd3fc;
    background: rgba(11, 15, 24, 0.74);
    border: 1px solid rgba(125, 211, 252, 0.38);
    padding: 7px 12px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Grade de Destaques em Glass Cards */
.rc-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.rc-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(13, 19, 32, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.rc-feature-item:hover {
    border-color: rgba(245, 158, 11, 0.58);
    background: rgba(19, 25, 38, 0.86);
    transform: translateY(-2px);
}

.rc-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.08rem;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.36);
}

.rc-feature-item strong {
    display: block;
    font-size: 0.88rem;
    color: #f8fafc;
    margin-bottom: 3px;
}

.rc-feature-item small {
    display: block;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #cbd5e1;
}

/* Coluna Direita — Painel de Acesso Interativo Glass */
.rc-auth-panel {
    background: rgba(13, 19, 32, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 16px;
    padding: 22px 22px 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(245, 158, 11, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.rc-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 5px;
    border-radius: 11px;
    background: rgba(9, 13, 22, 0.85);
    border: 1px solid #26344d;
    margin-bottom: 18px;
}

.rc-auth-tab {
    appearance: none;
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    color: #94a3b8;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.rc-auth-tab:hover {
    color: #f8fafc;
}

.rc-auth-tab.is-active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0b0f18;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.rc-auth-pane {
    display: none;
    animation: rcFadeSlide 0.22s ease;
}

.rc-auth-pane.is-active {
    display: block;
}

@keyframes rcFadeSlide {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rc-auth-title {
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #f8fafc;
}

.rc-auth-sub {
    margin: 0 0 16px;
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.rc-auth-panel .rc-form {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.rc-auth-panel .rc-form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
}

.rc-auth-panel .rc-form input,
.rc-auth-panel .rc-form select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 9px;
    border: 1px solid #30405e;
    background: rgba(9, 13, 22, 0.88);
    color: #f8fafc;
    font-size: 0.92rem;
    box-sizing: border-box;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.rc-auth-panel .rc-form input:focus,
.rc-auth-panel .rc-form select:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.rc-pass-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.rc-pass-wrap input {
    padding-right: 42px;
}

.rc-pass-toggle {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 6px;
    font-size: 0.95rem;
    line-height: 1;
}

.rc-pass-toggle:hover {
    color: #fbbf24;
}

.rc-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rc-cta-btn {
    margin-top: 6px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.rc-cta-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.rc-cta-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: #0b0f18;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.32);
}

.rc-cta-accent {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: #0b0f18;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.32);
}

.rc-auth-switch {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    text-align: center;
    font-size: 0.82rem;
    color: #cbd5e1;
}

.rc-auth-switch button {
    background: none;
    border: none;
    padding: 0;
    color: #7dd3fc;
    font-weight: 700;
    font-size: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rc-auth-switch button:hover {
    color: #fbbf24;
}

.rc-landing-footer {
    width: 100%;
    max-width: 1160px;
    margin: 26px auto 0;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.78rem;
    color: #cbd5e1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

@media (max-width: 960px) {
    .rc-landing-body {
        background-attachment: scroll;
    }
    .rc-landing-shell {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .rc-auth-panel {
        order: -1;
    }
}

@media (max-width: 560px) {
    .rc-feature-grid,
    .rc-form-row-2 {
        grid-template-columns: 1fr;
    }
    .rc-landing-body {
        padding: 18px 12px 28px;
    }
    .rc-auth-panel {
        padding: 18px 16px;
    }
}

/* ============================================================================
   RockCity v7.1.9 — Landing Page Dinâmica & Mobile Horizontal 2 Colunas
   ============================================================================ */

/* Atmosfera dinâmica de palco (holofotes sutis + contenção global) */
.rc-landing-body {
    overflow-x: clip;
    isolation: isolate;
}
.rc-landing-body::before,
.rc-landing-body::after {
    content: '';
    position: fixed;
    pointer-events: none;
    z-index: -1;
    border-radius: 50%;
    filter: blur(68px);
    opacity: 0.42;
    will-change: transform, opacity;
}
.rc-landing-body::before {
    width: 44vw;
    height: 44vw;
    max-width: 520px;
    max-height: 520px;
    top: -12%;
    left: -8%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.34) 0%, rgba(234, 88, 12, 0.08) 55%, transparent 72%);
    animation: rcSpotAmber 11s ease-in-out infinite alternate;
}
.rc-landing-body::after {
    width: 42vw;
    height: 42vw;
    max-width: 500px;
    max-height: 500px;
    bottom: -14%;
    right: -6%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.30) 0%, rgba(168, 85, 247, 0.10) 55%, transparent 72%);
    animation: rcSpotCyan 13s ease-in-out infinite alternate;
}
@keyframes rcSpotAmber {
    0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.36; }
    100% { transform: translate3d(5%, 7%, 0) scale(1.12); opacity: 0.52; }
}
@keyframes rcSpotCyan {
    0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.34; }
    100% { transform: translate3d(-6%, -5%, 0) scale(1.14); opacity: 0.50; }
}

/* Contenção de células e entradas suaves */
.rc-landing-shell > *,
.rc-feature-grid > *,
.rc-form-row-2 > *,
.rc-auth-panel {
    min-width: 0;
    box-sizing: border-box;
}
.rc-landing-showcase {
    animation: rcLandRise 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rc-auth-panel {
    position: relative;
    overflow: hidden;
    animation: rcLandRise 0.54s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}
/* Filete neon animado no topo do card de login */
.rc-auth-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #f59e0b 28%, #fde047 50%, #38bdf8 76%, transparent 100%);
    background-size: 200% 100%;
    animation: rcRimShimmer 4.5s linear infinite;
}
@keyframes rcRimShimmer {
    0%   { background-position: 180% 0; }
    100% { background-position: -20% 0; }
}
@keyframes rcLandRise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Indicador vivo na tag + brilho dinâmico nos cards e botão CTA */
.rc-comic-tag {
    gap: 6px;
}
.rc-comic-tag::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: rcLivePulse 2.2s ease-out infinite;
    flex-shrink: 0;
}
@keyframes rcLivePulse {
    0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.65); }
    70%  { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.rc-world-stat {
    transition: transform 0.18s ease, border-color 0.18s ease;
}
.rc-world-stat:hover {
    transform: translateY(-1px);
    border-color: rgba(251, 191, 36, 0.58);
}
.rc-cta-btn {
    position: relative;
    overflow: hidden;
}
.rc-cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
    transform: translateX(-130%);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.rc-cta-btn:hover::after {
    transform: translateX(130%);
}
.rc-cta-btn:active {
    transform: scale(0.985);
}

/* ============================================================================
   Mobile Horizontal (Landscape): 2 Colunas Dinâmicas Estilo Desktop Compacto
   ============================================================================ */
@media (orientation: landscape) and (max-height: 600px),
       (orientation: landscape) and (min-width: 560px) and (max-width: 1024px) and (max-height: 620px) {
    .rc-landing-body {
        min-height: 100dvh;
        justify-content: center;
        background-attachment: scroll;
        padding:
            max(8px, env(safe-area-inset-top, 0px))
            max(16px, env(safe-area-inset-right, 0px))
            max(8px, env(safe-area-inset-bottom, 0px))
            max(16px, env(safe-area-inset-left, 0px));
    }

    /* Cabeçalho compacto acima das 2 colunas */
    .rc-landing-brand {
        max-width: 980px;
        margin: 0 auto 8px;
        justify-content: flex-start;
    }
    .rc-landing-logo {
        height: clamp(34px, 9.5dvh, 48px);
        max-width: 60%;
    }

    /* Grade 2 colunas mantida como no desktop, com proporção equilibrada */
    .rc-landing-shell {
        max-width: 980px;
        grid-template-columns: minmax(0, 1.14fr) minmax(268px, 0.86fr) !important;
        gap: clamp(12px, 2.2vw, 22px);
        align-items: center;
    }

    /* Coluna Esquerda: Vitrine Dinâmica & Escaneável */
    .rc-landing-showcase {
        gap: 8px;
    }
    .rc-landing-headline {
        font-size: clamp(1.16rem, 2.4vw, 1.56rem);
        line-height: 1.08;
    }
    .rc-landing-lead {
        font-size: 0.74rem;
        line-height: 1.38;
        color: #dbe6f5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .rc-world-stats {
        gap: 5px;
    }
    .rc-world-stat {
        padding: 4px 8px;
        border-radius: 8px;
        font-size: 0.66rem;
        gap: 4px;
        background: rgba(11, 15, 24, 0.78);
    }
    .rc-world-stat strong {
        font-size: 0.76rem;
    }
    .rc-comic-tag {
        padding: 4px 8px;
        border-radius: 8px;
        font-size: 0.62rem;
    }

    /* 4 Destaques em Grade 2x2 Compacta e Moderna */
    .rc-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px;
    }
    .rc-feature-item {
        padding: 7px 9px;
        gap: 7px;
        border-radius: 10px;
        background: linear-gradient(155deg, rgba(15, 23, 42, 0.84), rgba(9, 13, 22, 0.76));
        border-color: rgba(148, 163, 184, 0.24);
    }
    .rc-feature-icon {
        width: 26px;
        height: 26px;
        border-radius: 7px;
        font-size: 0.82rem;
    }
    .rc-feature-item strong {
        font-size: 0.72rem;
        line-height: 1.18;
        margin-bottom: 1px;
    }
    .rc-feature-item small {
        font-size: 0.64rem;
        line-height: 1.26;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Coluna Direita: Painel de Login/Cadastro Glass Dinâmico */
    .rc-auth-panel {
        order: 0 !important;
        padding: 12px 14px 11px;
        border-radius: 14px;
        background: linear-gradient(165deg, rgba(15, 23, 42, 0.90), rgba(9, 13, 24, 0.88));
        border-color: rgba(245, 158, 11, 0.28);
        box-shadow:
            0 16px 36px rgba(0, 0, 0, 0.64),
            0 0 0 1px rgba(56, 189, 248, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.09);
    }
    .rc-auth-tabs {
        padding: 3px;
        gap: 4px;
        border-radius: 9px;
        margin-bottom: 10px;
    }
    .rc-auth-tab {
        padding: 6px 8px;
        font-size: 0.76rem;
        border-radius: 7px;
    }
    .rc-auth-title {
        font-size: 0.96rem;
        margin-bottom: 2px;
    }
    .rc-auth-sub {
        font-size: 0.7rem;
        line-height: 1.3;
        margin-bottom: 9px;
    }
    .rc-auth-panel .rc-form {
        gap: 7px;
    }
    .rc-auth-panel .rc-form label {
        gap: 3px;
        font-size: 0.7rem;
    }
    .rc-auth-panel .rc-form input,
    .rc-auth-panel .rc-form select {
        padding: 7px 10px;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    .rc-pass-wrap input {
        padding-right: 36px;
    }
    .rc-pass-toggle {
        font-size: 0.84rem;
        right: 6px;
    }
    .rc-cta-btn {
        margin-top: 3px;
        padding: 9px 12px;
        font-size: 0.82rem;
        border-radius: 9px;
    }
    .rc-auth-switch {
        margin-top: 8px;
        padding-top: 7px;
        font-size: 0.7rem;
    }

    /* Rodapé discreto */
    .rc-landing-footer {
        max-width: 980px;
        margin: 8px auto 0;
        padding-top: 6px;
        font-size: 0.66rem;
        gap: 6px;
        opacity: 0.85;
    }
}

/* Telas horizontais bem baixas (<= 395px de altura, ex.: 667x375 / 800x360):
   mantém 2 colunas cabendo inteiras sem rolagem */
@media (orientation: landscape) and (max-height: 395px) {
    .rc-landing-brand {
        margin-bottom: 5px;
    }
    .rc-landing-logo {
        height: 32px;
    }
    .rc-landing-lead {
        display: none;
    }
    .rc-feature-item small {
        -webkit-line-clamp: 1;
    }
    .rc-auth-sub {
        display: none;
    }
    .rc-auth-tabs {
        margin-bottom: 8px;
    }
    .rc-auth-title {
        margin-bottom: 6px;
    }
    .rc-landing-footer {
        margin-top: 6px;
        padding-top: 5px;
    }
}

/* Acessibilidade: respeita preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .rc-landing-body::before,
    .rc-landing-body::after,
    .rc-landing-showcase,
    .rc-auth-panel,
    .rc-auth-panel::before,
    .rc-comic-tag::before,
    .rc-cta-btn::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Studio Noir 3.0 — Estabilidade tabular e acabamento tátil na tela inicial */
.rc-world-stat strong {
    font-variant-numeric: tabular-nums;
}

.rc-cta-btn {
    transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), filter 0.18s ease, box-shadow 0.18s ease;
}

.rc-cta-btn:active {
    transform: scale(0.97);
}
