:root {
  --bg-color: #121212;
  --text-color: #ffffff;
  --accent-color: #ff8c42;
  --accent-hover: #ff7020;
  --link-color: #ffd27f;
  --tile-bg: #1e1e1e;
  --tile-hover: #2a2a2a;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--tile-bg);
  border-bottom: 1px solid #333;
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: var(--accent-color);
}

header a {
  text-decoration: none;
  color: var(--link-color);
}

main {
  padding: 2rem;
}

.modal-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #000;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  z-index: 9999;
}

.hidden {
  display: none !important;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.emotion-list-section {
  margin-bottom: 2rem;
}

.emotion-buttons button {
  margin: 0.3rem;
  padding: 0.6rem 1rem;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.emotion-buttons button:hover {
  background: var(--accent-hover);
}
