/* === HERO SECTION === */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  box-sizing: border-box;
  gap: 3rem;
  padding: 2rem 0;
}

.hero>* {
  position: relative;
  z-index: 2;
}

/* Hero Top Bar */
.hero__top-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px var(--content);
  width: 215px;
  padding: 8px;
  gap: 0.5rem;
  text-decoration: none;
  transition: background 0.2s ease;
  position: relative;
}

.hero__top-discord-link {
  color: var(--content);
  font-family: 'Favorit Mono', sans-serif;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.hero__top-discord-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__top-bar:has(.hero__top-discord-link:focus-visible) {
  outline: 2px solid var(--content);
  outline-offset: 2px;
}

.hero__top-discord-link:focus-visible {
  outline: none;
}

.hero__discord-icon {
  width: 17px;
  height: 13px;
  color: var(--content);
  transition: color 0.2s ease;
}

/* Top Bar Hover */
.hero__top-bar:hover {
  background: var(--content);
  cursor: pointer;
}

.hero__top-bar:hover .hero__top-discord-link {
  color: var(--br-dark);
}

.hero__top-bar:hover .hero__discord-icon {
  color: var(--br-dark);
}

/* Hero Logo */
.hero__logo-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero__logo {
  width: min(90rem, 90%);
  height: auto;
}

/* Hero Window */
.hero__window {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.window__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: solid 1px var(--content);
  border-bottom: none;
  width: min(1150px, 90%);
  height: 25px;
}

.window__controls--left,
.window__controls--right {
  display: flex;
  height: 100%;
}

.window__control {
  width: 25px;
  height: 25px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.window__controls--left .window__control {
  border-right: 1px solid var(--content);
  border-left: none;
}

.window__controls--right .window__control {
  border-left: 1px solid var(--content);
  border-right: none;
}

.window__maximize-svg,
.window__minimize-svg {
  color: var(--content);
  width: 10px;
  height: 10px;
}



.window__close-svg {
  color: var(--content);
  width: 100%;
  height: 100%;
}

/* Hero Window Body */
.window__body {
  width: min(1150px, 90%);
  min-height: 250px;
  border: solid 1px var(--content);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 2rem 0;
}

.hero__title {
  color: var(--content);
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 1rem 0 1rem;
}

.window__body p {
  color: var(--content);
  text-align: center;
  font-family: 'Favorit Mono', sans-serif;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  max-width: 60%;
}

/* Hero Window Footer */
.window__footer {
  margin-top: 8px;
  display: flex;
  width: min(1150px, 90%);
  gap: 8px;
  height: 90px;
}

.window__footer-item--left,
.window__footer-item--right {
  position: relative;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1.3rem;
  flex: 1;
  min-width: 0;
  border: solid 1px var(--content);
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
}

.window__footer-polygon {
  position: absolute;
  width: 18px;
  height: 10px;
  color: var(--content);
}

.window__footer-item--left .window__footer-polygon {
  right: 1rem;
  transform: rotate(90deg);
}

.window__footer-item--right .window__footer-polygon {
  left: 1rem;
  transform: rotate(-90deg);
}

.window__footer-item--center {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  height: 100%;
  flex-shrink: 0;
  border: solid 1px var(--content);
  transition: background 0.2s ease;
}

.window__footer-item--center a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.window__footer-discord-icon {
  width: 100%;
  height: 100%;
  padding: 10%;
  color: var(--content);
  transition: color 0.2s ease;
}

.window__footer-item--center:hover {
  background: var(--content);
}

.window__footer-item--center:hover .window__footer-discord-icon {
  color: var(--br-dark);
}

.window__footer-discord-text {
  color: var(--content);
}

/* === MEDIA QUERIES === */
/* Tablet */
@media (max-width: 768px) {
  .window__body {
    height: fit-content;
    padding-bottom: 3rem;
    gap: 1rem;
  }

  .window__body .hero__title {
    font-size: 2rem;
  }

  .window__body p {
    font-size: 0.7rem;
    max-width: 80%;
  }

  .window__footer {
    height: 4rem;
  }

  .window__footer-item--left .window__footer-polygon {
    width: 12px;
    height: 6px;
  }

  .window__footer-item--right .window__footer-polygon {
    width: 12px;
    height: 6px;
  }

  .window__footer-item--left,
  .window__footer-item--right {
    font-size: 0.625rem;
  }
}

/* Mobile */
@media (max-width: 500px) {
  .window__body .hero__title {
    font-size: 1.5rem;
  }

  .window__footer {
    height: 4rem;
  }

  .window__footer-item--left .window__footer-polygon {
    width: 8px;
    height: 4px;
    right: 0.5rem;
  }

  .window__footer-item--right .window__footer-polygon {
    width: 8px;
    height: 4px;
    left: 0.5rem;
  }
}
