* {
  box-sizing: border-box;
  font-family: 'Ubuntu', sans-serif;
}

body {
  margin: 0;
  color: #fbf8f3;
}

.background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('bg-map.jpg') no-repeat center center fixed;
  background-size: cover;
  z-index: -1;
  pointer-events: none;
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(21,7,30, .8);
  z-index: -1;
}

main {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  justify-content: space-between;
  gap: 3rem;
  z-index: 1;
}

.left, .right {
  flex: 1 1 300px;
  min-width: 280px;
}

.left h1 {
  font-size: 3rem;
  margin: 0 0 1rem 0;
  font-weight: bold;
}

.right {
  background: rgba(21,7,30, 0.85);
  padding: 2rem;
  border-radius: 8px;
}

.accent {
  color: #5ce09e;
}

.domain {
  font-weight: bold;
  font-size: 1.5rem;
  color: #5ce09e;
}

.description {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.price-box {
  margin-top: 2rem;
}

.line {
  width: 40px;
  border-bottom: 2px solid #5ce09e;
  margin-bottom: 0.8rem;
}

.price {
  font-size: 3.5rem;
  font-weight: bold;
  color: #5ce09e;
  line-height: 1;
}

.price-label {
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-top: 0.4rem;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form h2 {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.form input,
.form select,
.form button {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
}

.bid-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form button {
  background-color: #00b894;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.form button:hover {
  background-color: #019875;
}

/* SIDEBAR BUTTON */
#more-domains-btn {
  position: fixed;
  left: 0;
  top: 40%;
  background: #2c1d3c;
  color: white;
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  border: none;
  cursor: pointer;
  z-index: 998;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

#more-domains-btn .plus {
  margin-top: 0.5rem;
}

/* SIDEBAR MENU */
#menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: none;
  z-index: 999;
}
#menu-overlay.open {
  display: block;
}
#domain-menu {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 300px;
  background: #1b112a;
  padding: 2rem 1.5rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}
#domain-menu.open {
  transform: translateX(0);
}
#domain-menu .menu-header {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
#domain-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#domain-menu ul li {
  margin-bottom: 0.8rem;
}
#domain-menu ul li a {
  color: #5ce09e;
  text-decoration: none;
}
#domain-menu ul li a:hover {
  text-decoration: underline;
}

/* RESPONSIVE FIX FOR TABLET/MOBILE */
@media (max-width: 996px) {
  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .left, .right {
    max-width: 100%;
  }

  #more-domains-btn {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    top: 0;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
  }

  #more-domains-btn .plus {
    margin-top: 0;
  }
}
