* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-image: url('images/awfuopaiw.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: sans-serif;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 95px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  z-index: 9999;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 30px;
}

.nav-left {
  width: 430px;
}

.nav-right a {
  margin-left: 40px;
  color: #9dffff;
  font-size: 22px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-right a:hover,
.nav-right a.active {
  color: white;
  border-bottom: 2px solid #9dffff;
}
.nav-right button {
  margin-left: 40px;
  color: #9dffff;
  font-size: 22px;
  font-weight: bold;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: color 0.3s;
  appearance: none;
  outline: none;
}
.nav-right button:hover,
.nav-right button.active {
  color: white;
  border-bottom: 2px solid #9dffff;
}
.nav-right button:focus {
  outline: none;
}
.nav-right button:focus-visible {
  outline: none;
}

#cy {
  height: calc(100vh - 95px);
  padding-top: 95px;
  width: 100vw;
  height: 100vh;
  display: block;
}
.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 9999;
}
.toast.show {
  bottom: 30px;
  opacity: 1;
}
.cy-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  pointer-events: none;
  display: none;
  z-index: 9999;
  white-space: nowrap;
}

.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 9999;
}
.toast.show {
  bottom: 30px;
  opacity: 1;
}
.hamburger {
  display: none;
  position: absolute;
  top: 30px;
  right: 20px;
  z-index: 10001;
  font-size: 36px;
  background: none;
  border: none;
  color: #9dffff;
  cursor: pointer;
}

@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .nav-right {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 95px;
    left: 0;
    width: 100vw;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    border-radius: 0 0 12px 12px;
    z-index: 10000;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  .nav-right.show {
    display: flex;
    max-height: 500px;
    opacity: 1;
  }

  .nav-right a,
  .nav-right button {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    margin: 0;
    font-size: 20px;
    color: #9dffff;
    background: none;
    border: none;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
  }

  .nav-right a:last-child,
  .nav-right button:last-child {
    border-bottom: none;
  }
  .nav-right a:hover,
  .nav-right button:hover {
    background: rgba(255,255,255,0.1);
  }

}
