:root{
  --rn-yellow: #f9f046;
  --rn-cyan: #3cf2ff;

  --mv-overlay: rgba(10, 10, 12, 0.95);
  --mv-border-soft: rgba(255,255,255,0.08);
  --mv-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mv-radius: 2px;

  --mv-side-w: 340px;
  --mv-side-gap: 0px;

  --mv-font-ui: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --mv-font-title: 'Cinzel', serif;
  --mv-font-accent: 'Rajdhani', sans-serif;
}

html, body{
  height: 100%;
  margin: 0;
}

*{
  scrollbar-width: none;
  -ms-overflow-style: none;
}
*::-webkit-scrollbar{
  width: 0 !important;
  height: 0 !important;
}

body{
  overflow-x: auto;
  background-image: var(--mv-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  min-height: 100vh;
  font-family: var(--mv-font-ui);
}

.mv-shell{ display:flex; min-height: 100vh; }

.mv-sidemenu{
  width: var(--mv-side-w);
  flex: 0 0 var(--mv-side-w);

  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;

  padding: 18px 16px;
  overflow: auto;

  background: var(--mv-overlay);
  border-right: 1px solid var(--mv-border-soft);
  box-shadow: 18px 0 60px rgba(0,0,0,.55);
  z-index: 1200;
  overflow-x: hidden;
}

.mv-sidemenu:before{
  content:"";
  position:absolute;
  inset: -140px -80px auto -80px;
  height: 260px;
  background:
    radial-gradient(closest-side, rgba(60,242,255,0.14), rgba(60,242,255,0) 70%),
    radial-gradient(closest-side, rgba(249,240,70,0.10), rgba(249,240,70,0) 70%);
  filter: blur(2px);
  pointer-events:none;
  opacity: .85;
}

.mv-sidemenu:after{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.00) 30%),
    radial-gradient(900px 600px at 50% 110%, rgba(0,0,0,0.55), rgba(0,0,0,0) 60%);
  opacity: 1;
}

.mv-sidemenu > *{ position: relative; z-index: 2; }

.mv-page{
  margin-left: calc(var(--mv-side-w) + var(--mv-side-gap));
  width: calc(100% - var(--mv-side-w) - var(--mv-side-gap));
  min-height: 100vh;
  display:flex;
  flex-direction: column;
  min-width: 860px;
}

.mv-side-logo{ display:flex; align-items:center; justify-content:center; padding: 10px 6px 16px; }
.mv-side-logo img{ width: 190px; height: auto; filter: drop-shadow(0 16px 28px rgba(0,0,0,.55)); }

.mv-side-online{
  text-align:center;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  margin-top: 4px;
  margin-bottom: 6px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.mv-side-online b{ color: #fff; text-shadow: 0 10px 22px rgba(0,0,0,.55); }

.mv-side-serversave{
  text-align:center;
  font-weight: 900;
  color: rgba(255,255,255,0.70);
  font-size: 10px;
  margin-bottom: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.mv-side-serversave b{
  color: rgba(249,240,70,0.95);
  text-shadow: 0 10px 22px rgba(0,0,0,.55);
}

.mv-side-download,
.mv-side-donate{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;

  width: calc(100% - 8px);
  margin: 10px 4px 12px;

  height: 48px;
  border-radius: var(--mv-radius);
  padding: 0 18px;

  font-family: var(--mv-font-ui);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 4px;

  cursor: pointer;
  text-decoration:none;
  outline: none;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);

  position: relative;
  overflow: hidden;

  transition: all 0.6s var(--mv-ease);
}

.mv-side-download:before,
.mv-side-donate:before{
  content:"";
  position:absolute;
  inset: -1px;
  background: linear-gradient(90deg,
    rgba(60,242,255,0.12),
    rgba(255,255,255,0),
    rgba(60,242,255,0.12)
  );
  opacity: 0;
  transition: opacity 0.6s var(--mv-ease);
  pointer-events:none;
}

.mv-side-download:hover,
.mv-side-donate:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  text-decoration:none;
  color: rgba(255,255,255,0.96);
}
.mv-side-download:hover:before,
.mv-side-donate:hover:before{ opacity: 1; }

.mv-side-download{ margin-top: 6px; }
.mv-side-donate{ margin-top: 0; }

.mv-side-download i,
.mv-side-donate i{
  opacity: .9;
  font-size: 14px;
}

.mv-side-nav{
  margin: 10px 4px 12px;
  border-radius: var(--mv-radius);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.32);
  position: relative;
}

.mv-side-item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 14px 14px;

  color: rgba(255,255,255,0.78);
  text-decoration:none;

  font-family: var(--mv-font-ui);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 3px;

  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.6s var(--mv-ease);
  position: relative;
  overflow:hidden;
}

.mv-side-item i{
  width: 18px;
  opacity: .85;
  font-size: 14px;
}

.mv-side-item:hover{
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.92);
  text-decoration:none;
}

.mv-side-item.active{
  color: #fff;
  background: rgba(60,242,255,0.06);
}

.mv-side-item.active:before{
  content:"";
  position:absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(60,242,255,0.60);
  box-shadow: 0 0 20px rgba(60,242,255,0.22);
}

.mv-side-item:last-child{ border-bottom: 0; }

.mv-topnav{
  position: sticky;
  top: 0;
  z-index: 1100;

  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 16px 45px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mv-topnav-inner{
  width: 100%;
  margin: 0;
  padding: 0 18px;
  height: 64px;
  display:flex;
  align-items:center;
  justify-content: flex-start;
  gap: 16px;
}

.mv-top-left{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.mv-top-links{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.mv-top-link{
  position: relative;

  background: transparent;
  border: none;

  color: rgba(255,255,255,0.55);
  padding: 18px 18px;

  font-family: var(--mv-font-ui);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;

  cursor: pointer;
  white-space: nowrap;
  transition: 0.6s var(--mv-ease);
  border-bottom: 3px solid transparent;
  outline: none;

  text-decoration:none;
  display:inline-flex;
  align-items:center;
}

.mv-top-link:hover{
  color: #fff;
  background: rgba(255,255,255,0.03);
  text-decoration:none;
}

.mv-top-link.active{
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
}

.mv-top-right{
  margin-left: auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 12px;
  min-width: 220px;
  flex: 0 0 auto;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.10);
  margin-right: 4px;
}

.mv-pill{
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);

  padding: 14px 18px;
  border-radius: var(--mv-radius);

  font-family: var(--mv-font-ui);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 4px;

  cursor: pointer;
  transition: all 0.6s var(--mv-ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  text-decoration: none;
  white-space: nowrap;
  outline: none;

  height: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.mv-pill:before{
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg,
    rgba(60,242,255,0.12),
    rgba(255,255,255,0),
    rgba(60,242,255,0.12)
  );
  opacity: 0;
  transition: opacity 0.6s var(--mv-ease);
  pointer-events: none;
}

.mv-pill:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  text-decoration:none;
  color: #fff;
}

.mv-pill:hover:before{ opacity: 1; }

.mv-pill.blue{ border-color: rgba(60,242,255,0.28); }
.mv-pill.yellow{ border-color: rgba(249,240,70,0.22); }

.mv-pill.blue:hover{
  border-color: rgba(60,242,255,0.60);
  box-shadow:
    0 0 0 1px rgba(60,242,255,0.14),
    0 18px 45px -14px rgba(60,242,255,0.22);
}

.mv-pill.yellow:hover{
  border-color: rgba(249,240,70,0.45);
  box-shadow:
    0 0 0 1px rgba(249,240,70,0.10),
    0 18px 45px -14px rgba(249,240,70,0.16);
}

.mv-pill i{ opacity: .9; font-size: 14px; }

.mv-content{
  width: min(1400px, 96%);
  margin: 28px auto 30px;
  flex: 1;
}

#header{
  background: var(--mv-overlay);
  border: 1px solid var(--mv-border-soft);
  border-radius: var(--mv-radius);
  box-shadow: 0 0 100px rgba(0,0,0,1);
  overflow: hidden;
  position: relative;

  padding: 46px 40px;
  text-align: center;

  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#header:before{
  content: "";
  position: absolute;
  inset: -120px -60px auto -60px;
  height: 240px;
  background:
    radial-gradient(closest-side, rgba(60,242,255,0.14), rgba(60,242,255,0) 70%),
    radial-gradient(closest-side, rgba(249,240,70,0.10), rgba(249,240,70,0) 70%);
  filter: blur(2px);
  pointer-events: none;
  opacity: 0.85;
}

#header > *{ position: relative; z-index: 2; }

#logo{
  width: 170px;
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.55));
}

#header-title{
  margin: 0 0 12px;
  font-family: var(--mv-font-title);
  font-size: 26px;
  letter-spacing: 6px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
}

#header-subtitle{
  margin: 0 auto;
  max-width: 760px;

  font-family: var(--mv-font-ui);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  line-height: 1.6;
}

@media (max-width: 768px){
  #header{ padding: 28px 20px; }
  #header-title{ font-size: 20px; }
  #header-subtitle{ font-size: 10px; }
}

footer{
  background: rgba(0,0,0,0.92);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 10px 0;
}

.mv-footer-line{
  width: min(1400px, 96%);
  margin: 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--mv-font-ui);
}

@media (prefers-reduced-motion: reduce){
  .mv-side-item,
  .mv-side-download,
  .mv-side-donate,
  .mv-top-link,
  .mv-pill{
    transition: none !important;
  }
}

/* =========================================================
   MOBILE: SIDEBAR VIRA BARRA INFERIOR
   ========================================================= */
@media (max-width: 900px){
  body{ overflow-x: hidden; }

  .mv-page{
    margin-left: 0;
    width: 100%;
    min-width: 0;
    padding-bottom: 86px;
  }

  .mv-sidemenu{
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;

    width: 100%;
    flex: 0 0 auto;
    height: 72px;

    padding: 10px 10px;
    overflow: hidden;

    border-right: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -18px 45px rgba(0,0,0,.55);
  }

  .mv-sidemenu:before{
    inset: auto -80px -120px -80px;
    height: 220px;
    opacity: .65;
  }

  .mv-side-logo,
  .mv-side-online,
  .mv-side-serversave,
  .mv-side-download,
  .mv-side-donate{
    display: none !important;
  }

  .mv-side-nav{
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;

    border: 0;
    background: transparent;
    overflow: visible;
  }

  .mv-side-item{
    flex: 1 1 0;
    height: 52px;

    justify-content: center;
    gap: 0;
    padding: 0;

    border-bottom: 0;
    border-radius: 10px;

    font-size: 0;
    letter-spacing: 0;
    background: transparent;
  }

  .mv-side-item i{
    width: auto;
    font-size: 18px;
    opacity: .95;
  }

  .mv-side-item:hover{ background: rgba(255,255,255,0.04); }
  .mv-side-item.active{ background: rgba(60,242,255,0.06); }

  .mv-side-item.active:before{
    left: 18%;
    right: 18%;
    top: auto;
    bottom: 6px;
    width: auto;
    height: 2px;

    border-radius: 2px;
    box-shadow: 0 0 18px rgba(60,242,255,0.28);
  }

  .mv-topnav-inner{
    height: auto;
    min-height: 56px;
    padding: 6px 10px;
    gap: 10px;
    align-items: center;
  }

  .mv-top-left{
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }

  .mv-top-links-wrap{
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .mv-top-links{
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    padding-bottom: 2px;
  }

  .mv-top-links::-webkit-scrollbar{ display: none; width: 0; height: 0; }

  .mv-top-link{
    flex: 0 0 auto;
    padding: 14px 12px;
    font-size: 10px;
    letter-spacing: 2px;
    border-bottom-width: 2px;
  }

  .mv-top-right{
    min-width: 0;
    padding-left: 10px;
    border-left: 1px solid rgba(255,255,255,0.08);
    gap: 8px;
    margin-right: 0;
  }

  .mv-pill{
    height: 40px;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: 3px;
    gap: 8px;
  }

  .mv-pill i{ font-size: 13px; }
}
