body {
  font-family: Arial, sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  transition: background-color 0.3s, color 0.3s;
  padding: 20px;
  box-sizing: border-box;
}

h1 {
  font-size: 3em;
  margin: 0;
}

/* Modes */
body.light {
  background-color: #FEFAFA;
  color: #000;
}

body.dark {
  background-color: #130E09;
  color: #fff;
}

body.gray {
  background-color: #2e3440;
  color: #eceff4;
}

body.amoled {
  background-color: #000;
  color: #fff;
}


body.paper {
  background-color: #f5f2ec;
  color: #1f1f1f;
  position: relative;
  overflow: hidden;
}

/* crumple texture layer */
body.paper::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;

  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(0,0,0,0.03) 0px,
      rgba(0,0,0,0.03) 1px,
      transparent 6px,
      transparent 12px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(0,0,0,0.02) 0px,
      rgba(0,0,0,0.02) 1px,
      transparent 8px,
      transparent 16px
    ),
    radial-gradient(
      circle at 30% 20%,
      rgba(0,0,0,0.05),
      transparent 60%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(0,0,0,0.04),
      transparent 65%
    );

  filter: blur(0.4px);
}
body.paper h1 {
  font-family: "Bradley Hand", "Comic Sans MS", "Segoe Script",
               "Apple Chancery", cursive;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-shadow: 0 0 1px rgba(0,0,0,0.2);
}

/* Dropdown */
.dropdown {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.dropbtn {
  background-color: #333;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f1f1f1;
  min-width: 140px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-radius: 5px;
  overflow: hidden;
}

.dropdown-content button {
  width: 100%;
  padding: 10px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}

.dropdown-content button:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

