html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Segoe UI, Arial, sans-serif;
    background: #0a0b12;
    color: #f2f2f2;
}

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


.site-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('http://localhost/UpdaterWeb/assets/img/bg.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: none;
}

.site-overlay {
    background: rgba(5, 5, 15, 0.85);
}

/* fallback IE */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .site-overlay {
        background: rgba(10, 10, 30, 0.95);
    }
}


.site-ui {
    position: absolute;
    top: 0;

    left: 50%;
    transform: translateX(-50%); /* 🔥 AJUSTE VISUAL */

    width: 100%;
    max-width: 1400px;
    height: 100%;
}

.topbar {
    position: absolute;
    top: 18px;
    left: 24px;
    right: 24px;
    height: 78px;
    border: 1px solid rgba(157, 116, 255, 0.28);
    background: rgba(12, 14, 26, 0.70);
    padding: 0 22px;
    border-radius: 18px;
    box-shadow: 0 0 24px rgba(74, 39, 130, 0.24);
}

.brand-block {
    position: absolute;
    left: 22px;
    top: 16px;
}

.brand-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 0 0 14px rgba(132, 89, 255, 0.35);
}

.brand-subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: #b7b3d6;
}

.main-nav {
    position: absolute;
    right: 18px;
    top: 19px;
}

.main-nav a {
    display: inline-block;
    min-width: 104px;
    margin-left: 10px;
    padding: 11px 18px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #e8e4ff;
    border: 1px solid rgba(148, 109, 255, 0.22);
    background: rgba(26, 24, 41, 0.72);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
    transition: all 0.20s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
    background: rgba(112, 67, 216, 0.88);
    border-color: rgba(179, 146, 255, 0.55);
    box-shadow: 0 0 18px rgba(123, 73, 240, 0.32);
}

.content-area {
    position: absolute;
    top: 118px;
    left: 10px;
    right: 10px;
    bottom: 62px;
}

.content-panel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    border: 1px solid rgba(157, 116, 255, 0.22);
    background: rgba(9, 12, 24, 0.52);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.015),
        0 0 22px rgba(0,0,0,0.30);
    overflow: hidden;
}


.page-box {
    height: 100%;
    display: flex;
    align-items: flex-start; /* 🔥 tira do meio */
    justify-content: center;
    padding-top: 20px; /* 🔥 espaço no topo */
}
.page-inner {
    position: absolute;
    top: 26px;
    left: 26px;
    right: 26px;
    bottom: 26px;
}

.page-kicker {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bcaeff;
    margin-bottom: 10px;
}

.page-title {
    margin: 0;
    font-size: 44px;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 0 18px rgba(130, 83, 255, 0.18);
}

.page-desc {
    margin-top: 16px;
    width: 58%;
    font-size: 15px;
    line-height: 1.7;
    color: #d8d5ef;
}

.glow-line {
    width: 160px;
    height: 3px;
    margin-top: 18px;
    background: #8f63ff;
    box-shadow: 0 0 14px rgba(143, 99, 255, 0.72);
}

.side-panel {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 330px;
    bottom: 24px;
}

.card {
    margin-bottom: 14px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(154, 118, 255, 0.18);
    background: rgba(16, 18, 33, 0.74);
    box-shadow: 0 0 12px rgba(0,0,0,0.22);
    transition: all 0.22s ease;
}

.card:hover {
    border-color: rgba(173, 139, 255, 0.34);
    box-shadow: 0 0 16px rgba(118, 77, 224, 0.22);
}

.card-title {
    margin: 0 0 8px 0;
    font-size: 17px;
    color: #ffffff;
}

.card-text {
    font-size: 13px;
    line-height: 1.6;
    color: #ccc8ea;
}

.feature-grid {
    position: absolute;
    left: 26px;
    right: 388px;
    bottom: 26px;
    height: 170px;
}

.feature-item {
    float: left;
    width: 31%;
    height: 100%;
    margin-right: 2.3%;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(154, 118, 255, 0.18);
    background: rgba(14, 18, 34, 0.74);
    box-sizing: border-box;
    transition: all 0.22s ease;
}

.feature-item.last {
    margin-right: 0;
}

.feature-item:hover {
    background: rgba(20, 24, 44, 0.82);
    box-shadow: 0 0 14px rgba(122, 72, 239, 0.18);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 13px;
    line-height: 1.6;
    color: #d1cceb;
}

.news-list {
    position: absolute;
    top: 26px;
    left: 26px;
    right: 26px;
    bottom: 26px;
    overflow: hidden;
}

.news-item {
    margin-bottom: 16px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(156, 118, 255, 0.18);
    background: rgba(13, 16, 29, 0.78);
    transition: all 0.22s ease;
}

.news-item:hover {
    background: rgba(18, 21, 38, 0.90);
    box-shadow: 0 0 16px rgba(120, 69, 221, 0.18);
}

.news-date {
    font-size: 12px;
    color: #b9afe8;
    margin-bottom: 8px;
}

.news-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}

.news-body {
    font-size: 14px;
    line-height: 0.9;
    color: #d2cfee;
}


/* PÁGINA */
.register-page {
    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;

    align-items: flex-start; /* 🔥 sobe tudo pro topo */
    padding-top: 20px;       /* 🔥 controla a altura */
}

/* BOX PRINCIPAL */
.register-box {
    width: 90%;
    max-width: 900px;
    height: 270px;

    display: flex;
    border-radius: 16px;
    overflow: hidden;

    background: transparent;
 
}
.form-check {
    margin: 10px 0 15px;
    font-size: 12px;
    color: rgba(200,200,255,0.8);
}

.form-check input {
    margin-right: 6px;
    accent-color: #7c3aed; /* 🔥 cor roxa */
    cursor: pointer;
}

.form-check label {
    cursor: pointer;
}
/* LADO ESQUERDO */
.left-panel {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    background: transparent;
    color: #fff;
}

.left-panel h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.left-panel p {
    opacity: 0.7;
}

/* LADO DIREITO */
.right-panel {
    width: 50%;
    padding: 40px;
    display: flex;
    align-items: center;
}

/* FORM */
.form {
    width: 100%;
}

/* INPUTS */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-size: 12px;
    color: #aaa;
}

.form-group input {
    width: 100%;
    height: 40px;

    border: none;
    border-radius: 8px;

    padding: 0 10px;
    margin-top: 5px;

    background: #020617;
    color: #fff;
}

/* BOTÃO */
button {
    width: 100%;
    height: 42px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(90deg, #7c3aed, #9333ea);
    color: white;
    font-weight: bold;

    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    opacity: 0.85;
}

/* MENSAGEM */
.message {
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
    color: #22c55e;
}

.footer-bar {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 14px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(157, 116, 255, 0.14);
    background: rgba(8, 10, 20, 0.62);
    color: #c6bfeb;
    font-size: 12px;
    line-height: 34px;
    padding: 0 14px;
    box-sizing: border-box;
}

.footer-left {
    float: left;
}

.footer-right {
    float: right;
}

body.size-xs .main-nav a {
    min-width: 76px;
    padding: 10px 10px;
    font-size: 12px;
}

body.size-xs .brand-title {
    font-size: 20px;
}

body.size-xs .page-title {
    font-size: 28px;
}

body.size-xs .page-desc {
    width: 100%;
    font-size: 13px;
}

body.size-xs .side-panel {
    display: none;
}

body.size-xs .feature-grid {
    right: 26px;
    height: 135px;
}

body.size-xs .feature-item {
    width: 32%;
    padding: 12px;
}

body.size-xs .form-box {
    width: 92%;
    margin-left: -46%;
}

body.size-sm .page-title {
    font-size: 34px;
}

body.size-sm .page-desc {
    width: 68%;
}

body.size-sm .side-panel {
    width: 280px;
}

body.size-sm .feature-grid {
    right: 338px;
}

body.size-md .page-title {
    font-size: 42px;
}

body.size-lg .page-title,
body.size-xl .page-title {
    font-size: 50px;
}

body.size-xs .site-ui {
    transform: translateX(-50%);
}

body.size-sm .site-ui {
    transform: translateX(-52%);
}

body.size-md .site-ui {
    transform: translateX(-55%);
}

body.size-lg .site-ui {
    transform: translateX(-60%);
}

body.size-xl .site-ui {
    transform: translateX(-62%);
}

.ranking-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 🔥 lado a lado */
    gap: 20px;
    width: 100%;
    max-width: 98%;
}

.ranking-box {
    width: 100%;
    max-height: 260px;
    padding: 18px;

    background: transparent;
    backdrop-filter: blur(4px);
    color: #f4f2ff;
}

.ranking-box h2 {
    text-align: center;
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.rank-empty {
    text-align: center;
    padding: 18px;
    color: rgba(220, 220, 255, 0.65);
    font-size: 13px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 36px;
    padding: 6px 10px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(118, 94, 255, 0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.rank-item:hover {
    transform: translateY(-1px);
    background: rgba(28, 38, 68, 0.94);
    border-color: rgba(140, 105, 255, 0.22);
}

.rank-1,
.rank-2,
.rank-3 {
    color: #f6f4ff;
}

/* TOP 1 */
.rank-1 {
    background: linear-gradient(90deg, rgba(122, 78, 255, 0.28), rgba(36, 27, 74, 0.92));
    border: 1px solid rgba(167, 132, 255, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03),
        0 0 16px rgba(116, 77, 255, 0.12);
}

/* TOP 2 */
.rank-2 {
    background: linear-gradient(90deg, rgba(88, 120, 255, 0.20), rgba(24, 35, 68, 0.92));
    border: 1px solid rgba(116, 146, 255, 0.26);
}

/* TOP 3 */
.rank-3 {
    background: linear-gradient(90deg, rgba(154, 92, 255, 0.18), rgba(43, 26, 70, 0.92));
    border: 1px solid rgba(168, 104, 255, 0.24);
}

.pos {
    width: 42px;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 13px;
    color: #ffffff;
}

.name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: #f8f7ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info {
    min-width: 70px;
    text-align: center;
    font-size: 11px;
    color: rgba(219, 222, 255, 0.78);
}

.pc {
    min-width: 82px;
    text-align: right;
    font-size: 11px;
    color: rgba(201, 205, 255, 0.74);
}

.score {
    min-width: 54px;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.vip {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(129, 86, 255, 0.18);
    border: 1px solid rgba(155, 114, 255, 0.28);
    color: #d9c6ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    vertical-align: middle;
}