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

body {
  background: #fde9ba;

  display: flex;
  width: 100vw;
  height: 100vh;

  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.canvas {
  display: flex;
  width: 75%;
  height: auto;

  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  aspect-ratio: 1520/960;

  max-width: 1520px;

  background: radial-gradient(50% 50% at 50% 50%, #ffedc3 0%, #f0ca70 100%);
  border-radius: 8px;

  position: relative;
}

#login-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  width: 100%;
  height: 100%;
  padding: 2rem;
    padding-top: 8rem;
}

#login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
}

#game-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;

  border-radius: 8px;
}

.game-input {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 40px;
  z-index: 200;

  width: clamp(200px, 50%, 412px);

  height: clamp(30px, 4vw, 40px);

  padding: clamp(5px, 1vw, 10px);

  font-size: clamp(12px, 2vw, 16px);

  border: 4px solid #003e4d;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 0 2px rgba(0, 0, 0, 0.25) inset;
  font-family: "Yusei Magic", sans-serif;
  color: #003e4d;
}

.game-input:focus {
  outline: 2px solid #00d0ff;
}

img {
  width: 50%;
  max-width: 400px;
}

.input-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

label {
  color: #003e4d;
  text-align: center;
    font-family: "Yusei Magic", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

input {
  width: 100%;
  max-width: 412px;
  height: 65px;
  border: 4px solid #003e4d;
  border-radius: 12px;
  background: #fff;

  box-shadow: 0 2px 0 2px rgba(0, 0, 0, 0.25) inset;

  padding: 16px;

    font-family: "Yusei Magic", sans-serif;
  color: #003e4d;
  font-size: 28px;
}

input:focus {
  outline: 2px solid #00d0ff;
}

.connect-button {
  position: relative;
  display: inline-block;
  width: 232px;
  height: 75px;
  flex-shrink: 0;
  border-radius: 16px;
  outline: 4px solid #003e4d;
  outline-offset: -4px;

  background: linear-gradient(180deg, #72e5ff 25%, #00d0ff 100%);
  box-shadow: 0 -2px 0 6px rgba(0, 0, 0, 0.25) inset;

  cursor: pointer;
  border: none;
  padding: 0;
  overflow: hidden;
}

.connect-button-label {
  position: relative;
  top: -4px;
  display: inline-block;

  font-family: "Mochiy Pop One", sans-serif;
  font-size: 32px;
  color: white;
  text-align: center;
  line-height: 71px;

  z-index: 0;
}

/* Texto duplicado atrás com contorno */
.connect-button-label::before {
  content: attr(data-text);
  pointer-events: none;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;

  color: transparent;
  -webkit-text-stroke: 6px #003e4d;

  z-index: -1;
}

button:hover {
  background: #00d0ff;
}

button:active {
  background: #00d0ff;
  transform: scale(0.95);
}

button:disabled {
  background: #00d0ff;
  cursor: not-allowed;
}

.spacer {
  width: 35px;
  flex: 1 0 0;
}

p {
  color: rgba(0, 0, 0, 0.7);
  text-align: center;
    font-family: "Yusei Magic", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.3px;
}



