html, body{
  height: 100%;
  margin: 0;
  padding: 0;
  color:white;
  background: linear-gradient(to bottom, #202020, #111119);
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  font-family: 'Roberto Flex', sans-serif;
}
a{
color:#00b7ff;
}
button{
background: none;
border:none;
color:white;
cursor: pointer;
}
 .support{
  text-align: center;
  align-items: center;
}
.page-info{
  border-radius: 1rem;
  background-color: #222;
  padding: 1rem;
  max-width: fit-content;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0.1rem 1rem rgba(0, 0, 0, 0.4);

}
.container{
display: flex;
justify-content: center;
padding: 2rem;
margin:0 auto;
align-items: center;
}
.page-title{
text-align: center;
font-size:6rem;
font-weight: bold;
margin: 1rem 0;
color:white;
font-family: "Ms Madi", cursive;
font-weight: 400;
font-style: normal;
}
.tagline{
  text-align: center;
font-size:1.5rem;
font-style: italic;
margin: 1rem 0;
color:white;

}
.top-bar {
position: sticky;
top: 0;
left: 0;
width: 100%;
background-color: #222;
color: white;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.4);

overflow-x:hidden;
box-sizing: border-box;
}
.top-bar-right{
display: flex;
align-items: center;
justify-content: flex-end;
flex: 1;
}
.master-controls{
display: flex;
align-items: center;
gap:0.75rem;
justify-content: flex-end;
}
#master-volume{
width: 10rem;
max-width: 10rem;
min-width: 1rem;
height: 2rem;
padding: 0;
margin: 0;
appearance: none;
cursor: pointer;
}
#mute-button{
padding:0.3rem; 
}
#mute-button img{
width: 2.5rem;
height: 2.5rem;
filter:brightness(1.5);
}
.timer-toggle-btn {
background: none;
border: none;
font-size: 1.4rem;
color: white;
transition: transform 0.2s ease;
cursor: pointer;
padding: 0.5rem;
display: flex;
align-items: center;
}
.timer-toggle-btn img{
width: 2rem;
height: 2rem;
}
.timer-toggle-btn:hover{
transform: scale(1.1);
}
.menu-button{
background: none;
border:none;
cursor: pointer;
}
.menu-button img{
width: 2rem;
height: 1.5rem;
filter: brightness(1.5);
}
.timer-panel{
background: #1e1e1e;
  color:white;
  padding: 1rem;
  border-bottom: 0.1rem solid #444;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
  overflow: hidden;
  height: 2rem;
  opacity: 1;
}
.timer-panel.hidden{
max-height: 0;
opacity: 0;
padding:0;
border: none;
}

#timer-minutes{
width:2rem;
padding: .5rem;
border-radius: .4rem;
border: none;
text-align: center;
}

#start-timer{
padding: .5rem 1rem;
background:#4caf50;
border: none;
border-radius: .4rem;
cursor: pointer;
transition: background 0.2 ease;
}

#start-timer:hover{
background:#45a049;
}
#pause-timer{
padding: .5rem 1rem;
background:#af4c4c;
border: none;
border-radius: .4rem;
cursor: pointer;
transition: background 0.2 ease;
}
#pause-timer:hover{
background:#a04545;
}
#timer-display{
font-family: monospace;
font-size:1.1rem;
min-width: 100%;
text-align: center;
}
.global-controls{
  text-align: center;
  margin-bottom: 2rem;
}

#toggle-play-btn{
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}
#toggle-play-btn img{
  margin-top: 5rem;
  width: 8rem;
  height: 8rem;
}
#toggle-play-btn:hover{
  transform: scale(1.05);
}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}
.sound-grid{
  margin: 0 auto;  
  display: grid;
  grid-template-columns: repeat(5,1fr);
  max-width: fit-content;
  gap: 1rem;
  padding: 1rem;
  background: #222; /* dark card */
  border-radius: 3%;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
  ;
}
.sound-control {
  display: flex;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 10%;
  padding: 1.5rem 1rem;
  width: 11rem;
  height: 15rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
  opacity: 0.4;
}
.sound-control:hover{
transform: scale(1.05);
}

.sound-control.active {
  opacity: 1;
  transform: scale(1.05);
}

.sound-icon {
  width: 6rem;
  height: 6rem;
  margin-bottom: 1rem;
  user-select: none;
  cursor: pointer;
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
}

.wander-icon {
  width: 1.5rem;
  height: 1.5rem;
  opacity: 0.5;
  transition: 0.3s ease;
}

.wander-toggle.active .wander-icon {
  opacity: 1;
  filter: drop-shadow(0 0 .5rem #00c8ff) brightness(1.5);
  animation: wanderPulse 1.8s infinite ease-in-out;
}
.slider-row{
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
}
.sound-name{
  font-size: 1.3rem;
  font-family: 'Roberto Flex', sans-serif;
}
.slider {
--c: rgb(255, 255, 255); /* active color */
  --g: 0.3rem; /* the gap */
  --l: 0.3rem; /* line thickness*/
  --s: 1.5rem; /* thumb size*/
  flex-grow:1;
  min-width: 0;
  height: var(--s); /* needed for Firefox*/
  --_c: color-mix(in srgb, var(--c), #000 var(--p,0%));
  -webkit-appearance :none;
  -moz-appearance :none;
  appearance :none;
  background: none;
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  appearance:  none;
  overflow: hidden;
  background: transparent;
  outline: none;
}

input:focus-visible, input:hover{
--p: 25%;
}
input:active, input:focus-visible{
--_b: var(--s)
}
.slider::-webkit-slider-thumb{
-webkit-appearance: none;
appearance: none;
aspect-ratio: 1;
box-shadow: 0 0 0 var(--_b,var(--l)) inset var(--_c);
height: 1.5rem;
aspect-ratio: 1;
border-radius: 50%;
border-image: linear-gradient(90deg,var(--c) 50%,#ababab 0) 0 1/calc(50% - var(--l)/2) 100vw/0 calc(100vw + var(--g));
appearance: none;
transition: .3s;
}
.slider::-moz-range-track{
  height: 1.5rem;

}

.tooltip {
  position: relative;
}


.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
@keyframes wanderPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

/*Profile Button*/
.profile-button img{
  width: 2rem;
  height: 2rem;
  filter: brightness(1.5);
}
/*Side Panel*/
.slide-panel{
  position:fixed;
  top:0;
  left: -30rem;
  width: 20rem;
  height: 100%;
  background-color: #1e1e1e;
  padding: 2rem 1.5rem;
  box-shadow: 0 0.1rem 1rem rgba(0, 0, 0, 0.4);
  transition: left 0.3s ease;
  z-index: 1000;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.slide-panel.show{
  left: 0;
}
.close-btn{
  position: absolute;
  top:1rem;
  right:1rem;
  background:none;
  font-size: 1.5rem;
  color:white;
  border:none;
  cursor: pointer;
}
/* Login Form Styles */
.settings-container{
  color:white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.settings-container h2{
  text-align: center;
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 4;
  font-family: "Ms Madi", cursive;
}

.settings-btn{
  font-size:1rem;
  background: #333;
  color: white;
  border: none;
  padding: 0.6rem;
  border-radius: 0.3rem;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: background 0.2s ease;
  margin-top:0.4rem;
}
.settings-btn:hover{
  background:#444;
}
.settings-select{
  background:#333;
  color:white;
  border: none;
  padding: 0.5rem;
  border-radius: 0.3rem;
  width: 100%;
  margin-top: 0.4rem;
}
.settings-input{
  width: 100%;
  background: #333;
  color: white;
  border: none;
  padding: 0.6rem;
  border-radius: 0.3rem;
  font-size: 1rem;
  box-sizing: border-box;
  margin-top: 0.5rem;
}

.save-message{
  font-size: 0.5rem;
  text-align: center;
}
.settings-container hr{
  margin:1.5rem 0;
  border-color: #444;
}
.login-form input[type="email"],
.login-form input[type="password"]{
  border: none;
  border-radius: 0.3rem;
  background: #444;
  color: white;
  font-size: 1rem;
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.5rem;
}

.login-form input[type="checkbox"] {
  width: auto;
  accent-color: #4caf50; /* optional for modern green checkboxes */
  transform: scale(1.2); /* optional size */
  margin-right: 0.4rem;
}

.login-form button{
  background: #4caf50;
  color: white;
  padding: 0.6rem;
  border:none;
  border-radius: 0.3rem;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
}

.form-options{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.register-link{
  font-size: 0.9rem;
}
.att-heading{
  text-align: center;
  font-family: 'Roberto Flex', sans-serif;
}
.att-links a{
  color:white;
}