* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Arial', sans-serif;
}

a,li{
  text-decoration: none;
  list-style: none;
}

body {
  background: linear-gradient(180deg, #fbbf24 0%, #000000 100%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  min-height: 100vh;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  background: linear-gradient(135deg, #232526, #2c3e50, #fbbf24);
  background-size: 400% 400%;
  animation: gradientMove 10s ease infinite;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-radius: 0 0 16px 16px;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  font-size: 2rem;
  background: #fbbf24;
  border-radius: 50%;
  padding: 6px 12px;
  color: #222;
  animation: bounce 1.5s infinite alternate;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-5px); }
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .logo-text {
    font-size: 1.8rem;
  }
  .logo-icon {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 1.6rem;
  }
  .logo-icon {
    font-size: 1.6rem;
  }
}

@media (max-width: 600px) {
  .logo-text {
    font-size: 1.4rem;
  }
}

@media (max-width: 430px) {
  .logo-text {
    font-size: 1.2rem;
  }
}
@media (max-width: 320px) {
  .logo-text {
    font-size: 1.1rem;
  }
}

.logo-highlight {
  color: #fbbf24;
  font-weight: 800;
}

/* Nav styles */
nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 30px;
  transition: 0.3s all ease;
}

nav ul li a:hover {
  background: #fbbf24;
  color: #000000;
  box-shadow: 0px 0px 10px rgba(0,0,0);
}

/* Recommendation special button */
.recommend-btn {
  background: #fbbf24;
  color: #222 !important;
  font-weight: bold;
  border-radius: 20px;
  transition: 0.4 all ease;
}

.recommend-btn:hover {
  background: #fff;
  color: #000000 !important;
  box-shadow: 0px 0px 10px rgba(0,0,0);
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  width: 30px;
  height: 26px;
  justify-content: space-between;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle div {
  height: 4px;
  background: white;
  border-radius: 2px;
  transition: 0.4s;
}

/* Overlay for mobile nav */
.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: 900;
}

.overlay.active {
  display: block;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .menu-toggle {
    display: flex !important;
  }

  .menu-toggle div {
    background: #fff !important;
  }

  nav ul {
    position: fixed;
    top: 0; right: -100%;
    flex-direction: column;
    background: #232526 !important;
    height: 100vh;
    width: 80vw;
    max-width: 340px;
    padding-top: 10px;
    padding-left: 0;
    gap: 0;
    transition: right 0.3s cubic-bezier(.4,2,.6,1);
    z-index: 999;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    align-items: stretch;
  }

  nav ul.open {
    right: 0;
  }

  nav ul li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #333;
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  nav ul li a {
    color: #fff !important;
    font-size: 1.15rem;
    padding: 18px 28px;
    border-radius: 0;
    width: 100%;
    display: block;
    background: none;
    text-align: left;
    transition: background 0.18s, color 0.18s, transform 0.18s;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  nav ul li a:active,
  nav ul li a:focus,
  nav ul li a:hover {
    background: #fbbf24 !important;
    color: #232526 !important;
    transform: translateX(6px) scale(1.04);
    outline: none;
  }

  .recommend-btn {
    background: #fbbf24 !important;
    color: #232526 !important;
    font-weight: bold;
    border-radius: 0;
    margin-top: 8px;
    margin-bottom: 8px;
    box-shadow: none;
  }

  .main-header {
    padding: 18px 10px;
  }
}

/* Extra touch targets and spacing for small screens */
@media (max-width: 600px) {
  nav ul {
    max-width: 100vw;
    padding-top: 10px;
  }
  nav ul li a {
    font-size: 1.08rem;
    padding: 16px 18px;
  }
}

/* Make overlay darker for better focus */
.overlay {
  background: rgba(0,0,0,0.55);
}

/* Optional: Add a subtle divider above nav on mobile */
@media (max-width: 1130px) {
  .main-header {
    border-bottom: 1.5px solid #fbbf24;
  }
}

/* Top Notice Bar */
.TopNotice {
  padding: 0 24px;
  background: linear-gradient(90deg, #333 70%, #fbbf24 100%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  font-size: 1.08rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  position: relative;
  z-index: 100;
  overflow: hidden;
  animation: topnotice-fadein 1s;
}

@keyframes topnotice-fadein {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.top-slide {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: static;
  opacity: 1;
  z-index: 2;
  padding: 10px 0;
  background: transparent;
}

.sticky-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sticky-header h4 {
  margin: 0 18px 0 0;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  text-align: center;
  font-family: inherit;
  line-height: 1.3;
}
.topnotice-icon {
  font-size: 1.5rem;
  margin-right: 8px;
  filter: drop-shadow(0 1px 2px #2228);
  animation: topnotice-bounce 1.2s infinite alternate;
}
@keyframes topnotice-bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.TopButton {
  display: flex;
  align-items: center;
  gap: 10px;
}
.TopButton a {
  text-decoration: none;
  border: 1.5px solid #fff;
  padding: 7px 18px;
  border-radius: 8px;
  color: #fff;
  background: rgba(251, 191, 36, 0.13);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.08);
  font-family: inherit;
  outline: none;
}
.TopButton a:hover,
.TopButton a:focus {
  background: #fbbf24;
  color: #222;
  border-color: #fbbf24;
}

/* TopNotice Responsive */
@media (max-width: 900px) {
  .TopNotice {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 10px 0 !important;
    text-align: center !important;
    min-height: 0;
  }

  .top-slide {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 0 !important;
    width: 100% !important;
    min-height: 48px;
    text-align: center !important;
  }

  .sticky-header {
    justify-content: center;
    gap: 8px;
  }

  .sticky-header h4 {
    margin: 0 !important;
    font-size: 1rem !important;
    width: auto;
    display: inline-block;
  }

  .TopButton {
    width: 100%;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
  }

  .TopButton a {
    padding: 7px 14px;
    font-size: 0.98rem;
    border-radius: 7px;
  }
}