/* ================================
   GLOBAL STYLES
================================ */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #12121c;
    color: white;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================================
Correções mobile
=================================*/
.topbar .menu {
    display:flex;
}
.mobile-menu, .mobile-menu-btn {
    display:none;
}

.mobile-rank-btn-container{
	display:none;
}

/* ================================
   CARD PERFIL
================================ */
.card {
    max-width: 850px;
    margin: 40px auto;
    background: #151922;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 0 25px rgba(0,0,0,.7);
}

/* HEADER */
.header {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

/* Avatar */
.profile-skin {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #8968CD;
    background-image: url("backgrounds/perfil.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.profile-skin img {
    height: 200%;
    object-fit: cover;
    object-position: center top;
}

/* Info */
.info h2 {
    margin: 0;
    font-size: 28px;
}
.info p {
    margin: 6px 0;
    color: #ccc;
}

/* Barra de Level */
.badge-progress{
    position: relative;
    width: 260px;
    height: 16px;
    background: #2a2a2a;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: inset 0 0 6px rgba(0,0,0,.6);
}

.badge-progress-bar{
    height: 100%;
    background: linear-gradient(90deg,#7c3cff,#bfa3ff);
    border-radius: 20px;
    transition: width .6s ease;
    box-shadow: 0 0 10px rgba(124,60,255,.8);
}

.badge-progress-text{
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: white;
    text-shadow: 0 0 4px black;
}

/* BADGES */
.badge-section {
    margin-top: 25px;
}
.badge-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffd700;
}
.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.badge {
    width: 85px;
    background: #1c2130;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    transition: .2s;
}
.badge:hover {
    transform: scale(1.12);
    box-shadow: 0 0 18px rgba(137,104,205,.7);
}
.badge img {
    width: 55px;
}

.esposa {
    margin-top: 6px;
    font-size: 14px;
    color: #bfaaff;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 0 10px rgba(137,104,205,.6);
}

.anel {
    font-size: 16px;
    filter: drop-shadow(0 0 6px rgba(137,104,205,.8));
}

/* ================================
   SITE - TOPBAR
================================ */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    backdrop-filter: blur(10px);
    background: rgba(18,22,35,.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 10;
    box-sizing: border-box;
}

.logo {
    font-size: 28px;
    color: #8968CD;
}
.menu a {
    margin-left: 30px;
    color: #ccc;
    text-decoration: none;
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(135deg,#8968CD,#0b0e14);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-content h1 {
    font-size: 64px;
}
.btn {
    background: #8968CD;
    padding: 15px 40px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 0 30px rgba(137,104,205,.6);
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 80px;
}
.feature {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    transition: .3s;
}
.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(137,104,205,.6);
}

/* ================================
   PLAYERS GRID
================================ */
.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
    gap: 30px;
}

.player-card {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    text-align: center;
    padding: 20px;
    text-decoration: none;
    color: white;
    transition: .3s;
}
.player-card img {
    width: 120px;
}
.player-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(137,104,205,.7);
}

/* RULE CARD */
.rule-card {
    background: rgba(255,255,255,.05);
    margin: 20px 0;
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
}


/* ================================
   LOGO NEO
================================ */
.neo-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.neo-text {
    font-family: 'Airstrike', sans-serif;	
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
    text-shadow: 0 0 12px rgba(137,104,205,.8);
}
.neo-line {
    width: 55px;
    height: 3px;
    background: linear-gradient(90deg,#8968CD,transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(137,104,205,.8);
}

/* ================================
   SEARCH BAR
================================ */
.search-bar {
    width: 90%;
	margin-left: 5%;
    padding: 18px 25px;
    border-radius: 16px;
    border: 1px solid rgba(137,104,205,.4);
    background: rgba(15,18,30,.85);
    backdrop-filter: blur(12px);
    color: white;
    font-size: 18px;
    box-shadow: 0 0 20px rgba(137,104,205,.25);
    transition: .3s;
}
.search-bar::placeholder {
    color: rgba(255,255,255,.5);
}
.search-bar:focus {
    border-color: #8968CD;
    box-shadow: 0 0 30px rgba(137,104,205,.7);
    background: rgba(20,24,40,.95);
}

/* ================================
   TOP PLAYERS LISTS
================================ */
.ranking-boxes {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.ranking-boxes > div {
    flex: 1 1 400px;
    max-width: 480px;
    background: #2C2C2C;
    padding: 12px;
    border-radius: 12px;
}

.ranking-boxes h3 {
    color: #fff;
    text-align: center;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Player Card (Rank) */
.top-player-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #3A3A3A;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: .2s;
    box-shadow: 0 0 6px rgba(0,0,0,.3);
}
.top-player-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 12px rgba(0,0,0,.5);
}

/* Rank Circle */
.rank-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    text-shadow: 0 0 2px black;
}

/* Player Info */
.player-info {
    display: flex;
    flex-direction: column;
}
.player-name {
    font-size: 15px;
    font-weight: 600;
    color: white;
}
.badge-count {
    font-size: 13px;
    color: #ccc;
}

/* Rank Highlights */
.top-player-card.gold .rank-circle {
    background: linear-gradient(90deg,#FFD700,#FFC700);
    color: #000;
    box-shadow: 0 0 8px #FFD700;
}
.top-player-card.silver .rank-circle {
    background: linear-gradient(90deg,#C0C0C0,#AFAFAF);
    color: #000;
    box-shadow: 0 0 8px #C0C0C0;
}
.top-player-card.bronze .rank-circle {
    background: linear-gradient(90deg,#CD7F32,#B26B2E);
    color: #000;
    box-shadow: 0 0 8px #CD7F32;
}
.top-player-card.purple .rank-circle {
    background: #8968CD;
    color: white;
    box-shadow: 0 0 6px rgba(137,104,205,.5);
}

/* ================================
   RESPONSIVE
================================ */
@media screen and (max-width: 800px) {
    .ranking-boxes {
        flex-direction: column;
        align-items: center;
    }
    .ranking-boxes > div {
        max-width: 95%;
    }

    .features .feature {
        font-size: 13px;
        padding: 12px;
    }
    .rank-circle {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .player-name {
        font-size: 13px;
    }
    .badge-count {
        font-size: 11px;
    }
}


.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-slideshow img.active {
  opacity: 1;
}

/* Gradient na parte inferior da imagem */
.hero-slideshow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Escurecimento geral do fundo */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

/* Conteúdo do hero */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 40px;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 0 30px rgba(0,0,0,0.7);
}

.hero-content p {
  font-size: 1.4rem;
  opacity: 0.9;
  margin-bottom: 30px;
  text-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.hero-content .btn {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, #00ff88, #00cc66);
  color: #000;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 0 25px rgba(0,255,136,0.6);
  transition: 0.3s ease;
}

.hero-content .btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(0,255,136,0.9);
}
