/* ===========================
   RESET BÁSICO
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===========================
   VARIÁVEIS GLOBAIS
=========================== */
:root{
  --topbar-height: 75px; /* era 70px */
}

/* ===========================
   BASE DO DOCUMENTO
=========================== */
html, body {
    width: 100%;
    height: 100%;

    /* Fonte base (o menu usa Playfair via classes) */
    font-family: 'Cinzel', Arial, Helvetica, sans-serif;
}

html{
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    padding-top: var(--topbar-height);
    background: #000;
}

/* ===========================
   VÍDEO DE FUNDO
=========================== */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

/* ===========================
   OVERLAY (ESCURECIMENTO)
=========================== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: -2;
}

/* ===========================
   TOPBAR (MENU FIXO)
=========================== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--topbar-height);
    z-index: 9999;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.70),
        rgba(0, 0, 0, 0.95)
    );

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);

    backdrop-filter: blur(6px);
}

/* ===========================
   CONTEÚDO INTERNO DA TOPBAR
=========================== */
.topbar__inner {
    max-width: 1500px;
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
}

/* ===========================
   LINKS DO MENU
=========================== */
.topbar__link {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 2px;

    color: #FCFCFC;

    text-transform: uppercase;
    text-decoration: none;

    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);

    transition:
        color 0.18s ease,
        text-shadow 0.18s ease;
}

.topbar__link:hover {
    color: #BCBCBC;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.85);
}

/* ===========================
   BOTÃO CENTRAL (DOWNLOAD)
=========================== */
.topbar__cta {
    padding: 14px 30px;
    border-radius: 14px;

    background: linear-gradient(
        to bottom,
        #2f87e8,
        #1559ad
    );

    border: 1px solid rgba(255, 255, 255, 0.2);

    color: #ffffff;
    text-decoration: none;

    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.8px;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    transition: transform 0.15s ease, filter 0.15s ease;
}

.topbar__cta:hover {
    transform: translateY(-1px); /* se quiser igual wix 100%, remova essa linha */
    filter: brightness(1.08);
}

/* ===========================
   CONTEÚDO DA PÁGINA
=========================== */
.content {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - var(--topbar-height));

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

    text-align: center;
    color: #ffffff;
    padding: 40px 20px;
}

.content h1 {
    font-size: 3rem;
    margin-bottom: 12px;
}

.content p {
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.9;
}

/* ===========================
   STAGE (COLUNA DO PAINEL)
=========================== */
.stage{
    position: relative;
    width: 100%;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   PAINEL PRETO REUTILIZÁVEL
=========================== */
.panel{
    width: 100%;
    max-width: 980px;

    margin-left: auto;
    margin-right: auto;
    margin-top: 558px; /* mantém seu layout atual no desktop */

    background: rgba(0, 0, 0, 0.93);
    border-radius: 6px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);

    padding: 30px;

    min-height: 520px;
    height: auto;

    position: relative;
    z-index: 3;
}

/* ===========================
   CONTEÚDO INTERNO DO PAINEL
   (CORREÇÃO: ocupar largura + texto não herdar centralização)
=========================== */
.panel-content{
    width: 100%;
    max-width: none;
    margin: 0;

    /* importante: desfaz o text-align:center do .content */
    text-align: left;

    line-height: 1.65;
    font-size: 15px;
    overflow-wrap: anywhere;

    /* se quiser manter Arial no texto do painel */
    font-family: Arial, Helvetica, sans-serif;
}

/* impedir que .content p (max-width:600) afete p do painel */
.panel .panel-content p{
    max-width: none;
    width: 100%;
    text-align: left;
}

/* Título principal */
.panel-title{
    text-align: center;
    font-size: 32px;
    margin-bottom: 24px;
}

/* Seções */
.panel-section{
    margin-bottom: 26px;
}

/* Subtítulos */
.panel-section h2{
    text-align: center;
    font-size: 20px;
    margin-bottom: 12px;
}

/* Parágrafos */
.panel-section p{
    margin-bottom: 10px;
    color: rgba(255,255,255,0.92);
}

/* ===========================
   PERSONAGEM (RELATIVA AO PAINEL)
=========================== */
.hero-character {
    position: absolute;

    top: calc(-1 * var(--topbar-height) + 37px);
    left: -60px;

    width: 545px;
    height: auto;

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

/* ===========================
   LOGO (RELATIVA AO PAINEL)
=========================== */
.site-logo {
    position: absolute;

    top: calc(-1 * var(--topbar-height) + 190px);
    left: 450px;

    width: 489px;
    height: auto;

    z-index: 3;
    pointer-events: none;
    user-select: none;
}

/* ===========================
   BOTÃO REGISTER (IMAGEM)
=========================== */
.register-btn {
    position: absolute;

    left: calc(450px + 75px);

    top: calc(
        -1 * var(--topbar-height)
        + 190px
        + 220px
    );

    width: 354px;
    height: 114px;

    z-index: 3;
    display: block;

    pointer-events: auto;
    user-select: none;
    text-decoration: none;
}

.register-btn img {
    width: 100%;
    height: 100%;
    display: block;
    transition: filter 0.18s ease;
}

.register-btn:hover img {
    filter: brightness(1.15);
}

/* ===========================
   FOOTER (ALINHADO AO PAINEL)
=========================== */
.site-footer{
    width: 100%;
    margin-top: 40px;

    position: relative;
    z-index: 5;
}

.site-footer__inner{
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;

    padding: 18px 12px;

    text-align: center;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;

    color: #FFFFFF;
}

.site-footer__line{
    margin: 2px 0;
}

.site-footer__brand{
    color: #FF9F00;
}

/* ===========================
   BOTÃO DOWNLOAD (TOPBAR)
=========================== */
.topbar__cta--img {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;

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

/* tamanho FIXO do botão */
.topbar__cta--img img {
    width: auto;
    height: 50px;
    display: block;

    transition: filter 0.18s ease;
}

/* hover: só brilho (não move) */
.topbar__cta--img:hover img {
    filter: brightness(1.15);
}

/* segurança: remove qualquer movimento herdado */
.topbar__cta--img:hover {
    transform: none;
}

/* ===========================
   WIDGETS LATERAIS
=========================== */
.side-widgets{
    position: absolute;
    left: -280px;   /* ajuste fino: aproxima/afasta do painel */
    top: 558px;
    height: auto;

    display: flex;
    flex-direction: column;
    gap: 20px;

    z-index: 4;
}

.widget{
    width: 250px;
    padding: 14px 16px;

    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);

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

    box-shadow:
        0 12px 30px rgba(0,0,0,0.7),
        inset 0 1px 0 rgba(255,255,255,0.03);

    color: #FCFCFC;
    font-family: 'Playfair Display', serif;
}

.widget-title{
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.9;
}

.widget-line{
    font-size: 13px;
    margin: 4px 0;
    opacity: 0.85;
}

.dot{
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.dot.online{
    background: #2ecc71;
    box-shadow: 0 0 6px rgba(46,204,113,0.8);
}

.dot.offline{
    background: #e74c3c;
}

/* lista de classes */
.panel-list{
    margin: 10px 0 0 18px;
}

.panel-list li{
    margin-bottom: 6px;
    color: rgba(255,255,255,0.9);
}

/* box de server info */
.server-info-box{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
    margin-top: 12px;
}

.server-info-box div{
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.server-info-box span{
    opacity: 0.8;
}

.server-info-box strong{
    color: #ffffff;
}

/* ===========================
   SUPPORT BOX
=========================== */
.support-box{
    margin-top: 12px;
    padding: 18px 18px;

    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.03);

    text-align: center;
}

.support-box__title{
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 10px;
}

.support-email{
    display: inline-block;
    font-weight: 800;
    font-size: 16px;
    color: #FF9F00; /* combina com seu footer */
    text-decoration: none;

    padding: 8px 12px;
    border-radius: 6px;

    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,159,0,0.25);

    transition: filter 0.18s ease, color 0.18s ease;
}

.support-email:hover{
    filter: brightness(1.15);
    color: #FFC14A;
}

.support-box__note{
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.8;
}

/* ===========================
   SUPPORT COPY BUTTON
=========================== */

.support-copy{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    margin-top: 8px;
}

#supportEmail{
    font-weight: 800;
    font-size: 15px;
    color: #FF9F00;

    padding: 8px 12px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,159,0,0.25);
    border-radius: 6px;

    user-select: all;
}

.copy-btn{
    padding: 8px 14px;

    font-family: 'Playfair Display', serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;

    color: #ffffff;
    background: linear-gradient(to bottom, #2f87e8, #1559ad);

    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;

    cursor: pointer;

    transition: filter 0.15s ease;
}

.copy-btn:hover{
    filter: brightness(1.1);
}

.copy-btn.copied{
    background: linear-gradient(to bottom, #2ecc71, #1e9f55);
}


/* ===========================
   HOME – PAINEL PRINCIPAL
=========================== */

/* texto introdutório */
.panel-lead{
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.92);
}

/* ===========================
   FEATURES (4 destaques)
=========================== */
.feature-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.feature{
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.08);
}

.feature strong{
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    color: #ffffff;
}

.feature span{
    font-size: 13px;
    opacity: 0.85;
}

/* ===========================
   LISTA DE CLASSES
=========================== */
.class-list{
    list-style: none;
    padding: 0;
    margin: 14px 0 0 0;
}

.class-list li{
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 14px;
}

.class-list li strong{
    color: #ffffff;
}

/* ===========================
   SERVER INFO (GRID)
=========================== */
.server-info-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.server-info-item{
    background: rgba(0,0,0,0.45);
    border-radius: 6px;
    padding: 12px 10px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
}

.server-info-item .label{
    display: block;
    font-size: 12px;
    opacity: 0.75;
    margin-bottom: 4px;
}

.server-info-item .value{
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

/* ===========================
   CTA FINAL
=========================== */
.panel-cta{
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

/* ===========================
   RESPONSIVO (MOBILE)
=========================== */
@media (max-width: 768px) {

    :root {
        --topbar-height: 64px;
    }

    .topbar__inner {
        gap: 14px;
        padding: 0 12px;
    }

    .topbar__link {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .topbar__cta {
        padding: 8px 12px;
        font-size: 11px;
        letter-spacing: 0.6px;
    }

    .hero-character {
        display: none;
    }

    .stage{
        max-width: 100%;
    }

    .panel {
        max-width: 92%;
        padding: 18px;

        margin-top: 360px;
        min-height: 420px;
    }

    .site-logo {
        left: 50%;
        transform: translateX(-50%);
        top: calc(-1 * var(--topbar-height) + 90px);

        width: min(86vw, 360px);
        height: auto;

        z-index: 6;
    }

    .register-btn {
        left: 50%;
        transform: translateX(-50%);

        top: calc(-1 * var(--topbar-height) + 90px + 190px);

        width: min(76vw, 320px);
        height: auto;

        z-index: 7;
    }

    .register-btn img {
        width: 100%;
        height: auto;
        display: block;
    }

    .content {
        padding: 20px 12px;
    }

    .content h1 {
        font-size: 2rem;
    }

    .topbar__inner{
        gap: 8px;
        padding: 0 8px;
        flex-wrap: nowrap;
    }

    .topbar__cta--img img{
        height: 32px;
    }

    .topbar__link{
        font-size: 10px;
        letter-spacing: 0.8px;
    }

    .side-widgets{
        display: none;
    }
	
	.feature-grid{
        grid-template-columns: 1fr;
    }

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


/* ===========================
   ACCOUNT / DOWNLOAD (extras)
=========================== */
.account-tabs{
  display:flex;
  gap:10px;
  margin: 10px 0 18px 0;
  flex-wrap: wrap;
}
.account-tab{
  display:inline-block;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  text-decoration:none;
  color:#EDEDED;
  background: rgba(0,0,0,0.25);
  font-size: 14px;
  letter-spacing: .4px;
}
.account-tab.is-active{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
}
.account-form label{
  display:block;
  margin-top: 10px;
  font-size: 14px;
  opacity: .9;
}
.account-form input{
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: #fff;
  outline: none;
}
.account-btn{
  margin-top: 14px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.10);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}
.form-msg{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}
.form-msg--ok{ border:1px solid rgba(0,255,120,0.25); background: rgba(0,255,120,0.08); }
.form-msg--err{ border:1px solid rgba(255,60,60,0.25); background: rgba(255,60,60,0.08); }

.download-links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  justify-content: center;
  width: 100%;
}
.download-link{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration:none;
  color:#EDEDED;
  background: rgba(0,0,0,0.25);
}
.download-link:hover{
  background: rgba(255,255,255,0.08);
}

/* ===========================
   DOWNLOAD TABLE (LIKE SCREENSHOT)
=========================== */
.download-table{
  width: 100%;
  max-width: 760px;
  margin: 8px auto 0;
  border: 1px solid rgba(255,255,255,0.95);
  padding: 10px 12px;
  background: rgba(0,0,0,0.35);
}

.download-table__head{
  display:grid;
  grid-template-columns: 1fr 140px;
  border: 1px solid rgba(255,255,255,0.95);
}

.download-table__hcell{
  padding: 12px 10px;
  text-align:center;
  font-weight: 800;
  letter-spacing: .5px;
}

.download-table__hcell:first-child{
  border-right: 1px solid rgba(255,255,255,0.95);
}

.download-table__body{
  border-left: 1px solid rgba(255,255,255,0.95);
  border-right: 1px solid rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.95);
}

.download-row{
  display:grid;
  grid-template-columns: 1fr 140px;
}

.download-row__text,
.download-row__icon{
  border-top: 1px solid rgba(255,255,255,0.95);
  padding: 12px 12px;
  display:flex;
  align-items:center;
}

.download-row__text{
  font-size: 15px;
  line-height: 1.3;
}

.download-row__icon{
  justify-content:center;
  border-left: 1px solid rgba(255,255,255,0.95);
}

.download-icon{
  width: 54px;
  height: 54px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.download-icon:hover{
  transform: scale(1.06);
  filter: brightness(1.08);
}

.download-icon svg {
    width: 42px;
    height: 42px;
}

.download-table__footer{
  border: 1px solid rgba(255,255,255,0.95);
  border-top: none;
  padding: 10px;
  text-align:center;
  font-style: italic;
  opacity: .95;
}

.download-tip{
  margin-top: 12px;
  font-size: 14px;
  opacity: .85;
  text-align: center;
}


.recaptcha-wrap{ margin-top:14px; display:flex; justify-content:center; }


/* Password rules helper */
.pwd-rules{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}
.pwd-rules__title{
  font-size: 13px;
  font-weight: 700;
  opacity: .92;
  margin-bottom: 6px;
}
.pwd-rules__list{
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  opacity: .88;
}
.pwd-rules__list li{ margin: 3px 0; }


/* Honeypot field (anti-bot) */
.hp-field{
  position:absolute !important;
  left:-9999px !important;
  top:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}


/* Honeypot field (anti-bot) - ensure it never shows */
input.hp-field{
  position:absolute !important;
  left:-9999px !important;
  top:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}


/* ===========================
   DONATION PAGE
=========================== */
.donation-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 14px;
}

.donation-card{
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 16px;
}

.donation-card h3{
    margin: 0 0 8px 0;
    font-size: 18px;
}

.donation-qr{
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: block;
    margin-top: 12px;
}

.donate-paypal-btn{
    display: inline-block;
    margin-top: 12px;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(to bottom, #2f87e8, #1559ad);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.donate-paypal-btn:hover{
    filter: brightness(1.08);
}

.paypal-logo-link {
    display: inline-block;
    text-decoration: none;
}

.paypal-logo {
    width: 200px;          /* ajuste como quiser */
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.paypal-logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.paypal-donate-btn img {
    width: 260px; /* tamanho estilo compra */
    max-width: 100%;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.paypal-donate-btn img:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}


@media (max-width: 980px){
    .donation-grid{
        grid-template-columns: 1fr;
    }
}
