:root {
  --bg-color: #131313;
  --text-color: #f1f1f1;
  --accent-color: #a1a1a1;
  --button-bg: rgba(58, 58, 58, 0.6);
  --button-hover: #262626;
  --light-bg: #f0f0f0;
  --light-text: #1a1a1a;
  --light-accent: #444;
}

body.light-mode {
  --bg-color: var(--light-bg);
  --text-color: var(--light-text);
  --accent-color: var(--light-accent);
  --button-bg: rgba(200, 200, 200, 0.6);
  --button-hover: #d6d6d6;
}

* {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-color);
  background-image: radial-gradient(circle, #333 1px, transparent 1px);
  background-size: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  animation: fadeIn 1s ease-in;
  transition: background-color 0.3s ease, color 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 24px;
}

a.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  /* Reduced width */
  margin: 12px auto;
  padding: 10px 22px;
  /* Reduced padding */
  background-color: var(--button-bg);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #585858
}

a.button img {
  margin-right: 8px;
  /* Adjusted space between icon and text */
}

a.button:hover {
  background-color: var(--button-hover);
  transform: scale(1.03);
}

p {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--accent-color);
}

b {
  color: var(--accent-color);
}

.toggle-mode {
  margin-top: 40px;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--accent-color);
  text-decoration: underline;
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  a.button {
    width: 100%;
    padding: 10px 18px;
    /* Adjusted for smaller screens */
  }
}