/* Base layout */
body {
  margin: 0;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #2EC6FE, #018e6b);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Header */
h1 {
  color: white;
  font-size: 2.5em;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Install button */
#installBtn {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 10px 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

#installBtn:hover {
  transform: scale(1.05);
}

/* Grid layout for buttons */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  max-width: 700px;
  width: 100%;
  justify-items: center;

  /* Added spacing between sections and side padding */
  margin: 20px auto;
  padding: 0 20px;
}

/* Glass-style buttons */
.glass-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 14px 20px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  max-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

a button {
  all: unset;
  display: block;
  width: 100%;
}

button {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 14px 20px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  max-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

body.dark-mode {
  background: linear-gradient(135deg, #121212, #1e1e1e);
}

body.dark-mode h1,
body.dark-mode h3,
body.dark-mode p {
  color: #e0e0e0;
}

body.dark-mode .glass-btn,
body.dark-mode .btn,
body.dark-mode #installBtn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e0e0e0;
}

/* Toggle Switch Container */
.switch-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

/* Switch Label */
.switch-label {
  color: white;
  font-weight: bold;
}

/* Glassy Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 34px;
  transition: 0.4s;
}

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

input:checked + .slider {
  background: rgba(255, 255, 255, 0.25);
}

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

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

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  min-width: 160px;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: bold;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Show dropdown */
.dropdown.show .dropdown-content {
  display: block;
}

body.dark-mode {
  background: linear-gradient(135deg, #121212, #1e1e1e);
}

body.dark-mode h1,
body.dark-mode h3,
body.dark-mode p {
  color: #e0e0e0;
}

body.dark-mode .glass-btn,
body.dark-mode .btn,
body.dark-mode #installBtn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e0e0e0;
}

    a:link,
    a:visited,
    a:hover,
    a:active {
        color: black; /* Set your desired color */
        text-decoration: none; /* Remove the underline */
    }
