@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #0a0a0f;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(60, 20, 80, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(10, 20, 60, 0.5) 0%, transparent 60%);
  font-family: 'Cinzel', serif;
  color: #c8a96e;
  overflow: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.08) 2px,
      rgba(0,0,0,0.08) 4px
    );
  pointer-events: none;
  z-index: 0;
}

h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e8c87a;
  text-shadow:
    0 0 10px rgba(232, 200, 122, 0.8),
    0 0 30px rgba(200, 150, 50, 0.4),
    0 0 60px rgba(200, 100, 20, 0.2);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

h1::after {
  content: '';
  display: block;
  margin: 0.5rem auto 0;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c8a96e, transparent);
  box-shadow: 0 0 8px rgba(200, 169, 110, 0.6);
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: rgba(5, 5, 15, 0.8);
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: 2px;
  color: #e0c880;
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: rgba(200, 169, 110, 0.6);
  box-shadow: 0 0 12px rgba(200, 150, 50, 0.2), inset 0 0 8px rgba(0,0,0,0.4);
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: rgba(200, 169, 110, 0.2);
}

button {
  width: 100%;
  padding: 0.9rem 0;
  margin-top: 0.6rem;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid;
}

#go_login_btn {
  background: linear-gradient(180deg, rgba(120, 70, 20, 0.8), rgba(80, 40, 10, 0.9));
  border-color: rgba(200, 150, 50, 0.6);
  color: #f0d080;
  box-shadow: 0 0 10px rgba(180, 100, 20, 0.3), inset 0 1px 0 rgba(255,220,100,0.1);
}

#go_login_btn:hover {
  background: linear-gradient(180deg, rgba(160, 100, 30, 0.9), rgba(120, 60, 15, 0.95));
  border-color: rgba(240, 190, 70, 0.8);
  color: #fff0a0;
  box-shadow: 0 0 20px rgba(220, 140, 30, 0.5), inset 0 1px 0 rgba(255,220,100,0.2);
}

#go_login_btn:active {
  transform: translateY(1px);
  box-shadow: 0 0 8px rgba(180, 100, 20, 0.3);
}

#go_join_btn {
  background: rgba(10, 10, 25, 0.8);
  border-color: rgba(120, 90, 160, 0.5);
  color: #ffffff;
}

#go_join_btn:hover {
  background: rgba(40, 20, 60, 0.8);
  border-color: rgba(160, 120, 200, 0.7);
  color: #c8a0e8;
  box-shadow: 0 0 12px rgba(120, 60, 180, 0.3);
}

#go_back_btn {
  background: rgba(10, 10, 20, 0.6);
  border-color: rgba(80, 80, 100, 0.4);
  color: #ffffff;
}

#go_back_btn:hover {
  background: rgba(20, 20, 35, 0.7);
  border-color: rgba(120, 120, 150, 0.5);
  color: #9090b0;
}
