:root {
  --bg: #050712;
  --line: rgba(255,255,255,.10);
  --text: #f4f7ff;
  --muted: rgba(244,247,255,.68);
  --accent: #7b55ff;
  --accent2: #00d9ff;
  --gold: #f3c76b;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  background: #050712;
  color: var(--text);
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(123,85,255,.20), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(0,217,255,.12), transparent 32%),
    linear-gradient(180deg, #050712 0%, #070b15 45%, #050712 100%);
}

button,
a,
input,
select,
textarea {
  font-family: 'Roboto', Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px 28px;
  background: rgba(5, 7, 18, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0,0,0,.32);
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo {
  width: 180px;
  max-height: 58px;
  object-fit: contain;
  transition: .25s ease;
}

.logo-link:hover .site-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 0 18px rgba(123,85,255,.45));
}

.topbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.topbar-nav button,
.topbar-nav a {
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: .2s ease;
}

.topbar-nav button:hover,
.topbar-nav a:hover,
.topbar-nav button.active {
  color: #fff;
  border-color: rgba(123,85,255,.48);
  background: linear-gradient(90deg, rgba(123,85,255,.20), rgba(0,217,255,.08));
  box-shadow: 0 0 22px rgba(123,85,255,.15);
}

.topbar-account {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.account-btn {
  height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid rgba(123,85,255,.58);
  background: linear-gradient(90deg, rgba(123,85,255,.32), rgba(0,217,255,.13));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(123,85,255,.14);
}

.site-shell,
.page-container {
  width: 100%;
  min-height: calc(100vh - 78px);
}

.loading-page,
.error-page {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
}

.error-page {
  flex-direction: column;
  text-align: center;
}

/* HERO */

.home-hero {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 70px 28px 42px;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../img/background.webp') center right / cover no-repeat;
  transform: scale(1.08);
  opacity: 0;
  animation: heroBgIn 1.3s ease forwards;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,7,18,.96) 0%, rgba(5,7,18,.76) 38%, rgba(5,7,18,.35) 70%, rgba(5,7,18,.78) 100%),
    linear-gradient(180deg, rgba(5,7,18,.08) 0%, rgba(5,7,18,.95) 100%);
}

.home-hero-content {
  position: relative;
  z-index: 3;
  width: min(1480px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 38px;
  align-items: center;
}

.hero-copy {
  max-width: 780px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(123,85,255,.42);
  background: rgba(123,85,255,.14);
  color: #d9d0ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
  animation: fadeUp .75s ease both;
}

.hero-title {
  margin: 0;
  font-size: clamp(48px, 6vw, 104px);
  line-height: .88;
  font-weight: 900;
  letter-spacing: -.06em;
  text-transform: uppercase;
  text-shadow: 0 16px 42px rgba(0,0,0,.55);
  animation: fadeUp .85s ease .08s both;
}

.hero-title span {
  color: transparent;
  background: linear-gradient(90deg, #ffffff, #b9a8ff 45%, #54e6ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(244,247,255,.76);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
  animation: fadeUp .85s ease .18s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  animation: fadeUp .85s ease .28s both;
}

.hero-btn-primary,
.hero-btn-secondary {
  min-width: 178px;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: .05em;
  transition: .22s ease;
}

.hero-btn-primary {
  border: 1px solid rgba(123,85,255,.62);
  background: linear-gradient(90deg, #6e4cff, #00cfff);
  color: #fff;
  box-shadow: 0 16px 36px rgba(123,85,255,.28);
}

.hero-btn-secondary {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.055);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hero-btn-primary:hover,
.hero-btn-secondary:hover {
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(5,7,18,.52);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  overflow: hidden;
  animation: fadeUp .85s ease .38s both;
}

.hero-stat {
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,.10);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.hero-stat span {
  display: block;
  margin-top: 7px;
  color: rgba(244,247,255,.56);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero-side-card {
  justify-self: end;
  width: min(510px, 100%);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
  animation: fadeLeft .9s ease .18s both;
}

.hero-side-card-top {
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 20% 20%, rgba(123,85,255,.24), transparent 38%),
    radial-gradient(circle at 90% 10%, rgba(0,217,255,.16), transparent 35%);
}

.hero-side-card-top small {
  color: #d9d0ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-side-card-top h3 {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.05;
}

.hero-side-card-body {
  padding: 22px 24px 24px;
}

.hero-side-card-body p {
  margin: 0;
  color: rgba(244,247,255,.72);
  line-height: 1.65;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 18px;
}

.quick-card {
  min-height: 104px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  padding: 16px;
  transition: .22s ease;
}

.quick-card:hover {
  transform: translateY(-3px);
  border-color: rgba(123,85,255,.40);
  background: rgba(123,85,255,.10);
}

.quick-card strong {
  display: block;
  font-size: 15px;
  color: #fff;
}

.quick-card span {
  display: block;
  margin-top: 6px;
  color: rgba(244,247,255,.58);
  font-size: 13px;
  line-height: 1.45;
}

/* SEÇÕES */

.home-section {
  position: relative;
  padding: 76px 28px;
  background: linear-gradient(180deg, rgba(5,7,18,.96), #050712);
}

.home-section-inner {
  width: min(1480px, 100%);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-kicker {
  color: #b8a8ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.section-title {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
  color: #fff;
}

.section-desc {
  max-width: 620px;
  color: rgba(244,247,255,.62);
  line-height: 1.65;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.news-card {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0,0,0,.26);
  transition: .24s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123,85,255,.34);
}

.news-thumb {
  height: 210px;
  background-size: cover;
  background-position: center;
}

.news-body {
  padding: 20px;
}

.news-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(123,85,255,.13);
  border: 1px solid rgba(123,85,255,.28);
  color: #d9d0ff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-body h3 {
  margin: 14px 0 8px;
  font-size: 21px;
  color: #fff;
}

.news-body p {
  margin: 0;
  color: rgba(244,247,255,.62);
  line-height: 1.65;
}

/* CLASSES SHOWCASE */

.classes-showcase {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(123,85,255,.14), transparent 32%),
    radial-gradient(circle at 70% 35%, rgba(0,217,255,.10), transparent 30%),
    linear-gradient(180deg, #060812 0%, #090d18 48%, #050712 100%);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.classes-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,7,18,.98), rgba(8,10,24,.72), rgba(5,7,18,.96)),
    radial-gradient(circle at 58% 36%, rgba(0,217,255,.14), transparent 28%),
    radial-gradient(circle at 84% 45%, rgba(255,30,30,.10), transparent 30%);
  opacity: 1;
}

.classes-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .18;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent);
}

.classes-red-slice {
  position: absolute;
  right: -12%;
  top: -8%;
  width: 44%;
  height: 120%;
  background: linear-gradient(180deg, rgba(255,30,30,.78), rgba(150,0,0,.35));
  clip-path: polygon(42% 0, 100% 0, 64% 100%, 0 100%);
  opacity: .72;
  mix-blend-mode: screen;
  filter: blur(.2px);
}

.classes-light-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, transparent 42%, rgba(255,255,255,.10) 50%, transparent 58%, transparent 100%);
  transform: translateX(-100%);
  animation: classesSweep 6s ease-in-out infinite;
}

.classes-inner {
  position: relative;
  z-index: 2;
  width: min(1480px, 100%);
  min-height: 720px;
  margin: 0 auto;
  padding: 70px 28px;
  display: grid;
  grid-template-columns: 390px 1fr 170px;
  gap: 30px;
  align-items: center;
}

.classes-info {
  position: relative;
  z-index: 4;
}

.classes-kicker {
  color: #baf6ff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.classes-info h2 {
  margin: 16px 0 18px;
  color: #ff2c2c;
  font-size: clamp(44px, 4vw, 72px);
  line-height: .92;
  font-weight: 900;
  letter-spacing: -.04em;
  text-shadow: 0 16px 34px rgba(0,0,0,.48);
}

.classes-info p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 700;
}

.class-skill {
  margin-top: 34px;
  padding: 18px 20px;
  border-left: 3px solid rgba(255,44,44,.95);
  background: linear-gradient(90deg, rgba(255,44,44,.13), rgba(255,255,255,.03));
  border-radius: 0 18px 18px 0;
  box-shadow: 0 18px 44px rgba(0,0,0,.25);
}

.class-skill strong {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1.12;
}

.class-skill span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.66);
  line-height: 1.55;
}

.classes-character {
  position: relative;
  z-index: 3;
  min-height: 610px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.classes-character::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,217,255,.20), transparent 56%),
    radial-gradient(circle, rgba(123,85,255,.14), transparent 68%);
  filter: blur(6px);
  animation: characterAura 3.4s ease-in-out infinite;
}

.classes-character::after {
  content: "";
  position: absolute;
  bottom: 48px;
  width: 540px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,0,.75), transparent 70%);
  filter: blur(4px);
  opacity: .82;
}

.classes-character img {
  position: relative;
  z-index: 4;
  max-height: 650px;
  max-width: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 34px 40px rgba(0,0,0,.62))
    drop-shadow(0 0 26px rgba(0,210,255,.22));
  animation: floatChar 4.2s ease-in-out infinite;
}

.class-image-out {
  animation: classOut .18s ease forwards !important;
}

.class-image-in {
  animation: classIn .42s cubic-bezier(.2,.85,.2,1.2) forwards, floatChar 4.2s ease-in-out infinite .42s !important;
}

.text-swap-in {
  animation: textSwap .36s ease both;
}

.classes-selector {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.class-thumb {
  position: relative;
  width: 120px;
  height: 76px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(0,0,0,.30);
  overflow: hidden;
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  opacity: .48;
  filter: grayscale(1);
  transform: translateX(0);
  transition: .24s ease;
}

.class-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.14);
  clip-path: inherit;
}

.class-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, rgba(255,30,30,.80), transparent 45%);
  opacity: 0;
  transition: .24s ease;
}

.class-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.12);
  transition: .24s ease;
}

.class-thumb span {
  position: absolute;
  left: 17px;
  bottom: 8px;
  z-index: 4;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-shadow: 0 3px 10px #000;
  opacity: 0;
  transform: translateY(8px);
  transition: .24s ease;
}

.class-thumb:hover,
.class-thumb.active {
  width: 142px;
  opacity: 1;
  filter: grayscale(0);
  transform: translateX(-10px);
}

.class-thumb:hover::after,
.class-thumb.active::after {
  opacity: .78;
}

.class-thumb:hover img,
.class-thumb.active img {
  transform: scale(1.22);
}

.class-thumb:hover span,
.class-thumb.active span {
  opacity: 1;
  transform: translateY(0);
}

.magic-burst {
  position: absolute;
  z-index: 2;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background:
    conic-gradient(from 0deg, transparent, rgba(0,217,255,.52), transparent, rgba(123,85,255,.45), transparent),
    radial-gradient(circle, rgba(255,255,255,.35), rgba(0,217,255,.16) 28%, transparent 65%);
  filter: blur(.6px);
  mix-blend-mode: screen;
}

.magic-burst.active {
  animation: magicBurst .78s ease-out forwards;
}

.class-particles {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  overflow: visible;
}

.class-particles i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #5deeff 45%, transparent 72%);
  box-shadow: 0 0 16px rgba(0,217,255,.95);
  animation: particleFly .9s ease-out forwards;
}

.class-particles i:nth-child(3n) {
  background: radial-gradient(circle, #fff, #ff3d3d 48%, transparent 72%);
  box-shadow: 0 0 16px rgba(255,50,50,.9);
}

.class-particles i:nth-child(4n) {
  background: radial-gradient(circle, #fff, #b99cff 48%, transparent 72%);
  box-shadow: 0 0 16px rgba(123,85,255,.9);
}

/* SKILLS DAS CLASSES */

.class-skills-panel {
  position: relative;
  z-index: 4;
  width: min(1480px, calc(100% - 56px));
  margin: -28px auto 70px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,42,42,.12), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(0,217,255,.10), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
  backdrop-filter: blur(14px);
}

.class-skills-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.class-skills-head span {
  color: #baf6ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.class-skills-head h3 {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.03em;
}

.class-skills-head p {
  max-width: 520px;
  margin: 0;
  color: rgba(244,247,255,.62);
  line-height: 1.55;
  font-weight: 700;
}

.class-skills-grid {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 10px;
}

.skill-icon-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    rgba(0,0,0,.22);
  padding: 6px;
  cursor: pointer;
  overflow: hidden;
  transition: .22s ease;
  box-shadow: 0 12px 24px rgba(0,0,0,.25);
}

.skill-icon-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-120%) rotate(18deg);
  transition: .38s ease;
  z-index: 2;
}

.skill-icon-card:hover::before,
.skill-icon-card.active::before {
  transform: translateX(120%) rotate(18deg);
}

.skill-icon-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.42));
}

.skill-icon-card span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 3;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.skill-icon-card:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(0,217,255,.40);
  box-shadow:
    0 18px 34px rgba(0,0,0,.36),
    0 0 24px rgba(0,217,255,.16);
}

.skill-icon-card.active {
  transform: translateY(-4px) scale(1.06);
  border-color: rgba(255,42,42,.62);
  box-shadow:
    0 20px 40px rgba(0,0,0,.42),
    0 0 28px rgba(255,42,42,.18);
}

.skill-detail-box {
  margin-top: 18px;
  min-height: 128px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(90deg, rgba(255,42,42,.10), rgba(0,217,255,.055)),
    rgba(255,255,255,.035);
  box-shadow: inset 0 0 40px rgba(255,255,255,.025);
}

.skill-detail-icon {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.28);
  box-shadow: 0 16px 34px rgba(0,0,0,.35);
}

.skill-detail-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.skill-detail-text strong {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.skill-detail-text p {
  margin: 0;
  color: rgba(244,247,255,.72);
  line-height: 1.65;
  font-weight: 650;
}

.skill-detail-animate {
  animation: skillDetailIn .34s ease both;
}

/* DOWNLOAD */

.download-showcase {
  position: relative;
  height: 720px;
  overflow: hidden;
  background: #02050c;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.download-showcase-bg {
  position: absolute;
  inset: 0;
  background: url('../img/backgrounddownload.webp') center / cover no-repeat;
  opacity: .72;
  filter: saturate(1.05) contrast(1.08) brightness(.72);
  transform: scale(1.02);
}

.download-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 70%, rgba(0,180,255,.20), transparent 24%),
    radial-gradient(circle at 72% 68%, rgba(80,80,255,.15), transparent 28%),
    linear-gradient(90deg, rgba(3,6,15,.26), rgba(3,6,15,.20), rgba(3,6,15,.50)),
    linear-gradient(180deg, #050712 0%, rgba(5,7,18,.06) 18%, rgba(5,7,18,.20) 64%, #050712 100%);
  pointer-events: none;
}

.download-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,217,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 35%, transparent 100%);
  opacity: .28;
}

.download-showcase-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
}

.download-image-button {
  position: absolute;
  right: clamp(70px, 9vw, 170px);
  bottom: clamp(118px, 15vw, 165px);
  width: clamp(360px, 34vw, 560px);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  isolation: isolate;
  filter:
    drop-shadow(0 0 18px rgba(0,150,255,.22))
    drop-shadow(0 18px 38px rgba(0,0,0,.55));
  transition: transform .28s ease, filter .28s ease;
  animation: downloadPulse 2.8s ease-in-out infinite;
}

.download-image-button::before {
  content: "";
  position: absolute;
  inset: 16% 8%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,170,255,.28), rgba(0,170,255,.10) 38%, transparent 70%);
  filter: blur(18px);
  opacity: .75;
  animation: glowBreath 2.6s ease-in-out infinite;
}

.download-image-button::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: -45%;
  width: 32%;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), rgba(0,210,255,.40), transparent);
  transform: skewX(-18deg);
  filter: blur(2px);
  opacity: 0;
  animation: lightSweep 3.2s ease-in-out infinite;
  pointer-events: none;
}

.download-image-button img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  object-fit: contain;
}

.download-image-button:hover {
  transform: translateY(-5px) scale(1.035);
  filter:
    drop-shadow(0 0 30px rgba(0,180,255,.48))
    drop-shadow(0 26px 48px rgba(0,0,0,.65));
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
  padding: 20px;
}

.download-modal.open {
  display: flex;
}

.download-modal-box {
  width: min(720px, 100%);
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(18,24,44,.98), rgba(7,10,20,.98));
  box-shadow: var(--shadow);
  padding: 24px;
}

.download-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.download-modal-head h3 {
  margin: 0;
  font-size: 26px;
  color: #fff;
}

.modal-close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.download-choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.download-group {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 16px;
}

.download-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
}

.download-group-title span {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(123,85,255,.24), rgba(0,217,255,.12));
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-links {
  display: grid;
  gap: 10px;
}

.download-link {
  min-height: 54px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-weight: 900;
  color: #fff;
  transition: .2s ease;
}

.download-link:hover {
  background: rgba(123,85,255,.14);
  border-color: rgba(123,85,255,.35);
}

/* FOOTER */

.site-footer {
  background: #05070d;
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 64px 28px 34px;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 80px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.footer-logo {
  width: 170px;
  margin-bottom: 22px;
}

.footer-discord {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .22s ease;
}

.footer-discord:hover {
  transform: translateY(-3px);
  background: rgba(88,101,242,.14);
  border-color: rgba(88,101,242,.35);
}

.footer-discord img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-col h3 {
  font-family: Georgia, serif;
  margin: 0 0 24px;
  color: #fff;
  letter-spacing: .22em;
  font-size: 16px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: rgba(220,232,255,.72);
  margin-bottom: 16px;
  transition: .2s ease;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(220,232,255,.70);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-bottom span:last-child {
  text-transform: none;
  letter-spacing: 0;
  opacity: .75;
}

/* ANIMAÇÕES */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

@keyframes heroBgIn {
  from { opacity: 0; transform: scale(1.14); }
  to { opacity: 1; transform: scale(1.08); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(34px); }
  to { opacity: 1; transform: none; }
}

@keyframes classesSweep {
  0% { transform: translateX(-110%); opacity: 0; }
  20% { opacity: .8; }
  42% { transform: translateX(110%); opacity: 0; }
  100% { transform: translateX(110%); opacity: 0; }
}

@keyframes floatChar {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.012); }
}

@keyframes characterAura {
  0%, 100% { opacity: .55; transform: scale(.96); }
  50% { opacity: .95; transform: scale(1.05); }
}

@keyframes classOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(18px) scale(.92); }
}

@keyframes classIn {
  from { opacity: 0; transform: translateY(24px) scale(1.12); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes textSwap {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes magicBurst {
  0% { opacity: 0; transform: scale(.25) rotate(0deg); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.65) rotate(180deg); }
}

@keyframes particleFly {
  0% {
    opacity: 0;
    transform: translate(0,0) scale(.4);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0);
  }
}

@keyframes skillDetailIn {
  from {
    opacity: .35;
    transform: translateY(12px) scale(.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lightSweep {
  0% { left: -45%; opacity: 0; }
  18% { opacity: .75; }
  42% { left: 115%; opacity: 0; }
  100% { left: 115%; opacity: 0; }
}

@keyframes glowBreath {
  0%, 100% { opacity: .45; transform: scale(.96); }
  50% { opacity: .95; transform: scale(1.08); }
}

@keyframes downloadPulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 18px rgba(0,150,255,.22))
      drop-shadow(0 18px 38px rgba(0,0,0,.55));
  }

  50% {
    filter:
      drop-shadow(0 0 32px rgba(0,180,255,.42))
      drop-shadow(0 22px 44px rgba(0,0,0,.62));
  }
}

/* RESPONSIVO */

@media (max-width: 1180px) {
  .home-hero-content {
    grid-template-columns: 1fr;
  }

  .hero-side-card {
    justify-self: start;
  }

  .classes-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .classes-info {
    max-width: 760px;
    margin: 0 auto;
  }

  .classes-selector {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .class-thumb,
  .class-thumb:hover,
  .class-thumb.active {
    width: 118px;
    transform: none;
  }

  .class-skills-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .class-skills-panel {
    margin-top: 0;
  }
}

@media (max-width: 980px) {
  .site-topbar {
    grid-template-columns: 1fr;
    padding: 12px 18px;
  }

  .topbar-nav,
  .topbar-account {
    justify-content: flex-start;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .download-showcase {
    height: 620px;
  }

  .download-image-button {
    right: 50%;
    transform: translateX(50%);
    bottom: 95px;
    width: min(520px, 82vw);
  }

  .download-image-button:hover {
    transform: translateX(50%) translateY(-5px) scale(1.035);
  }
}

@media (max-width: 760px) {
  .class-skills-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .class-skills-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .skill-detail-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .skill-detail-icon {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 44px 16px 28px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .classes-showcase,
  .classes-inner {
    min-height: auto;
  }

  .classes-inner {
    padding: 54px 18px;
  }

  .classes-character {
    min-height: 450px;
  }

  .classes-character img {
    max-height: 470px;
  }

  .classes-info h2 {
    font-size: 42px;
  }

  .classes-selector {
    gap: 8px;
  }

  .class-thumb,
  .class-thumb:hover,
  .class-thumb.active {
    width: 92px;
    height: 66px;
  }

  .class-thumb span {
    display: none;
  }

  .download-showcase {
    height: 520px;
  }

  .download-image-button {
    bottom: 80px;
    width: min(420px, 86vw);
  }
}

@media (max-width: 480px) {
  .class-skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* XDREAM SHOWCASE */

.xdream-showcase {
  position: relative;
  height: 720px;
  overflow: hidden;
  background: #02050c;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.xdream-showcase-bg {
  position: absolute;
  inset: 0;
  background: url('../img/backgroundxdream.webp') center / cover no-repeat;
  opacity: .76;
  filter: saturate(1.08) contrast(1.08) brightness(.74);
  transform: scale(1.02);
}

.xdream-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 64%, rgba(123,85,255,.25), transparent 26%),
    radial-gradient(circle at 75% 68%, rgba(0,217,255,.16), transparent 30%),
    linear-gradient(90deg, rgba(3,6,15,.52), rgba(3,6,15,.20), rgba(3,6,15,.42)),
    linear-gradient(180deg, #050712 0%, rgba(5,7,18,.08) 18%, rgba(5,7,18,.22) 64%, #050712 100%);
  pointer-events: none;
}

.xdream-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(123,85,255,.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 35%, transparent 100%);
  opacity: .30;
}

.xdream-showcase-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
}

.xdream-image-button {
  position: absolute;
  right: clamp(70px, 9vw, 170px);
  bottom: clamp(118px, 15vw, 165px);
  width: clamp(360px, 34vw, 560px);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  isolation: isolate;
  filter:
    drop-shadow(0 0 18px rgba(123,85,255,.26))
    drop-shadow(0 18px 38px rgba(0,0,0,.55));
  transition: transform .28s ease, filter .28s ease;
  animation: xdreamPulse 2.8s ease-in-out infinite;
}

.xdream-image-button::before {
  content: "";
  position: absolute;
  inset: 16% 8%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(123,85,255,.32), rgba(0,217,255,.12) 38%, transparent 70%);
  filter: blur(18px);
  opacity: .78;
  animation: glowBreath 2.6s ease-in-out infinite;
}

.xdream-image-button::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: -45%;
  width: 32%;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), rgba(123,85,255,.45), transparent);
  transform: skewX(-18deg);
  filter: blur(2px);
  opacity: 0;
  animation: lightSweep 3.2s ease-in-out infinite;
  pointer-events: none;
}

.xdream-image-button img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  object-fit: contain;
}

.xdream-image-button:hover {
  transform: translateY(-5px) scale(1.035);
  filter:
    drop-shadow(0 0 32px rgba(123,85,255,.55))
    drop-shadow(0 26px 48px rgba(0,0,0,.65));
}

@keyframes xdreamPulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 18px rgba(123,85,255,.26))
      drop-shadow(0 18px 38px rgba(0,0,0,.55));
  }

  50% {
    filter:
      drop-shadow(0 0 34px rgba(123,85,255,.50))
      drop-shadow(0 22px 44px rgba(0,0,0,.62));
  }
}

@media (max-width: 980px) {
  .xdream-showcase {
    height: 620px;
  }

  .xdream-image-button {
    right: 50%;
    transform: translateX(50%);
    bottom: 95px;
    width: min(520px, 82vw);
  }

  .xdream-image-button:hover {
    transform: translateX(50%) translateY(-5px) scale(1.035);
  }
}

@media (max-width: 640px) {
  .xdream-showcase {
    height: 520px;
  }

  .xdream-image-button {
    bottom: 80px;
    width: min(420px, 86vw);
  }
}

/* SLIDER DE ANÚNCIOS HOME */

.hero-ad-slider {
  justify-self: end;
  width: min(560px, 100%);
  animation: fadeLeft .9s ease .18s both;
}

.ad-slider-frame {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1080 / 1350;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 30% 20%, rgba(123,85,255,.18), transparent 38%),
    radial-gradient(circle at 80% 70%, rgba(0,217,255,.13), transparent 38%),
    rgba(255,255,255,.035);
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

.ad-slider-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.12) 45%, transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.30) 100%);
  opacity: .75;
}

.ad-slider-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
  background: rgba(0,0,0,.25);
}

.ad-slider-frame img.slide-in {
  display: block;
  animation: adSlideIn .65s ease both;
}

.ad-slider-dots {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 14px;
}

.ad-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255,255,255,.28);
  transition: .22s ease;
}

.ad-dot.active {
  width: 28px;
  background: linear-gradient(90deg, #7b55ff, #00d9ff);
  box-shadow: 0 0 18px rgba(0,217,255,.45);
}

.ad-empty {
  color: rgba(244,247,255,.65);
  font-size: 13px;
  font-weight: 800;
}

@keyframes adSlideIn {
  from {
    opacity: 0;
    transform: scale(1.06);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1180px) {
  .hero-ad-slider {
    justify-self: start;
  }
}

.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;

  transition: transform .28s ease, opacity .28s ease;
  will-change: transform;
}

.site-topbar.topbar-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

.site-shell,
.page-container {
  padding-top: 78px;
}


.topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.topbar-coins {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2a1a00, #3a2800);
  border: 1px solid rgba(255,200,100,.3);
  font-weight: 900;
}

.topbar-coins img {
  width: 18px;
}

.topbar-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b55ff, #00d9ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  cursor: pointer;
}

.topbar-menu {
  position: absolute;
  right: 0;
  top: 52px;
  background: #0b0f1c;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
  z-index: 99999;
}

.topbar-menu.open {
  display: flex;
}

.topbar-menu button {
  background: none;
  border: none;
  color: #fff;
  padding: 8px;
  text-align: left;
  cursor: pointer;
}

.topbar-menu button:hover {
  background: rgba(123,85,255,.2);
}