@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #e0f7fa, #f8e1ff);
  color: #222;
  transition: background 0.5s ease, color 0.5s ease;
}

.container {
  text-align: center;
  padding: 40px 30px;
  border-radius: 20px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  max-width: 400px;
  width: 90%;
}

h1 {
  font-size: 2.2em;
  margin-bottom: 10px;
  color: #444;
  text-shadow: 0 0 5px #ff7fff, 0 0 10px #7fffd4;
}

.subtitle {
  font-size: 1em;
  color: #666;
  margin-bottom: 30px;
}

/* Bubble Buttons */
.button-row {
  display: grid;
  grid-template-columns: repeat(2, 110px);
  justify-content: center;
  gap: 20px;
}

.bubble {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1), inset 0 0 10px rgba(255,255,255,0.3);
  color: #222;
  font-weight: 600;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bubble:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255,255,255,0.45);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15), inset 0 0 15px rgba(255,255,255,0.4);
}

/* Toggle */
.top-bar {
  position: fixed;
  top: 20px;
  right: 20px;
}

#dark-mode-toggle {
  display: none;
}

.top-bar label {
  width: 50px;
  height: 25px;
  background: rgba(255,255,255,0.4);
  border-radius: 50px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.6);
}

.toggle-circle {
  width: 22px;
  height: 22px;
  background: #ffb6c1;
  border-radius: 50%;
  position: absolute;
  top: 1.5px;
  left: 1.5px;
  transition: 0.3s;
}

#dark-mode-toggle:checked + label .toggle-circle {
  left: 26px;
  background: #8ad4ff;
}

/* Dark mode */
body.dark-mode {
  background: linear-gradient(135deg, #111122, #1a1a2f);
  color: #fff;
}

body.dark-mode .container {
  background: rgba(30,30,40,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

body.dark-mode h1 {
  color: #fff;
  text-shadow: 0 0 8px #ff7fff, 0 0 15px #7fffd4, 0 0 20px #ffb6ff;
}

body.dark-mode .bubble {
  background: rgba(255,255,255,0.2);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3), inset 0 0 12px rgba(255,255,255,0.2);
}

body.dark-mode .bubble:hover {
  background: rgba(255,255,255,0.35);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4), inset 0 0 18px rgba(255,255,255,0.3);
}