:root {
  --bg: #f8f8f8;
  --text: #333;
  --subtle: #555;
  --link: #3ddc84;
  --link-hover: #32be76;
  --footer: #888;
}

body.dark {
  --bg: #1e1e1e;
  --text: #eee;
  --subtle: #aaa;
  --link: #4cd964;
  --link-hover: #3cb653;
  --footer: #aaa;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  text-align: center;
  padding: 60px 20px;
}

.title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--subtle);
}

.small {
  font-size: 0.8em;
  font-weight: normal;
  margin-bottom: 10px;
}

.app-links {
  margin-top: 30px;
}

.app-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px;
  padding: 12px 18px;
  background-color: var(--link);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.app-links a:hover {
  background-color: var(--link-hover);
}

.icon {
  width: 32px;
  height: 32px;
}

footer {
  margin-top: 50px;
  font-size: 0.9em;
  color: var(--footer);
}

/* Dark mode toggle */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 20px;
}

.toggle-label {
  margin-left: 10px;
  font-size: 0.9em;
  color: var(--subtle);
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #3ddc84;
}

input:checked + .slider:before {
  transform: translateX(18px);
}

.mascot {
  max-width: 300px;
  margin: 30px auto;
  display: block;
}
