.menu-holder {
  display: flex;
  justify-content: center;
  text-align: center;
  padding-bottom: 10px;
}

.menu-btn-news {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 8px 15px 8px 8px;

  border-radius: 30px;

  background-color: rgba(10, 10, 10, 0.6);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);

  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.7);

  cursor: pointer;
}

.menu-btn-back {
  display: flex;
  /* justify-content: center; */
  position: absolute; right: 0; top: 0;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 18px 10px 18px 10px;

  border-radius: 10px 0px 0px 10px;

  background-color: rgba(10, 10, 10, 0.6);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);

  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.7);

  cursor: pointer;
}

.menu-info-btn {
  /* display: flex; */
  position: absolute; left: -10px; top: 0;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0px 20px 0px 20px;
  border-radius: 10px;
  /* background-color: rgba(10, 10, 10, 0.1); */
  /* -webkit-backdrop-filter: blur(15px); */
  /* backdrop-filter: blur(15px); */

  /* box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.7); */

  cursor: pointer;
}

/* Weather Widget Styles */
.weather-widget {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: rgba(5, 10, 87, 0.452);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 10px 15px;
  color: #fff;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.);
  margin: 5px;
  font-size: 13px;
  min-width: 250px;
}

.weather-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  justify-content: center;
}

.weather-main-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.weather-icon {
  font-size: 50px;
  line-height: 1;
  flex-shrink: 0;
}

.weather-temp {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  line-height: 1;
}

.weather-info {
  width: 50%;
  text-align: right;
  padding-left: 10px;
}

.weather-main .weather-condition {
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  opacity: 0.9;
  margin-top: 2px;
}

.weather-info .weather-condition {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 4px;
  opacity: 0.9;
}

.weather-location {
  font-size: 20px;
  opacity: 0.7;
  margin-bottom: 6px;
  font-weight: 500;
}

.weather-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 16px;
  opacity: 0.8;
  align-items: flex-end;
}

.weather-details span {
  white-space: nowrap;
}

.weather-error {
  opacity: 0.6;
}

.weather-error .weather-condition {
  color: #ff6b6b;
}

/* Weather responsive */
@media (max-width: 768px) {
  .weather-widget {
    min-width: 200px;
    padding: 8px 12px;
    margin: 0 5px;
    gap: 12px;
  }
  
  .weather-main {
    width: 50%;
  }
  
  .weather-main-top {
    gap: 6px;
  }
  
  .weather-icon {
    font-size: 50px;
  }
  
  .weather-temp {
    font-size: 40px;
  }
  
  .weather-main .weather-condition {
    font-size: 15px;
  }
  
  .weather-info .weather-condition {
    font-size: 16px;
  }
  
  .weather-location {
    font-size: 18px;
  }
  
  .weather-details {
    font-size: 14px;
  }
}

/* Page transition styles */
#Content {
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* Initial state for smooth page transitions */
body.page-loading #Content {
  opacity: 0;
  transform: translateY(20px);
}

.page-transition-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 50px;
}

.page-transition-loader .loading-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
}

.page-transition-loader .loading-dots div {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.4s infinite ease-in-out both;
}

.page-transition-loader .loading-dots div:nth-child(1) { animation-delay: -0.32s; }
.page-transition-loader .loading-dots div:nth-child(2) { animation-delay: -0.16s; }
.page-transition-loader .loading-dots div:nth-child(3) { animation-delay: 0s; }

@keyframes pulse-dot {
  0%, 80%, 100% { 
    opacity: 0.3;
    transform: scale(0.8);
  }
  40% { 
    opacity: 1;
    transform: scale(1);
  }
}

.page-transition-loader .loading-text {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes pulse-text {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Enhanced menu button animations */
.menu-panel-element, .menu-panel-element2 {
  transition: all 0.2s ease;
}

.menu-panel-element:hover, .menu-panel-element2:hover {
  transform: scale(1.05);
}

.menu-panel-element:active, .menu-panel-element2:active {
  transform: scale(0.95);
  opacity: 0.8;
}

/* Menu fade-out animation */
#MenuPanel.menu-closing {
  transition: opacity 0.3s ease-out;
  opacity: 0;
}

.menu-panel {
  display: flex;
  flex-direction: column;
  padding: 10px;

  border-radius: 25px;

  background-color: rgba(10, 10, 10, 0.6);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);

  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.7);

  border-color: rgba(50, 50, 50, 0.2);
  border-style: solid;
  border-width: 2px;
}

.menu-panel-element {
  border-radius: 20px;
  padding: 10px 5px 10px 5px;
  margin: 5px;
  color: #fff;
  width: 165px;
  font-size: 14px;
}

.menu-panel-element2 {
  text-align: center;
  border-radius: 20px;
  padding: 13px 5px 13px 5px;
  margin: 5px;
  color: #ffffff;
  width: 97%;
  font-size: 17px;
}


.menu-panel-element3 {
  text-align: center;
  border-radius: 20px;
  padding: 10px 5px 10px 5px;
  margin: 5px;
  color: #fff;
  width: 90%;
  font-size: 14px;
  background: rgb(210, 0, 196);
}

.menu-panel-element4 {
  text-align: center;
  border-radius: 20px;
  padding: 5px 5px 5px 5px;
  margin: 5px;
  color: #fff;
  width: 23.5%;
  background-color: #0095ff;
}

.menu-panel-element5 {
  text-align: center;
  border-radius: 20px;
  padding: 5px 5px 5px 5px;
  margin: 5px;
  color: #565555;
  width: 50%;
  background: #ffffff;
}

.content-start {
  animation-name: content-start;
  animation-duration: 0.5s;
}

/* fede */
/* fede */
/* fede */

.content-fade {
  filter:blur(20px);
  animation-name: content-fade;
  animation-duration: 40s;
  animation-iteration-count: infinite;
}

.meteo {
  height: 140px;
  width: 100%;
  border-radius: 20px;
}

/* menu btn color */

.btn-stz{
  background: linear-gradient(145deg, rgb(3, 231, 10) 0%, rgb(0, 137, 18) 100%);
}    
.btn-sport{
  background: linear-gradient(145deg, rgb(5, 179, 248) 0%, rgb(0, 93, 233) 100%);
}    
.btn-livestyle{
  background: linear-gradient(145deg, rgb(252, 140, 64) 0%, rgb(212, 74, 4) 100%);
}    
.btn-business{
  background: linear-gradient(145deg, rgb(169, 69, 246) 0%, rgb(111, 25, 176) 100%);
}    
.btn-home{
/* background: linear-gradient(to top left, #00cc00 0%, #0091ff 70%); */
background: linear-gradient(-45deg, #00cc00 0%,  #0091ff 70%);

}    

/*  */
/*  */
/*  */

.ai-assistant-btn {

  text-align: center;
  padding: 20px 30px 20px 30px;
  margin: 30px 30px 20px 30px;
  border-radius: 25px;
  font-size: larger;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}


#MenuPanel {
  animation-name: menu-panel;
  animation-duration: 0.5s;
}

@keyframes menu-panel {
  from {
    opacity: 0.9;
    scale: 1;
    position: relative;
    bottom: -10px;
  }

  100% {
    opacity: 1;
    scale: 1;
    position: relative;
    bottom: 0px;
  }
}


@keyframes content-fade {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.999);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


@keyframes content-start {
  0% {
    opacity: 0.2;
    scale: 1.01;
  }

  100% {
    opacity: 1;
    scale: 1;
  }
}