/* 0x01.css */

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

body {
  margin: 0;
  background: #fff;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: 100%;
}

.btn {
  cursor: pointer;
  width: 230px;
  font-family: sans-serif;
  font-weight: 400;
  font-size: 1em;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  border-radius: 4px;
  line-height: 1.75em;
  padding: 10px;
  color: #00ffff;
  background: #fff;
  border: 2px solid #00ffff;
  /* Mobile touch improvements */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.btn:hover {
  text-decoration: none;
  color: #00ffff;
}

/* Button active state - inverts colors when clicked/tapped */
.btn:active,
.btn:focus {
  color: #fff !important;
  background: #00ffff !important;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  transition: background-color 0s, color 0s;
  outline: none;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #222;
  }

  .btn {
    color: #00ffff;
    background: #222;
    border: 2px solid #00ffff;
  }

  .btn:hover {
    color: #00ffff;
  }

  /* Button active state - inverts colors in dark mode */
  .btn:active,
  .btn:focus {
    color: #222 !important;
    background: #00ffff !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    transition: background-color 0s, color 0s;
    outline: none;
  }
}
