/* Modern Premium Template - Glassmorphism & Gradients */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Floating Navigation */
.floating-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 1400px;
}

.nav-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  /* width: 40px; */
  height: 40px;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 280px;
}

.nav-search .iconfont {
  position: absolute;
  left: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  pointer-events: none;
}

.nav-search input {
  width: 100%;
  padding: 10px 14px 10px 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.nav-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.nav-search input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Spotlight */
.hero-spotlight {
  position: relative;
  height: 500px;
  margin-top: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotlight-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.spotlight-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 12, 41, 0.3), rgba(15, 12, 41, 0.9));
}

.spotlight-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.spotlight-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.spotlight-title {
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.spotlight-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
}

.spotlight-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.spotlight-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border-radius: 16px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.spotlight-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.spotlight-btn .iconfont {
  font-size: 18px;
}

.spotlight-info {
  display: flex;
  gap: 32px;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.info-value {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
}

.info-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Category Switcher */
.category-switcher {
  position: sticky;
  top: 80px;
  z-index: 999;
  padding: 16px 0;
  background: rgba(15, 12, 41, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.switcher-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.switcher-item {
  padding: 10px 24px;
  border-radius: 20px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.switcher-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.switcher-item.active {
  color: #ffffff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Showcase Main */
.showcase-main {
  position: relative;
  z-index: 1;
  padding: 30px 24px;
}

.showcase-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.showcase-section {
  margin-bottom: 40px;
}

.showcase-section:last-child {
  margin-bottom: 0;
}

.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.section-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.section-link:hover {
  color: #ffffff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  grid-auto-flow: dense;
}

/* Showcase Card - Compact Design */
.showcase-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  transform-origin: center;
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

/* Featured 卡片特殊布局 - 横向布局 */
.showcase-card.featured {
  grid-column: span 2;
  flex-direction: row;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 36px rgba(102, 126, 234, 0.4);
}

/* 确保特色卡片不会造成空白 */
.showcase-card:not(.featured) {
  grid-column: span 1;
}

.card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
  flex-shrink: 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-card:hover .card-image img {
  transform: scale(1.1);
}

/* Featured 卡片图片 - 固定宽度 */
.showcase-card.featured .card-image {
  width: 120px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.showcase-card:hover .card-overlay {
  opacity: 1;
}

.play-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.play-icon .iconfont {
  font-size: 28px;
  color: #ffffff;
  margin-left: 3px;
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.showcase-card.featured .card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.card-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-card.featured .card-title {
  font-size: 16px;
  margin-bottom: 8px;
  -webkit-line-clamp: 1;
}

.card-desc {
  display: none;
}

.showcase-card.featured .card-desc {
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  gap: 10px;
  font-size: 12px;
  margin-top: auto;
  align-items: center;
}

.showcase-card.featured .card-footer {
  margin-top: 6px;
}

.card-rating {
  color: #ffd700;
  font-weight: 700;
}

.card-plays {
  color: rgba(255, 255, 255, 0.6);
}

/* Ad Banner */
.ad-banner-top {
  position: relative;
  z-index: 100;
  padding: 0 24px 20px;
  margin: -50px 0 20px 0;
}

.ad-banner-middle {
  position: relative;
  z-index: 1;
  padding: 0 24px 20px;
  margin: 30px 0;
}

.ad-banner-container {
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding-bottom: 24px;
}

.ad-label {
  position: absolute;
  bottom: 4px;
  right: 12px;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  white-space: nowrap;
}

.ad-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 90px;
  width: 100%;
}

.ad-banner-placeholder {
  width: 100%;
  max-width: 728px;
  height: 90px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  font-weight: 600;
}

/* Footer */
.modern-footer {
  position: relative;
  z-index: 1;
  background: rgba(15, 12, 41, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 24px 32px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-title {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.footer-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.footer-head {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: rgba(15, 12, 41, 0.95);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-title {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
}

.drawer-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-link {
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.drawer-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.drawer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-links,
  .nav-search {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .showcase-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    grid-auto-flow: dense;
  }

  .showcase-card.featured {
    grid-column: span 2;
    flex-direction: row;
  }

  .showcase-card.featured .card-image {
    width: 100px;
  }

  .showcase-card:not(.featured) {
    grid-column: span 1;
  }

  .ad-banner-top {
    padding: 0 20px 16px;
  }

  .ad-banner-middle {
    padding: 0 20px 16px;
    margin: 40px 0;
  }

  .ad-banner-content {
    padding: 16px;
    min-height: 60px;
  }

  .ad-banner-placeholder {
    height: 60px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .floating-nav {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-container {
    padding: 10px 16px;
  }

  .hero-spotlight {
    height: 400px;
    margin-top: 80px;
  }

  .category-switcher {
    top: 70px;
    padding: 16px 0;
    margin-bottom: 10px;
  }
  
  .ad-banner-top {
    padding: 0 16px 12px;
    margin-top: -30px;
    position: relative;
    z-index: 100;
  }

  .showcase-main {
    padding: 30px 20px;
  }

  .showcase-section {
    margin-bottom: 50px;
  }

  .section-title {
    font-size: 28px;
  }

  .showcase-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    grid-auto-flow: dense;
  }

  .showcase-card.featured {
    grid-column: span 2;
    flex-direction: row;
  }

  .showcase-card.featured .card-image {
    width: 90px;
  }

  .showcase-card:not(.featured) {
    grid-column: span 1;
  }

  .ad-banner-middle {
    padding: 0 16px 12px;
    margin: 30px 0;
    position: relative;
    z-index: 100;
  }

  .ad-banner-content {
    padding: 12px;
    min-height: 50px;
  }

  .ad-banner-placeholder {
    height: 50px;
    font-size: 12px;
  }

  .card-body {
    padding: 20px;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    grid-auto-flow: dense;
  }

  .showcase-card.featured {
    grid-column: span 2;
    flex-direction: column;
  }

  .showcase-card.featured .card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .showcase-card:not(.featured) {
    grid-column: span 1;
  }

  .ad-banner-top {
    padding: 0 12px 10px;
    margin-top: -20px;
    position: relative;
    z-index: 100;
  }

  .ad-banner-middle {
    padding: 0 12px 10px;
    margin: 24px 0;
    position: relative;
    z-index: 100;
  }

  .ad-banner-content {
    padding: 10px;
    min-height: 50px;
  }

  .ad-banner-placeholder {
    height: 50px;
    font-size: 11px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-desc {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* App Layout - Sidebar Layout (Detail, About pages) */
.app-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 0;
}

.sidebar-left {
  width: 280px;
  background: rgba(15, 12, 41, 0.8);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-content {
  padding: 24px;
}

.sidebar-logo {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
  display: block;
  margin-bottom: 32px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.sidebar-nav-item .iconfont {
  font-size: 18px;
}

.sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 24px 0;
}

.sidebar-categories {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-cat-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.sidebar-cat-item {
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: all 0.2s ease;
}

.sidebar-cat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.main-area {
  flex: 1;
  margin-left: 280px;
  min-height: 100vh;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(15, 12, 41, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateX(-2px);
}

.back-btn .iconfont {
  font-size: 20px;
}

.top-search {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.top-search .iconfont {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  pointer-events: none;
}

.top-search-input {
  width: 100%;
  padding: 12px 16px 12px 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
  transition: all 0.2s ease;
}

.top-search-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.top-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 100;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.mobile-menu-btn:active {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(0.95);
}

.mobile-menu-btn .iconfont {
  pointer-events: none;
}

.content-area {
  padding: 32px 24px;
}

/* Game World Layout (Contact, FAQ, Privacy, Terms pages) */
.game-world {
  min-height: 100vh;
  padding-top: 0;
}

.world-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 12, 41, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
}

.header-box {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.world-logo {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  text-decoration: none;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-search {
  display: flex;
  gap: 8px;
}

.mini-input {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
  width: 200px;
  transition: all 0.2s ease;
}

.mini-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.mini-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.mini-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mini-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-burger:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.category-strip {
  background: rgba(15, 12, 41, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  position: sticky;
  top: 60px;
  z-index: 999;
}

.strip-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.strip-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.strip-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.strip-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.strip-pill.current {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.strip-pill span,
.strip-pill .iconfont {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
}

.strip-pill .iconfont {
  margin-right: 4px;
}

.layout-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.main-stack {
  display: contents;
}

.game-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
}

.section-top {
  margin-bottom: 24px;
}

.top-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-name {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.section-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Footer Styles for Game World Layout */
.world-footer {
  background: rgba(15, 12, 41, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 24px 32px;
  margin-top: 60px;
}

.footer-box {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-part {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.part-title {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
}

.part-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.part-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-item {
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.social-item:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.part-heading {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.part-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.part-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.part-list a:hover {
  color: #ffffff;
}

.footer-end {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile Nav for Game World Layout */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: rgba(15, 12, 41, 0.95);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav.active {
  right: 0;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-title {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
}

.nav-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1;
}

.nav-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-option {
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Related Games Styles */
.games-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.game-card-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-card-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.3);
}

.game-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.game-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card-item:hover .game-card-image img {
  transform: scale(1.1);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 126, 234, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card-item:hover .game-card-overlay {
  opacity: 1;
}

.game-card-overlay .iconfont {
  font-size: 48px;
  color: #ffffff;
}

.game-card-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.game-card-content {
  padding: 12px;
}

.game-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  align-items: center;
}

.meta-rating {
  color: #ffd700;
  font-weight: 700;
}

.meta-players {
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive for App Layout */
@media (max-width: 1024px) {
  .sidebar-left {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    /* 确保在移动端始终隐藏，即使有 active 类 */
    display: none;
  }

  .main-area {
    margin-left: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .top-bar {
    padding: 12px 16px;
  }

  .top-search {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 10px 16px;
  }

  .back-btn {
    width: 36px;
    height: 36px;
  }

  .back-btn .iconfont {
    font-size: 18px;
  }

  .top-search {
    max-width: none;
    flex: 1;
  }

  .top-search-input {
    padding: 10px 14px 10px 44px;
    font-size: 14px;
  }

  .top-search .iconfont {
    left: 14px;
    font-size: 16px;
  }

  .mobile-menu-btn {
    padding: 8px 12px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 8px 12px;
  }

  .back-btn {
    width: 32px;
    height: 32px;
  }

  .back-btn .iconfont {
    font-size: 16px;
  }

  .top-search-input {
    padding: 8px 12px 8px 40px;
    font-size: 13px;
  }

  .top-search .iconfont {
    left: 12px;
    font-size: 14px;
  }

  .mobile-menu-btn {
    padding: 6px 10px;
    font-size: 16px;
    min-width: 40px;
  }
}

/* Responsive for Game World Layout */
@media (max-width: 768px) {
  .header-controls {
    gap: 8px;
  }

  .mini-input {
    width: 150px;
  }

  .nav-burger {
    display: block;
  }

  .category-strip {
    top: 56px;
  }

  .layout-shell {
    padding: 24px 16px;
  }

  .game-section {
    padding: 24px;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .mini-input {
    display: none;
  }

  .mini-btn {
    display: none;
  }

  .category-strip {
    padding: 8px 16px;
  }

  .strip-pills {
    gap: 6px;
  }

  .strip-pill {
    padding: 6px 12px;
    font-size: 12px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

/* Detail Page Styles */
.detail-page {
  max-width: 1200px;
  margin: 0 auto;
}

.detail-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.detail-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
}

.detail-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-title {
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 900;
  color: #e5e7eb;
  line-height: 1.2;
  margin: 0;
}

.detail-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-meta-chip {
  padding: 8px 16px;
  background: rgba(96, 165, 250, 0.15);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.detail-meta-chip-link {
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.detail-meta-chip-link:hover {
  background: rgba(96, 165, 250, 0.25);
  border-color: rgba(96, 165, 250, 0.5);
  color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.detail-description {
  font-size: 16px;
  line-height: 1.7;
  color: #9ca3af;
}

.detail-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

.detail-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(96, 165, 250, 0.4);
}

.detail-play-btn .iconfont {
  font-size: 20px;
}

.detail-content {
  margin-bottom: 48px;
}

.content-section {
  margin-bottom: 32px;
}

.section-heading {
  font-size: 22px;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 16px;
}

.related-games {
  margin-top: 48px;
}

/* Main Footer Styles (for app-layout pages) */
.main-footer {
  background: rgba(15, 12, 41, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 24px 32px;
  margin-top: 60px;
}

.footer-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-heading {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-description {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.footer-subheading {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.main-footer .footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile Overlay (for app-layout pages) */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Sidebar Styles (for app-layout pages) */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: rgba(15, 12, 41, 0.95);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.active {
  right: 0;
}

@media (max-width: 480px) {
  .mobile-sidebar {
    width: 280px;
    max-width: 90vw;
  }

  .mobile-sidebar-header {
    padding: 20px;
  }

  .mobile-sidebar-body {
    padding: 20px;
  }

  .mobile-sidebar-item {
    padding: 12px 16px;
    font-size: 15px;
  }
}

.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sidebar-title {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
}

.mobile-sidebar-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-sidebar-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.mobile-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-sidebar-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.mobile-sidebar-item .iconfont {
  font-size: 18px;
}

.mobile-sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 12px 0;
}

/* Info Page Styles (About, etc.) */
.info-page {
  max-width: 900px;
  margin: 0 auto;
}

.info-header {
  margin-bottom: 32px;
}

.info-title {
  font-size: clamp(36px, 5vw, 42px);
  font-weight: 900;
  color: #e5e7eb;
  margin-bottom: 12px;
  line-height: 1.2;
}

.info-description {
  font-size: 17px;
  line-height: 1.7;
  color: #9ca3af;
}

.info-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
}

.info-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #9ca3af;
  margin-bottom: 16px;
}

.info-content p:last-child {
  margin-bottom: 0;
}

/* Info Content Text Styles (for privacy, faq, termly, contact pages) */
.info-content-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.info-content-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.info-content-text strong {
  color: #ffffff;
  font-weight: 600;
}

.info-content-text code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #60a5fa;
}

.info-content-text .faq-item {
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-content-text .faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.info-content-text .faq-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Form Styles for Contact Page */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  align-self: flex-start;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(96, 165, 250, 0.4);
}

.form-submit:active {
  transform: translateY(0);
}

/* Strip Pills Icon Styles */
.strip-pill .iconfont {
  font-size: 16px;
  margin-right: 6px;
  vertical-align: middle;
}

/* Ad Banner Styles for Detail and Search Pages */
.main-area .ad-banner-top {
  margin: 0 24px 20px;
  padding: 0;
}

.site-container .ad-banner-top {
  margin: 100px 24px 0;
  padding: 0 0 20px 0;
}

@media (max-width: 768px) {
  .main-area .ad-banner-top {
    margin: 0 16px 16px;
  }

  .site-container .ad-banner-top {
    margin: 80px 16px 0;
    padding: 0 0 16px 0;
  }
}

@media (max-width: 480px) {
  .main-area .ad-banner-top {
    margin: 0 12px 12px;
  }

  .site-container .ad-banner-top {
    margin: 70px 12px 0;
    padding: 0 0 12px 0;
  }
}

/* Responsive for Detail Page */
@media (max-width: 1024px) {
  .content-area {
    padding: 24px 16px;
  }

  .detail-page {
    max-width: 100%;
  }

  .detail-header {
    gap: 24px;
    margin-bottom: 32px;
  }

  .detail-title {
    font-size: clamp(28px, 6vw, 36px);
  }

  .detail-description {
    font-size: 15px;
  }

  .detail-play-btn {
    padding: 14px 28px;
    font-size: 15px;
  }

  .games-list {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .content-area {
    padding: 20px 16px;
  }

  .detail-header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 28px;
  }

  .detail-image-wrapper {
    aspect-ratio: 16 / 9;
  }

  .detail-info {
    gap: 16px;
  }

  .detail-title {
    font-size: clamp(24px, 7vw, 32px);
  }

  .detail-meta-list {
    gap: 8px;
  }

  .detail-meta-chip {
    padding: 6px 12px;
    font-size: 13px;
  }

  .detail-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .detail-play-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    justify-content: center;
  }

  .detail-content {
    margin-bottom: 32px;
  }

  .content-section {
    margin-bottom: 24px;
  }

  .section-heading {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .related-games {
    margin-top: 32px;
  }

  .games-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 20px;
  }

  .game-card-item {
    border-radius: 10px;
  }

  .game-card-title {
    font-size: 14px;
  }

  .game-card-meta {
    font-size: 12px;
  }

  .main-footer {
    padding: 40px 16px 24px;
    margin-top: 40px;
  }

  .footer-sections {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 32px;
  }

  .footer-heading {
    font-size: 18px;
  }

  .footer-subheading {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .content-area {
    padding: 16px 12px;
  }

  .detail-header {
    gap: 16px;
    margin-bottom: 24px;
  }

  .detail-title {
    font-size: 22px;
  }

  .detail-meta-chip {
    padding: 5px 10px;
    font-size: 12px;
  }

  .detail-description {
    font-size: 13px;
    line-height: 1.6;
  }

  .detail-play-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .detail-content {
    margin-bottom: 24px;
  }

  .content-section {
    margin-bottom: 20px;
  }

  .section-heading {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .related-games {
    margin-top: 24px;
  }

  .games-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
  }

  .game-card-image {
    aspect-ratio: 4 / 3;
  }

  .game-card-title {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .game-card-meta {
    font-size: 11px;
    gap: 6px;
  }

  .main-footer {
    padding: 32px 12px 20px;
    margin-top: 32px;
  }

  .footer-sections {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-heading {
    font-size: 16px;
  }

  .footer-subheading {
    font-size: 14px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .main-footer .footer-bottom {
    padding-top: 24px;
    font-size: 12px;
  }
}
