/*
 * Tema visual Loky Studios / Herdeiro dos Deuses
 *
 * Este arquivo altera somente a apresentacao da pagina inicial.
 * Login, cadastro, painel, loja, InfinitePay e demais rotinas continuam
 * usando o HTML, os IDs e o JavaScript originais de index.php.
 */

html,
body {
  min-height: 100%;
  background: #f2f4f6 url("/ClientRes/Images/LokyTheme/top-fon.jpg") center top / auto 917px no-repeat !important;
  color: #29343e;
  font-family: Georgia, "Times New Roman", serif;
}

body {
  padding-top: 80px;
}

.bg-video,
.bg-mask {
  display: none !important;
}

.site {
  max-width: none;
  overflow: visible;
}

.site:before {
  display: none;
}

/* Barra superior inspirada no layout de referencia. */
.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  width: 100% !important;
  max-width: none !important;
  height: 80px;
  margin: 0;
  padding: 0 24px;
  padding: 0 max(24px, calc((100% - 1200px) / 2));
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  background: rgba(14, 19, 24, .94);
  border-bottom: 1px solid rgba(151, 207, 255, .18);
  box-shadow: 0 5px 22px rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
}

.topbar:after {
  height: 2px;
  background: linear-gradient(90deg, transparent, #5078b8, #b8ecff, #d9b65c, transparent);
}

.brand {
  float: none;
  width: 110px;
  height: 76px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand img {
  width: 54px;
  height: 72px;
  max-width: none;
  object-fit: contain;
  transform: scale(1.25);
  transform-origin: center top;
  filter: drop-shadow(0 3px 12px rgba(214, 181, 83, .36));
  transition: transform .3s ease, filter .3s ease;
}

.brand:hover img {
  transform: scale(1.34) translateY(-2px);
  filter: drop-shadow(0 5px 18px rgba(226, 197, 96, .58));
}

.brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nav {
  float: none;
  margin: 0;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  text-align: right;
}

.nav button,
.nav a {
  min-width: auto;
  min-height: 80px;
  margin: 0;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f6f8fb;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  text-shadow: 0 2px 6px #000;
}

.nav button:after,
.nav a:after {
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #4e83d8, #c6f1ff);
}

.nav button:hover,
.nav a:hover {
  color: #c9efff;
  background: rgba(0, 0, 0, .22);
}

.nav .gold,
.nav .download-link {
  min-width: 142px;
  min-height: 50px;
  margin-left: 10px;
  padding: 0 18px;
  border: 1px solid #d5ba67;
  border-radius: 2px;
  background: linear-gradient(180deg, #7898dd, #415eaa 55%, #263d77);
  color: #fff;
  box-shadow: 0 10px 24px rgba(36, 64, 132, .36), inset 0 1px rgba(255, 255, 255, .35);
}

/* Hero seguindo a composicao do site de referencia. */
.hero {
  width: 1200px !important;
  max-width: 94% !important;
  min-height: 1020px;
  margin: 0 auto;
  padding: 545px 0 40px;
  position: relative;
}

.logo-wrap {
  position: absolute;
  top: 42px;
  left: 0;
  z-index: 3;
  width: 500px;
  height: 330px;
  display: block;
  overflow: visible;
  text-align: left;
  pointer-events: none;
}

.logo-wrap:before {
  content: "";
  width: 430px;
  height: 250px;
  position: absolute;
  top: 34px;
  left: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(104, 193, 255, .30), rgba(86, 137, 255, .10) 42%, transparent 72%);
  filter: blur(7px);
  animation: hero-aura 3.2s ease-in-out infinite;
  pointer-events: none;
}

.logo-wrap:after {
  content: "";
  width: 290px;
  height: 290px;
  position: absolute;
  top: 18px;
  left: 100px;
  border: 1px solid rgba(164, 225, 255, .20);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(88, 170, 232, .22), inset 0 0 24px rgba(91, 161, 230, .13);
  animation: logo-ring 8s linear infinite;
  pointer-events: none;
}

.logo-wrap img {
  width: 490px;
  height: 320px;
  max-width: none;
  position: relative;
  z-index: 2;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .66)) drop-shadow(0 0 16px rgba(94, 181, 255, .22));
  animation: hero-logo-float 4s ease-in-out infinite;
}

.hero-logo-sparks {
  width: 540px;
  height: 390px;
  position: absolute;
  top: 18px;
  left: -18px;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.hero-logo-sparks i {
  width: 5px;
  height: 5px;
  position: absolute;
  bottom: 18px;
  left: 8%;
  border-radius: 50%;
  background: #e9faff;
  box-shadow: 0 0 8px #8fd8ff, 0 0 18px rgba(99, 172, 247, .72);
  opacity: 0;
  animation: hero-logo-spark 5.8s ease-in infinite;
}

.hero-logo-sparks i:nth-child(2) { left: 16%; animation-delay: .8s; animation-duration: 6.8s; }
.hero-logo-sparks i:nth-child(3) { left: 23%; animation-delay: 2.7s; }
.hero-logo-sparks i:nth-child(4) { left: 31%; animation-delay: 1.5s; animation-duration: 7.2s; }
.hero-logo-sparks i:nth-child(5) { left: 39%; animation-delay: 3.9s; }
.hero-logo-sparks i:nth-child(6) { left: 47%; animation-delay: .3s; animation-duration: 6.4s; }
.hero-logo-sparks i:nth-child(7) { left: 55%; animation-delay: 2.1s; }
.hero-logo-sparks i:nth-child(8) { left: 63%; animation-delay: 4.6s; animation-duration: 7.4s; }
.hero-logo-sparks i:nth-child(9) { left: 70%; animation-delay: 1.1s; }
.hero-logo-sparks i:nth-child(10) { left: 77%; animation-delay: 3.2s; animation-duration: 6.6s; }
.hero-logo-sparks i:nth-child(11) { left: 84%; animation-delay: 5s; }
.hero-logo-sparks i:nth-child(12) { left: 91%; animation-delay: 2.4s; animation-duration: 7.1s; }
.hero-logo-sparks i:nth-child(13) { left: 28%; width: 8px; height: 8px; animation-delay: 5.2s; }
.hero-logo-sparks i:nth-child(14) { left: 45%; width: 3px; height: 3px; animation-delay: 3.5s; }
.hero-logo-sparks i:nth-child(15) { left: 67%; width: 7px; height: 7px; animation-delay: .6s; }
.hero-logo-sparks i:nth-child(16) { left: 88%; width: 3px; height: 3px; animation-delay: 4.1s; }

.hero-grid {
  display: block;
  overflow: visible;
}

.hero-grid .panel {
  float: none;
  width: 365px;
  max-width: 100%;
  min-height: 350px;
}

.panel {
  min-height: 350px;
  border: 1px solid rgba(160, 201, 228, .25);
  border-radius: 2px;
  box-shadow: 0 22px 52px rgba(0, 0, 0, .52);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.hero-grid .panel:hover {
  border-color: rgba(150, 220, 255, .48);
  transform: translateY(-5px);
  box-shadow: 0 28px 62px rgba(0, 0, 0, .58), 0 0 26px rgba(78, 155, 212, .12);
}

.panel {
  float: none;
  width: auto;
  background: rgba(12, 17, 22, .94);
}

.panel:before {
  border-color: rgba(202, 239, 255, .08);
}

.panel-hd {
  height: 62px;
  padding: 0 22px;
  background: linear-gradient(90deg, rgba(58, 90, 154, .88), rgba(22, 34, 51, .92));
  border-bottom: 1px solid rgba(198, 239, 255, .24);
  color: #e4f7ff;
  font-size: 18px;
  letter-spacing: .06em;
}

.login-card {
  padding: 20px;
}

.play-form-hidden {
  display: none;
}

.field,
select.field,
.panel-select {
  border: 1px solid #31475d;
  border-radius: 2px;
  background: #111a22;
  color: #f3f8fb;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .35);
}

.field:focus,
select.field:focus {
  border-color: #8acdf4;
  box-shadow: 0 0 0 2px rgba(90, 168, 222, .16);
}

.field::placeholder {
  color: #a7b3bd;
}

.remember,
.notice {
  color: #9ba9b4;
}

.btn {
  border: 1px solid #cbb564;
  border-radius: 2px;
  background: linear-gradient(180deg, #7fa9e8, #496ab9 56%, #263e78);
  color: #fff;
  box-shadow: 0 9px 22px rgba(44, 82, 161, .32), inset 0 1px rgba(255, 255, 255, .35);
}

.small-links a,
.small-links button,
.user-line b,
.msg {
  color: #9bdfff;
}

.user-line {
  padding: 8px 10px;
  background: rgba(255, 255, 255, .025);
  border-bottom-color: rgba(255, 255, 255, .10);
  color: #ced7dd;
}

.panel-actions button,
.panel-actions a {
  border: 1px solid #33495d;
  background: #111a22;
  color: #b9e7ff;
}

.panel-actions button:hover,
.panel-actions a:hover {
  border-color: #95d9fb;
  background: #1b2c3b;
}

.quick {
  display: none !important;
}

.quick button,
.quick a,
.browser-download {
  border: 1px solid #344e64;
  border-radius: 2px;
  background: rgba(13, 20, 27, .94);
  color: #d7f2ff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .28);
}

.quick button:hover,
.quick a:hover,
.browser-download:hover {
  border-color: #93dafa;
  background: #1c3040;
}

.browser-download.primary {
  border-color: #d5ba67;
  background: linear-gradient(180deg, #779be0, #4868b6 58%, #293e79);
}

/* Conteudo abaixo do hero: branco, espacoso e com detalhes azul-gelo. */
.promo-stage,
.section {
  width: 1200px !important;
  max-width: 94% !important;
  margin: 0 auto 36px;
  padding: 32px;
  border: 1px solid #dfe6eb;
  background: rgba(255, 255, 255, .97);
  color: #2c3844;
  box-shadow: 0 15px 40px rgba(42, 58, 72, .10);
}

.r2-menu {
  height: 82px;
  margin: -32px -32px 32px;
  padding: 0 26px;
  border: 0;
  background: #1b232a;
}

.r2-menu a,
.r2-menu button {
  color: #fff;
  font-size: 15px;
  letter-spacing: .04em;
}

.r2-menu a:hover,
.r2-menu button:hover {
  color: #aee5ff;
}

.r2-menu a:nth-child(3),
.r2-menu button:nth-child(3) {
  min-height: 46px;
  border: 1px solid #d4bd70;
  border-radius: 2px;
  background: linear-gradient(180deg, #7599dc, #435fa8);
  box-shadow: 0 8px 22px rgba(45, 77, 148, .34);
}

.slide-panel,
.battle-card,
.banner,
.dragon-info,
.r2-news,
.feature-showcase {
  border: 1px solid #cdd8df;
  border-radius: 2px;
  box-shadow: 0 12px 30px rgba(44, 63, 77, .14);
}

.dragon-info,
.r2-news {
  background: linear-gradient(180deg, #26333e, #11191f);
  color: #d9e2e8;
}

.dragon-info h3,
.r2-news h2,
.section-title h2,
.feature-copy h2 {
  color: #79cbf3;
}

.slide-item span,
.battle-card span,
.banner span {
  color: #dff5ff;
}

.feature-showcase {
  background:
    linear-gradient(90deg, rgba(246, 250, 252, .04), rgba(12, 24, 36, .90)),
    url("/ClientRes/Images/LokyTheme/hero-bg.jpg") center / cover no-repeat;
}

.feature-copy {
  color: #d8e2e8;
}

.skill i {
  border-color: #6e9dc0;
  background: radial-gradient(circle, #c5efff, #4e83c6 56%, #182b43);
  box-shadow: 0 0 18px rgba(91, 163, 215, .42);
}

.character-strip button {
  border-color: #4f718c;
  background: rgba(12, 23, 33, .84);
  color: #bcecff;
}

.section-title {
  color: #7f8c96;
}

.news-item {
  color: #47535d;
  border-bottom-color: #dfe5e9;
}

.news-item em {
  color: #427eae;
}

.site-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 55px 0 0;
  padding: 46px 24px;
  padding: 46px max(24px, calc((100% - 1200px) / 2));
  border-top: 0;
  background: #1b232a;
  color: #93a0aa;
}

.footer-logo {
  width: 240px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  color: #d9f3ff;
}

.footer-logo img {
  width: 180px;
  height: 120px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(72, 144, 222, .35));
}

.footer-logo span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.footer-note {
  max-width: 560px;
  margin-top: 8px;
  color: #aab8c3;
  line-height: 1.55;
}

.footer-links button,
.footer-links a {
  border: 1px solid #425464;
  background: #12191f;
  color: #ccefff;
  transition: color .3s ease, border-color .3s ease, background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.footer-links button:hover,
.footer-links a:hover {
  border-color: #8bcce9;
  background: #1e3343;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(38, 91, 130, .25);
}

/* Modais continuam com o mesmo HTML e as mesmas rotinas. */
.modal {
  background: rgba(5, 9, 13, .88);
  backdrop-filter: blur(5px);
}

.modal-card {
  border: 1px solid #52708a;
  border-radius: 3px;
  background: rgba(15, 22, 29, .985);
  box-shadow: 0 28px 85px rgba(0, 0, 0, .72);
}

.modal-head {
  background: linear-gradient(90deg, #334f79, #1b2b3b);
  border-bottom: 1px solid rgba(173, 225, 255, .24);
  color: #e4f7ff;
}

.modal-close {
  color: #d9effa;
}

.modal-body {
  color: #d2dbe1;
}

.wallet-box,
.pack,
.recharge-card,
.shop-card {
  border-color: #3d566a;
  background: rgba(255, 255, 255, .025);
}

.wallet-box b,
.pack b,
.recharge-card h3,
.shop-card h4 {
  color: #99ddff;
}

.pack.active {
  border-color: #d4bc6e;
  background: rgba(70, 111, 179, .22);
}

.buy-row button {
  border-color: #8ecfec;
  background: #20394c;
}

/* Ranking propositalmente estatico: nao consulta o banco. */
.maintenance {
  padding: 44px 24px 50px;
  text-align: center;
}

.maintenance-mark {
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid #d6c072;
  border-radius: 50%;
  background: radial-gradient(circle, #7cb3e6, #365a96 62%, #1c3158);
  color: #fff;
  font-size: 32px;
  box-shadow: 0 0 28px rgba(73, 133, 196, .42);
}

.maintenance h2 {
  margin-bottom: 12px;
  color: #bdeaff;
  font-size: 27px;
  text-transform: uppercase;
}

.maintenance p {
  max-width: 520px;
  margin: 0 auto;
  color: #aebbc4;
  line-height: 1.65;
}

@media (max-width: 980px) {
  body {
    padding-top: 122px;
    background-position: 60% top !important;
  }

  .topbar {
    min-height: 122px;
    height: auto;
    padding: 7px 18px 10px;
    flex-direction: column;
  }

  .brand {
    width: 82px;
    height: 58px;
  }

  .brand img {
    width: 43px;
    height: 58px;
    object-fit: contain;
  }

  .nav {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
  }

  .nav button,
  .nav a {
    min-height: 46px;
    padding: 0 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .nav .gold {
    min-height: 40px;
    min-width: 110px;
  }

  .hero {
    min-height: 900px;
    padding-top: 360px;
  }

  .logo-wrap {
    top: 18px;
    left: 50%;
    width: 390px;
    max-width: 96%;
    height: 270px;
    transform: translateX(-50%);
    text-align: center;
  }

  .logo-wrap img {
    width: 380px;
    max-width: 100%;
    height: 260px;
  }

  .logo-wrap:before {
    width: 350px;
    height: 220px;
    top: 20px;
    left: 18px;
  }

  .logo-wrap:after {
    width: 230px;
    height: 230px;
    top: 12px;
    left: 80px;
  }

  .hero-grid {
    display: block;
  }

  .hero-grid .panel {
    width: 100%;
    min-height: 0;
  }

  .quick {
    display: none !important;
  }
}

@media (max-width: 620px) {
  body {
    padding-top: 154px;
  }

  .topbar {
    min-height: 154px;
  }

  .nav {
    flex-wrap: wrap;
    overflow: visible;
  }

  .nav button,
  .nav a {
    min-height: 34px;
    padding: 0 9px;
  }

  .nav .gold {
    min-height: 34px;
  }

  .hero {
    max-width: calc(100% - 24px) !important;
    min-height: 850px;
    padding-top: 300px;
  }

  .logo-wrap {
    width: 310px;
    height: 220px;
  }

  .logo-wrap img {
    width: 300px;
    height: 210px;
  }

  .logo-wrap:before {
    width: 280px;
    height: 170px;
    top: 19px;
    left: 15px;
  }

  .logo-wrap:after {
    width: 170px;
    height: 170px;
    top: 17px;
    left: 69px;
  }

  .quick {
    display: none !important;
  }

  .promo-stage,
  .section {
    max-width: calc(100% - 24px) !important;
    padding: 18px;
  }

  .r2-menu {
    margin: -18px -18px 22px;
    padding: 13px;
  }

  .r2-menu a,
  .r2-menu button {
    width: 100%;
    margin: 0;
    padding: 10px 4px;
  }

  .footer-inner {
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/*
 * Revisao 1.3
 * Area editorial inspirada na organizacao visual observada no site de
 * referencia. Todo o codigo e todas as imagens abaixo pertencem a este projeto.
 */
.brasilmu-content {
  position: relative;
  padding-bottom: 42px;
  overflow: hidden;
}

.brasilmu-content .r2-menu {
  height: 76px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  grid-template-columns: none;
}

.brasilmu-content .r2-menu a,
.brasilmu-content .r2-menu button {
  width: 33.333% !important;
  min-height: 76px !important;
  margin: 0 !important;
  padding: 0 12px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f5f8fa;
  line-height: 1.2 !important;
  position: relative;
  overflow: hidden;
  transition: color .3s ease, background-color .3s ease, text-shadow .3s ease;
}

.brasilmu-content .r2-menu a:after,
.brasilmu-content .r2-menu button:after {
  content: "";
  height: 3px;
  position: absolute;
  right: 16%;
  bottom: 0;
  left: 16%;
  background: linear-gradient(90deg, transparent, #8bd7ff, transparent);
  transform: scaleX(0);
  transition: transform .3s ease;
}

.brasilmu-content .r2-menu a:hover,
.brasilmu-content .r2-menu button:hover {
  color: #bdeaff;
  background: rgba(123, 178, 222, .12) !important;
  text-shadow: 0 0 14px rgba(147, 221, 255, .62);
}

.brasilmu-content .r2-menu a:hover:after,
.brasilmu-content .r2-menu button:hover:after {
  transform: scaleX(1);
}

.portal-body {
  position: relative;
  z-index: 1;
}

.portal-columns {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 30px;
  align-items: stretch;
  padding: 8px 20px 24px;
}

.portal-card {
  width: 50%;
  min-width: 0;
  padding: 0 10px 18px;
  border-top: 1px solid #aebbc5;
  background: rgba(255, 255, 255, .74);
  transition: transform .35s ease, box-shadow .35s ease, background-color .35s ease;
}

.portal-card:hover {
  background: rgba(255, 255, 255, .93);
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(49, 72, 90, .14);
}

.portal-card-head,
.media-title {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-bottom: 1px solid #d8e0e5;
}

.portal-card-head:after,
.media-title:after {
  content: "";
  height: 27px;
  position: absolute;
  right: 0;
  bottom: -14px;
  left: 0;
  z-index: 0;
  background: url("/ClientRes/Images/LokyTheme/ReferenceUI/section-line.png") center / 100% 27px no-repeat;
  pointer-events: none;
}

.portal-card-head:before,
.media-title:before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -5px;
  transform: rotate(45deg);
  border: 1px solid #6d8fc2;
  background: #edf8ff;
  box-shadow: 0 0 0 3px #fff, 0 0 14px rgba(73, 123, 190, .35);
  z-index: 1;
}

.portal-card-head h2,
.media-title h2,
.portal-card-head button,
.portal-card-head a,
.media-title span {
  position: relative;
  z-index: 2;
}

.portal-card-head h2,
.media-title h2 {
  color: #253442;
  font-size: 22px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.portal-card-head button,
.portal-card-head a,
.media-title span {
  border: 0;
  background: transparent;
  color: #6f8291;
  font-size: 12px;
  cursor: pointer;
  transition: color .3s ease;
}

.portal-card-head button:hover,
.portal-card-head a:hover {
  color: #356fa8;
}

.ranking-tabs,
.news-tabs {
  padding: 10px 0 7px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  color: #8a98a3;
  font-size: 11px;
}

.ranking-tabs span,
.news-tabs span {
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.ranking-tabs .active,
.news-tabs .active {
  border-color: #d8a84c;
  color: #355c86;
}

.rank-table {
  min-height: 245px;
  position: relative;
}

.rank-row {
  min-height: 36px;
  display: grid;
  grid-template-columns: 42px 1fr 82px;
  align-items: center;
  border-bottom: 1px dotted #d4dce2;
  color: #677783;
  font-size: 12px;
}

.rank-heading {
  color: #394b59;
  text-transform: uppercase;
}

.rank-maintenance {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #697b89;
  text-align: center;
}

.rank-maintenance strong {
  margin: 8px 0 5px;
  color: #315d87;
  font-size: 17px;
  text-transform: uppercase;
}

.rank-maintenance small {
  font-size: 12px;
}

.rank-gem {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid #5f83bd;
  background: linear-gradient(135deg, #dff5ff, #6f94d5 58%, #304a86);
  color: #fff;
  font-size: 19px;
  box-shadow: 0 0 22px rgba(59, 113, 180, .34);
  animation: portal-pulse 2.3s ease-in-out infinite;
}

.rank-gem:before {
  transform: rotate(-45deg);
}

.portal-news-list {
  display: block;
}

.portal-news-list a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px dotted #d4dce2;
  color: #42515c;
  transition: color .3s ease, transform .3s ease;
}

.portal-news-list a:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(245, 250, 255, .34), rgba(229, 243, 255, .82), rgba(245, 250, 255, .34)),
    url("/ClientRes/Images/LokyTheme/ReferenceUI/row-hover.png") center / 100% 100% no-repeat;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s ease, transform .3s ease;
}

.portal-news-list a:hover {
  padding-left: 5px;
  color: #2f6697;
  transform: translateX(2px);
}

.portal-news-list a:hover:before {
  opacity: 1;
  transform: translateX(0);
}

.portal-news-list a:hover b {
  color: #376f9f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.portal-news-list i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  transform: rotate(45deg);
  border: 1px solid #557bb5;
  background: #dff4ff;
  box-shadow: 0 0 8px rgba(77, 132, 197, .32);
}

.portal-news-list span {
  min-width: 0;
  flex: 1;
}

.portal-news-list b,
.portal-news-list small {
  display: block;
}

.portal-news-list b {
  overflow: hidden;
  color: #364b5b;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-news-list small {
  margin-top: 3px;
  color: #8795a0;
  font-size: 10px;
}

.portal-news-list em {
  color: #6b88a0;
  font-size: 10px;
  font-style: normal;
}

.portal-shortcuts {
  margin-top: 86px;
  display: flex;
  gap: 12px;
}

.portal-shortcuts .portal-shortcut {
  min-height: 136px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  border: 1px solid #7d94ab;
  background:
    linear-gradient(135deg, rgba(38, 109, 128, .91), rgba(72, 68, 145, .91)),
    url("/ClientRes/Images/LokyTheme/hero-bg.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 18px 28px rgba(29, 47, 74, .32);
  transition: padding-top .3s ease, transform .3s ease, filter .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.portal-shortcuts .portal-shortcut:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(222, 248, 255, .28) 48%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .55s ease;
  pointer-events: none;
}

.portal-shortcuts .portal-shortcut:hover {
  padding-top: 20px;
  transform: translateY(-3px);
  filter: brightness(1.12);
  border-color: #c2e9ff;
  box-shadow: 0 24px 36px rgba(26, 57, 100, .42);
}

.portal-shortcuts .portal-shortcut:hover:after {
  transform: translateX(130%);
}

.shortcut-art {
  width: 154px;
  height: 154px;
  margin-left: -77px;
  display: block;
  position: absolute;
  top: -92px;
  left: 50%;
  z-index: 3;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 12px 16px rgba(21, 42, 69, .38));
  transition: transform .3s ease, filter .3s ease;
}

.tutorials-shortcut .shortcut-art {
  background-image: url("/ClientRes/Images/LokyTheme/ReferenceUI/tutorials-icon.png");
}

.support-shortcut .shortcut-art {
  background-image: url("/ClientRes/Images/LokyTheme/ReferenceUI/support-icon.png");
}

.portal-shortcut:hover .shortcut-art {
  transform: translateY(-9px) scale(1.06);
  filter: drop-shadow(0 18px 22px rgba(52, 112, 173, .55));
}

.shortcut-label {
  margin-top: 18px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  transition: transform .3s ease;
}

.portal-shortcut:hover .shortcut-label {
  transform: translateY(9px);
}

.portal-shortcuts .shortcut-label b {
  font-size: 16px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .42);
}

.portal-shortcuts .shortcut-label span {
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: .08em;
}

.season-banner {
  min-height: 315px;
  margin: 28px 20px 34px;
  position: relative;
  overflow: hidden;
  border: 1px solid #cbd8e1;
  background:
    linear-gradient(90deg, rgba(28, 49, 72, .86), rgba(30, 55, 85, .24) 48%, rgba(255, 255, 255, .05)),
    url("/ClientRes/Images/News/abertura_beta.jpg") center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(44, 66, 86, .18);
}

.season-banner:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 34%, rgba(210, 244, 255, .20) 49%, transparent 63%);
  transform: translateX(-120%);
  animation: season-shine 7s ease-in-out infinite;
  pointer-events: none;
}

.season-copy {
  width: 46%;
  min-width: 330px;
  padding: 58px 0 38px 62px;
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .66);
}

.season-copy > span {
  display: block;
  color: #bdeaff;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
}

.season-copy h2 {
  margin: -3px 0 10px;
  color: #fff;
  font-size: 46px;
  line-height: 1;
  text-transform: uppercase;
}

.season-copy p {
  max-width: 360px;
  line-height: 1.5;
}

.season-copy button {
  min-width: 142px;
  min-height: 42px;
  margin-top: 20px;
  border: 1px solid #d5ba67;
  background: linear-gradient(180deg, #7898dd, #415eaa 55%, #263d77);
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 9px 22px rgba(20, 42, 89, .38);
  transition: transform .3s ease, filter .3s ease, box-shadow .3s ease;
}

.season-copy button:hover {
  transform: translateY(-2px);
  filter: brightness(1.13);
  box-shadow: 0 13px 28px rgba(20, 42, 89, .46);
}

.season-pulse {
  position: absolute;
  right: 18%;
  bottom: 12%;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(196, 236, 255, .66);
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(128, 207, 250, .64);
  animation: portal-pulse 1.8s ease-in-out infinite;
}

.media-gallery {
  margin: 0 20px 34px;
  padding: 0 0 18px;
  border-top: 1px solid #aebbc5;
}

.media-title {
  padding: 0 5px;
  border-bottom: 0;
}

.media-carousel {
  position: relative;
  padding: 0 42px;
}

.media-viewport {
  overflow: hidden;
}

.media-track {
  width: 100%;
  margin-left: 0;
  white-space: nowrap;
  font-size: 0;
  transition: margin-left .55s cubic-bezier(.22, .65, .3, 1);
}

.media-thumb {
  width: 25%;
  height: 148px;
  padding: 7px;
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid #d0d9df;
  box-shadow: 0 8px 18px rgba(35, 55, 70, .16);
  transition: transform .3s ease, filter .3s ease, box-shadow .3s ease;
}

.media-thumb:after {
  content: "";
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  background: url("/ClientRes/Images/LokyTheme/ReferenceUI/zoom-icon.png") center / contain no-repeat;
  opacity: 0;
  transform: scale(.72);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}

.media-thumb:hover img {
  transform: scale(1.1);
  filter: saturate(1.16) brightness(.85);
  box-shadow: 0 16px 30px rgba(35, 55, 70, .36);
}

.media-thumb:hover:after {
  opacity: 1;
  transform: scale(1);
}

.media-thumb.wallpaper {
  height: 172px;
}

.media-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 34px;
  height: 66px;
  margin-top: -33px;
  border: 0;
  background: rgba(35, 50, 63, .84);
  color: #e4f7ff;
  font-size: 31px;
  cursor: pointer;
  transition: background-color .3s ease, transform .3s ease;
}

.media-arrow:hover {
  background: #416a9e;
  transform: scale(1.05);
}

.media-arrow.prev {
  left: 0;
}

.media-arrow.next {
  right: 0;
}

.ambient-sparks {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-sparks i {
  position: absolute;
  bottom: -20px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d9f4ff;
  box-shadow: 0 0 9px #70b7ef, 0 0 18px rgba(91, 153, 218, .55);
  opacity: 0;
  animation: portal-spark 7s linear infinite;
}

.ambient-sparks i:nth-child(1) { left: 5%; animation-delay: 0s; }
.ambient-sparks i:nth-child(2) { left: 18%; animation-delay: 2.1s; animation-duration: 8.5s; }
.ambient-sparks i:nth-child(3) { left: 33%; animation-delay: 4.3s; }
.ambient-sparks i:nth-child(4) { left: 47%; animation-delay: 1.2s; animation-duration: 9s; }
.ambient-sparks i:nth-child(5) { left: 61%; animation-delay: 5.2s; }
.ambient-sparks i:nth-child(6) { left: 73%; animation-delay: 3s; animation-duration: 8s; }
.ambient-sparks i:nth-child(7) { left: 86%; animation-delay: 6.1s; }
.ambient-sparks i:nth-child(8) { left: 95%; animation-delay: 1.8s; animation-duration: 9.5s; }
.ambient-sparks i:nth-child(9) { left: 11%; width: 3px; height: 3px; animation-delay: 5.4s; animation-duration: 8.2s; }
.ambient-sparks i:nth-child(10) { left: 41%; width: 7px; height: 7px; animation-delay: 2.8s; animation-duration: 10s; }
.ambient-sparks i:nth-child(11) { left: 68%; width: 3px; height: 3px; animation-delay: 6.7s; animation-duration: 7.6s; }
.ambient-sparks i:nth-child(12) { left: 90%; width: 7px; height: 7px; animation-delay: 4.9s; animation-duration: 9.2s; }

.reveal-section {
  opacity: 1;
  transform: none;
}

.reveal-section.reveal-pending {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal-section.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.media-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 12000;
  align-items: center;
  justify-content: center;
  padding: 56px;
}

.media-lightbox.is-open {
  display: flex;
}

.media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 8, 13, .92);
  cursor: zoom-out;
}

.media-lightbox img {
  width: auto;
  max-width: 94vw;
  height: auto;
  max-height: 86vh;
  position: relative;
  z-index: 2;
  border: 1px solid #93cce8;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .82), 0 0 28px rgba(80, 147, 200, .28);
  animation: lightbox-in .3s ease both;
}

.media-lightbox-close {
  position: fixed;
  top: 18px;
  right: 25px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(202, 237, 255, .42);
  border-radius: 50%;
  background: #17232d;
  color: #fff;
  font-size: 29px;
  cursor: pointer;
  transition: transform .3s ease, background-color .3s ease;
}

.media-lightbox-close:hover {
  transform: rotate(90deg);
  background: #355f8c;
}

.brasilmu-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(19, 28, 36, .92), rgba(19, 28, 36, .96)),
    url("/ClientRes/Images/LokyTheme/hero-bg.jpg") center / cover no-repeat;
}

.brasilmu-footer:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(70, 113, 160, .12), transparent 42%, rgba(87, 139, 181, .10));
  pointer-events: none;
}

.brasilmu-footer .footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 1.2fr) minmax(420px, .8fr);
  gap: 28px;
  align-items: center;
}

@keyframes portal-pulse {
  0%, 100% { transform: scale(.92) rotate(45deg); opacity: .62; }
  50% { transform: scale(1.12) rotate(45deg); opacity: 1; }
}

@keyframes hero-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes hero-aura {
  0%, 100% { opacity: .55; transform: scale(.94); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes logo-ring {
  0% { transform: rotate(0deg) scale(.98); opacity: .44; }
  50% { transform: rotate(180deg) scale(1.04); opacity: .72; }
  100% { transform: rotate(360deg) scale(.98); opacity: .44; }
}

@keyframes hero-logo-spark {
  0% { transform: translate3d(0, 0, 0) scale(.4); opacity: 0; }
  14% { opacity: .95; }
  70% { opacity: .55; }
  100% { transform: translate3d(22px, -330px, 0) scale(1.45); opacity: 0; }
}

@keyframes portal-spark {
  0% { transform: translate3d(0, 0, 0) scale(.55); opacity: 0; }
  15% { opacity: .85; }
  72% { opacity: .45; }
  100% { transform: translate3d(48px, -760px, 0) scale(1.4); opacity: 0; }
}

@keyframes season-shine {
  0%, 58% { transform: translateX(-120%); }
  82%, 100% { transform: translateX(120%); }
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
  .portal-columns {
    display: block;
  }

  .brasilmu-footer .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brasilmu-footer .footer-logo {
    margin: 0 auto;
  }

  .brasilmu-footer .footer-note {
    margin-right: auto;
    margin-left: auto;
  }

  .brasilmu-footer .footer-links {
    justify-content: center;
  }

  .portal-card {
    width: 100%;
    margin-bottom: 26px;
  }

  .media-thumb {
    width: 50%;
  }

  .season-copy {
    width: 68%;
  }

  .hero-logo-sparks {
    width: min(540px, 100vw);
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 620px) {
  .hero-logo-sparks {
    width: 330px;
    height: 250px;
    top: 8px;
  }
}

@media (max-width: 620px) {
  .brasilmu-content .r2-menu {
    height: auto;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
  }

  .brasilmu-content .r2-menu a,
  .brasilmu-content .r2-menu button {
    width: 100% !important;
    min-height: 48px !important;
  }

  .portal-columns {
    padding: 2px 0 18px;
  }

  .portal-card {
    padding-right: 0;
    padding-left: 0;
  }

  .portal-card-head,
  .media-title {
    align-items: flex-start;
    gap: 8px;
    padding: 15px 0 8px;
  }

  .portal-card-head h2,
  .media-title h2 {
    font-size: 19px;
  }

  .portal-shortcuts {
    display: block;
    margin-top: 88px;
  }

  .portal-shortcuts .portal-shortcut {
    min-height: 142px;
    margin-bottom: 96px;
  }

  .portal-shortcuts .portal-shortcut:last-child {
    margin-bottom: 0;
  }

  .season-banner {
    min-height: 330px;
    margin-right: 0;
    margin-left: 0;
    background-position: 62% center;
  }

  .season-copy {
    width: 100%;
    min-width: 0;
    padding: 55px 22px 32px;
    background: linear-gradient(90deg, rgba(23, 42, 62, .90), rgba(23, 42, 62, .44));
  }

  .season-copy h2 {
    font-size: 36px;
  }

  .media-gallery {
    margin-right: 0;
    margin-left: 0;
  }

  .media-carousel {
    padding: 0 31px;
  }

  .media-thumb {
    width: 100%;
    height: 190px;
  }

  .media-thumb.wallpaper {
    height: 210px;
  }

  .media-arrow {
    width: 27px;
  }

  .media-lightbox {
    padding: 48px 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-sparks,
  .hero-logo-sparks,
  .season-banner:after,
  .season-pulse {
    display: none;
  }

  .rank-gem,
  .logo-wrap img,
  .logo-wrap:before,
  .logo-wrap:after,
  .media-lightbox img {
    animation: none;
  }

  .media-track,
  .reveal-section.reveal-pending {
    transition: none;
  }
}
