* {
    box-sizing: border-box;
}

/* RESET */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: transparent;
    font-family: Arial, sans-serif;
    color: #fff;
}

/* FUNDO */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* CONTEÚDO */
.content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    min-height: calc(100vh - 80px); /* 👈 ESSA LINHA RESOLVE */
}
.content {
    flex: 1;
}

/* NAVBAR */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.menu li a:hover {
    color: #6a00ff;
}

.main-layout {
    display: grid;
    grid-template-columns: 270px 1fr 270px;
    gap: 15px;
    padding: 0 20px;
}

/* remove largura fixa */
.left-area,
.right-area {
    width: 100%;
}

.center-content {
    width: 100%;
}

/* SIDEBAR */
.sidebar {
    width: 100%;
}

/* BOX PREMIUM */
.box-side {
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(6px);

    border: 1px solid rgba(106, 0, 255, 0.4);
    box-shadow: 0 0 10px rgba(106, 0, 255, 0.2);

    transition: 0.3s;
}

/* HOVER */
.box-side:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(106, 0, 255, 0.6);
    border-color: rgba(106, 0, 255, 0.8);
}

/* TITULOS */
.box-side h3 {
    margin-top: 0;
    color: #c084ff;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 5px;
}

/* BOTÕES */
.btn {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;

    background: linear-gradient(45deg, #6a00ff, #9d4edd);
    color: #fff;

    border-radius: 5px;
    text-decoration: none;

    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #9d4edd;
}

/* STATUS */
.status {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.box {
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 120px;
}

/* RANKING */
.ranking {
    margin: 40px auto;
    text-align: center;
}

.ranking table {
    width: 100%;
    background: rgba(0,0,0,0.6);
    border-collapse: collapse;
}

.ranking th, .ranking td {
    padding: 10px;
}

/* ITENS */
.rank-item {
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* SLIDER */
.hero-box {
    position: relative;
    height: 300px;
    padding: 0;
    overflow: hidden;
}

.carousel {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

/* ZOOM */
@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.slide.active {
    animation: zoomEffect 5s linear forwards;
}

@media (max-width: 1000px) {

    body {
        overflow-x: hidden;
    }

    .main-layout {
        transform: scale(0.86);
        transform-origin: top left; /* 👈 MUDA ISSO */

        width: 1000px;

        margin: 0; /* 👈 remove centralização */
    }

}

/* FLOAT SUAVE */
@keyframes floatBox {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.box-side {
    animation: floatBox 6s ease-in-out infinite;
}

/* GLOW ANIMADO */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 10px rgba(106,0,255,0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(106,0,255,0.6);
    }
    100% {
        box-shadow: 0 0 10px rgba(106,0,255,0.2);
    }
}

.box-side {
    animation: floatBox 6s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
}

.box-side:hover {
    transform: translateY(-10px) scale(1.02);
}

.multi-ranking {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.rank-block {
    width: 33%;
}

.rank-block h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #c084ff;
}

.ranking-title {
    text-align: center;
    margin-bottom: 20px;
    color: #c084ff;
}

/* GRID */
.multi-ranking {
    display: flex;
    gap: 15px;
}

/* COLUNAS */
.rank-block {
    width: 33%;
}

/* TITULO */
.rank-block h3 {
    text-align: center;
    margin-bottom: 10px;
}

/* ITEM */
.rank-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: 5px;
    margin-bottom: 5px;
    font-size: 13px;
    background: rgba(255,255,255,0.05);
}

/* POSIÇÃO */
.rank-item .pos {
    width: 20px;
}

/* NOME */
.rank-item .name {
    flex: 1;
    text-align: left;
}

/* VALOR */
.rank-item .value {
    font-weight: bold;
}

/* TOP 1 */
.rank-item.top1 {
    background: rgba(255,255,255,0.15);
    font-weight: bold;
}

/* CORES POR TIPO */
.rank-block.reset h3 { color: #a855f7; }
.rank-block.killer h3 { color: #ef4444; }
.rank-block.guild h3 { color: #3b82f6; }

.top-player {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* IMAGEM */
.player-img img {
    width: 120px;
    height: auto;
}

/* INFO */
.player-info h2 {
    margin: 0;
    color: #c084ff;
}

.player-info .reset {
    margin-bottom: 10px;
    font-size: 14px;
}

/* STATS */
.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    font-size: 13px;
}

/* STAT */
.stat {
    margin-bottom: 10px;
    font-size: 12px;
}

/* FUNDO DA BARRA */
.bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    overflow: hidden;
}

/* PREENCHIMENTO */
.fill {
    height: 100%;
    background: linear-gradient(90deg, #a855f7, #6a00ff);
    transition: width 0.5s;
}

/* CORES DIFERENTES */
.fill.agi { background: linear-gradient(90deg, #22c55e, #4ade80); }
.fill.vit { background: linear-gradient(90deg, #ef4444, #f87171); }
.fill.ene { background: linear-gradient(90deg, #3b82f6, #60a5fa); }

/* TOP PLAYER BOX MAIOR */
.top-player-box {
    padding: 30px !important;
}

.top-player {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* IMAGEM MAIOR */
.player-img img {
    width: 160px;
}

/* INFO */
.player-info h2 {
    font-size: 24px;
}

.player-info .reset {
    font-size: 14px;
    margin-bottom: 15px;
}

.fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.fill {
    position: relative;
}

/* CONTAINER */
.stats-vertical {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-top: 10px;
}

/* CADA STAT */
.stat-v {
    text-align: center;
    font-size: 11px;
}

/* BARRA */
.bar-v {
    width: 12px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

/* PREENCHIMENTO */
.fill-v {
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, #a855f7, #6a00ff);
    transition: height 1.5s ease;
}

/* CORES */
.fill-v.agi { background: linear-gradient(180deg, #22c55e, #4ade80); }
.fill-v.vit { background: linear-gradient(180deg, #ef4444, #f87171); }
.fill-v.ene { background: linear-gradient(180deg, #3b82f6, #60a5fa); }

.stats-full {
    margin-top: 15px;
}

/* ================= BARRAS (CORREÇÃO) ================= */

.stats-full {
    margin-top: 15px;
}

.stat-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.label {
    width: 100px;
}

.value {
    width: 60px;
    text-align: right;
}

/* IMPORTANTE */
.bar {
    flex: 1;
    height: 14px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* ESSA PARTE RESOLVE SEU PROBLEMA */
.fill {
    height: 100%;
    border-radius: 10px;
}

/* cores */
.fill { background: linear-gradient(90deg, #a855f7, #6a00ff); }
.fill.agi { background: linear-gradient(90deg, #22c55e, #4ade80); }
.fill.vit { background: linear-gradient(90deg, #ef4444, #f87171); }
.fill.ene { background: linear-gradient(90deg, #3b82f6, #60a5fa); }

/* FORÇA BARRA FUNCIONAR */
.fill {
    height: 100% !important;
    min-width: 2px;
}

.player-info {
    flex: 1;
}

/* ================= BARRAS INSANAS ================= */

.bar {
    flex: 1;
    height: 16px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* BASE */
.fill {
    height: 100%;
    border-radius: 10px;
    position: relative;
}

/* CORES + GLOW */
.fill {
    background: linear-gradient(90deg, #a855f7, #6a00ff);
    box-shadow: 0 0 10px #6a00ff;
}

.fill.agi {
    background: linear-gradient(90deg, #22c55e, #4ade80);
    box-shadow: 0 0 10px #22c55e;
}

.fill.vit {
    background: linear-gradient(90deg, #ef4444, #f87171);
    box-shadow: 0 0 10px #ef4444;
}

.fill.ene {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    box-shadow: 0 0 10px #3b82f6;
}

/* ENERGIA CORRENDO */
.fill::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );

    animation: energyMove 1.5s linear infinite;
}

/* ANIMAÇÃO */
@keyframes energyMove {
    0% { left: -50%; }
    100% { left: 120%; }
}

/* PULSAÇÃO LEVE */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 5px currentColor; }
    50% { box-shadow: 0 0 15px currentColor; }
    100% { box-shadow: 0 0 5px currentColor; }
}

.fill {
    animation: pulseGlow 2s infinite;
}

.stat-line {
    margin-bottom: 15px;
}

.label {
    margin-bottom: 5px;
}

.bar {
    width: 100%;
    height: 14px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.fill {
    height: 100%;
}

.fill { background: #6a00ff; }
.fill.agi { background: #22c55e; }
.fill.vit { background: #ef4444; }
.fill.ene { background: #3b82f6; }

.event-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event {
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    font-size: 13px;
}

.timer {
    font-weight: bold;
    color: #c084ff;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

/* NAVBAR */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;

    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

/* CONTAINER */
.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
    font-size: 22px;
    font-weight: bold;
    color: #c084ff;
    text-shadow: 0 0 10px #6a00ff;
}

/* MENU */
.menu {
    display: flex;
    gap: 25px;
    list-style: none;
}

/* LINKS */
.nav-link {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: 0.3s;
}

/* LINHA ANIMADA */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #6a00ff, #a855f7);
    transition: 0.3s;
}

/* HOVER */
.nav-link:hover {
    color: #c084ff;
    text-shadow: 0 0 5px #6a00ff;
}

.nav-link:hover::after {
    width: 100%;
}

/* ATIVO */
.nav-link.active {
    color: #c084ff;
}

.nav-link.active::after {
    width: 100%;
}

/* EFEITO GLOW LEVE */
.nav-link:hover {
    transform: translateY(-2px);
}

.nav-link[href="#"] {
    background: linear-gradient(45deg, #6a00ff, #a855f7);
    padding: 6px 12px;
    border-radius: 6px;
}

/* MENU COMO BOTÕES */
.menu {
    display: flex;
    gap: 10px;
    list-style: none;
}

/* REMOVE estilo antigo se existir */
.menu a {
    text-decoration: none;
}

/* FORÇA PADRÃO DO BOTÃO NO MENU */
.menu .btn {
    color: #fff !important;
}

/* HOVER CORRETO */
.menu .btn:hover {
    color: #fff !important;
    filter: brightness(1.2);
}

.nav-container {
    display: flex;
    justify-content: center; /* 👈 centraliza */
    align-items: center;
}

.main-logo img {
    width: 320px;
    max-width: 90%;
    filter: drop-shadow(0 0 15px #6a00ff);
    transition: 0.3s;
}

.main-logo img:hover {
    transform: scale(1.05);
}
.main-logo {
    display: flex;
    justify-content: center; /* centraliza horizontal */
    align-items: center;
    margin: 20px 0;
}

.main-logo img {
    max-width: 350px;
    width: 100%;
}

/* BOX CENTRALIZADA */
.play-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

/* BOTÃO GRANDE */
/* BOX */
.play-box {
    padding: 0; /* remove espaço interno */
}

/* BOTÃO FULL */
.btn-play-big {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 150px; /* ou 100% se quiser automático */

    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;

    border-radius: 10px;

    background: linear-gradient(45deg, #6a00ff, #a855f7);

    box-shadow: 0 0 20px #6a00ff;
    transition: 0.3s;

    position: relative;
    overflow: hidden;
}

/* EFEITO BRILHO */
.btn-play-big::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: 0.5s;
}

.btn-play-big:hover::before {
    left: 100%;
}

/* HOVER */
.btn-play-big:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #a855f7;
}

/* BOX */
.play-box {
    padding: 0; /* remove espaço interno */
}

/* BOTÃO COM IMAGEM AJUSTADA */
.btn-play-big {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 150px;

    position: relative;
    overflow: hidden;
    border-radius: 10px;

    /* 👇 AJUSTE CORRETO */
    background-image: url('/assets/playbutton.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 150% 140%;

    background-color: rgba(0,0,0,0.3); /* fundo caso não preencha */

    transition: 0.3s;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;

    display: flex;
    align-items: center;
    gap: 10px;

    background: #25D366;
    padding: 10px 15px;
    border-radius: 50px;

    color: #fff;
    text-decoration: none;
    font-weight: bold;

    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    z-index: 999;

    transition: 0.3s;
}

/* ÍCONE */
.whatsapp-float img {
    width: 24px;
}

/* HOVER */
.whatsapp-float:hover {
    transform: scale(1.05);
}

.footer {
    margin-top: 40px;
    padding: 30px 20px;

    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);

    text-align: center;
}

/* ÍCONES */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-social img {
    width: 30px;
    transition: 0.3s;
}

/* HOVER */
.footer-social img:hover {
    transform: scale(1.2);
}

/* TEXTO */
.footer-text p {
    margin: 5px 0;
    font-size: 13px;
    color: #ccc;
}

.footer {
    margin-top: 40px;
    padding: 30px 20px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    text-align: center;
    position: relative;
}

/* LINHA NEON */
.footer-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;

    background: linear-gradient(90deg, #6a00ff, #a855f7, #6a00ff);
    background-size: 200%;

    animation: neonMove 3s linear infinite;
}

/* ANIMAÇÃO */
@keyframes neonMove {
    0% { background-position: 0%; }
    100% { background-position: 200%; }
}

/* SOCIAL */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.footer-social img {
    width: 30px;
    transition: 0.3s;
    filter: drop-shadow(0 0 5px #6a00ff);
}

.footer-social img:hover {
    transform: scale(1.2);
}

/* TEXTO */
.footer-text p {
    margin: 5px 0;
    font-size: 13px;
    color: #ccc;
}

.footer-text strong {
    color: #c084ff;
}



.diamonds-box img:hover {
    transform: scale(1.05);
}

.diamonds-banner {
    display: block;
}

.diamonds-banner img {
    width: 100%;
    border-radius: 10px;
    transition: 0.3s;
}

.diamonds-banner img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* CONTAINER */
.diamonds-banner {
    display: block;
    position: relative;
}

/* IMAGEM */
.diamonds-banner img {
    width: 100%;
    border-radius: 10px;

    transition: 0.3s;

    /* GLOW BASE */
    box-shadow: 0 0 15px #6a00ff;
}

/* PULSAÇÃO */
@keyframes bannerPulse {
    0% { box-shadow: 0 0 10px #6a00ff; }
    50% { box-shadow: 0 0 30px #a855f7; }
    100% { box-shadow: 0 0 10px #6a00ff; }
}

.diamonds-banner img {
    animation: bannerPulse 2s infinite;
}
.medal {
    font-size: 18px;
    margin-right: 8px;
}

/* COLUNA DA MEDALHA */
.medal {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 30px; /* 👈 FIXA O ESPAÇO */
    margin-right: 8px;

    font-size: 18px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-form input {
    padding: 8px;
    border-radius: 6px;
    border: none;
}

.login-form .btn {
    margin-top: 5px;
}

@media (max-width: 1000px) {

    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .content {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

/* 1. Ajusta a largura da grade central para não ficar gigante */
.center-content {
    width: 100%;
    max-width: none;
}

/* 2. Garante que as 3 colunas de ranking caibam lado a lado e não sumam com o texto */
.rank-block {
    min-width: 150px; 
    flex: 1;
}

/* 3. Força o nome "Reset" (ou qualquer título de coluna) a aparecer e ter cor */
.rank-block h3 {
    display: block !important;
    visibility: visible !important;
    color: #c084ff !important; /* Cor roxa padrão do seu tema */
    text-align: center;
}

