:root {
  --orange: #ff7a00;
  --orange-glow: rgba(255, 122, 0, 0.15);
  --dark-bg: #0a0a0a;
  --card-bg: #1a1a1a;
  --text-light: #ccc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at 50% 0%, rgb(28, 28, 28), rgb(0, 0, 0));
  background-attachment: fixed;
  color: #fff;
  padding: 1rem;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin: 1.5rem 0 0.5rem;
  letter-spacing: normal;
}

.logo a {
  color: #fff;
  text-decoration: none;
}

.logo a:hover {
  text-decoration: underline;
}

h1 {
  font-size: 18px;
  color: var(--orange);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.device-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 2rem;
}

.device-btn {
  background: #000;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 12px 20px;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.device-btn:hover,
.device-btn.active {
  background-color: #1c1c1c;
  color: #fff;
  box-shadow: 0 0 8px rgba(255, 122, 0, 0.4);
}

.device-btn i {
  font-size: 1.2rem;
}

.manual-section {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  animation: stepIn 0.5s ease;
}

.manual-container {
  background: var(--card-bg);
  padding: 19px 24px;
  border-radius: 14px;
  box-shadow: 0 0 10px var(--orange-glow);
}

.manual-container h2 {
  margin-top: 0;
  color: var(--orange);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.manual-container p {
  color: var(--text-light);
  line-height: 1.5;
  margin: 0.8rem 0;
}

.manual-container p a {
  color: var(--orange);
  text-decoration: underline;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.enter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto 0.5rem;
  padding: 16px 40px;
  background-color: var(--orange);
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 14px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s ease;
  text-align: center;
  text-decoration: none;
  width: fit-content;
  white-space: nowrap;
}

.enter-btn:hover {
  background-color: #ffa64d;
  box-shadow: 0 0 15px rgba(255, 122, 0, 0.4);
}

.back-btn {
  display: block;
  width: fit-content;
  margin: 0.5rem auto 2rem;
  font-size: 0.9rem;
  color: #fff;
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
}

#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 400px;
  text-align: center;
}

@media (max-width: 600px) {
  .logo {
    font-size: 32px;
  }

  h1 {
    font-size: 1.1rem;
  }

  .device-btn {
    padding: 12px 16px;
    font-size: 14px;
    min-width: 110px;
  }
}
