/*
  AzureMC — estilo inspirado en la estructura de la referencia:
  fondo negro, navbar centrado, hero de imagen grande y contenido inferior.
  No se permite scroll en escritorio.
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800;900&display=swap");

:root {
  --blue: #278cff;
  --blue-hover: #1679e8;
  --discord: #5965c9;
  --discord-hover: #6875df;
  --yellow: #f5b51b;
  --yellow-hover: #ffc52e;
  --yellow-text: #6c4100;
  --text: #ffffff;
  --muted: #747b84;
  --dark: #08090b;
  --panel: #111315;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

html {
  background: #000;
}

body {
  overflow: hidden;
  background: #000;
  color: var(--muted);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  height: 100dvh;
  min-height: 620px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: #000;
}

/* ---------------- NAVBAR ---------------- */

.site-header {
  position: relative;
  z-index: 20;
  padding-top: 22px;
}

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-logo,
.mobile-toggle {
  display: none;
}

.menu {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-list,
.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-link,
.discord-button,
.server-ip {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  transition:
    background .16s ease,
    color .16s ease,
    transform .16s ease;
}

.nav-link {
  padding: 0 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.nav-link:hover,
.nav-link.active {
  background: var(--blue);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.discord-button {
  gap: 9px;
  padding: 0 14px;
  color: #fff;
  background: var(--discord);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.discord-button:hover {
  background: var(--discord-hover);
  transform: translateY(-1px);
}

.discord-button svg {
  width: 22px;
  height: 22px;
}

.server-ip {
  padding: 0 15px;
  gap: 8px;
  cursor: pointer;
  color: var(--yellow-text);
  background: var(--yellow);
  font-weight: 900;
  font-size: 14px;
  text-transform: lowercase;
}

.server-ip:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
}

.server-ip small {
  opacity: .55;
  font-size: 11px;
  font-weight: 900;
}

/* ---------------- MAIN / HERO ---------------- */

.main {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 0;
  margin: 26px auto 0;
  width: min(1360px, calc(100% - 70px));
  height: calc(100% - 26px);
  overflow: hidden;
}

.hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  user-select: none;
}

/*
  Sutil oscurecimiento en los bordes para acercar el acabado
  de la referencia sin modificar la imagen que suba el usuario.
*/
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.45), transparent 12%, transparent 88%, rgba(0,0,0,.45)),
    linear-gradient(180deg, rgba(0,0,0,.14), transparent 15%, transparent 84%, rgba(0,0,0,.38));
}

/* ---------------- CENTERED HERO CONTENT ---------------- */

.hero-overlay {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-overlay .welcome {
  pointer-events: auto;
  width: min(1120px, calc(100% - 50px));
  padding: 0;
  text-align: center;
  transform: translateY(5%);
}

.azure-logo {
  display: block;
  width: min(430px, 42vw);
  max-height: 200px;
  margin: 0 auto 15px;
  object-fit: contain;
  filter: drop-shadow(0 5px 14px rgba(0,0,0,.65));
}

.hero-description {
  max-width: 700px;
  margin: 0 auto 12px;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,.9);
}

.online-status {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 25px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 2px 9px rgba(0,0,0,.9);
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #35d47b;
  box-shadow: 0 0 8px rgba(53,212,123,.85);
}

.status-separator {
  color: rgba(255,255,255,.65);
}

.hero-overlay .actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
}

.hero-overlay .big-button {
  width: 310px;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 14px 18px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  box-shadow: none;
  cursor: pointer;
  text-align: center;
  font-weight: 900;
  transition: background .15s ease, transform .15s ease;
}

.hero-overlay .big-button:hover {
  transform: translateY(-2px);
  filter: none;
}

.hero-overlay .big-button span {
  font-size: 23px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-overlay .big-button small {
  color: rgba(255,255,255,.72);
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.hero-overlay .ip-button {
  background: var(--blue);
}

.hero-overlay .ip-button:hover {
  background: var(--blue-hover);
}

.hero-overlay .store-button {
  background: var(--yellow);
  color: var(--yellow-text);
}

.hero-overlay .store-button small {
  color: rgba(108,65,0,.65);
}

.hero-overlay .store-button:hover {
  background: var(--yellow-hover);
}

.hero-overlay .discord-big {
  background: var(--discord);
}

.hero-overlay .discord-big:hover {
  background: var(--discord-hover);
}

/* ---------------- WELCOME / BUTTONS ---------------- */

.welcome {
  padding: 13px 20px 12px;
  text-align: center;
}

.welcome h1 {
  margin: 0 0 4px;
  color: #fff;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.6px;
}

.welcome p {
  margin: 0 0 14px;
  color: #70757d;
  font-size: 13px;
  font-weight: 500;
}

.actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 9px;
}

.big-button {
  width: min(250px, 30vw);
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 7px;
  cursor: pointer;
  text-align: left;
  color: #fff;
  transition:
    transform .18s ease,
    filter .18s ease,
    background .18s ease;
}

.big-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.ip-button {
  border: 1px solid rgba(75, 157, 255, .35);
  background: linear-gradient(135deg, #167eea, #1264be);
}

.store-button {
  background: #191b1e;
  border: 1px solid #282c31;
}

.discord-big {
  background: var(--discord);
  border: 1px solid rgba(255,255,255,.08);
}

.button-icon {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255,255,255,.13);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.button-icon svg {
  width: 19px;
  height: 19px;
}

.button-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.button-text small {
  color: rgba(255,255,255,.58);
  font-size: 7px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.button-text strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
}

.button-arrow {
  margin-left: auto;
  color: rgba(255,255,255,.65);
  font-size: 9px;
  font-weight: 900;
}

/* ---------------- MOBILE CENTER CONTENT ---------------- */

@media (max-width: 767px) {
  .hero-overlay .welcome {
    width: min(430px, calc(100% - 28px));
    transform: translateY(2%);
  }

  .azure-logo {
    width: min(300px, 72vw);
    max-height: 120px;
    margin-bottom: 10px;
  }

  .hero-description {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .online-status {
    margin-bottom: 15px;
    font-size: 10px;
  }

  .hero-overlay .actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hero-overlay .big-button {
    width: 100%;
    min-height: 65px;
    padding: 10px 14px;
  }

  .hero-overlay .big-button span {
    font-size: 19px;
  }

  .hero-overlay .big-button small {
    font-size: 8px;
  }
}

/* ---------------- FOOTER ---------------- */

.footer {
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #363a3f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

/* ---------------- FEEDBACK ---------------- */

.feedback {
  position: fixed;
  z-index: 30;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px 9px;
  border-radius: 7px 0 0 7px;
  color: #fff;
  background: var(--blue);
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .5px;
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 767px) {
  body {
    overflow: hidden;
  }

  .page {
    min-height: 560px;
  }

  .site-header {
    padding-top: 0;
  }

  .container {
    width: 100%;
  }

  .nav {
    min-height: 64px;
    padding: 0 14px;
  }

  .mobile-logo {
    display: flex;
    align-items: center;
  }

  .mobile-logo img {
    display: block;
    width: 120px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
  }

  .mobile-toggle {
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    padding: 10px;
    cursor: pointer;
    background: transparent;
  }

  .mobile-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    background: #d6dce3;
  }

  .menu {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    display: none;
    padding: 10px 14px 14px;
    flex-direction: column;
    align-items: stretch;
    background: #08090b;
    border-bottom: 1px solid #1a1d21;
  }

  .menu.open {
    display: flex;
  }

  .nav-list,
  .nav-right {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link,
  .discord-button,
  .server-ip {
    width: 100%;
    justify-content: center;
  }

  .main {
    grid-template-rows: minmax(0, 1fr);
  }

  .hero {
    width: 100%;
    height: 100%;
    margin-top: 8px;
  }

  .hero-overlay .welcome {
    width: min(360px, calc(100% - 24px));
    transform: translateY(3%);
  }

  .hero-overlay .welcome h1 {
    font-size: 32px;
  }

  .hero-overlay .welcome p {
    margin-bottom: 5px;
  }

  .online-status {
    margin-bottom: 12px;
    font-size: 9px;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .welcome {
    padding: 8px 12px 10px;
  }

  .welcome p {
    margin-bottom: 9px;
    font-size: 11px;
  }

  .hero-overlay .actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-overlay .big-button {
    width: 100%;
    min-height: 60px;
    padding: 8px 11px;
  }

  .button-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .button-text small {
    font-size: 6px;
  }

  .button-text strong {
    font-size: 11px;
  }

  .footer,
  .feedback {
    display: none;
  }
}

/* Compact desktop screens: preserve the one-screen requirement. */
@media (min-width: 768px) and (max-height: 760px) {
  .site-header {
    padding-top: 12px;
  }

  .nav-link,
  .discord-button,
  .server-ip {
    min-height: 37px;
    font-size: 12px;
  }

  .hero {
    margin-top: 12px;
  }

  .hero-overlay .welcome {
    transform: translateY(4%);
  }

  .hero-overlay .welcome p {
    margin-bottom: 5px;
  }

  .hero-overlay .big-button {
    min-height: 72px;
    width: 285px;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .azure-logo {
    max-height: 140px;
    margin-bottom: 8px;
  }

  .hero-description {
    margin-bottom: 7px;
  }

  .online-status {
    margin-bottom: 13px;
  }

  .button-icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }
}
