:root {
  --blue-900: #0b1c3c;
  --blue-800: #122b5c;
  --blue-700: #1a3d82;
  --blue-600: #2255b0;
  --blue-500: #3474d4;
  --blue-400: #5b93e8;
  --blue-100: #e6efff;
  --blue-50: #f4f8ff;
  --text-main: #16233a;
  --text-sub: #5a6a85;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 30px rgba(18, 43, 92, 0.08);
  --shadow-hover: 0 16px 40px rgba(18, 43, 92, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background-color: var(--blue-50);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 85, 176, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue-800);
}

.brand img {
  height: 34px;
  width: auto;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--text-sub);
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  background: var(--blue-100);
  color: var(--blue-600);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(34, 85, 176, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(34, 85, 176, 0.4);
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 45%, var(--blue-600) 100%);
  color: var(--white);
  padding: 64px 20px 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 147, 232, 0.35) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(52, 116, 212, 0.3) 0%, transparent 70%);
  bottom: -120px;
  left: -80px;
  border-radius: 50%;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-text h1 span {
  background: linear-gradient(90deg, #8ec0ff, #d5e7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(230, 239, 255, 0.85);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(52, 116, 212, 0.45);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(52, 116, 212, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-gallery {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.gallery-ring {
  width: 320px;
  height: 380px;
  position: relative;
  transform-style: preserve-3d;
  animation: spinRing 24s linear infinite;
}

.gallery-item {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
  backface-visibility: hidden;
}

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

.gallery-item:nth-child(1) { transform: rotateY(0deg) translateZ(180px); }
.gallery-item:nth-child(2) { transform: rotateY(72deg) translateZ(180px); }
.gallery-item:nth-child(3) { transform: rotateY(144deg) translateZ(180px); }
.gallery-item:nth-child(4) { transform: rotateY(216deg) translateZ(180px); }
.gallery-item:nth-child(5) { transform: rotateY(288deg) translateZ(180px); }

@keyframes spinRing {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

/* Main Sections */
main {
  display: block;
}

.section {
  padding: 72px 20px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-800);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-sub);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto;
}

/* 今日更新 */
.update-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.update-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.update-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.update-card .thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--blue-100);
}

.update-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.update-card:hover .thumb img {
  transform: scale(1.05);
}

.update-card .info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.update-card .info h3 {
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 700;
}

.update-card .info p {
  font-size: 0.88rem;
  color: var(--text-sub);
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.tag {
  font-size: 0.75rem;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 3px 10px;
  border-radius: 999px;
}

/* 视频排行 */
.rank-section {
  background: linear-gradient(180deg, var(--blue-50) 0%, #ffffff 100%);
}

.rank-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.rank-feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--blue-800);
  aspect-ratio: 16 / 10;
}

.rank-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.rank-feature:hover img {
  transform: scale(1.04);
}

.rank-feature .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 28, 60, 0.9) 0%, rgba(11, 28, 60, 0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
}

.rank-feature .overlay h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.rank-feature .overlay p {
  font-size: 0.9rem;
  color: rgba(230, 239, 255, 0.85);
  max-width: 480px;
}

.rank-list {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.rank-list h3 {
  font-size: 1.2rem;
  color: var(--blue-800);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--blue-100);
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(34, 85, 176, 0.12);
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-num {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.rank-item:nth-child(2) .rank-num { background: #ffe9c9; color: #c47d15; }
.rank-item:nth-child(3) .rank-num { background: #e3e9f2; color: #5a6a85; }
.rank-item:nth-child(4) .rank-num { background: #ffe9c9; color: #c47d15; }

.rank-item .rank-info {
  flex: 1;
}

.rank-item .rank-info strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-main);
}

.rank-item .rank-info span {
  font-size: 0.82rem;
  color: var(--text-sub);
}

/* 视频专区 */
.video-section {
  background: var(--white);
}

.video-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s;
  aspect-ratio: 3 / 4;
  background: var(--blue-100);
}

.video-card:hover {
  transform: translateY(-6px);
}

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

.video-card .v-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(11, 28, 60, 0.92), rgba(11, 28, 60, 0));
  color: var(--white);
}

.video-card .v-info h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.video-card .v-info p {
  font-size: 0.78rem;
  color: rgba(230, 239, 255, 0.8);
}

.pill-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue-600);
  color: var(--white);
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* 明星八卦 */
.gossip-section {
  background: var(--blue-50);
}

.gossip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gossip-card {
  display: flex;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
}

.gossip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.gossip-card .g-thumb {
  width: 180px;
  flex-shrink: 0;
  overflow: hidden;
}

.gossip-card .g-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gossip-card .g-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.gossip-card .g-body h3 {
  font-size: 1.05rem;
  color: var(--text-main);
}

.gossip-card .g-body p {
  font-size: 0.88rem;
  color: var(--text-sub);
}

/* 卡片旋转展示 - 玩法板块 */
.flip-section {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  color: var(--white);
}

.flip-section .section-head h2 {
  color: var(--white);
}

.flip-section .section-head p {
  color: rgba(230, 239, 255, 0.75);
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.flip-card {
  perspective: 1000px;
  height: 260px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.flip-front {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.flip-front .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.flip-front h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.flip-front p {
  font-size: 0.85rem;
  color: rgba(230, 239, 255, 0.8);
}

.flip-back {
  background: var(--white);
  color: var(--text-main);
  transform: rotateY(180deg);
}

.flip-back h3 {
  color: var(--blue-800);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.flip-back p {
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* FAQ */
.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--blue-50);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border-left: 4px solid var(--blue-500);
}

.faq-item h3 {
  font-size: 1.02rem;
  color: var(--blue-800);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--text-sub);
}

/* 下载 */
.download-section {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
}

.download-section h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.download-section p {
  color: rgba(230, 239, 255, 0.8);
  margin-bottom: 36px;
  font-size: 1rem;
}

.download-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--blue-800);
  font-weight: 700;
  font-size: 1.02rem;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.dl-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.dl-btn .dl-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--blue-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Footer */
.site-footer {
  background: var(--blue-900);
  color: rgba(230, 239, 255, 0.65);
  padding: 48px 20px 28px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand img {
  height: 30px;
  border-radius: 6px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.8;
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(230, 239, 255, 0.65);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.search-keywords {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-keywords h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-tags a {
  font-size: 0.82rem;
  color: rgba(230, 239, 255, 0.6);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s;
}

.keyword-tags a:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(230, 239, 255, 0.45);
}

.footer-bottom time {
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1023px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-gallery {
    min-height: 360px;
  }

  .gallery-ring {
    width: 260px;
    height: 320px;
  }

  .gallery-item:nth-child(1) { transform: rotateY(0deg) translateZ(150px); }
  .gallery-item:nth-child(2) { transform: rotateY(72deg) translateZ(150px); }
  .gallery-item:nth-child(3) { transform: rotateY(144deg) translateZ(150px); }
  .gallery-item:nth-child(4) { transform: rotateY(216deg) translateZ(150px); }
  .gallery-item:nth-child(5) { transform: rotateY(288deg) translateZ(150px); }

  .rank-layout {
    grid-template-columns: 1fr;
  }

  .flip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 767px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .header-cta {
    padding: 7px 16px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 44px 16px 60px;
  }

  .hero-text h1 {
    font-size: 1.7rem;
  }

  .section {
    padding: 52px 16px;
  }

  .section-head h2 {
    font-size: 1.5rem;
  }

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

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

  .video-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .gossip-card {
    flex-direction: column;
  }

  .gossip-card .g-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .download-btns {
    flex-direction: column;
    align-items: center;
  }

  .dl-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}