.header {
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px;
  box-shadow: var(--box-shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
}

.header-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.header-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.header-icon a {
  color: var(--primary);
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-icon:hover {
  transform: scale(1.05);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  padding-top: calc(var(--header-height) + 10px);
}

.ad-banner {
  margin: 16px 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.ad-banner img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: cover;
  display: block;
}

.subtitle {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  font-size: 1.2rem;
  padding: 12px;
  margin: 20px 0;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.subtitle i {
  margin-right: 8px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.menu-btn {
  background: var(--white);
  color: var(--primary);
  border: none;
  border-radius: var(--border-radius);
  padding: 0;
  font-weight: 600;
  box-shadow: var(--box-shadow);
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  height: 120px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.menu-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.menu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-btn:hover::after {
  transform: scaleX(1);
}

.menu-btn i {
  font-size: 2rem;
  margin-bottom: 8px;
}

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.navbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 8px 0;
  font-size: 0.8rem;
  width: 25%;
}

.navbar a i {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.navbar a.active,
.navbar a:active,
.navbar a:hover {
  color: var(--primary);
}