:root {
  --paper: #000000;
  --ink: #ffffff;
  --discord: #7289da;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  font-family: "Robonto", "Roboto", "Segoe UI", sans-serif;
  overflow: hidden;
}

.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px;
  animation: fadeIn 1.2s ease-out;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.discord-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--discord);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.discord-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
}

.discord-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
}

.discord-icon svg {
  width: 100%;
  height: 100%;
}

.discord-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.lang-switch {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 2;
}

.switch {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 36px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #050505;
  border: 1px solid #1a1a1a;
  border-radius: 999px;
  transition: background 0.2s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.slider-content {
  position: absolute;
  top: 3px;
  left: 3px;
  height: 28px;
  width: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #101010;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease;
}

.slider-content img {
  width: 18px;
  height: 18px;
}

.switch input:checked + .slider .slider-content {
  transform: translateX(60px);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: clamp(1.8rem, 7vw, 3.2rem);
  }

  .discord-button {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .switch {
    width: 110px;
    height: 34px;
  }

  .slider-content {
    width: 50px;
  }

  .switch input:checked + .slider .slider-content {
    transform: translateX(56px);
  }
}
