/* Brawl‑o‑mania — esports dark theme */
:root {
  --bg: #0a0a0a;
  --panel: #141414;
  --muted: #8a8a8a;
  --text: #ffffff;
  --accent: #00e5ff;
  --gold: #ffd54a;
  --orange: #ff8a3d;
  --teal: #2cd6c4;
  --purple: #7a2cff;
  --shadow: 0 10px 30px rgba(0, 0, 0, .6);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  position: relative;
  min-height: 100%;
  background: transparent;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: -10%;
  z-index: -2;
  background-image:
    radial-gradient(circle at center, rgba(108, 74, 184, 0.4), rgba(15, 12, 35, 0.9) 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M60 5l13 23 26 3-18 18 4 26-25-12-25 12 4-26-18-18 26-3z' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E");
  background-size: 100% 100%, 160px 160px;
  background-position: center;
  animation: bg-pan 28s linear infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 20%, rgba(123, 79, 200, 0.25), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(255, 160, 90, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(6, 5, 16, 0.9) 0%, rgba(4, 6, 15, 0.95) 100%);
  pointer-events: none;
}

@keyframes bg-pan {
  from {
    background-position: center, 0 0;
  }

  to {
    background-position: center, 120px 180px;
  }
}

/* containers */
.container {
  width: min(1120px, 92vw);
  margin-inline: auto
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #000000d9;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #2a2a2a;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0
}

.logo img {
  max-height: 80px;
  margin-bottom: -20px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 28px;
  font-weight: 700
}

.main-nav a:hover {
  color: var(--accent)
}

/* hero */
.hero {
  padding: 22px 0 28px
}

.site-title {
  margin: 12px 0 0;
  font-family: "Lilita One", system-ui;
  font-size: 44px;
  text-align: center;
  letter-spacing: .07em;
  text-shadow: 0 8px 30px rgba(0, 238, 255, .25);
}

.site-subtitle {
  text-align: center;
  margin: 4px 0 26px;
  color: #cfd9df;
  letter-spacing: .25em;
  font-weight: 800;
  font-size: 13px;
}

/* TOP-3 grid */
.top3-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.player-card {
  position: relative;
  border-radius: 20px;
  padding: 20px 20px 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  border: 1px solid #2a2a2a;
  overflow: hidden;
}

/* card themes */

.p_photo {
  display: block;
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 0;
  padding-bottom: 0;

}

.card-1 {
  background: radial-gradient(120px 90px at 25% 8%, #fff4 0%, #0000 70%), linear-gradient(160deg, #ffe680 0%, #ffcc4d 45%, #ffaf38 100%);
  margin-bottom: 24px;
}

.card-2 {
  background: radial-gradient(120px 90px at 25% 8%, #ffffff44 0%, #0000 70%), linear-gradient(160deg, #e6e6e6 0%, #bfbfbf 40%, #8c8c8c 100%);
  margin-top: 32px;
}

.card-3 {
  background: radial-gradient(120px 90px at 25% 8%, #fff4 0%, #0000 70%), linear-gradient(160deg, #ffc89b 0%, #ff9c57 45%, #ff7a3a 100%);
  margin-top: 48px;
}

.card-4 {
  background: radial-gradient(140px 100px at 12% 4%, #ffffff3d 0%, #0000 65%), linear-gradient(150deg, #a9c9ff 0%, #84b6ff 38%, #5c82ff 100%);
}

.card-5 {
  background: radial-gradient(140px 100px at 18% 6%, #fff7 0%, #0000 60%), linear-gradient(155deg, #ffd7b0 0%, #ffb57f 45%, #ff8f6b 100%);
}

.card-6 {
  background: radial-gradient(140px 100px at 10% 6%, #ffffff2b 0%, #0000 55%), linear-gradient(160deg, #b6ffe5 0%, #75f2c5 42%, #57d7b0 100%);
}

.card-7 {
  background: radial-gradient(140px 100px at 14% 8%, #ffffff33 0%, #0000 60%), linear-gradient(155deg, #f7d6ff 0%, #cf9eff 44%, #a96bff 100%);
}

.card-8 {
  background: radial-gradient(140px 100px at 16% 5%, #ffffff3f 0%, #0000 58%), linear-gradient(155deg, #ffdede 0%, #ff9ca0 40%, #ff6f7a 100%);
}





.badge-rank {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #000;
  color: #ffbf00;
  border: 2px solid #ffbf00;
  font-weight: 900;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .45);
}

.art-holder {
  width: 100%;
  height: auto;
  display: grid;
  place-items: end center;
  margin-bottom: 14px;
}

.art-holder img {
  width: min(85%, 20rem);
  height: auto;
  padding-bottom: 50px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45));
}

.player-name {
  margin: 2px 0 0;
  font-family: "Lilita One";
  font-size: 24px;
  letter-spacing: .02em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}

.player-region {
  margin: 6px 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.player-country {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

.stats {
  margin-top: 20px;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.stats div {
  display: flex;
  justify-content: space-between;
  background: #0005;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #ffffff1e;
}

.stats dt {
  color: #dfe7ff;
  font-weight: 700;
}

.stats dd {
  margin: 0;
  font-weight: 800;
}

/* WORLD RATING */
.world-rating {
  padding: 20px 0 30px
}

.world-rating h2 {
  text-align: center;
  font-family: "Lilita One";
  letter-spacing: .08em;
  font-size: 28px;
  margin: 2px 0 16px;
}

.mini-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, 1fr);
}

.mini-card {
  position: relative;
  overflow: hidden;
  background: #101014;
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  padding: 52px 18px 18px;
  box-shadow: var(--shadow);
}

.mini-card {
  display: flex;
  flex-direction: column;
}

.mini-art {
  height: 94px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  padding: 8px;
  background: linear-gradient(160deg, #e3f2ff 0%, #b7dbff 45%, #89befa 100%);
  border: 1px solid #ffffff36;
  overflow: hidden;
}

.mini-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mini-card h4 {
  margin: 6px 0 8px;
  font-weight: 800
}

.mini-region {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a8a8a;
}

.mini-country {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5f5f5f;
}

.stats.mini div {
  padding: 4px 6px;
  border-radius: 8px;
  background: #0006
}

.mini-cta {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(150deg, #a67cff 0%, #7a2cff 60%, #551cff 100%);
  border: 1px solid #bfa6ff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 52px 18px 18px;
}

.mini-cta span {
  line-height: 1.1;
  font-size: 14px
}

.mini-cta .badge-rank {
  position: absolute;
}

.cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.btn-ghost {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 16px;
  border: 2px solid #c7e7ff;
  color: #eaffff;
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(180deg, #eaffff0e, #bfe7ff0a);
  box-shadow: 0 4px 16px rgba(0, 238, 255, .18);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: #fff
}

/* footer */
.site-footer {
  padding: 30px 0 40px;
  background: #000;
  border-top: 1px solid #2a2a2a
}

.logo-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.footer-menu {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 4px 0 12px
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 700
}

.footer-menu a:hover {
  color: var(--accent)
}

.social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 8px 0 8px
}

.ico {
  color: #fff;
  opacity: .85
}

.ico:hover {
  color: var(--accent)
}

.attrib,
.thanks,
.roles,
.license {
  text-align: center;
  color: #ddd;
  margin: 8px auto;
  max-width: 680px
}

.thanks span {
  color: #8fd3ff
}

.roles strong {
  color: #fff
}

.license {
  color: #e8e8e8
}

/* responsive */
@media (max-width: 1024px) {
  .top3-grid {
    grid-template-columns: 1fr;
  }

  .mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .art-holder {
    height: 140px
  }
}

@media (max-width: 560px) {
  .site-title {
    font-size: 36px
  }

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

  .badge-rank {
    font-size: 13px;
    padding: 5px 9px
  }

  .btn-ghost {
    width: 100%;
    text-align: center
  }
}


.mini-art img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}



.mini-card .badge-rank,
.mini-cta .badge-rank {
  position: absolute;
  top: 16px;
  left: 16px;
}
