.home-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
}

.home-banner + .home-ticket-card {
  margin-top: 20px;
}

.home-ticket-card {
  position: relative;
  width: auto;
  margin: 0 24px;
  aspect-ratio: 16 / 4.5;
  overflow: hidden;
  border-radius: 12px;
}

.ticket-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticket-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px;
}

.ticket-card-info {
  color: #fff;
  align-self: flex-start;
}

.ticket-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ticket-card-sub {
  font-size: 15px;
  font-weight: 500;
  opacity: 0.85;
}

.ticket-card-event {
  align-self: flex-end;
  color: #fff;
  font-size: 14px;
  opacity: 0.9;
}

.ticket-card-event .event-dot {
  opacity: 0.6;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 40%, transparent 50%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.5) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px 24px;
}

.banner-content {
  color: #fff;
  width: 100%;
}

.greeting-row {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  gap: 12px;
  white-space: nowrap;
  overflow: hidden;
}

.greeting-row-bottom {
  margin-bottom: 0;
}

.greeting-vip {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.greeting-points {
  color: #fff;
  font-size: 14px;
  opacity: 0.85;
}

.greeting-time {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.greeting-user {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.banner-slogan {
  align-self: flex-end;
  text-align: right;
  color: #fff;
}

.slogan-text {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  white-space: nowrap;
}

.slogan-btn {
  background: transparent;
  color: #fff;
  border: none;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.slogan-btn:hover {
  opacity: 0.7;
}

.slogan-btn:active {
  opacity: 0.5;
}

.home-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 24px 8px;
  color: var(--color-primary);
  font-size: 16px;
  gap: 12px;
}

.home-divider::before,
.home-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.3;
}

.home-divider span {
  opacity: 0.6;
}

.home-plan-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding: 0 24px;
}

.plan-card {
  display: block;
  position: relative;
  width: auto;
  margin: 0 24px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
}

.plan-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.plan-card-text {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.home-ads-section {
  margin-top: 24px;
  padding: 0 24px;
}

.ads-header {
  margin-bottom: 14px;
}

.ads-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--color-primary);
}

.ads-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
  margin: 0 -4px;
}

.ads-scroll::-webkit-scrollbar {
  display: none;
}

.ads-track {
  display: flex;
  gap: 12px;
  padding: 4px;
}

.ad-card {
  flex-shrink: 0;
  width: 280px;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
}

.ad-card:hover {
  transform: scale(1.03);
}

.ad-card:active {
  transform: scale(0.98);
}

.ad-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 10px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  display: flex;
  align-items: flex-end;
}

.ad-card-overlay span {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .home-banner {
    aspect-ratio: 16 / 10;
    border-radius: 0;
  }

  .banner-overlay {
    padding: 20px 16px;
  }

  .greeting-vip,
  .greeting-time,
  .greeting-user {
    font-size: 14px;
  }

  .greeting-points {
    font-size: 12px;
  }

  .greeting-row {
    gap: 8px;
    font-size: 14px;
  }

  .banner-slogan {
    align-self: flex-end;
  }

  .slogan-text {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .slogan-btn {
    font-size: 14px;
    padding: 6px 0;
  }

  .home-banner + .home-ticket-card {
    margin-top: 16px;
  }

  .home-ticket-card {
    border-radius: 8px;
    margin: 0 16px;
  }

  .ticket-card-overlay {
    padding: 12px 16px;
  }

  .ticket-card-info {
  }

  .ticket-card-title {
    font-size: 18px;
  }

  .ticket-card-sub {
    font-size: 13px;
  }

  .ticket-card-event {
    font-size: 12px;
  }

  .home-divider {
    margin: 0 16px 6px;
    font-size: 14px;
  }

  .home-plan-title {
    font-size: 15px;
    padding: 0 16px;
    margin-bottom: 12px;
  }

  .plan-card {
    border-radius: 8px;
    margin: 0 16px;
  }

  .plan-card-overlay {
    padding: 20px 16px 14px;
  }

  .plan-card-text {
    font-size: 14px;
  }

  .home-ads-section {
    margin-top: 20px;
    overflow-x: visible;
    padding: 0 16px;
  }

  .ads-header {
    margin-bottom: 10px;
  }

  .ads-title {
    font-size: 14px;
  }

  .ads-scroll {
    margin: 0 -8px;
    padding-bottom: 6px;
  }

  .ads-track {
    gap: 10px;
    padding: 4px 8px;
  }

  .ad-card {
    width: 200px;
    height: 120px;
    border-radius: 8px;
  }

  .ad-card-overlay span {
    font-size: 12px;
  }
}