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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #08080f;
    color: #fff;
    min-height: 100vh;
}

/* HEADER */

header {
    height: 72px;
    padding: 0 48px;

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

    background: rgba(8, 8, 15, 0.96);
    border-bottom: 1px solid #222230;

    position: relative;
    z-index: 10;
}

.logo {
    color: #914cff;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
margin-left: 45px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: #aaaabb;
    text-decoration: none;
    font-size: 14px;

    transition: 0.2s;
}

nav a:hover {
    color: #fff;
}

/* BOTÃO ENTRAR */

header button {
    border: none;
    background: #914cff;
    color: #fff;

    padding: 10px 18px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}

header button:hover {
    background: #a96aff;
    transform: translateY(-1px);
}

/* HERO */

.hero {
    min-height: 560px;

    padding: 130px 7% 80px;

    position: relative;

    overflow: hidden;
}

/* brilho roxo */

.hero::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    background: #7c3aed;

    opacity: 0.08;

    filter: blur(130px);

    border-radius: 50%;

    left: 50%;
    top: 45%;

    transform: translate(-50%, -50%);

    pointer-events: none;
}

.hero h1 {
    position: relative;
    z-index: 2;

    max-width: 600px;

    font-size: 72px;
    line-height: 0.98;

    letter-spacing: -4px;

    margin-bottom: 25px;
}

.hero p {
    position: relative;
    z-index: 2;

    color: #a5a5b6;

    font-size: 18px;

    line-height: 1.6;

    max-width: 570px;

    margin-bottom: 30px;
}

/* TEXTO PEQUENO ACIMA DO HERO */

.hero > p:first-child {
    color: #a66aff;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 18px;
}

/* LINK EXPLORAR */

.hero a {
    position: relative;
    z-index: 2;

    display: inline-block;

    padding: 14px 22px;

    background: #914cff;

    color: #fff;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 700;

    transition: 0.2s;
}

.hero a:hover {
    background: #a96aff;
    transform: translateY(-2px);
}

/* CONVERSOR */

.converter {
    width: min(650px, 90%);

    margin: -30px auto 100px;

    padding: 35px;

    background: #10101a;

    border: 1px solid #29293a;

    border-radius: 18px;

    position: relative;
    z-index: 3;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.converter h2 {
    font-size: 28px;

    margin-bottom: 12px;

    text-align: center;
}

.converter p {
    color: #9292a3;

    font-size: 14px;

    line-height: 1.5;

    margin-bottom: 25px;
}

/* LABELS */

.converter label {
    display: block;

    color: #c7c7d2;

    font-size: 13px;

    margin-bottom: 7px;
}

/* INPUTS E SELECTS */

.converter input,
.converter select {
    width: 100%;

    height: 48px;

    padding: 0 14px;

    margin-bottom: 18px;

    background: #090910;

    color: #fff;

    border: 1px solid #303044;

    border-radius: 8px;

    outline: none;

    font-size: 14px;
}

.converter input:focus,
.converter select:focus {
    border-color: #914cff;

    box-shadow: 0 0 0 3px rgba(145, 76, 255, 0.12);
}

/* BOTÃO DO CONVERSOR */

.converter button {
    width: 100%;

    height: 48px;

    border: none;

    border-radius: 8px;

    background: #914cff;

    color: #fff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}

.converter button:hover {
    background: #a96aff;

    transform: translateY(-1px);
}

/* RESULTADO */

#resultado {
    min-height: 45px;

    margin-top: 18px;

    padding: 14px;

    background: #171722;

    border-radius: 8px;

    color: #cbb8ff;

    text-align: center;

    font-weight: 600;
}

/* FERRAMENTAS */

.tools {
    padding: 90px 7%;

    background: #0b0b13;

    border-top: 1px solid #1d1d29;
}

.tools h2 {
    font-size: 42px;

    margin-bottom: 12px;
}

.tools > p {
    color: #9292a3;

    margin-bottom: 40px;
}

/* GRID */

.tools-grid {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

/* CARDS */

.tool-card {
    padding: 28px;

    min-height: 220px;

    background: #10101a;

    border: 1px solid #272737;

    border-radius: 14px;

    transition: 0.25s;
}

.tool-card:hover {
    border-color: #914cff;

    transform: translateY(-5px);

    box-shadow: 0 15px 40px rgba(145, 76, 255, 0.08);
}

.tool-card h3 {
    font-size: 20px;

    margin-bottom: 12px;
}

.tool-card p {
    color: #9292a3;

    font-size: 14px;

    line-height: 1.5;

    margin-bottom: 20px;
}

.tool-card button,
.tool-card a {
    color: #a66aff;

    background: none;

    border: none;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    text-decoration: none;
}

/* FOOTER */

footer {
    padding: 35px 7%;

    border-top: 1px solid #20202c;

    color: #686878;

    font-size: 13px;

    text-align: center;
}

/* RESPONSIVO */

@media (max-width: 800px) {

    header {
        padding: 0 20px;
    }

    nav {
        gap: 15px;
    }

    .hero {
        padding: 90px 20px 60px;
    }

    .hero h1 {
        font-size: 55px;
    }

    .converter {
        width: calc(100% - 40px);

        margin-top: -20px;
    }

    .tools {
        padding: 70px 20px;
    }

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

@media (max-width: 600px) {

    nav {
        display: none;
    }

    .hero h1 {
        font-size: 45px;

        letter-spacing: -2px;
    }

    .converter {
        padding: 25px;
    }
}
/* RESULTADO DO CONVERSOR */

#resultado {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid #8b5cf6;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.08);
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    min-height: 20px;
}

#resultado strong {
    color: #a855f7;
    font-size: 22px;
    display: block;
    margin-top: 6px;
}
.copy-button {
    display: block;
    width: auto;
    margin: 12px auto 8px;
    padding: 9px 18px;
    border: 1px solid #8b5cf6;
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.copy-button:hover {
    background: #8b5cf6;
    transform: translateY(-1px);
}

.copy-button:active {
    transform: translateY(0);
}
.copy-button {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 12px auto 8px !important;
    padding: 9px 18px !important;
    border: 1px solid #8b5cf6;
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.copy-button:hover {
    background: #8b5cf6;
    transform: translateY(-1px);
}
/* ESTATÍSTICAS */

.stats-section {
    max-width: 650px;
    margin: 80px auto;
    padding: 40px;
    border: 1px solid #2d2d3d;
    border-radius: 16px;
    background: #10101a;
}

.stats-section .section-header {
    margin-bottom: 30px;
}

.stats-section h2 {
    margin-bottom: 10px;
    color: #ffffff;
}

.stats-section p {
    color: #9ca3af;
}

.stats-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stats-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stats-form label {
    color: #ffffff;
    font-size: 14px;
}

.stats-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #303044;
    border-radius: 8px;
    background: #080810;
    color: #ffffff;
    font-size: 15px;
}

.stats-form input:focus {
    outline: none;
    border-color: #8b5cf6;
}

.stats-button {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #8b5cf6;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.stats-button:hover {
    background: #9b6aff;
    transform: translateY(-1px);
}

#resultadoStats {
    margin-top: 20px;
}
.stats-result {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.stat-box {
    padding: 20px 12px;
    border: 1px solid #2d2d3d;
    border-radius: 10px;
    background: #080810;
    text-align: center;
}

.stat-box span {
    display: block;
    margin-bottom: 8px;
    color: #9ca3af;
    font-size: 13px;
}

.stat-box strong {
    color: #a855f7;
    font-size: 24px;
}
.stats-result {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.stat-box {
    min-width: 0;
}
@media (max-width: 600px) {
    .stats-result {
        grid-template-columns: 1fr 1fr;
    }
}
.performance-bar {
    width: 100%;
    height: 7px;
    margin: 12px 0 10px;
    border-radius: 10px;
    background: #242434;
    overflow: hidden;
}

.performance-fill {
    height: 100%;
    border-radius: 10px;
    background: #8b5cf6;
    transition: width 0.5s ease;
}

.stat-box small {
    display: block;
    color: #9ca3af;
    font-size: 12px;
}
/* MENU LATERAL */

.menu-button {
    position: fixed;
    top: 13px;
    left: 20px;
    z-index: 1100;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    padding: 5px;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: #10101a;
    border-right: 1px solid #2d2d3d;
    z-index: 1000;
    padding: 25px;
    box-sizing: border-box;
    transition: left 0.3s ease;
}

.side-menu.active {
    left: 0;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.35);
}


.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.menu-header strong {
    color: #a855f7;
    font-size: 22px;
}

.menu-header button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
}

.side-menu a {
    display: block;
    padding: 15px 10px;
    margin-bottom: 5px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.2s;
}

.side-menu a:hover {
    background: #1c1c2a;
    color: #a855f7;
}
/* =========================
   CLIPS
========================= */

.clips-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 40px;
    border: 1px solid #2d2d3d;
    border-radius: 16px;
    background: #10101a;
}

.clips-section .section-header {
    margin-bottom: 30px;
}

.clips-section h2 {
    color: #ffffff;
    margin-bottom: 10px;
}

.clips-section p {
    color: #9ca3af;
}

.clips-upload {
    padding: 50px 30px;
    border: 1px dashed #3b3b50;
    border-radius: 14px;
    text-align: center;
    background: #080810;
}

.upload-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.clips-upload h3 {
    color: #ffffff;
    margin-bottom: 8px;
}

.clips-upload p {
    margin-bottom: 25px;
}

#clipInput {
    display: none;
}

.upload-button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    background: #8b5cf6;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.upload-button:hover {
    background: #9b6aff;
    transform: translateY(-1px);
}
/* =========================
   CLIP PREVIEW
========================= */

#clipPreview {
    margin-top: 25px;
}

.clip-card {
    padding: 20px;
    border: 1px solid #2d2d3d;
    border-radius: 14px;
    background: #080810;
}

.clip-card video {
    display: block;
    width: 100%;
    max-height: 500px;
    border-radius: 10px;
    background: #000000;
}

.clip-info {
    margin-top: 15px;
}

.clip-info h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 6px;
    word-break: break-word;
}

.clip-info p {
    color: #9ca3af;
    font-size: 13px;
}
#clipPreview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}
.clip-number {
    color: #a855f7;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}
/* =========================
   CLIP GAME E TAGS
========================= */

.clips-upload select {
    width: 220px;
    padding: 12px 14px;
    margin: 8px;
    border: 1px solid #303044;
    border-radius: 8px;
    background: #080810;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

.clips-upload select:focus {
    outline: none;
    border-color: #8b5cf6;
}

.clip-tags {
    display: inline-flex;
    flex-direction: column;
    vertical-align: middle;
    margin: 8px;
    text-align: left;
}

.clip-tags label {
    margin-bottom: 6px;
    color: #9ca3af;
    font-size: 13px;
}
/* =========================
   ANIMAÇÕES DAS ÁREAS
========================= */

.hero,
.converter-section,
.stats-section,
.tools-section,
.clips-section {
    animation: areaEntrada 0.35s ease;
}

@keyframes areaEntrada {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================
   TRANSIÇÃO ENTRE ABAS
========================= */

.hero,
.converter-section,
.stats-section,
.tools-section,
.clips-section {
    animation: trocarAba 0.35s ease;
}

@keyframes trocarAba {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================
   FUNDO DO MENU
========================= */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* =========================
   BOTÕES DO MENU
========================= */

.side-menu > button:not(.menu-close) {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 6px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #b8b8c7;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.side-menu > button:not(.menu-close):hover {
    background: #191922;
    color: #ffffff;
    transform: translateX(4px);
}

.side-menu > button.active {
    background: #1d1a27;
    color: #a855f7;
    box-shadow: inset 3px 0 0 #a855f7;
}
/* =========================
   ANIMAÇÃO DOS BOTÕES DO MENU
========================= */

.side-menu.active > button:not(.menu-close) {
    animation: menuBotaoEntrada 0.35s ease both;
}

.side-menu.active > button:nth-of-type(2) {
    animation-delay: 0.05s;
}

.side-menu.active > button:nth-of-type(3) {
    animation-delay: 0.10s;
}

.side-menu.active > button:nth-of-type(4) {
    animation-delay: 0.15s;
}

.side-menu.active > button:nth-of-type(5) {
    animation-delay: 0.20s;
}

@keyframes menuBotaoEntrada {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* =========================
   HEADER PREMIUM
========================= */

header {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

header .logo {
    transition: all 0.25s ease;
}

header .logo:hover {
    transform: translateY(-1px);
    text-shadow: 0 0 18px rgba(168, 85, 247, 0.45);
}

header button:not(.menu-button) {
    transition: all 0.25s ease;
}

header button:not(.menu-button):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(145, 76, 255, 0.25);
}
/* =========================
   CARDS PREMIUM
========================= */

.feature-card,
.tool-card,
.stat-card {
    transition: transform 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.feature-card:hover,
.tool-card:hover,
.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.feature-card::before,
.tool-card::before,
.stat-card::before {
    transition: opacity 0.25s ease;
    opacity: 0;
}

.feature-card:hover::before,
.tool-card:hover::before,
.stat-card:hover::before {
    opacity: 1;
}
/* =========================
   ENTRADA DA PÁGINA
========================= */

.hero {
    animation: heroEntrada 0.7s ease both;
}

@keyframes heroEntrada {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================
   CLIPS — UPLOAD PREMIUM
========================= */

.clips-upload {
    transition: all 0.3s ease;
    border: 1px solid #2d2d3d;
}

.clips-upload:hover {
    border-color: rgba(168, 85, 247, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.upload-icon {
    transition: transform 0.3s ease;
}

.clips-upload:hover .upload-icon {
    transform: scale(1.08) translateY(-3px);
}

.upload-button {
    transition: all 0.25s ease;
}

.upload-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.25);
}
/* =========================
   CLIPS — CARDS DOS VÍDEOS
========================= */

.clip-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.clip-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.clip-card video {
    transition: transform 0.4s ease;
}

.clip-card:hover video {
    transform: scale(1.02);
}

.clip-tag {
    transition: all 0.2s ease;
}

.clip-card:hover .clip-tag {
    transform: translateY(-1px);
}
/* =========================
   CLIPS — ENTRADA DO CARD
========================= */

.clip-card {
    animation: clipEntrada 0.45s ease both;
}

@keyframes clipEntrada {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* =========================
   CLIPS — ENTRADA DO CARD
========================= */

.clip-card {
    animation: clipEntrada 0.45s ease both;
}

@keyframes clipEntrada {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* =========================
   CLIPS — TAMANHO DO VÍDEO
========================= */

.clip-card video {
    width: 100%;
    max-height: 380px;
    display: block;
    object-fit: contain;
    background: #050509;
    border-radius: 10px;
}
/* =========================
   CLIPS — ALINHAMENTO DOS CAMPOS
========================= */

.clip-tags {
    position: relative;
}

.clip-tags label {
    display: block;
    margin-bottom: 8px;
}

.clip-tags select {
    vertical-align: bottom;
}
/* =========================
   CLIPS — ALINHAMENTO FINAL
========================= */

.clips-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clips-upload > select,
.clip-tags {
    margin-top: 10px;
}

.clip-tags {
    display: flex;
    align-items: flex-start;
}

.clip-tags select {
    margin-top: 0;
}
/* =========================
   CLIPS — CAMPOS EM LINHA
========================= */

.clip-fields {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
}

.clip-fields > select,
.clip-tags select,
.clip-fields .upload-button {
    height: 44px;
    box-sizing: border-box;
}

.clip-fields > select {
    width: 180px;
}

.clip-tags {
    display: flex;
    flex-direction: column;
    width: 180px;
}

.clip-tags label {
    margin-bottom: 8px;
    font-size: 13px;
    color: #a1a1b0;
}

.clip-tags select {
    width: 100%;
}

.clip-fields .upload-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    margin: 0;
}
/* =========================
   ALINHAMENTO DOS CLIPS
========================= */

.clip-fields {
    align-items: flex-end;
}

.clip-tags {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 180px;
    margin: 0;
}

.clip-tags label {
    height: 19px;
    margin: 0 0 8px 0;
    line-height: 19px;
}

.clip-tags select {
    height: 44px;
    margin: 0;
}
.clip-tags select {
    position: relative;
    top: -8px;
}
.clip-fields .upload-button {
    position: relative;
    top: -8px;
}
.clip-tags label {
    margin-bottom: 14px;
}
.clip-filters {
    display: flex;
    gap: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.clip-filters button {
    padding: 9px 16px;
    border: 1px solid #2d2d3d;
    border-radius: 8px;
    background: #10101a;
    color: #a1a1b0;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clip-filters button:hover {
    background: #191922;
    color: #ffffff;
    border-color: #a855f7;
}

.clip-filters button.active {
    background: #a855f7;
    color: #ffffff;
    border-color: #a855f7;
}
.clip-search {
    margin-bottom: 15px;
}

.clip-search input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #2a2a3a;
    border-radius: 10px;
    background: #0b0b12;
    color: white;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.clip-search input::placeholder {
    color: #888;
}

.clip-search input:focus {
    border-color: #9b4dff;
}
.clips-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    margin: 24px 0;
    border: 1px solid #2d2d3d;
    border-radius: 14px;
    background: #0b0b12;
}

.clips-toolbar .clip-search {
    margin: 0;
}

.clips-toolbar .clip-filters {
    margin: 0;
    justify-content: flex-end;
}

@media (max-width: 720px) {
    .clips-toolbar {
        grid-template-columns: 1fr;
    }

.clips-toolbar .clip-filters {
        justify-content: flex-start;
    }
}

/* =========================
   CLIPS — INFORMAÇÕES DOS CARDS
========================= */

#clipPreview {
    gap: 22px;
    margin-top: 30px;
}

.clip-card {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-color: #2a2a3d;
    border-radius: 16px;
    background: linear-gradient(145deg, #10101a, #090910);
}

.clip-number {
    padding: 4px 2px 10px;
    color: #b86cff;
    letter-spacing: 0.05em;
}

.clip-card video {
    border: 1px solid #1e1e2d;
    border-radius: 11px;
}

.clip-info {
    margin: 16px 4px 0;
}

.clip-info h3 {
    margin-bottom: 12px;
    color: #f8f7ff;
    font-size: 15px;
    line-height: 1.4;
}

.clip-info .clip-game,
.clip-info .clip-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0 6px 12px 0;
    padding: 5px 9px;
    border: 1px solid #303047;
    border-radius: 999px;
    background: #151521;
    color: #d7d1e9;
    font-size: 12px;
    font-weight: 600;
}

.clip-info .clip-tag {
    border-color: rgba(168, 85, 247, 0.38);
    background: rgba(168, 85, 247, 0.12);
    color: #dfc6ff;
}

.clip-info .clip-date {
    margin-top: 8px;
    color: #818195;
    font-size: 12px;
}

.delete-clip {
    width: 100%;
    margin-top: 16px;
    padding: 10px 12px;
    border: 1px solid #3b2937;
    border-radius: 9px;
    background: #171019;
    color: #f0a7bd;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.delete-clip:hover {
    border-color: #ef5b83;
    background: #321522;
    color: #ffffff;
}

@media (max-width: 700px) {
    #clipPreview {
        grid-template-columns: 1fr;
    }
}

/* =========================
   ESTATÍSTICAS — MINI DASHBOARD
========================= */

.stats-section {
    max-width: 900px;
    padding: 38px;
    background: linear-gradient(145deg, #11111c, #0d0d15);
}

.stats-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.stats-form .input-group {
    gap: 9px;
}

.stats-form label {
    color: #c8c4d6;
    font-size: 13px;
    font-weight: 600;
}

.stats-form input,
.stats-form select {
    min-height: 46px;
    padding: 12px 13px;
    border-color: #303047;
    border-radius: 10px;
    background: #0a0a11;
    color: #f8f7ff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stats-form select option {
    background: #11111c;
    color: #f8f7ff;
}

.stats-form input:focus,
.stats-form select:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.stats-button {
    margin-top: 24px;
    border: 1px solid rgba(206, 166, 255, 0.35);
    border-radius: 10px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.18);
}

.stats-button:hover {
    background: linear-gradient(135deg, #9b6aff, #b866ff);
    box-shadow: 0 13px 28px rgba(139, 92, 246, 0.28);
}

#resultadoStats {
    margin-top: 28px;
}

.stats-game {
    margin-bottom: 14px;
    color: #d9c5fa;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.stats-result {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
}

.stat-box {
    min-height: 112px;
    padding: 18px 14px;
    border-color: #2c2c40;
    border-radius: 14px;
    background: linear-gradient(145deg, #11111a, #0b0b12);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, 0.55);
}

.stat-box span {
    color: #9894aa;
    font-size: 12px;
    font-weight: 600;
}

.stat-box strong {
    color: #d1a5ff;
    font-size: 25px;
}

.performance-bar {
    overflow: hidden;
    height: 6px;
    margin-top: 12px;
    border-radius: 999px;
    background: #242435;
}

.performance-fill {
    background: linear-gradient(90deg, #8b5cf6, #d083ff);
}

@media (max-width: 760px) {
    .stats-section {
        padding: 26px 20px;
    }

    .stats-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .stats-form,
    .stats-result {
        grid-template-columns: 1fr;
    }
}

/* =========================
   HERO — JOGOS SUPORTADOS
========================= */

.hero {
    isolation: isolate;
}

.hero::before {
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-game-apps {
    position: absolute;
    z-index: 1;
    right: 7%;
    bottom: 12%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 18px;
    width: min(35vw, 500px);
    pointer-events: none;
    user-select: none;
    opacity: 0.9;
    perspective: 1100px;
    transform-style: preserve-3d;
}

.hero-game-apps::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 12% 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(141, 76, 255, 0.32), transparent 68%);
    filter: blur(20px);
}

.hero-game-apps img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    padding: 3px;
    box-sizing: border-box;
    clip-path: inset(4px round 13px);
    border: 1px solid rgba(206, 166, 255, 0.38);
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(222, 191, 255, 0.74), rgba(116, 54, 225, 0.36));
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.5), 0 0 24px rgba(141, 76, 255, 0.18);
}

.hero-game-apps img:nth-child(1) {
    transform: translateY(18px) rotateZ(-8deg) rotateY(14deg) translateZ(25px);
}

.hero-game-apps img:nth-child(2) {
    transform: translateY(-12px) rotateZ(6deg) rotateY(-18deg) translateZ(54px);
}

.hero-game-apps img:nth-child(3) {
    transform: translateY(10px) rotateZ(-5deg) rotateY(12deg) translateZ(16px);
}

.hero-game-apps img:nth-child(4) {
    grid-column: 1 / 2;
    transform: translateX(55%) translateY(-4px) rotateZ(8deg) rotateY(20deg) translateZ(72px);
}

.hero-game-apps img:nth-child(5) {
    grid-column: 2 / 3;
    transform: translateX(55%) translateY(16px) rotateZ(-7deg) rotateY(-15deg) translateZ(38px);
}

@media (max-width: 980px) {
    .hero-game-apps {
        right: 3%;
        bottom: 14%;
        width: min(40vw, 410px);
        gap: 16px;
        opacity: 0.52;
    }
}

@media (max-width: 700px) {
    .hero-game-apps {
        right: -4%;
        bottom: 8%;
        width: 66vw;
        gap: 8px;
        opacity: 0.2;
    }

    .hero-game-apps img {
        border-radius: 10px;
    }
}

/* =========================
   HERO — PAINEL EDITORIAL
========================= */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
    align-items: center;
    gap: clamp(48px, 7vw, 120px);
    min-height: 650px;
    padding-top: 110px;
    padding-bottom: 100px;
    position: relative;
overflow: hidden;
background: #08080f;
}

.hero::before {
    width: 720px;
    height: 720px;
    left: 72%;
    top: 48%;
    opacity: 0.16;
}

.hero-showcase {
    position: relative;
    z-index: 2;
    min-height: 380px;
    padding: 26px;
    border: 1px solid rgba(185, 145, 255, 0.2);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(28, 23, 44, 0.92), rgba(12, 12, 20, 0.86)),
        #10101a;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.hero-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.07), transparent 32%);
    pointer-events: none;
}

.showcase-label {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
    color: #c9a8ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.hero-game-apps {
    position: relative;
    z-index: 1;
    right: auto;
    bottom: auto;
    width: 100%;
    gap: 16px;
    opacity: 1;
    transform: none;
}

.hero-game-apps::before {
    inset: 6% 12%;
    opacity: 0.8;
}

.hero-game-apps img {
    border-color: rgba(223, 199, 255, 0.32);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(141, 76, 255, 0.12);
}

@media (min-width: 1400px) {
    .hero {
        grid-template-columns: minmax(620px, 1fr) minmax(400px, 520px);
        gap: clamp(70px, 7vw, 140px);

        /* mais espaço à esquerda e card mais perto da direita */
        padding-left: clamp(70px, 7vw, 150px);
        padding-right: clamp(28px, 3vw, 65px);
    }

    .hero-content {
        max-width: 650px;
        justify-self: start;
    }

    .hero-showcase {
        width: 100%;
        max-width: 520px;
        justify-self: end;
    }
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 44px;
        min-height: auto;
    }

    .hero-showcase {
        width: min(100%, 560px);
        min-height: auto;
    }

    .hero-game-apps {
        right: auto;
        bottom: auto;
        width: 100%;
        opacity: 1;
    }
}

@media (max-width: 560px) {
    .hero {
        padding-top: 90px;
        padding-bottom: 70px;
    }

    .hero-showcase {
        padding: 18px;
        border-radius: 18px;
    }

    .hero-game-apps {
        gap: 10px;
    }
}
/* =========================
   XOTZ HUB — NOVO HEADER + HERO
========================= */

header {
    height: 76px;
    padding: 0 6%;
    background: rgba(8, 8, 15, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

header .logo {
    margin-left: 45px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1.2px;
}

header .logo::first-letter {
    color: #a855f7;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    align-items: center;
    gap: clamp(50px, 7vw, 110px);

    min-height: 680px;
    padding: 100px 7% 110px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(139, 92, 246, 0.14),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #08080f 0%,
            #0a0911 100%
        );
}

.hero::before {
    width: 600px;
    height: 600px;
    left: 72%;
    top: 48%;

    background: #8b5cf6;
    opacity: 0.12;
    filter: blur(150px);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
}

.hero .badge {
    display: inline-flex;
    align-items: center;

    margin-bottom: 24px;
    padding: 7px 11px;

    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 999px;

    background: rgba(168, 85, 247, 0.08);
    color: #c9a8ff;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hero h1 {
    max-width: 680px;

    margin-bottom: 26px;

    font-size: clamp(58px, 6vw, 86px);
    line-height: 0.94;

    letter-spacing: -5px;
    font-weight: 800;
}

.hero h1 span {
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #c9a8ff 45%,
        #a855f7 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 570px;

    margin-bottom: 34px;

    color: #a3a3b3;
    font-size: 17px;
    line-height: 1.65;
}

.hero a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 22px;

    border: 1px solid rgba(206, 166, 255, 0.25);
    border-radius: 10px;

    background: #ffffff;
    color: #09090f;

    font-size: 14px;
    font-weight: 800;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    transition: all 0.25s ease;
}

.hero a:hover {
    background: #eee8ff;
    color: #6d28d9;

    transform: translateY(-2px);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(168, 85, 247, 0.12);
}

.hero-showcase {
    position: relative;
    z-index: 2;

    min-height: 400px;
    padding: 24px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(25, 21, 37, 0.95),
            rgba(10, 10, 17, 0.92)
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.showcase-label {
    margin-bottom: 20px;

    color: #a855f7;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-game-apps {
    width: 100%;
    gap: 15px;
}

.hero-game-apps img {
    border: 1px solid rgba(255, 255, 255, 0.13);

    background: #11111a;

    box-shadow:
        0 20px 35px rgba(0, 0, 0, 0.45),
        0 0 25px rgba(139, 92, 246, 0.08);

    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-game-apps img:hover {
    border-color: rgba(168, 85, 247, 0.5);
}
/* =========================
   XOTZ HUB — CONVERSOR PREMIUM
========================= */

.converter-section {
    position: relative;
    padding: 110px 7% 120px;
    background: #08080f;
}

.converter {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 46px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 18, 29, 0.96),
            rgba(11, 11, 18, 0.98)
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.converter::before {
    content: "";
    position: absolute;

    width: 280px;
    height: 280px;

    top: -120px;
    right: -100px;

    background: #8b5cf6;
    opacity: 0.08;
    filter: blur(100px);

    pointer-events: none;
}

.converter .section-label {
    position: relative;
    z-index: 1;

    margin-bottom: 14px;

    color: #a855f7;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.converter h2 {
    position: relative;
    z-index: 1;

    margin-bottom: 10px;

    color: #ffffff;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1;
    letter-spacing: -2px;
}

.converter .section-description {
    position: relative;
    z-index: 1;

    max-width: 550px;
    margin-bottom: 38px;

    color: #92919f;
    font-size: 15px;
    line-height: 1.6;
}


/* CAMPOS */

.converter-form {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.converter .input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.converter .input-group label {
    color: #aaa8b6;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.converter input,
.converter select {
    width: 100%;
    height: 50px;
    padding: 0 15px;

    box-sizing: border-box;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    background: #0b0b12;
    color: #ffffff;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.converter input::placeholder {
    color: #555461;
}

.converter input:focus,
.converter select:focus {
    border-color: rgba(168, 85, 247, 0.7);

    background: #0d0c15;

    box-shadow:
        0 0 0 3px rgba(168, 85, 247, 0.08);
}


/* BOTÃO */

.converter .convert-button {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 52px;

    margin-top: 26px;

    border: none;
    border-radius: 10px;

    background: #ffffff;
    color: #09090f;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.converter .convert-button:hover {
    transform: translateY(-2px);

    background: #eee8ff;
    color: #6d28d9;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(168, 85, 247, 0.1);
}

.converter .convert-button:active {
    transform: translateY(0);
}


/* RESULTADO */

#resultado {
    position: relative;
    z-index: 1;

    margin-top: 22px;
}

#resultado:empty {
    display: none;
}


/* MOBILE */

@media (max-width: 700px) {

    .converter-section {
        padding: 75px 5% 85px;
    }

    .converter {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .converter-form {
        grid-template-columns: 1fr;
    }

    .converter h2 {
        font-size: 34px;
    }
}
/* =========================
   XOTZ HUB — ESTATÍSTICAS
========================= */

.stats-section {
    padding: 110px 7%;
    background: #08080f;
}

.stats-section .section-header {
    max-width: 1050px;
    margin: 0 auto 38px;
}

.stats-section .section-label {
    margin-bottom: 14px;

    color: #a855f7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.stats-section .section-header h2 {
    margin-bottom: 10px;

    color: #ffffff;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1;
    letter-spacing: -1.8px;
}

.stats-section .section-header p {
    max-width: 560px;

    color: #8f8d9d;
    font-size: 15px;
    line-height: 1.6;
}

/* PAINEL */

.stats-form {
    max-width: 1050px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;

    padding: 30px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 18, 29, 0.96),
            rgba(11, 11, 18, 0.98)
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

/* CAMPOS */

.stats-form .input-group {
    margin: 0;
}

.stats-form .input-group label {
    display: block;

    margin-bottom: 9px;

    color: #aaa8b8;
    font-size: 12px;
    font-weight: 700;
}

.stats-form input,
.stats-form select {
    width: 100%;
    height: 48px;

    box-sizing: border-box;

    padding: 0 14px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;

    background: #0b0b12;
    color: #ffffff;

    font-size: 14px;
    outline: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.stats-form input::placeholder {
    color: #555462;
}

.stats-form input:focus,
.stats-form select:focus {
    border-color: rgba(168, 85, 247, 0.7);

    background: #0e0d16;

    box-shadow:
        0 0 0 3px rgba(168, 85, 247, 0.08);
}

.stats-form select {
    cursor: pointer;
}

/* BOTÃO */

.stats-button {
    grid-column: 1 / -1;

    width: 100%;
    height: 50px;

    margin-top: 10px;

    border: none;
    border-radius: 10px;

    background: #ffffff;
    color: #09090f;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.stats-button:hover {
    transform: translateY(-2px);

    background: #eee8ff;
    color: #6d28d9;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(168, 85, 247, 0.1);
}

/* RESULTADO */

#resultadoStats {
    grid-column: 1 / -1;

    margin-top: 4px;
}

#resultadoStats:empty {
    display: none;
}

#resultadoStats > * {
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(168, 85, 247, 0.08),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* RESPONSIVO */

@media (max-width: 800px) {
    .stats-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .stats-section {
        padding: 70px 5%;
    }

    .stats-form {
        grid-template-columns: 1fr;
        padding: 22px 20px;
        border-radius: 18px;
    }

    .stats-button,
    #resultadoStats {
        grid-column: auto;
    }
}
.stats-button {
    margin-top: 28px;
}
/* =========================
   XOTZ HUB — FERRAMENTAS
========================= */

.tools-section {
    padding: 110px 7%;
    background: #08080f;
}

.tools-section .section-header {
    max-width: 1050px;
    margin: 0 auto 38px;
}

.tools-section .section-label {
    margin-bottom: 14px;
    color: #a855f7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.tools-section .section-header h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1;
    letter-spacing: -1.8px;
}

.tools-section .section-header p {
    max-width: 560px;
    color: #8f8d9d;
    font-size: 15px;
    line-height: 1.6;
}

.tools-grid {
    max-width: 1050px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tool-card {
    position: relative;

    min-height: 220px;
    padding: 28px;

    display: flex;
    flex-direction: column;

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

    background:
        linear-gradient(
            145deg,
            rgba(20, 18, 29, 0.95),
            rgba(11, 11, 18, 0.98)
        );

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.tool-card:hover {
    transform: translateY(-5px);

    border-color: rgba(168, 85, 247, 0.35);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35),
        0 0 35px rgba(168, 85, 247, 0.07);
}

.tool-icon {
    width: 42px;
    height: 42px;

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

    margin-bottom: 24px;

    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;

    background: rgba(168, 85, 247, 0.08);

    font-size: 19px;
}

.tool-card h3 {
    margin-bottom: 9px;

    color: #fff;
    font-size: 19px;
    letter-spacing: -0.4px;
}

.tool-card p {
    max-width: 390px;

    margin-bottom: 24px;

    color: #858392;
    font-size: 13px;
    line-height: 1.6;
}

.tool-card a {
    margin-top: auto;

    color: #c5a1ff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: color 0.2s ease;
}

.tool-card a:hover {
    color: #fff;
}

.coming-soon {
    width: fit-content;

    margin-top: auto;
    padding: 6px 10px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.03);

    color: #777585;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 650px) {
    .tools-section {
        padding: 70px 5%;
    }

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

    .tool-card {
        min-height: 190px;
        padding: 24px;
    }
}

/* =========================
   XOTZ HUB — HEADER FLUTUANTE
========================= */

header {
    position: sticky;
    top: 0;
    z-index: 100;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;

    height: 76px;
    padding: 0 6%;

    background: rgba(8, 8, 15, 0.58);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-brand,
.header-actions {
    display: flex;
    align-items: center;
}

.header-brand {
    gap: 14px;
}

.header-actions {
    gap: 8px;
}

header .logo {
    margin-left: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1.2px;
}

.menu-button {
    position: static;
    width: 34px;
    height: 34px;
    padding: 0;

    border: none;
    background: transparent;
    color: #ffffff;

    font-size: 23px;
    line-height: 1;
}

.menu-button:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transform: none;
}

.desktop-nav {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 2vw, 30px);
}

.desktop-nav a {
    color: #b4b2c0;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: #ffffff;
}

header .header-actions button {
    height: 40px;
    padding: 0 15px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

header .header-actions .login-button {
    border: 1px solid transparent;
    background: transparent;
    color: #e8e6f0;
}

header .header-actions .login-button:hover {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.06);
    transform: none;
    box-shadow: none;
}

header .header-actions .register-button {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #ffffff;
    color: #09090f;
}

header .header-actions .register-button:hover {
    transform: translateY(-1px);
    background: #eee8ff;
    color: #6d28d9;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

@media (max-width: 850px) {
    header {
        gap: 18px;
    }

    .desktop-nav {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    header {
        height: 68px;
        padding: 0 5%;
    }

    .header-brand {
        gap: 9px;
    }

    header .logo {
        font-size: 19px;
    }

    header .header-actions {
        gap: 3px;
    }

    header .header-actions button {
        height: 36px;
        padding: 0 9px;
        font-size: 12px;
    }
}

/* =========================
   XOTZ HUB — IA PARA CLIPS
========================= */

.analyze-clip {
    width: 100%;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 9px;
    background: rgba(168, 85, 247, 0.1);
    color: #dec8ff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.analyze-clip:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(201, 168, 255, 0.68);
    background: rgba(168, 85, 247, 0.18);
    color: #ffffff;
}

.analyze-clip:disabled {
    opacity: 0.65;
    cursor: wait;
}

.ai-analysis {
    margin: 16px 4px 0;
    padding: 14px;
    border: 1px solid rgba(168, 85, 247, 0.22);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(255, 255, 255, 0.025));
    color: #d8d5e4;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.ai-analysis.carregando {
    color: #c9a8ff;
}

.ai-analysis.erro {
    border-color: rgba(239, 91, 131, 0.32);
    background: rgba(239, 91, 131, 0.08);
    color: #ffb8cb;
}

/* =========================
   XOTZ HUB — COMUNIDADE
========================= */

.community-section {
    padding: 110px 7%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(circle at 85% 15%, rgba(168, 85, 247, 0.13), transparent 28%),
        #09090f;
}

.community-intro,
.community-preview {
    max-width: 1050px;
    margin: 0 auto;
}

.community-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 38px;
}

.community-intro .section-label {
    margin-bottom: 14px;
    color: #c5a1ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.community-intro h2 {
    max-width: 600px;
    color: #fff;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -2px;
}

.community-intro p {
    max-width: 590px;
    margin-top: 14px;
    color: #9895a5;
    line-height: 1.65;
}

.community-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #bdb9c9;
    font-size: 12px;
    font-weight: 700;
}

.community-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a855f7;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.9);
}

.community-preview {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.75fr);
    gap: 16px;
}

.community-card,
.community-next {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(25, 22, 35, 0.96), rgba(12, 12, 19, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.community-card {
    min-height: 260px;
    padding: 28px;
}

.community-card-top {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    font-size: 13px;
}

.community-card-top strong,
.community-card-top small {
    display: block;
}

.community-card-top small {
    margin-top: 2px;
    color: #868391;
    font-size: 11px;
}

.community-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, #b873ff, #7143d2);
    color: #fff;
    font-weight: 900;
}

.community-save {
    margin-left: auto;
    color: #b4b0c0;
}

.community-card h3 {
    margin: 28px 0 10px;
    color: #fff;
    font-size: 25px;
    letter-spacing: -0.8px;
}

.community-card p,
.community-next p {
    color: #94919f;
    font-size: 14px;
    line-height: 1.65;
}

.community-tags {
    display: flex;
    gap: 8px;
    margin-top: 21px;
}

.community-tags span {
    padding: 6px 9px;
    border-radius: 7px;
    background: rgba(168, 85, 247, 0.11);
    color: #d2b9ff;
    font-size: 11px;
    font-weight: 700;
}

.community-next {
    padding: 28px;
}

.community-next-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #d9c3ff;
    font-size: 20px;
}

.community-next h3 {
    margin-bottom: 9px;
    color: #fff;
    font-size: 18px;
}

@media (max-width: 700px) {
    .community-section {
        padding: 76px 5%;
    }

    .community-intro,
    .community-preview {
        display: grid;
    }

    .community-status {
        justify-self: start;
    }

    .community-preview {
        grid-template-columns: 1fr;
    }
}

.community-layout {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.65fr);
    gap: 18px;
    align-items: start;
}

.community-profile-card,
.community-composer,
.community-post,
.community-profile-prompt {
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(25, 22, 35, 0.96), rgba(12, 12, 19, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.community-profile-card {
    padding: 24px;
}

.community-profile-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.community-profile-heading .community-next-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    margin: 0;
}

.community-profile-heading h3,
.community-feed-heading h3 {
    color: #fff;
    font-size: 17px;
}

.community-profile-heading p {
    margin-top: 3px;
    color: #898693;
    font-size: 12px;
}

.community-profile-form {
    display: grid;
    gap: 9px;
}

.community-profile-form label {
    margin-top: 6px;
    color: #c4bfce;
    font-size: 12px;
    font-weight: 700;
}

.community-profile-form input,
.community-profile-form textarea,
.community-profile-form select,
.community-composer textarea,
.community-composer select,
.community-composer input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    outline: none;
    background: rgba(255, 255, 255, 0.045);
    color: #f7f5ff;
    font: inherit;
}

.community-profile-form select {
    height: 42px;
    padding: 0 12px;
    color-scheme: dark;
    font-size: 13px;
}

.community-profile-form[hidden],
.community-profile-summary[hidden],
.community-composer[hidden],
.community-profile-prompt[hidden],
.community-profile-details[hidden],
.community-comments[hidden] {
    display: none !important;
}

.community-profile-form input {
    height: 42px;
    padding: 0 12px;
    font-size: 13px;
}

.community-profile-form input:focus,
.community-composer textarea:focus,
.community-composer select:focus,
.community-composer input:focus {
    border-color: rgba(196, 155, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.community-profile-form button,
.community-composer button {
    min-height: 40px;
    border: 0;
    border-radius: 9px;
    background: #fff;
    color: #0a0910;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.community-profile-form button {
    margin-top: 13px;
}

.community-profile-form button:hover,
.community-composer button:hover {
    background: #eadeff;
    color: #6d28d9;
}

.community-profile-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.community-profile-summary strong,
.community-profile-summary p {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-profile-summary strong {
    color: #fff;
    font-size: 14px;
}

.community-profile-summary p {
    margin-top: 3px;
    color: #9692a1;
    font-size: 12px;
}

.community-edit-profile {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 10px;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    background: transparent;
    color: #cdb4ff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.community-edit-profile:hover {
    border-color: rgba(196, 155, 255, 0.45);
    color: #fff;
}

.community-feed-area {
    display: grid;
    gap: 16px;
}

.community-composer {
    padding: 21px;
}

.community-composer-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #e8e4f1;
    font-size: 13px;
}

.community-composer textarea {
    min-height: 110px;
    padding: 13px;
    resize: vertical;
    line-height: 1.55;
    font-size: 13px;
}

.community-composer-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

.community-composer select {
    width: auto;
    padding: 0 10px;
    font-size: 12px;
}

.community-composer button {
    min-width: 100px;
    padding: 0 16px;
}

.community-profile-prompt,
.community-feed-empty {
    padding: 18px;
    color: #aaa5b5;
    font-size: 13px;
    line-height: 1.55;
}

.community-feed-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding-top: 8px;
}

.community-feed-heading span {
    display: block;
    margin-bottom: 6px;
    color: #9f73dd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.community-saved-toggle {
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: transparent;
    color: #c4c0cf;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.community-saved-toggle b {
    margin-left: 4px;
    color: #fff;
}

.community-saved-toggle:not(:disabled):hover,
.community-saved-toggle.active {
    border-color: rgba(196, 155, 255, 0.45);
    background: rgba(168, 85, 247, 0.11);
    color: #e6d7ff;
}

.community-saved-toggle:disabled {
    cursor: default;
    opacity: 0.55;
}

.community-feed {
    display: grid;
    gap: 12px;
}

.community-post {
    padding: 20px;
}

.community-post-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.community-post-head strong,
.community-post-head small {
    display: block;
}

.community-post-head strong {
    color: #fff;
    font-size: 13px;
}

.community-post-head small {
    margin-top: 3px;
    color: #898692;
    font-size: 11px;
}

.community-post-game {
    margin-left: auto;
    padding: 5px 8px;
    border-radius: 7px;
    background: rgba(168, 85, 247, 0.1);
    color: #cdb4ff;
    font-size: 10px;
    font-weight: 800;
}

.community-post-content {
    margin: 17px 0;
    color: #dad6e3;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.community-post-actions {
    display: flex;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.community-post-actions button {
    border: 0;
    background: transparent;
    color: #aaa6b4;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.community-post-actions button:hover,
.community-post-actions button.saved {
    color: #d4baff;
}

.community-feed-empty {
    border: 1px dashed rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

@media (max-width: 760px) {
    .community-layout {
        grid-template-columns: 1fr;
    }

    .community-profile-card {
        order: 2;
    }
}

@media (max-width: 420px) {
    .community-composer-footer,
    .community-feed-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .community-composer select,
    .community-composer button {
        width: 100%;
    }
}

/* =========================
   XOTZ HUB — NAVEGAÇÃO POR ÁREAS
========================= */

.desktop-nav a {
    position: relative;
    padding: 8px 0;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: #c49aff;
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.desktop-nav a.active {
    color: #fff;
}

.hero,
.converter-section,
.stats-section,
.tools-section,
.clips-section,
.community-section,
#ferramentasGrid {
    animation: fpshub-area-enter 0.42s cubic-bezier(0.22, 0.8, 0.26, 1) both;
}

@keyframes fpshub-area-enter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Início: jogos menores, com leitura mais leve. */
.hero-showcase {
    min-height: 0;
    padding: 17px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(26, 22, 37, 0.8), rgba(12, 12, 19, 0.82));
}

.hero-showcase .showcase-label {
    margin-bottom: 15px;
    font-size: 10px;
}

.hero-showcase .hero-game-apps {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    gap: 9px;
    transform: none;
}

.hero-showcase .hero-game-apps::before {
    display: none;
}

.hero-showcase .hero-game-apps img,
.hero-showcase .hero-game-apps img:nth-child(n) {
    width: 48px;
    height: 48px;
    padding: 2px;
    border-radius: 13px;
    transform: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.26);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hero-showcase .hero-game-apps img:hover {
    transform: translateY(-4px);
    border-color: rgba(206, 166, 255, 0.72);
    box-shadow: 0 14px 23px rgba(0, 0, 0, 0.34), 0 0 16px rgba(168, 85, 247, 0.22);
}

/* Os atalhos ficam no Início e também podem ser vistos em Ferramentas. */
body[data-active-area="inicio"] #ferramentasGrid {
    padding: 0 7% 96px;
}

body[data-active-area="ferramentas"] #ferramentasGrid {
    padding: 0 7% 110px;
}

@media (max-width: 650px) {
    .hero-showcase .hero-game-apps {
        gap: 7px;
    }

    .hero-showcase .hero-game-apps img,
    .hero-showcase .hero-game-apps img:nth-child(n) {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    body[data-active-area="inicio"] #ferramentasGrid,
    body[data-active-area="ferramentas"] #ferramentasGrid {
        padding: 0 5% 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero,
    .converter-section,
    .stats-section,
    .tools-section,
    .clips-section,
    .community-section,
    #ferramentasGrid {
        animation: none;
    }

    .desktop-nav a::after,
    .hero-showcase .hero-game-apps img {
        transition: none;
    }
}

/* Galeria pessoal: cada clip mostra se pode ser compartilhado ou não. */
.clip-visibility {
    display: flex;
    flex-direction: column;
    width: 205px;
    margin: 0;
    text-align: left;
}

.clip-visibility label {
    height: 19px;
    margin: 0 0 14px;
    color: #a1a1b0;
    font-size: 13px;
    line-height: 19px;
}

.clip-visibility select {
    width: 100%;
    height: 44px;
    margin: 0;
}

.clip-info .clip-visibility {
    display: inline-flex;
    width: auto;
    min-height: 28px;
    margin: 0 6px 12px 0;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
    color: #d7d1e9;
    font-size: 12px;
    font-weight: 600;
}

.clip-info .clip-visibility.publico {
    border-color: rgba(98, 204, 167, 0.34);
    background: rgba(98, 204, 167, 0.1);
    color: #b9f0dc;
}

@media (max-width: 980px) {
    .clip-fields {
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    .clip-visibility,
    .clip-fields > select,
    .clip-tags,
    .clip-fields .upload-button {
        width: min(100%, 290px);
    }

    .clip-visibility label {
        height: auto;
    }
}

/* Marca do XOTZ HUB: funciona como o logo de início em qualquer área. */
.brand-home {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.brand-home:hover {
    color: #ffffff;
}

.side-menu-brand {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.community-post-tag {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    border: 1px solid rgba(184, 122, 255, 0.38);
    border-radius: 999px;
    color: #dcb7ff;
    background: rgba(125, 52, 198, 0.13);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.community-post-custom-tag {
    width: 116px;
    min-width: 0;
}

@media (max-width: 680px) {
    .community-post-custom-tag {
        width: 100%;
    }
}

/* Conta e perfil */
.account-menu {
    position: relative;
}

header .account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 5px 8px 5px 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    color: #f5f2ff;
}

header .account-trigger:hover {
    border-color: rgba(195, 155, 255, 0.48);
    background: rgba(166, 94, 255, 0.13);
}

#headerAccountAvatar {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
}

#headerAccountName {
    max-width: 116px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.account-trigger-chevron {
    color: #cdb4ff;
    font-size: 17px;
    line-height: 1;
}

.account-dropdown {
    position: absolute;
    z-index: 30;
    top: calc(100% + 9px);
    right: 0;
    display: grid;
    width: 190px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    background: #16131e;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

header .account-dropdown button {
    min-height: 37px;
    padding: 0 11px;
    border-radius: 8px;
    background: transparent;
    color: #dcd6e8;
    text-align: left;
    font-size: 12px;
}

header .account-dropdown button:hover {
    background: rgba(171, 101, 255, 0.14);
    color: #fff;
    transform: none;
}

.account-logout {
    color: #ffabab !important;
}

.account-section {
    min-height: calc(100vh - 76px);
    padding: 122px 7% 70px;
    background: radial-gradient(circle at 78% 14%, rgba(133, 67, 224, 0.12), transparent 28%);
}

.account-page-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(24, 21, 34, 0.97), rgba(12, 12, 18, 0.98));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.account-page-nav {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 22px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.018);
}

.account-page-brand {
    margin: 4px 9px 21px;
    color: #d9b8ff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.account-page-nav button {
    min-height: 39px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #aaa5b7;
    text-align: left;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.account-page-nav button:hover,
.account-page-nav button.active {
    border-color: rgba(191, 139, 255, 0.26);
    background: rgba(150, 74, 240, 0.16);
    color: #f8f5ff;
}

.account-page-nav .account-logout {
    margin-top: 18px;
}

.account-page-content {
    min-height: 490px;
    padding: 48px;
}

.account-overview {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.account-overview h2,
.account-page-heading h2,
.account-settings h2 {
    margin: 5px 0;
    color: #fff;
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: -1.4px;
}

.account-overview > div > span,
.account-page-heading > span,
.account-settings > span {
    color: #c18aff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.account-overview p,
.account-page-heading p,
.account-settings p {
    color: #a7a2b0;
    font-size: 14px;
    line-height: 1.55;
}

.account-overview-bio {
    margin-top: 16px;
}

.account-overview small {
    display: block;
    margin-top: 12px;
    color: #d0c0e5;
    font-size: 12px;
}

.account-overview-avatar {
    width: 74px;
    height: 74px;
    border-radius: 20px;
}

.account-overview button,
.account-profile-form > button,
.account-settings button {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 9px;
    background: #fff;
    color: #100d18;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.account-profile-form {
    display: grid;
    max-width: 560px;
    gap: 9px;
}

.account-page-heading {
    margin-bottom: 16px;
}

.account-profile-form label {
    margin-top: 7px;
    color: #cac4d4;
    font-size: 12px;
    font-weight: 700;
}

.account-profile-form input,
.account-profile-form textarea,
.account-profile-form select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    outline: none;
    background: rgba(255, 255, 255, 0.045);
    color: #f7f5ff;
    font: inherit;
}

.account-profile-form input,
.account-profile-form select {
    height: 43px;
    padding: 0 12px;
}

.account-profile-form select {
    color-scheme: dark;
}

.account-profile-form textarea {
    min-height: 90px;
    padding: 12px;
    resize: vertical;
}

.account-profile-form input:focus,
.account-profile-form textarea:focus,
.account-profile-form select:focus {
    border-color: rgba(196, 155, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.account-profile-form[hidden],
.account-overview[hidden],
.account-settings[hidden] {
    display: none !important;
}

.account-settings {
    max-width: 560px;
}

.account-settings button {
    margin-top: 23px;
    border: 1px solid rgba(255, 139, 139, 0.26);
    background: rgba(255, 93, 93, 0.08);
}

@media (max-width: 720px) {
    .account-section {
        padding: 96px 5% 42px;
    }

    .account-page-shell {
        grid-template-columns: 1fr;
    }

    .account-page-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .account-page-brand {
        grid-column: 1 / -1;
    }

    .account-page-nav .account-logout {
        margin-top: 0;
    }

    .account-page-content {
        min-height: 360px;
        padding: 30px 23px;
    }

    .account-overview {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .account-overview button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* Polimento do produto: galeria, perfil e interações sociais. */
:root {
    --fpshub-panel: linear-gradient(145deg, rgba(24, 22, 34, 0.96), rgba(11, 11, 18, 0.98));
    --fpshub-border: rgba(255, 255, 255, 0.09);
    --fpshub-text-muted: #9894a3;
    --fpshub-accent: #c49aff;
}

.clips-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.clips-toolbar .clip-search {
    flex: 1 1 240px;
}

.clips-toolbar select {
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--fpshub-border);
    border-radius: 9px;
    outline: 0;
    background: rgba(255, 255, 255, 0.045);
    color: #ded9e9;
    font-size: 12px;
}

.clips-toolbar select:focus {
    border-color: rgba(196, 154, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

#clipPreview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

#clipPreview .clip-card {
    overflow: hidden;
    border: 1px solid var(--fpshub-border);
    border-radius: 16px;
    background: var(--fpshub-panel);
}

#clipPreview .clip-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #05050a;
}

.community-profile-card {
    position: relative;
    overflow: hidden;
}

.community-profile-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 74px;
    background:
        radial-gradient(circle at 84% 0%, rgba(206, 166, 255, 0.5), transparent 38%),
        linear-gradient(125deg, #42206c, #171325 70%);
    opacity: 0.75;
    pointer-events: none;
}

.community-profile-card > * {
    position: relative;
}

.community-profile-heading {
    padding-top: 46px;
}

.community-summary-game,
.community-profile-game {
    display: block;
    margin-top: 6px;
    color: var(--fpshub-accent);
    font-size: 11px;
    font-weight: 700;
}

.community-post-actions {
    gap: 18px;
}

.community-post-actions button.liked {
    color: #ff9fbd;
}

.community-post-actions .community-share-post {
    margin-left: auto;
    padding: 6px 9px;
    border: 1px solid rgba(196, 154, 255, 0.2);
    border-radius: 7px;
    background: rgba(168, 85, 247, 0.07);
    color: #d7c2ff;
}

.community-post-actions .community-share-post:hover,
.community-post-actions .community-share-post.copied {
    border-color: rgba(196, 154, 255, 0.52);
    background: rgba(168, 85, 247, 0.16);
    color: #fff;
}

.community-post-highlight {
    border-color: rgba(196, 154, 255, 0.65);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: community-post-focus 1.2s ease both;
}

@keyframes community-post-focus {
    from {
        transform: translateY(10px);
        opacity: 0.4;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.community-comments {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.community-comments-list {
    display: grid;
    gap: 7px;
}

.community-comments-list p {
    margin: 0;
    color: #c9c4d3;
    font-size: 12px;
    line-height: 1.45;
}

.community-comments-list strong {
    color: #e5d6ff;
}

.community-comment-form {
    display: flex;
    gap: 8px;
}

.community-comment-form input {
    min-width: 0;
    flex: 1;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--fpshub-border);
    border-radius: 8px;
    outline: 0;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 12px;
}

.community-comment-form button {
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: rgba(168, 85, 247, 0.15);
    color: #e5d4ff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.community-comment-form button:disabled,
.community-comment-form input:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

@media (max-width: 760px) {
    .clips-toolbar {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .clips-toolbar .clip-search,
    .clips-toolbar select {
        flex: 1 1 180px;
    }
}

/* Navegação e mídia da comunidade. */
.community-tabs {
    max-width: 1050px;
    margin: 0 auto 18px;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    scrollbar-width: none;
}

.community-tabs::-webkit-scrollbar {
    display: none;
}

.community-tabs button {
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #9692a1;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.community-tabs button:hover {
    color: #f4efff;
}

.community-tabs button.active {
    background: rgba(168, 85, 247, 0.19);
    color: #eadbff;
    box-shadow: inset 0 0 0 1px rgba(201, 168, 255, 0.18);
}

.community-profile-form textarea {
    width: 100%;
    min-height: 76px;
    padding: 10px 12px;
    resize: vertical;
    line-height: 1.45;
    font-size: 13px;
}

.community-brand-mark {
    background:
        linear-gradient(135deg, rgba(213, 186, 255, 0.96), rgba(135, 71, 229, 0.96));
    color: #100d1b;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.community-brand-avatar {
    background: linear-gradient(135deg, #d3b7ff, #8650df);
    color: #110d1b;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.community-empty-avatar {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, #30303a, #191922);
}

.community-empty-avatar::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #777583;
    transform: translateX(-50%);
}

.community-empty-avatar::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 19px;
    height: 13px;
    border-radius: 11px 11px 0 0;
    background: #777583;
    transform: translateX(-50%);
}

.community-avatar-image {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #1a1823;
}

.community-avatar-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-avatar-picker {
    display: grid;
    gap: 9px;
    margin-top: 6px;
}

.community-avatar-picker > span {
    color: #c4bfce;
    font-size: 12px;
    font-weight: 700;
}

.community-avatar-options {
    display: flex;
    gap: 9px;
}

.community-avatar-options button {
    width: 42px;
    height: 42px;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #1a1823;
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.community-avatar-options button:hover {
    transform: translateY(-2px);
}

.community-avatar-options button.active {
    border-color: #c49aff;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.16);
}

.community-avatar-options img,
.community-avatar-options .community-empty-avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-avatar-options .community-empty-avatar {
    border: 0;
    border-radius: 10px;
}

.community-post-views {
    flex: 0 0 auto;
    padding: 5px 7px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.035);
    color: #aaa5b3;
    font-size: 10px;
    font-weight: 700;
}

.community-summary-bio {
    display: block;
    margin-top: 6px;
    color: #a39eae;
    font-size: 11px;
    line-height: 1.4;
    white-space: normal;
}

.community-composer-footer {
    flex-wrap: wrap;
}

.community-composer .community-media-button {
    min-width: 132px;
    padding: 0 12px;
    border: 1px solid rgba(196, 155, 255, 0.25);
    background: rgba(168, 85, 247, 0.09);
    color: #d8c3ff;
}

.community-composer .community-media-button:hover {
    border-color: rgba(196, 155, 255, 0.56);
    background: rgba(168, 85, 247, 0.16);
    color: #fff;
}

.community-media-status {
    min-height: 18px;
    margin-top: 10px;
    color: #bda2eb;
    font-size: 11px;
}

.community-post-media {
    display: block;
    width: 100%;
    max-height: 430px;
    margin: 2px 0 17px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    background: #05050a;
    object-fit: contain;
}

.community-profile-details {
    padding: 22px;
    border: 1px solid rgba(196, 155, 255, 0.18);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.11), rgba(255, 255, 255, 0.025));
}

.community-profile-details h4 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 19px;
}

.community-profile-details p {
    color: #bbb6c6;
    font-size: 13px;
    line-height: 1.55;
}

.community-profile-numbers {
    margin-top: 17px;
    color: #d3bdff;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 560px) {
    .community-tabs {
        margin-right: 0;
        margin-left: 0;
    }

    .community-composer .community-media-button,
    .community-composer button {
        flex: 1 1 auto;
        min-width: 0;
    }
}
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
}

.auth-card {
    position: relative;
    z-index: 2;
    width: min(420px, calc(100% - 32px));
    padding: 32px;
    border-radius: 20px;
    background: #11111a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-modal[hidden] {
    display: none !important;
}
.profile-edit-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.profile-edit-tabs button{background:#20202e;color:#ddd;border:1px solid #414151;padding:10px 16px;border-radius:10px}.profile-edit-tabs [aria-selected="true"]{background:#7650be;color:white;border-color:#ad8bea}[data-profile-panel]{display:grid;gap:12px}[data-profile-panel][hidden]{display:none!important}.account-photo-preview{width:120px;height:120px;object-fit:cover;border-radius:50%}.account-banner-preview{width:100%;max-height:240px;object-fit:cover;border-radius:14px;grid-column:1/-1}#accountSaveStatus{color:#cbb3ff;padding:12px 0}.account-profile-form input[type=file]{max-width:100%;padding:14px;border:1px dashed #686078;border-radius:10px}
#accountDropdown[hidden]{display:none!important}

/* Contraste dos menus nativos em todos os formulários. */
select {
    color-scheme: dark;
    color: #f3f0fa !important;
    background-color: #1d1a29 !important;
}
select option, select optgroup {
    color: #f3f0fa !important;
    background-color: #1d1a29 !important;
}
select option:checked {
    color: #ffffff !important;
    background-color: #65439b !important;
}

/* Rodapé e ajuda */
.site-footer{padding:64px max(24px,7%) 24px;background:linear-gradient(180deg,#11101a,#0b0b12);border-top:1px solid #30293e;color:#bfb9cb;text-align:center}
.footer-brand{display:flex;align-items:center;flex-direction:column;gap:12px}.footer-logo{font-size:32px;font-weight:900;letter-spacing:-1.2px;color:#f6f2fc;text-decoration:none;line-height:1.2}.footer-logo span{color:#b390f5}.footer-brand p{margin:0;color:#c9c2d4;font-size:15px}.footer-beta{font-size:12px;border:1px solid #57436d;border-radius:100px;padding:5px 12px;color:#d0b6f6}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:16px 28px;margin:32px 0 48px}.site-footer a{color:#d1c7e2;text-decoration:none}.site-footer a:hover{color:#fff;text-decoration:underline}.footer-faq{max-width:840px;margin:0 auto;text-align:left;scroll-margin-top:100px}.footer-eyebrow{font-size:11px;letter-spacing:2px;color:#b99de3}.footer-faq h2{font-size:28px;color:#faf7ff;margin:8px 0 10px}.footer-intro{margin:0 0 24px;line-height:1.6}.footer-faq details{border-bottom:1px solid #332c41}.footer-faq summary{cursor:pointer;padding:20px 8px;font-size:15px;font-weight:600;color:#eee8f7;line-height:1.5}.footer-faq details[open]{background:#191522;border-radius:8px}.footer-faq details p{padding:0 24px 20px;margin:0;line-height:1.8;font-size:14px;max-width:75ch}.footer-data{max-width:840px;margin:36px auto;text-align:left;scroll-margin-top:100px;border:1px solid #373041;border-radius:12px;padding:24px}.footer-data h2{font-size:16px;color:#e6dfef;margin:0 0 12px}.footer-data p{line-height:1.8;margin:0;font-size:13px}.footer-bottom{max-width:1100px;margin:40px auto 0;border-top:1px solid #30293e;padding-top:24px;display:flex;flex-wrap:wrap;justify-content:center;gap:12px 28px;font-size:12px}.footer-bottom p{margin:0}.site-footer :focus-visible{outline:2px solid #b390f5;outline-offset:4px}
@media(max-width:600px){.site-footer{padding:40px 20px 24px}.footer-links{gap:16px 20px;margin-bottom:32px}.footer-faq h2{font-size:24px}.footer-faq summary{padding:18px 4px}.footer-data{padding:18px}.footer-bottom{flex-direction:column;align-items:center}.account-layout{min-width:0}.account-profile-form{min-width:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.plans-section{padding:64px max(24px,7%);max-width:1250px;margin:auto;scroll-margin-top:100px;text-align:center;color:#c8c2d3}.plans-eyebrow{color:#c2a1fa;font-size:12px;letter-spacing:2px}.plans-section h2{color:#f6f2fa;font-size:32px;margin:12px 0}.plans-section>p{line-height:1.7}.plans-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:32px auto;text-align:left}.plan-card{border:1px solid #3a3247;background:#15121e;border-radius:20px;padding:32px;display:flex;flex-direction:column}.plan-pro{border-color:#9870d2;background:linear-gradient(145deg,#21172f,#15121e)}.plan-card>span{font-size:12px;letter-spacing:2px;color:#c2a1fa}.plan-card h3{color:#f7f3fc;font-size:22px;margin:14px 0}.plan-price{font-size:32px;font-weight:800;color:#fff;margin:10px 0}.plan-price small{font-size:14px;color:#beb5c9}.plan-card ul{padding-left:20px;line-height:1.8;flex:1}.plan-card li{margin:10px 0}.plan-card button{padding:14px;border-radius:10px;border:1px solid #9270bb;background:#7550ac;color:white;font-weight:700}.plan-card button:disabled{background:#393140;color:#bfb6c9;cursor:not-allowed}.plans-note{font-size:13px;max-width:800px;margin:24px auto}.plans-section details{text-align:left;border-top:1px solid #393041;padding:18px 0;line-height:1.8}.plans-section summary{cursor:pointer;color:#f2edf8;font-weight:600}@media(max-width:650px){.plans-grid{grid-template-columns:1fr}.plan-card{padding:24px}.plans-section h2{font-size:26px}}

/* Acesso aos planos Pro */
.desktop-nav a.nav-pro,.side-pro{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 13px;border:1px solid #aa7ce8;border-radius:100px;color:#f1e2ff;background:linear-gradient(120deg,#34204b,#21182f);font-weight:700;white-space:nowrap;text-decoration:none;animation:pro-glow 3s ease-in-out infinite}
.desktop-nav a.nav-pro::after{display:none}.desktop-nav a.nav-pro:hover,.side-pro:hover{color:#fff;background:#4a2b69}.nav-pro:focus-visible{outline:2px solid #ead6ff;outline-offset:4px}.side-pro{margin:16px 20px}
@keyframes pro-glow{0%,100%{box-shadow:0 0 5px #ad72ec25}50%{box-shadow:0 0 17px #ad72ec70}}
@media(prefers-reduced-motion:reduce){.desktop-nav a.nav-pro,.side-pro{animation:none}}

/* Autenticação XOTZ HUB */
body.auth-is-open{overflow:hidden}.auth-modal{z-index:10000;padding:20px;overflow-y:auto}.auth-overlay{background:rgba(5,4,10,.8);backdrop-filter:blur(10px)}
.auth-card{width:min(440px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;box-sizing:border-box;padding:36px;border:1px solid #493554;background:radial-gradient(ellipse at top left,#282035 0,transparent 55%),#121019;box-shadow:0 24px 100px #0009;border-radius:24px;color:#f2edf8}
.auth-brand{font-size:24px;font-weight:900;letter-spacing:-1px;margin-bottom:24px}.auth-brand span{color:#b995f4}.auth-eyebrow{font-size:10px;letter-spacing:1.8px;color:#b9a4d3;margin:0 0 10px}.auth-card h2{font-size:27px;letter-spacing:-.7px;line-height:1.2;margin:0 0 12px}.auth-card #authDescription{font-size:14px;line-height:1.65;color:#b7afc3;margin:0 0 26px}
.auth-close{position:absolute;top:17px;right:17px;width:32px;height:32px;border:1px solid #40364c;border-radius:50%;background:#211b2b;color:#d8cce7;font-size:22px;cursor:pointer;line-height:1}.auth-field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}.auth-field[hidden]{display:none!important}.auth-field label{font-size:13px;font-weight:600;color:#e0d7ed}.auth-field input{box-sizing:border-box;width:100%;min-height:48px;border:1px solid #44384f;border-radius:10px;background:#18131f;color:#fff;padding:12px 14px;font-size:16px;font-family:inherit;outline:none}.auth-field input::placeholder{color:#93889e}.auth-field input:focus{border-color:#b18bdf;box-shadow:0 0 0 3px #a679d522}.auth-password-wrap{position:relative}.auth-password-wrap input{padding-right:82px}.auth-password-wrap button{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#ccb1ee;font-size:12px;font-weight:600;padding:8px;cursor:pointer}.auth-field small{color:#a89bb8;font-size:12px}.auth-submit{width:100%;min-height:48px;border:1px solid #b38bdc;border-radius:10px;background:linear-gradient(110deg,#8554bb,#69429d);color:#fff;font-weight:700;font-size:14px;cursor:pointer;margin-top:4px;box-shadow:0 4px 20px #7b43ab22}.auth-submit:hover{filter:brightness(1.12)}.auth-submit:disabled{opacity:.6;cursor:wait}.auth-message{font-size:13px;line-height:1.6;color:#dec5ff;background:#261c32;border-radius:8px;padding:12px;margin:16px 0}.auth-message:empty{display:none}.auth-switch{display:block;width:100%;margin:24px 0 0;padding:18px 0 0;border:0;border-top:1px solid #33283e;background:none;color:#c8aadf;cursor:pointer;font-size:13px;line-height:1.5}.auth-card button:focus-visible{outline:2px solid #d6b5ff;outline-offset:3px}@media(max-width:480px){.auth-card{padding:28px 22px;border-radius:20px}.auth-card h2{font-size:24px}.auth-modal{padding:12px}.auth-card{max-height:calc(100dvh - 24px)}}
.auth-field input:-webkit-autofill,.auth-field input:-webkit-autofill:hover,.auth-field input:-webkit-autofill:focus{-webkit-text-fill-color:#f2edf8;-webkit-box-shadow:0 0 0 1000px #18131f inset;caret-color:#fff;border-color:#655077}.auth-field input:autofill{background:#18131f;color:#f2edf8}

.hero-showcase.game-showcase{display:block;min-width:0;width:100%;max-width:620px;padding:26px;border:1px solid #3c304e;border-radius:24px;background:linear-gradient(145deg,#20182d,#111019);box-sizing:border-box;overflow:hidden}.hero-showcase.game-showcase::after{display:none}.game-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.game-picker-heading h2{font-size:25px;color:#f4eefa;margin:8px 0}.game-picker-heading>span{font-size:12px;color:#c4addd;white-space:nowrap}.game-picker-intro{color:#b6a9c6;font-size:13px;line-height:1.6;margin:8px 0 20px}.game-picker-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.game-picker-controls span{font-size:11px;color:#a79bb7}.game-picker-controls button{width:36px;height:36px;border:1px solid #68517d;border-radius:50%;background:#282034;color:#f4e9ff;cursor:pointer;font-size:18px}.game-picker-controls button:disabled{opacity:.3;cursor:default}.game-picker-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 3px 16px;scrollbar-width:thin;scrollbar-color:#71518e #191320}.game-picker-card{flex:0 0 154px;scroll-snap-align:start;padding:0 0 14px;border:1px solid #3f334d;border-radius:14px;overflow:hidden;background:#201829;color:#f6f0fc;text-align:left;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s}.game-picker-card img{display:block;width:100%;height:112px;object-fit:cover;pointer-events:none}.game-picker-card>span{display:block;margin:12px 12px 6px;font-size:13px;font-weight:700;line-height:1.4;min-height:36px}.game-picker-card small{display:block;margin:0 12px;color:#c59fe9;font-size:11px}.game-picker-card:hover{transform:translateY(-4px);border-color:#c193ec;box-shadow:0 6px 18px #9b5bd82b}.game-picker-card:focus-visible,.game-picker-track:focus-visible,.game-picker-controls button:focus-visible{outline:2px solid #d2aff6;outline-offset:2px}.game-art-fallback::before{content:"FPS";display:grid;place-items:center;height:112px;background:linear-gradient(135deg,#573d73,#211728);font-size:30px;color:#c7a2ed}@media(max-width:600px){.hero-showcase.game-showcase{padding:18px;max-width:100%}.game-picker-card{flex-basis:145px}.game-picker-heading h2{font-size:22px}}

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

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 5, 10, 0.88) 0%,
            rgba(5, 5, 10, 0.65) 45%,
            rgba(5, 5, 10, 0.35) 100%
        );
    z-index: 1;
}

.hero-content,
.hero-showcase {
    position: relative;
    z-index: 2;
}
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* vídeo de fundo */
.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: -3;

    filter:
        brightness(0.42)
        saturate(0.9)
        contrast(1.05);
}

/* overlay escuro */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 5, 10, 0.94) 0%,
            rgba(5, 5, 10, 0.78) 36%,
            rgba(5, 5, 10, 0.48) 68%,
            rgba(5, 5, 10, 0.30) 100%
        );

    z-index: -2;
    pointer-events: none;
}

/* glow roxo */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 35% 55%,
            rgba(139, 92, 246, 0.16),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.35)
        );

    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-video {
        object-position: 60% center;
        filter:
            brightness(0.42)
            saturate(0.8);
    }

    .hero::before {
        background: rgba(5, 5, 10, 0.68);
    }
}

.hero-content,
.hero-showcase {
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {

    .hero {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;

        min-height: auto;
        padding: 48px 20px 32px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .hero-content h1 {
        font-size: clamp(3rem, 14vw, 4.6rem);
        line-height: 0.95;
        max-width: 100%;
        overflow-wrap: normal;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.55;
        max-width: 100%;
    }

    .hero-showcase,
    .game-showcase {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .game-showcase {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .game-picker-heading {
        align-items: flex-start;
        gap: 12px;
    }

    .game-picker-heading h2 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .game-picker-intro {
        font-size: 0.95rem;
    }

    .game-picker-track {
        width: 100%;
        overflow-x: auto;
    }

    .hero-video {
        object-position: center center;
    }

    .hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(5, 5, 10, 0.45) 0%,
                rgba(5, 5, 10, 0.65) 45%,
                rgba(5, 5, 10, 0.88) 100%
            );
    }
}
/* ========================================
   HERO + CORREÇÕES MOBILE
======================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.hero {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.hero-content,
.hero-showcase,
.game-showcase {
    position: relative;
    z-index: 2;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.game-picker-track {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
}


/* ========================================
   CELULAR
======================================== */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;

        width: 100%;
        max-width: 100%;
        min-height: auto;

        padding: 48px 20px 32px;

        overflow: hidden;
        box-sizing: border-box;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        min-width: 0;
    }

    .hero-content h1 {
        font-size: clamp(3rem, 14vw, 4.6rem);
        line-height: 0.95;
        max-width: 100%;
        overflow-wrap: normal;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.55;
        max-width: 100%;
    }

    .hero-showcase,
    .game-showcase {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;

        box-sizing: border-box;
        overflow: hidden;
    }

    .game-showcase {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .game-picker-heading {
        align-items: flex-start;
        gap: 12px;
    }

    .game-picker-heading h2 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .game-picker-intro {
        font-size: 0.95rem;
    }

    .game-picker-track {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        overflow-x: auto;
        overflow-y: hidden;

        box-sizing: border-box;

        -webkit-overflow-scrolling: touch;
    }

    .hero-video {
        width: 100%;
        max-width: 100%;

        object-position: center center;

        filter:
            brightness(0.42)
            saturate(0.8);
    }

    .hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(5, 5, 10, 0.45) 0%,
                rgba(5, 5, 10, 0.65) 45%,
                rgba(5, 5, 10, 0.88) 100%
            );
    }
}
.profile-editor-preview {
    margin-bottom: 32px;
    border-radius: 20px;
    overflow: hidden;
    background: #11111a;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-banner-preview {
    position: relative;
    height: 180px;
    background:
        linear-gradient(
            135deg,
            #17111f,
            #2b1740
        );
    overflow: hidden;
}

.profile-banner-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-banner-edit {
    position: absolute;
    right: 16px;
    bottom: 16px;

    padding: 10px 14px;
    border: 0;
    border-radius: 10px;

    background: rgba(0, 0, 0, 0.7);
    color: white;
    cursor: pointer;
}

.profile-editor-main {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 0 24px 24px;
}

.profile-editor-avatar-wrap {
    margin-top: -48px;
    position: relative;
}

.profile-editor-avatar {
    width: 96px;
    height: 96px;

    border-radius: 50%;
    overflow: hidden;

    border: 4px solid #11111a;
    background: #1b1b25;
}

.profile-editor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-edit {
    margin-top: 8px;
    width: 100%;

    border: 0;
    background: transparent;
    color: #c58cff;

    cursor: pointer;
    font-size: 0.85rem;
}

.profile-editor-info {
    padding-top: 14px;
}

.profile-editor-info h2 {
    margin: 0;
    font-size: 1.5rem;
}

.profile-editor-info p {
    margin: 4px 0 0;
    color: #8f8f9f;
}
/* Profile identity and public page */
.account-overview { position:relative; display:flex; flex-wrap:wrap; align-items:center; gap:24px; padding:190px 32px 32px; overflow:hidden; border:1px solid #303443; border-radius:22px; background:#131620; isolation:isolate; }
.account-overview::before {content:"";position:absolute;inset:0 0 auto;height:160px;background:radial-gradient(ellipse at 80% 10%,#7562ae88,transparent 60%),linear-gradient(120deg,#282b42,#181b25);z-index:-1;}
.account-overview > .account-banner-preview {position:absolute;inset:0 0 auto;width:100%;height:160px;object-fit:cover;border-radius:0;z-index:-1;}
.account-overview .account-overview-avatar {width:100px;height:100px;flex:0 0 100px;border:5px solid #131620;box-shadow:0 0 0 1px #464354;}
.account-overview > div {flex:1;min-width:160px;}
.account-overview h2 {overflow-wrap:anywhere;}
.profile-editor-preview {width:100%;border:1px solid #343344;border-radius:20px;overflow:hidden;background:#151821;}
.profile-banner-preview {height:190px;background:radial-gradient(ellipse at 75% 20%,#7960a777,transparent 65%),linear-gradient(110deg,#292c43,#171b24);}
.profile-banner-preview img {width:100%;height:100%;object-fit:cover;}
.profile-editor-main {padding:0 28px 28px;gap:24px;}
#profileEditorAvatar {width:104px;height:104px;border:5px solid #151821;overflow:hidden;flex-shrink:0;}
#profileEditorAvatar img {width:100%;height:100%;object-fit:cover;}
.profile-editor-info {min-width:0;}
.profile-editor-info h2 {overflow-wrap:anywhere;}
.profile-pro-notice {padding:14px 16px;border:1px solid #7967b655;border-radius:12px;background:#7967b614;color:#d3c5ff;}
.profile-privacy {display:flex!important;gap:12px;align-items:center;margin:18px 0 8px;}
.profile-privacy input {width:20px!important;height:20px;accent-color:#a38aee;}
.account-profile-form small {display:block;color:#a8adbb;line-height:1.6;}
.account-profile-form input:disabled {opacity:.45;cursor:not-allowed;}
.community-avatar-options {flex-wrap:wrap;gap:12px;}
.community-avatar-options button {position:relative;}
.community-avatar-options button:focus-visible {outline:2px solid #c7b3ff;outline-offset:4px;}
.public-profile-page {flex:1;min-width:0;border:1px solid #333543;border-radius:22px;overflow:hidden;background:#131620;}
.public-profile-page[hidden] {display:none;}
.profile-public-hero {height:210px;background:radial-gradient(ellipse at 80% 0,#74609d88,transparent 65%),linear-gradient(130deg,#2b2d42,#171b24);}
.profile-public-hero img {width:100%;height:100%;object-fit:cover;}
.profile-public-body {padding:0 32px 36px;line-height:1.7;}
.profile-public-avatar {width:112px;height:112px;margin-top:-56px;border:6px solid #131620;}
.profile-public-body h1 {margin:12px 0 0;font-size:32px;overflow-wrap:anywhere;}
.profile-public-handle {color:#a8adbb;margin-top:0;}
.profile-visibility-badge {display:inline-block;padding:5px 12px;border:1px solid #4b455f;border-radius:99px;color:#d5c5f5;font-size:12px;margin-right:18px;}
.profile-public-body button {border:1px solid #8470b4;border-radius:10px;background:#776096;color:#fff;padding:10px 18px;cursor:pointer;}
.profile-author-link {display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none;}
@media(max-width:600px) {.account-overview {padding:180px 18px 24px;gap:16px;}.profile-editor-main {padding:0 16px 24px;gap:14px;}.profile-public-body {padding:0 20px 28px;}.profile-public-hero,.profile-banner-preview {height:160px;}}
body[data-active-area="conta"] .hero { display:none !important; }

/* Image controls belong to the profile preview, separate from identity fields. */
.profile-media-options {display:grid;gap:14px;padding:22px 26px;border-top:1px solid #343344;text-align:left;}
.profile-media-options[hidden], #closeProfileMedia[hidden] {display:none!important;}
.profile-media-close {margin:0 26px 22px;padding:10px 16px;border:1px solid #7967b6;border-radius:10px;background:#292239;color:#eee;cursor:pointer;}
@media(max-width:600px) {.profile-media-options {padding:18px 16px;}.profile-media-close {margin-left:16px;}}

.gallery-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;}
.gallery-heading h3 {margin:6px 0;font-size:19px;color:#f2efff;}
.gallery-kicker {font-size:10px;letter-spacing:2px;color:#b59bdc;font-weight:700;}
.gallery-count {font-size:11px;color:#b8afc7;white-space:nowrap;}
.avatar-game-filters {display:flex;gap:8px;flex-wrap:wrap;}
.avatar-game-filters button,.gallery-more {border:1px solid #454052;border-radius:9px;color:#cbbddf;background:#201b2b;padding:10px 14px;cursor:pointer;}
.avatar-game-filters [aria-pressed="true"] {background:#6c4797;border-color:#b58ce8;color:#fff;}
.free-avatar-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(85px,1fr));gap:12px;max-height:390px;overflow:auto;padding:4px;}
.free-avatar-grid button {display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:10px 5px;border:1px solid #373342;border-radius:13px;background:#1d1926;color:#bcb2cb;cursor:pointer;}
.free-avatar-grid button[hidden] {display:none!important;}
.free-avatar-grid button img {width:60px;height:60px;object-fit:cover;border-radius:50%;background:radial-gradient(#665575,#282131);}
.free-avatar-grid button span {font-size:11px;}
.free-avatar-grid button.active {border-color:#c8a3ff;background:#3d2b54;color:#fff;box-shadow:0 0 0 1px #c8a3ff;}
.free-avatar-grid button:hover,.free-banner-grid button:hover {border-color:#9d7fc5;}
.gallery-more {justify-self:start;font-size:12px;}
.free-banner-grid {display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.free-banner-grid button {padding:0;overflow:hidden;border:2px solid #353040;border-radius:12px;background:#1d1926;color:#e1d8ed;text-align:left;cursor:pointer;}
.free-banner-grid img {display:block;width:100%;aspect-ratio:3.2;object-fit:cover;}
.free-banner-grid button>span {display:flex;justify-content:space-between;gap:8px;padding:10px 12px;font-size:12px;}
.free-banner-grid small {font-size:10px;color:#aebcaa;}
.free-banner-grid [aria-pressed="true"] {border-color:#c8a3ff;}
.profile-upload-card {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:18px;border:1px solid #5b456c;border-radius:14px;background:linear-gradient(110deg,#2e213b,#211b2b);margin-top:8px;}
.profile-upload-card strong {font-size:13px;color:#f0e8fa;}
.profile-upload-card p {font-size:11px;margin:8px 0 0;color:#b9a9c9;}
.pro-pill {display:inline-block;border:1px solid #a481c8;border-radius:5px;padding:2px 5px;font-size:9px;color:#debbff;margin-left:4px;}
.profile-upload-button {display:inline-flex;align-items:center;gap:12px;padding:12px 16px;border-radius:10px;border:1px solid #b58bdd;background:linear-gradient(120deg,#8d59bc,#62428c);box-shadow:0 4px 16px #09060f55;color:white;cursor:pointer;font-weight:600;}
.profile-upload-button span {font-size:10px;border-left:1px solid #ffffff44;padding-left:10px;text-transform:uppercase;}
.profile-upload-card input[hidden] {display:none!important;}
#profileEditorAvatar {cursor:pointer;padding:0;position:relative;}
#profileEditorAvatar:hover {box-shadow:0 0 0 3px #b58cdb;}
#profileEditorAvatar:focus-visible,.profile-upload-button:focus-visible,.free-avatar-grid button:focus-visible {outline:2px solid #dbc0ff;outline-offset:4px;}
.profile-media-options #accountPhotoPreview,.profile-media-options #accountBannerPreview {display:none;}
@media(max-width:500px) {.free-avatar-grid {grid-template-columns:repeat(3,minmax(0,1fr));}.gallery-heading {align-items:start;}.gallery-count {display:none;}.profile-upload-button {width:100%;justify-content:center;}.free-banner-grid {gap:8px;}}

body[data-active-area="comunidade"] .hero {display:none!important;}
.community-section.social-active > :not(#socialHub) {display:none!important;}
.community-section:not(.social-active) > #socialHub {display:none;}
#socialHub {max-width:1150px;margin:auto;padding:24px 0;}
.social-heading h2 {font-size:clamp(28px,4vw,44px);letter-spacing:-1.3px;margin:12px 0;}
.social-heading>p {color:#afa7bc;line-height:1.6;}
.social-layout {display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;margin-top:28px;align-items:start;}
.social-layout aside {padding:22px;border:1px solid #393044;border-radius:18px;background:#17131f;}
.social-layout aside h3 {font-size:16px;margin:24px 0 14px;}
.social-layout aside h4 {font-size:13px;color:#b7a4ce;}
#socialHub button,.social-profile-feed button,.social-profile-tabs button,.social-friend-controls button {border:1px solid #665078;background:#362641;color:#eee1fc;border-radius:9px;padding:9px 12px;cursor:pointer;font-size:12px;}
#socialHub button:disabled,.social-profile-feed button:disabled {opacity:.5;cursor:wait;}
.social-search {display:flex;gap:6px;}
.social-search input,.social-comments input {min-width:0;flex:1;border:1px solid #44374f;border-radius:9px;background:#100d17;color:#eee;padding:10px;font-size:12px;}
.social-search-results {display:grid;gap:10px;margin-top:14px;}
.social-person {display:flex;gap:10px;align-items:center;color:#eee;text-decoration:none;min-width:0;}
.social-person .community-avatar {width:42px;height:42px;flex:0 0 42px;}
.social-person strong {font-size:14px;display:block;overflow-wrap:anywhere;}
.social-person small {display:block;color:#9e90b0;font-size:11px;margin-top:3px;}
.social-friend {padding:14px 0;border-bottom:1px solid #332a3c;}
.social-friend-controls {display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;}
.social-friend-controls small {width:100%;color:#aa9cb8;}
.social-composer,.social-post {padding:22px;border:1px solid #393044;border-radius:18px;background:linear-gradient(145deg,#1c1725,#14101c);margin-bottom:18px;}
.social-composer textarea {width:100%;box-sizing:border-box;min-height:110px;resize:vertical;background:transparent;color:#eee;border:0;font:inherit;line-height:1.6;}
.social-composer-controls,.social-post-actions {display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px;}
.social-composer-controls select {background:#191322;color:#cdbfda;padding:9px;border:1px solid #51425f;border-radius:9px;max-width:150px;}
.social-composer-controls button[type="submit"] {margin-left:auto!important;background:#7851a1!important;}
.social-post>small {display:block;font-size:11px;color:#9a8baa;margin:12px 0;}
.social-post-body {white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;color:#ddd3e8;}
.social-post-photo {width:100%;max-height:520px;object-fit:contain;border-radius:12px;background:#0d0b12;margin-top:12px;}
.social-comments {padding-top:14px;border-top:1px solid #3a2d47;margin-top:12px;font-size:13px;}
.social-comments[hidden] {display:none;}
.social-comments a {color:#c39aec;}
.social-comments p {overflow-wrap:anywhere;}
.social-comments form {display:flex;gap:8px;}
.social-status,.social-friends>p {font-size:12px;color:#b7a8c6;line-height:1.6;}
.social-status:empty {display:none;}
.social-legacy {margin-top:22px;background:transparent!important;}
.social-profile-actions {display:flex;flex-wrap:wrap;gap:8px;margin:18px 0;}
.social-profile-actions small {width:100%;color:#afa0bf;}
.social-profile-counts {padding:15px 0;border-top:1px solid #3c3049;color:#bca7d2;}
.social-profile-tabs {display:flex;gap:8px;margin-bottom:18px;}
.social-profile-tabs [aria-pressed="true"] {background:#7851a1!important;}
.social-profile-feed {text-align:left;}
/* Compact, centered game reel. Wheel, touch and keyboard select one game. */
.hero-showcase.game-showcase {max-width:510px;padding:24px!important;overflow:hidden;}
.game-showcase .game-picker-track {position:relative!important;display:flex!important;gap:12px!important;overflow-x:auto!important;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;padding:20px calc(50% - 66px)!important;min-height:0!important;touch-action:pan-x pan-y;}
.game-showcase .game-picker-track::-webkit-scrollbar {display:none;}
.game-showcase .game-picker-card {flex:0 0 132px!important;width:132px!important;min-width:132px!important;height:162px!important;min-height:0!important;padding:0!important;scroll-snap-align:center;transform:scale(.87);opacity:.48;transition:transform .25s ease,opacity .25s ease,border-color .25s;overflow:hidden;border:1px solid #4b395e;border-radius:14px;position:relative;}
.game-showcase .game-picker-card.is-selected {transform:scale(1);opacity:1;border-color:#c69dee;box-shadow:0 8px 22px #08050d66;}
.game-showcase .game-picker-card img {width:100%!important;height:118px!important;object-fit:cover!important;position:static!important;}
.game-showcase .game-picker-card>span {position:static!important;display:block!important;padding:10px 4px!important;font-size:11px!important;text-align:center;}
.game-reel-selection {display:flex;justify-content:space-between;align-items:center;margin:10px 0 16px;color:#e3d4f3;}
.game-reel-selection strong {font-size:16px;}
.game-reel-selection small {font-size:11px;color:#a08aaf;}
#useSelectedGame {width:100%;padding:12px;border-radius:10px;background:linear-gradient(120deg,#8458ab,#5b3d7c);border:1px solid #aa82d0;color:white;cursor:pointer;}
@media(max-width:760px) {.social-layout {grid-template-columns:1fr;}.social-layout aside {order:-1;}#socialHub {padding:12px 0;}.social-post,.social-composer {padding:16px;}.hero-showcase.game-showcase {padding:18px!important;max-width:100%;}}
@media(prefers-reduced-motion:reduce) {.game-showcase .game-picker-card {transition:none;}.game-picker-track {scroll-behavior:auto!important;}}

.account-page-nav[hidden]{display:none!important}.account-page-shell.is-public-profile{grid-template-columns:minmax(0,1fr);max-width:940px;margin-inline:auto;}

/* Author-only post removal stays visible beside the author. */
.social-post-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:14px;}
.social-post-heading .social-person {flex:1;}
button.post-delete-button,#socialHub button.post-delete-button,.social-profile-feed button.post-delete-button {display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:6px;background:#3a202b;color:#ffb4c4;border:1px solid #8d4b60;border-radius:9px;padding:9px 12px;font-size:12px;font-weight:600;cursor:pointer;}
button.post-delete-button:hover {background:#542737!important;border-color:#da7891;}
button.post-delete-button:disabled {opacity:.5;cursor:wait;}
button.post-delete-button:focus-visible {outline:2px solid #ffc3d0;outline-offset:3px;}
.community-post-head .post-delete-button {margin-left:auto;}
@media(max-width:480px) {.social-post-heading {flex-wrap:wrap;}.social-post-heading .post-delete-button {margin-left:auto;font-size:11px;padding:8px 10px;}}

/* Circular game selector. Counter-rotation keeps cover art upright. */
.game-wheel {position:relative;width:100%;aspect-ratio:1;max-width:390px;margin:4px auto;isolation:isolate;}
.game-wheel::before {content:'';position:absolute;inset:10%;border:1px solid #ae7add45;border-radius:50%;box-shadow:0 0 36px #a05be018,inset 0 0 35px #a05be015;}
.game-wheel::after {content:'';position:absolute;top:0;left:calc(50% - 4px);border-left:4px solid transparent;border-right:4px solid transparent;border-top:7px solid #dfb6ff;}
.game-wheel-center {position:absolute;inset:29%;overflow:hidden;border-radius:50%;border:1px solid #bb86ea65;background:#24182e;box-shadow:0 0 30px #ac63dc25;}
.game-wheel-center img {width:100%;height:100%;object-fit:cover;opacity:.65;}
.game-wheel-center>span {position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:22px;font-weight:800;letter-spacing:2px;color:white;background:linear-gradient(transparent,#170d28b0);text-shadow:0 2px 8px #000;}
.game-wheel-center small {font-size:7px;letter-spacing:1.4px;font-weight:500;}
.game-showcase .game-wheel .game-picker-track {position:absolute!important;inset:0;display:block!important;overflow:visible!important;padding:0!important;scroll-snap-type:none;touch-action:pan-y;}
.game-showcase .game-wheel .game-picker-card {position:absolute!important;left:42%;top:42%;width:16%!important;min-width:0!important;height:16%!important;min-height:0!important;border-radius:50%;opacity:.7;transform:rotate(var(--angle)) translateY(-245%) rotate(var(--counter-angle)) scale(.9);transition:transform .5s cubic-bezier(.22,.7,.2,1),opacity .3s,border-color .3s;}
.game-showcase .game-wheel .game-picker-card img {width:100%!important;height:100%!important;object-fit:cover!important;}
.game-showcase .game-wheel .game-picker-card>span {position:absolute!important;inset:auto 0 0!important;padding:5px 1px 8px!important;font-size:7px!important;line-height:1.1;color:#fff;background:linear-gradient(transparent,#10071deb);}
.game-showcase .game-wheel .game-picker-card.is-selected {opacity:1;transform:rotate(var(--angle)) translateY(-245%) rotate(var(--counter-angle)) scale(1.1);border:2px solid #dfb6ff;box-shadow:0 0 18px #bb76eb75;z-index:2;}
.game-showcase .game-wheel .game-picker-card:hover {opacity:1;border-color:#dfb6ff;}
.game-showcase .game-wheel .game-picker-card:focus-visible {outline:2px solid white;outline-offset:4px;}
@media(prefers-reduced-motion:reduce){.game-showcase .game-wheel .game-picker-card {transition:none;}}

/* Five covers on a semicircular selection arc. */
.game-wheel {aspect-ratio:1.5;max-width:420px;margin:18px auto 0;overflow:hidden;}
.game-wheel::before {inset:18% 11% auto;height:118%;box-shadow:none;border-color:#ae7add30;}
.game-wheel::after {top:0;}
.game-wheel-center {inset:49% 34% 3%;}
.game-wheel-center>span {font-size:15px;letter-spacing:1px;}
.game-wheel-center small {font-size:5px;letter-spacing:.7px;}
.game-showcase .game-wheel .game-picker-card {left:var(--arc-x);top:var(--arc-y);width:21%!important;height:auto!important;aspect-ratio:1;transform:translate(-50%,-50%) scale(.92);opacity:.85;transition:left .4s ease,top .4s ease,transform .4s ease,opacity .25s ease;}
.game-showcase .game-wheel .game-picker-card.is-selected {transform:translate(-50%,-50%) scale(1.05);opacity:1;}
.game-showcase .game-wheel .game-picker-card.is-off-arc {opacity:0;visibility:hidden;pointer-events:none;}
.game-showcase .game-wheel .game-picker-card>span {margin:0!important;min-height:0!important;inset:0!important;display:flex!important;align-items:flex-end;justify-content:center;box-sizing:border-box;padding:0 7% 14%!important;font-size:9px!important;line-height:1.15;text-wrap:balance;background:linear-gradient(to bottom,transparent 30%,rgba(12,6,22,.12) 45%,rgba(12,6,22,.72) 75%,rgba(12,6,22,.95) 100%);text-shadow:0 1px 3px #0008;}
.game-showcase .game-wheel .game-art-fallback::before {position:absolute;inset:0;height:auto;font-size:20px;}
@media(max-width:480px){.game-showcase .game-wheel .game-picker-card>span {font-size:7px!important;}}
@media(prefers-reduced-motion:reduce){.game-showcase .game-wheel .game-picker-card {transition:none;}}

/* Home: breathing room, useful context and a connection to the community. */
.game-wheel-center>span {font-family:inherit;font-size:clamp(18px,2.4vw,29px);font-weight:800;line-height:.98;letter-spacing:-1px;text-align:center;background:linear-gradient(110deg,#fff 15%,#c9a8ff 60%,#a855f7);background-clip:text;-webkit-background-clip:text;color:transparent;text-shadow:none;}
.game-wheel-center img {opacity:.22;}
.home-tools-intro,.home-community-invite {display:none;}
body[data-active-area="inicio"] #ferramentasGrid {max-width:1200px;width:calc(100% - 80px);margin:0 auto;padding:96px 0 88px;gap:24px;}
body[data-active-area="inicio"] .home-tools-intro {display:block;grid-column:1/-1;max-width:750px;margin-bottom:20px;}
.home-tools-intro h2 {font-size:clamp(32px,4vw,50px);line-height:1.08;letter-spacing:-1.8px;margin:18px 0 22px;font-weight:800;}
.home-tools-intro h2 span {color:#c9a8ff;}
.home-tools-intro p {max-width:650px;color:#aaa3b9;font-size:16px;line-height:1.8;}
body[data-active-area="inicio"] .tool-card {min-height:300px;padding:32px;display:flex;flex-direction:column;align-items:flex-start;border-radius:22px;background:linear-gradient(145deg,#20182c,#111019);}
body[data-active-area="inicio"] .tool-card h3 {font-size:24px;letter-spacing:-.6px;}
body[data-active-area="inicio"] .tool-card p {font-size:14px;line-height:1.8;margin-bottom:28px;}
body[data-active-area="inicio"] .tool-card a {margin-top:auto;}
body[data-active-area="inicio"] .home-community-invite {display:flex;grid-column:1/-1;align-items:center;justify-content:space-between;gap:32px;margin-top:20px;padding:36px;border:1px solid #594270;border-radius:22px;background:radial-gradient(ellipse at right,#41275b66,transparent 70%),#17111f;}
.home-community-invite h3 {font-size:24px;line-height:1.3;max-width:560px;margin:15px 0 12px;letter-spacing:-.6px;}
.home-community-invite p {max-width:600px;font-size:14px;line-height:1.7;color:#b9adc7;}
.home-community-invite>a {flex-shrink:0;padding:14px 18px;border:1px solid #9973bd;border-radius:12px;color:#edddff;text-decoration:none;font-size:13px;background:#382247;}
.home-community-invite>a:hover {background:#523164;}
@media(max-width:760px){body[data-active-area="inicio"] #ferramentasGrid {width:calc(100% - 40px);padding:60px 0;grid-template-columns:1fr;}body[data-active-area="inicio"] .tool-card {min-height:250px;padding:26px;}body[data-active-area="inicio"] .home-community-invite {align-items:flex-start;flex-direction:column;padding:26px;}.game-wheel-center>span {font-size:20px;}}
@media(min-width:761px){body[data-active-area="inicio"] #ferramentasGrid {grid-template-columns:repeat(3,minmax(0,1fr));}}


.plan-original-price {display:inline-block;font-size:18px;font-weight:500;color:#a99bb8;text-decoration-thickness:1.5px;margin-right:8px;vertical-align:middle;}


.clip-library-notice {padding:20px 24px;border:1px solid #44394f;background:#18131f;border-radius:14px;margin:24px 0;}
.clip-library-notice strong {color:#ddc8f3;font-size:14px;}.clip-library-notice p,.clip-inventory>p {font-size:13px;line-height:1.7;color:#b1a5bd;margin:10px 0;}
.clip-inventory {padding:28px;border:1px solid #59416e;border-radius:22px;background:linear-gradient(135deg,#21162e,#110e18);margin:28px 0 36px;}
.inventory-heading {display:flex;justify-content:space-between;gap:16px;align-items:center;}.inventory-heading span {font-size:10px;letter-spacing:2px;color:#c397ee;}.inventory-heading h3 {font-size:23px;margin:10px 0;}.inventory-heading>strong {font-size:12px;color:#c8b2dc;}
#clipInventorySlots {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0;}
.inventory-slot {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:165px;padding:18px 12px;border:1px dashed #645074;border-radius:14px;background:#18131f;color:#cfc1df;cursor:pointer;min-width:0;transition:background .2s,border-color .2s;}
.inventory-slot small {font-size:9px;letter-spacing:1.4px;color:#ab91c1;}.inventory-slot>span {font-size:30px;color:#c99bf2;}.inventory-slot strong {font-size:12px;max-width:100%;overflow-wrap:anywhere;}.inventory-slot em {font-size:10px;font-style:normal;color:#d1a9f4;}.inventory-slot.is-pro {border:1px solid #78479b;background:linear-gradient(145deg,#422054,#261432);}.inventory-slot.is-filled {border-style:solid;background:#292036;}.inventory-slot:hover {border-color:#d0a2f5;background:#3c284b;}.inventory-slot:focus-visible {outline:2px solid #dfbcff;outline-offset:3px;}
.clips-upload .clip-fields {display:grid!important;grid-template-columns:1fr 1fr 1.5fr auto;align-items:end!important;gap:16px;width:100%;}
.clips-upload .clip-fields>div {display:flex;flex-direction:column;gap:8px;margin:0!important;padding:0!important;background:transparent;border:0;min-width:0;}
.clips-upload .clip-fields label {display:block;margin:0!important;font-size:12px;text-align:left;color:#c9b7da;}
.clips-upload .clip-fields select,.clips-upload .clip-fields .upload-button {box-sizing:border-box;width:100%;height:46px;margin:0!important;font:inherit;font-size:12px;border-radius:10px;}
.clips-upload .clip-fields .upload-button {padding:0 20px;border:1px solid #ba8ae4;color:#fff;background:linear-gradient(120deg,#8453a7,#593475);cursor:pointer;white-space:nowrap;}
@media(max-width:850px){.clips-upload .clip-fields {grid-template-columns:1fr 1fr;}#clipInventorySlots {grid-template-columns:repeat(2,minmax(0,1fr));}.inventory-heading {align-items:flex-start;flex-direction:column;}}
@media(max-width:480px){.clip-inventory {padding:18px;}.clips-upload .clip-fields {grid-template-columns:1fr;}.inventory-slot {min-height:150px;padding:12px 8px;}}
.clips-upload .clip-fields select,.clips-upload .clip-fields .upload-button {top:0;}.clips-upload .clip-fields>div {width:100%;}

.inventory-expand {width:100%;min-height:110px;margin:16px 0;}.inventory-expand>span {font-size:36px;line-height:1;}

#clipUploadPanel[hidden]{display:none!important;}#clipUploadPanel{position:relative;margin-top:24px;}#closeClipUpload{display:block;margin:0 0 18px auto;}.clips-toolbar{flex-wrap:wrap;gap:10px;}.clips-toolbar .clip-search{flex:1 1 220px;}.clips-toolbar select{min-width:0;flex:1 1 140px;}

/* Clip identity and motion. */
.clip-card[data-color],.inventory-slot[data-color]{border:2px solid var(--clip-accent,#514061);box-shadow:0 0 16px color-mix(in srgb,var(--clip-accent,#514061) 15%,transparent);}.clip-card[data-color] .clip-tag{border:1px solid var(--clip-accent,#514061);border-radius:8px;padding:6px 9px;}.clip-color-field select{border:1px solid var(--clip-accent,#665078);}.clips-upload .clip-fields{grid-template-columns:repeat(3,minmax(0,1fr));}.clips-upload .clip-fields .upload-button{grid-column:span 2;}.clips-toolbar{display:flex!important;flex-wrap:wrap!important;}.clips-toolbar .clip-search{flex:1 1 100%;}#clipInventorySlots{will-change:auto;}@media(max-width:650px){.clips-upload .clip-fields{grid-template-columns:1fr;}.clips-upload .clip-fields .upload-button{grid-column:auto;}}

#clipTag[hidden]{display:none!important;}.clip-tag-menu{position:relative;min-width:0;text-align:left;}.clip-tag-menu summary{box-sizing:border-box;min-height:46px;padding:13px 30px 13px 12px;border:1px solid #554366;border-radius:10px;background:#21192b;color:#e9def4;font-size:12px;cursor:pointer;list-style:none;position:relative;}.clip-tag-menu summary::-webkit-details-marker{display:none;}.clip-tag-menu summary::after{content:'⌄';position:absolute;right:12px;}.clip-tag-menu summary.is-pro{border-color:#bd87ed;background:linear-gradient(120deg,#48265f,#2e1c42);color:#e2b8ff;}.clip-tag-options{position:absolute;z-index:25;top:calc(100% + 8px);left:0;width:280px;max-width:75vw;box-sizing:border-box;max-height:320px;overflow:auto;padding:10px;border:1px solid #806098;border-radius:14px;background:#1b1324;box-shadow:0 14px 40px #0009;}.clip-tag-options>p{font-size:10px!important;letter-spacing:1px;text-transform:uppercase;margin:10px 8px!important;}.clip-tag-options>p.tag-pro-heading{color:#d49cff!important;}.clip-tag-options .tag-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px;margin:3px 0;border:1px solid transparent;border-radius:8px;background:#241b2e;color:#d7c9e4;font:inherit;font-size:12px;cursor:pointer;}.clip-tag-options .tag-choice.is-pro{color:#e4c3ff;background:linear-gradient(110deg,#482460,#30203f);border-color:#77468f;}.tag-choice small{font-size:9px;letter-spacing:.7px;border:1px solid #b176dc;border-radius:5px;background:#79439a55;color:#efccff;padding:3px 5px;}.clip-tag-options .tag-choice:hover,.clip-tag-options .tag-choice[aria-pressed="true"]{border-color:#d3a4fa;background:#583472;}.clip-tag-menu summary:focus-visible,.tag-choice:focus-visible{outline:2px solid #e1b8ff;outline-offset:2px;}

#clipColor[hidden],.custom-clip-tag[hidden]{display:none!important;}.custom-clip-tag{margin-top:10px;padding:12px;border:1px solid #8952af;border-radius:10px;background:linear-gradient(130deg,#41224f,#281a37);}.custom-clip-tag label{color:#dfb4ff!important;margin-bottom:8px!important;}.custom-clip-tag input{box-sizing:border-box;width:100%;min-width:0;padding:11px 10px;border:1px solid #9f70bf;border-radius:8px;background:#21152e;color:#f3e5ff;font:inherit;font-size:13px;}.clip-color-menu summary{border-color:#80529d;}

/* Fundo abstrato global XOTZ HUB */
html {
    background: #08080f;
}

body {
    background-color: #08080f;
    background-image: url('assets/contour-background.svg');

    /* ocupa toda a largura */
    background-size: 100% auto;

    background-position: center top;
    background-repeat: repeat-y;

    /* sem fixed: o fundo desce junto com a página */
    background-attachment: scroll;
}

.converter-section,
.tools-section,
.community-section,
.account-section {
    background-color: transparent !important;
    background-image: none !important;
}

.stats-section {
    background:
        linear-gradient(
            145deg,
            rgba(20, 18, 29, 0.98),
            rgba(11, 11, 18, 0.98)
        ) !important;
}

body[data-active-area="clips"] .tools-section {
    background: transparent !important;
}

@media (max-width: 650px) {
    body {
        background-size: auto 800px;
        background-position: center top;
    }
}
/* =========================
GAME SELECTOR — visual mais discreto
========================= */

/* caixa principal um pouco mais refinada */
.hero-showcase.game-showcase {
  background: linear-gradient(145deg, rgba(26, 18, 38, 0.96), rgba(12, 12, 19, 0.96));
  border: 1px solid rgba(196, 154, 255, 0.18);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* círculo central */
.game-wheel-center {
  inset: 48% 33% 5%;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 255, 0.22);
  background:
    radial-gradient(circle at 30% 25%, rgba(168, 85, 247, 0.18), transparent 45%),
    linear-gradient(145deg, rgba(42, 31, 59, 0.92), rgba(18, 16, 28, 0.96));
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* imagem do jogo no fundo mais discreta */
.game-wheel-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  .game-wheel-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(0.9) brightness(0.78);
  transform: scale(1.03);
}
  transform: scale(1.08);
}

/* camada de degrade por cima da imagem */
.game-wheel-center::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(20, 14, 30, 0.20) 0%,
      rgba(20, 14, 30, 0.55) 55%,
      rgba(12, 9, 18, 0.82) 100%
    );
  pointer-events: none;
}

/* texto central menor e mais clean */
.game-wheel-center > span {
  position: absolute;
  inset: 0;
  z-index: 2;

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

  padding: 18px;
  text-align: center;

  font-size: clamp(13px, 1.8vw, 22px);
  line-height: 1.05;
  letter-spacing: -0.6px;
  font-weight: 800;

  background: linear-gradient(180deg, #ffffff 0%, #d9b8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* subtítulo pequeno, se estiver usando o <small> */
.game-wheel-center small {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #bda8d8;
}

/* cards ao redor mais discretos */
.game-showcase .game-wheel .game-picker-card {
  opacity: 0.72;
  border: 1px solid rgba(184, 122, 255, 0.16);
  box-shadow: none;
  transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
}

/* card selecionado com destaque mais bonito e menos exagerado */
.game-showcase .game-wheel .game-picker-card.is-selected {
  opacity: 1;
  border: 1px solid rgba(223, 182, 255, 0.65);
  box-shadow:
    0 0 0 3px rgba(168, 85, 247, 0.10),
    0 10px 24px rgba(0, 0, 0, 0.26);
  transform: translate(-50%, -50%) scale(1.02);
}

/* texto dos jogos dos cards menor */
.game-showcase .game-wheel .game-picker-card > span {
  font-size: 8px !important;
  line-height: 1.15;
  padding: 0 8% 12% !important;
  background:
    linear-gradient(
      to bottom,
      transparent 35%,
      rgba(12, 6, 22, 0.16) 52%,
      rgba(12, 6, 22, 0.78) 78%,
      rgba(12, 6, 22, 0.94) 100%
    );
}

/* nome do jogo selecionado e contador */
.game-reel-selection strong {
  font-size: 20px;
  color: #f4efff;
}

.game-reel-selection small {
  font-size: 11px;
  color: #a99ab9;
}

/* botões laterais */
.game-picker-controls button {
  border: 1px solid rgba(196, 154, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #f3eaff;
}

.game-picker-controls button:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(196, 154, 255, 0.45);
}

/* ========================================
   XOTZ HUB PRO — exibição contextual
======================================== */

/* Por padrão, não mostra a seção completa de planos */
.plans-section {
    display: none;
}

/* Mostra a apresentação completa do Pro somente na Home */
body[data-active-area="inicio"] .plans-section {
    display: block;
}
.hero {
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.95) 66%,
    rgba(0, 0, 0, 0.72) 76%,
    rgba(0, 0, 0, 0.42) 85%,
    rgba(0, 0, 0, 0.20) 92%,
    rgba(0, 0, 0, 0.07) 95%,
    transparent 100%
);

mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.95) 66%,
    rgba(0, 0, 0, 0.72) 76%,
    rgba(0, 0, 0, 0.42) 85%,
    rgba(0, 0, 0, 0.20) 92%,
    rgba(0, 0, 0, 0.07) 95%,
    transparent 100%
);

}

.hero-bottom-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -130px;
    height: 360px;

    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(8, 8, 15, 0.08) 22%,
    rgba(8, 8, 15, 0.18) 38%,
    rgba(8, 8, 15, 0.35) 55%,
    rgba(8, 8, 15, 0.58) 70%,
    rgba(8, 8, 15, 0.78) 84%,
    rgba(8, 8, 15, 0.94) 95%,
    #08080f 100%
);
}
/* Curated XOTZ HUB bot conversations */
.social-bot-conversations { margin-bottom: 28px; display: grid; gap: 16px; }
.social-bot-disclosure { color: #b9b5ce; font-size: .875rem; line-height: 1.6; }
.social-bot-badge { display:inline-flex; flex-shrink:0; padding:3px 7px; border:1px solid #9b7aff; border-radius:6px; color:#d7caff; font-size:10px; font-weight:800; letter-spacing:.06em; }
.social-bot-conversations .social-person { flex-wrap:wrap; }
.social-bot-conversations .social-person > img { width:44px; height:44px; border-radius:50%; }
.social-bot-replies summary { cursor:pointer; color:#cbbaff; padding:12px 0; }
.social-bot-reply { border-left:2px solid #51436e; margin:12px 0; padding:8px 0 8px 16px; }
.social-bot-reply p { line-height:1.6; overflow-wrap:anywhere; }
.social-bot-reply time { display:block; color:#b9b5ce; font-size:11px; margin-top:8px; }

/* XOTZ HUB community: social workspace */
.community-section.social-active {max-width:1380px;width:100%;padding:28px 28px 64px;margin:0 auto;box-sizing:border-box;}
#socialHub.network-hub {max-width:none;padding:0;--network-line:#2b2939;--network-muted:#a39fb6;}
.network-heading {display:flex;justify-content:space-between;gap:24px;align-items:center;padding:14px 0 30px;}
.network-heading h2 {font-size:clamp(25px,3vw,38px);letter-spacing:-1.3px;margin:10px 0;color:#f1eff8;}
.network-heading p {color:var(--network-muted);font-size:13px;line-height:1.6;margin:0;}
.network-heading .gallery-kicker {font-size:10px;letter-spacing:2px;color:#b397ff;}
.network-stamp {font-size:10px;letter-spacing:2px;color:#817b94;border:1px solid var(--network-line);padding:10px 14px;border-radius:30px;white-space:nowrap;}
.network-layout {display:grid;grid-template-columns:210px minmax(0,1fr) 265px;gap:22px;align-items:start;}
.network-left,.network-right,.network-center {min-width:0;}
.network-left {position:sticky;top:90px;}
.network-identity {overflow:hidden;border:1px solid var(--network-line);border-radius:15px;background:#14131e;padding:0 16px 18px;margin-bottom:20px;}
.network-cover {height:64px;margin:0 -16px;background:radial-gradient(ellipse at 85% 10%,#7660af55,transparent 60%),repeating-linear-gradient(135deg,transparent 0 18px,#b494ff15 19px 20px),#272035;}
.network-identity>.community-avatar {width:48px;height:48px;margin-top:-22px;position:relative;border:4px solid #14131e;box-sizing:content-box;}
.network-identity>strong {display:block;font-size:14px;line-height:1.5;margin-top:8px;overflow-wrap:anywhere;}
.network-identity>small {display:block;color:var(--network-muted);font-size:11px;line-height:1.5;margin:5px 0 14px;overflow-wrap:anywhere;}
#socialHub .network-identity>button {width:100%;background:#24202e;border-color:#3c344d;}
.network-nav {display:flex;flex-direction:column;gap:5px;}
#socialHub .network-nav button {display:flex;align-items:center;gap:12px;text-align:left;background:transparent;border:1px solid transparent;padding:12px;color:#aaa5bb;font-size:13px;min-height:44px;}
#socialHub .network-nav button[aria-pressed=true] {background:#9c77ff17;border-color:#9c77ff30;color:#d4bfff;}
.network-nav-icon {font-size:21px;width:22px;text-align:center;}
.network-nav small {margin-left:auto;font-size:10px;border-radius:5px;padding:2px 6px;background:#afa1cc16;}
#socialHub button:hover {filter:brightness(1.16);}
#socialHub button:focus-visible,#socialHub summary:focus-visible,#socialHub a:focus-visible {outline:2px solid #bb9aff;outline-offset:4px;}
#socialHub .network-publish {width:100%;margin-top:20px;background:#a180ef;color:#110d1c;font-weight:800;border:0;padding:13px;}
#socialHub .network-legacy {border:0;background:transparent;color:#888096;font-size:10px;line-height:1.6;margin-top:10px;text-align:left;}
.network-center {border:1px solid var(--network-line);background:#111019e8;border-radius:16px;overflow:hidden;}
.network-feed-heading {display:flex;gap:10px;justify-content:space-between;align-items:center;padding:22px 22px 18px;}
.network-feed-heading h3 {margin:0;font-size:16px;letter-spacing:-.3px;}
.network-feed-heading>span {font-size:8px;letter-spacing:1.3px;color:#82798e;white-space:nowrap;}
.network-tabs {display:flex;border-bottom:1px solid var(--network-line);padding:0 12px;}
#socialHub .network-tabs button {flex:1;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:15px 7px;color:#9f97ac;font-size:12px;white-space:nowrap;}
#socialHub .network-tabs button[aria-pressed=true] {color:#d9c6ff;border-bottom-color:#b18bff;font-weight:700;}
.network-content {padding:0;}
.network-content>.social-status,.network-content>div>.social-status {padding:0 22px;}
.network-content>.social-status:empty,.network-content>div>.social-status:empty {display:none;}
.network-content>div>button {margin:12px 22px;}
.network-content .social-post,.network-content .social-composer {margin:0;border:0;border-bottom:1px solid var(--network-line);border-radius:0;background:transparent;padding:23px;}
.network-content .social-post-body {font-size:13px;line-height:1.85;color:#d8d4e2;}
.network-content .social-person strong {font-size:13px;}
.network-content .social-post-actions {gap:6px;border-top:1px solid #ffffff08;padding-top:12px;margin-top:14px;}
#socialHub .network-content .social-post-actions button {font-size:11px;background:transparent;border:0;color:#a79db8;padding:7px 9px;}
#socialHub .network-content .social-post-actions button[aria-pressed=true] {color:#cbaaff;background:#a580ed12;}
.network-content .social-bot-conversations {gap:0;margin:0;}
.network-content .social-bot-conversations>h3 {font-size:11px;text-transform:uppercase;letter-spacing:1.8px;color:#bba5df;margin:0;padding:20px 23px 8px;border-top:1px solid var(--network-line);background:#b28cff06;}
.network-content .social-bot-disclosure {margin:0;padding:0 23px 17px;font-size:10px;line-height:1.7;background:#b28cff06;border-bottom:1px solid var(--network-line);}
.network-content .social-bot-replies summary {font-size:11px;padding:13px 0 0;color:#b4a5cc;}
.network-content .social-bot-reply {padding-left:13px;border-color:#78609560;}
.network-content .social-bot-reply p {font-size:12px;color:#cbc3d8;}
.network-content .social-bot-badge {font-size:8px;padding:2px 5px;border-color:#b090ff55;}
.network-guest-composer {padding:22px;display:flex;align-items:center;gap:12px;border-bottom:6px solid #08080f55;flex-wrap:wrap;}
.network-guest-composer p {flex:1;color:#a9a1b8;font-size:12px;min-width:130px;}
.network-compose-icon {background:#272032;border:1px solid #6b5587;color:#bba0e7;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;font-size:18px;}
#socialHub .network-guest-composer button {font-size:10px;background:#292132;}
.network-panel {border:1px solid var(--network-line);border-radius:15px;background:#14131ef0;padding:20px;margin-bottom:18px;}
.network-panel h3 {font-size:14px;margin:8px 0 17px;}
.network-eyebrow {font-size:9px;color:#a291bd;letter-spacing:1.6px;}
.network-right .social-search {flex-wrap:wrap;}
.network-right .social-search input {width:100%;flex-basis:100%;font-size:11px;padding:12px;background:#0d0c14;border-color:#34303f;}
#socialHub .network-right .social-search button {width:100%;background:#24202e;border-color:#3b334b;font-size:11px;}
#socialHub .network-shortcut {display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:transparent;padding:13px 0;border-bottom:1px solid #ffffff08;border-radius:0;}
.network-shortcut>span:first-child {width:32px;height:32px;display:grid;place-items:center;background:#292233;border-radius:9px;font-size:18px;color:#bb9cec;}
.network-shortcut>span:last-child {margin-left:auto;color:#9c8dab;}
.network-shortcut strong {font-size:11px;display:block;}.network-shortcut small {display:block;font-size:9px;color:#9890a6;margin-top:4px;line-height:1.5;}
.network-about p,.network-footnote {font-size:11px;line-height:1.8;color:#9990a7;}.network-footnote {font-size:9px;text-align:center;}
.network-note {font-size:11px;line-height:1.7;color:#aaa0b9;padding:18px 22px;margin:0;}
.network-empty {padding:40px 25px;text-align:center;}.network-empty-icon {display:block;color:#b296ec;font-size:28px;}.network-empty h3 {font-size:17px;}.network-empty p {font-size:12px;line-height:1.8;color:#a299b0;}
.network-content>.network-panel {margin:20px;}
@media(min-width:1500px){.network-layout {grid-template-columns:225px minmax(0,1fr) 280px;gap:28px;}}
@media(max-width:1100px){.network-layout{grid-template-columns:185px minmax(0,1fr);gap:18px;}.network-right{grid-column:2;display:grid;grid-template-columns:1fr 1fr;gap:14px;}.network-right .network-panel{margin:0;}.network-about,.network-footnote{display:none;}.network-left{grid-row:1 / span 2;}.network-stamp{display:none;}}
@media(max-width:680px){.community-section.social-active{padding:15px 12px 40px;}.network-heading{padding:10px 4px 22px;}.network-heading p{font-size:12px;}.network-layout{display:flex;flex-direction:column;gap:15px;}.network-left{position:static;width:100%;}.network-identity{display:none;}.network-nav{flex-direction:row;overflow-x:auto;padding:0 0 6px;}.network-nav button{flex-shrink:0;}#socialHub .network-nav button{padding:8px 10px;font-size:11px;gap:7px;}.network-nav-icon{font-size:16px;width:18px;}#socialHub .network-publish{display:none;}#socialHub .network-legacy{margin:0;padding:4px 0;}.network-center{width:100%;}.network-feed-heading{padding:18px 16px 10px;}.network-feed-heading>span{display:none;}.network-content .social-post,.network-content .social-composer{padding:19px 16px;}.network-guest-composer{padding:16px;}.network-right{display:grid;width:100%;grid-template-columns:1fr;}.network-heading h2{font-size:27px;}.network-content .social-bot-conversations>h3,.network-content .social-bot-disclosure{padding-left:16px;padding-right:16px;}.network-tabs{padding:0 4px;}#socialHub .network-tabs button{font-size:11px;}.network-content .social-person{gap:8px;}.network-content .social-person strong{font-size:12px;}}
.network-nav {align-items:stretch;}
.network-heading {height:auto!important;min-height:0;}
@media(max-width:680px){.network-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:5px;}#socialHub .network-nav button{justify-content:center;flex-direction:column;gap:5px;min-height:62px;text-align:center;padding:8px 3px;font-size:10px;background:#15131ec9;border-color:#2b2538;white-space:normal;}.network-nav small{margin:0;}.network-nav-icon{height:18px;}.network-heading{margin-bottom:6px;}.network-heading p{margin-bottom:5px;}}

/* Community video attachments */
.social-post-video,.social-attachment-preview video,.social-attachment-preview img {display:block;width:100%;max-height:520px;object-fit:contain;background:#09080e;border-radius:12px;margin-top:14px;}
.social-attachment-preview[hidden]{display:none;}
.social-attachment-preview button{margin:10px 0;}
.social-attachment-hint{display:block;color:#a49ab4;font-size:10px;line-height:1.7;margin-top:10px;}

/* Saved profile banner in the community identity card. */
.network-cover {position:relative;overflow:hidden;}
.network-cover>img {display:block;width:100%;height:100%;object-fit:cover;object-position:center;}

/* Keyword search for published community posts. */
.network-post-search{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:17px 22px;border-bottom:1px solid #2b2939;background:#16131e;}
.network-post-search[hidden]{display:none;}
.network-post-search input{min-width:0;flex:1 1 160px;border:1px solid #40364f;background:#0e0c16;color:#eee6fa;padding:12px;border-radius:9px;font:inherit;font-size:12px;}
.network-post-search input:focus-visible{outline:2px solid #b596ef;outline-offset:2px;}
.network-post-search>small{flex-basis:100%;color:#a69aaf;font-size:10px;line-height:1.6;}
#socialHub .network-post-search button{min-height:40px;}
#socialHub .network-post-search button[hidden]{display:none;}
.network-search-heading{padding:18px 22px;font-size:13px;color:#d7c6ef;margin:0;overflow-wrap:anywhere;}
@media(max-width:680px){.network-post-search{padding:15px 16px;}.network-post-search input{font-size:12px;}.network-search-heading{padding:17px 16px;}}

/* Original XOTZ HUB header logo. */
.header-brand .fpshub-custom-brand {display:flex;align-items:center;flex-shrink:0;line-height:0;margin-left:10px;}
.fpshub-custom-brand img {display:block;width:190px;height:63px;object-fit:contain;}
@media(max-width:680px){.header-brand .fpshub-custom-brand{margin-left:0;}.fpshub-custom-brand img{width:145px;height:48px;}}

/* Compact mark with a separate, readable wordmark. */
.header-brand .fpshub-custom-brand{gap:8px;line-height:1;text-decoration:none;}
.fpshub-custom-brand img.fpshub-mark{width:30px;height:30px;object-fit:contain;flex:0 0 30px;}
.fpshub-wordmark{font-family:Arial,Helvetica,sans-serif;font-size:22px;font-weight:900;letter-spacing:-.7px;color:#fff;}
.fpshub-wordmark>span{color:#ac78ff;margin-left:2px;}
@media(max-width:680px){.fpshub-custom-brand img.fpshub-mark{width:26px;height:26px;flex-basis:26px;}.fpshub-wordmark{font-size:20px;}.header-brand .fpshub-custom-brand{gap:6px;}}

/* Shared small XOTZ HUB mark across brand placements. */
img.fpshub-inline-mark{display:inline-block;width:1.15em;height:1.15em;max-width:none;object-fit:contain;vertical-align:-.18em;margin-right:.35em;flex-shrink:0;}
.auth-brand>.fpshub-inline-mark,.footer-logo>.fpshub-inline-mark,.side-menu-brand>.fpshub-inline-mark,.account-page-brand>.fpshub-inline-mark{width:26px;height:26px;vertical-align:-5px;}
.community-brand-mark>.fpshub-inline-mark,.community-brand-avatar>.fpshub-inline-mark{width:70%;height:70%;margin:0;vertical-align:middle;}
.network-stamp>.fpshub-inline-mark{width:14px;height:14px;vertical-align:-3px;}

/* Continuous, visible purple light on the XOTZ HUB symbol. */
img.fpshub-mark,img.fpshub-inline-mark {
    transform: none;
    filter: brightness(1.15) drop-shadow(0 0 3px rgba(147,70,255,.45));
    animation: fpshub-symbol-glow 2.8s ease-in-out infinite;
}
@keyframes fpshub-symbol-glow {
    0%,100% {filter:brightness(1.05) drop-shadow(0 0 2px rgba(147,70,255,.30)) drop-shadow(0 0 0 rgba(190,140,255,0));}
    50% {filter:brightness(1.5) drop-shadow(0 0 5px rgba(165,95,255,.95)) drop-shadow(0 0 10px rgba(143,62,255,.7));}
}
@media(prefers-reduced-motion:reduce) {
    img.fpshub-mark,img.fpshub-inline-mark {animation:none;filter:brightness(1.2) drop-shadow(0 0 5px rgba(165,95,255,.65));}
}

.network-development{padding:13px 18px;margin-bottom:20px;border:1px solid #74609355;border-radius:12px;background:#a480eb0b;}
.network-development strong{font-size:12px;color:#ceb5f5;}.network-development p{font-size:12px;line-height:1.7;color:#b5adbf;margin:4px 0 0;}
.network-welcome{padding:20px 22px;border-bottom:1px solid #2b2939;background:#a480eb08;}.network-welcome small{font-size:9px;letter-spacing:1px;color:#b697e6;}.network-welcome h3{font-size:16px;margin:9px 0;}.network-welcome p{font-size:12px;line-height:1.8;color:#b9b1c7;}
.social-bot-conversations[hidden]{display:none!important;}

/* Keep profile banners complete at every viewport width. */
.profile-public-hero, .profile-banner-preview {
    height: auto;
    aspect-ratio: 16 / 5;
    min-height: 0;
}
.profile-public-hero img, .profile-banner-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
#accountBannerPreview {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}
#accountBannerPreview[hidden] { display: none; }
/* Subscription controls share the existing plan card layout. */
.billing-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:14px; }
.billing-actions button { flex:1 1 160px; }
#billingMessage { min-height:3em; font-size:.9rem; line-height:1.5; margin-top:16px; }
#cancelProDialog { color:#eee; background:#15131f; border:1px solid #67518d; border-radius:18px; max-width:480px; width:calc(100% - 40px); padding:28px; }
#cancelProDialog::backdrop { background:rgb(0 0 0 / 75%); }
#cancelProDialog button { padding:12px; border-radius:10px; cursor:pointer; }
