/* ===== Custom Font ===== */
@font-face {
  font-family: 'HoYoFont';
  src: url('assets/hoyofont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  transition: background 0.6s, backdrop-filter 0.6s;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.85);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-text {
  font-family: 'HoYoFont', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.nav {
  display: flex;
  gap: 32px;
  position: relative;
  align-items: center;
  height: 100%;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

/* Sliding indicator */
.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), width 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  pointer-events: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Banner Section ===== */
.banner-section {
  position: relative;
  width: 100%;
  height: 680px;
  margin-top: 58px;
  overflow: hidden;
  background: #000;
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}

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

.banner-content {
  position: absolute;
  bottom: 100px;
  left: 60px;
  max-width: 500px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.banner-game-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.banner-game-name {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 8px;
}

.banner-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.banner-more-btn {
  display: inline-block;
  padding: 10px 36px;
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.banner-more-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: #fff;
}

/* Banner Indicators / Thumbnails */
.banner-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.banner-thumb {
  width: 72px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.3s;
}

.banner-thumb.active {
  border-color: #fff;
  opacity: 1;
  transform: scale(1.05);
}

.banner-thumb:hover {
  opacity: 0.9;
}

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

/* Banner arrows */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  backdrop-filter: blur(4px);
}

.banner-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
}

.banner-prev {
  left: 20px;
}

.banner-next {
  right: 20px;
}

/* Progress bar */
.banner-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.banner-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4a90d9, #7b68ee);
  width: 0%;
  transition: width 0.1s linear;
}

/* ===== News Section ===== */
.news-section {
  padding: 36px 0 48px;
  background: #fff;
}

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

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
}

.section-more-btn {
  display: inline-block;
  padding: 8px 24px;
  border: 1.5px solid #ddd;
  border-radius: 20px;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.section-more-btn:hover {
  border-color: #4a90d9;
  color: #4a90d9;
}

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

.news-card:nth-child(6) {
  grid-column: span 2;
  aspect-ratio: 3/2;
}

.news-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: block;
  aspect-ratio: 3/4;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.news-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.news-card:hover .news-image img {
  transform: scale(1.08);
}

.news-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, transparent 60%);
  pointer-events: none;
}

.news-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(74, 144, 217, 0.85);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  z-index: 1;
  backdrop-filter: blur(4px);
}

.news-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  z-index: 1;
}

.news-game {
  display: inline-block;
  font-size: 11px;
  color: #7cb8ff;
  font-weight: 600;
  margin-bottom: 6px;
}

.news-title {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ===== Products Section ===== */
.products-section {
  padding: 36px 0 48px;
  background: #f8f9fb;
}

.products-section .section-title {
  text-align: center;
  margin-bottom: 24px;
}

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

.product-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.product-card a {
  display: block;
}

.product-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: cover;
}

.product-details {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.product-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-more {
  flex-shrink: 0;
  display: inline-block;
  padding: 8px 24px;
  border: 1.5px solid #ddd;
  border-radius: 20px;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
}

.product-card:hover .product-more {
  border-color: #4a90d9;
  color: #4a90d9;
}

/* ===== Bottom Section (About/Careers) ===== */
.bottom-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0a0e27 0%, #0d1233 50%, #111845 100%);
  overflow: hidden;
}

/* ===== Star Parallax System ===== */
.star-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.star-scene {
  position: absolute;
  inset: 0;
}

.star-layer {
  position: absolute;
  inset: -50%;
  transition: transform 0.1s linear;
}

.star-layer-inner {
  position: absolute;
  inset: 0;
}

/* Deep background layer */
.star-bg-dark {
  background: radial-gradient(ellipse at 50% 50%, #131a4a 0%, #0a0e27 60%, #050714 100%);
}

/* Star field layers - using box-shadow for hundreds of stars */
.star-field {
  transform: scale(1.1);
}

.star-field-1 {
  background: transparent;
}

.star-field-1::before,
.star-field-1::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: #fff;
}

.star-field-1::before {
  width: 1px;
  height: 1px;
  box-shadow:
    15vw 8vh 0 0.5px rgba(255,255,255,0.6),
    25vw 15vh 0 0 rgba(200,220,255,0.5),
    35vw 5vh 0 0.5px rgba(255,255,255,0.7),
    45vw 25vh 0 0 rgba(180,200,255,0.4),
    55vw 12vh 0 0.5px rgba(255,255,255,0.6),
    65vw 30vh 0 0 rgba(220,220,255,0.5),
    75vw 8vh 0 0.5px rgba(255,255,255,0.5),
    85vw 20vh 0 0 rgba(200,210,255,0.4),
    10vw 40vh 0 0.5px rgba(255,255,255,0.6),
    20vw 55vh 0 0 rgba(180,200,255,0.5),
    30vw 45vh 0 0.5px rgba(255,255,255,0.4),
    40vw 60vh 0 0 rgba(220,230,255,0.6),
    50vw 50vh 0 0.5px rgba(255,255,255,0.5),
    60vw 42vh 0 0 rgba(200,200,255,0.4),
    70vw 58vh 0 0.5px rgba(255,255,255,0.7),
    80vw 48vh 0 0 rgba(180,210,255,0.5),
    90vw 55vh 0 0.5px rgba(255,255,255,0.4),
    5vw 70vh 0 0 rgba(220,220,255,0.6),
    15vw 80vh 0 0.5px rgba(255,255,255,0.5),
    25vw 75vh 0 0 rgba(200,200,255,0.4),
    35vw 85vh 0 0.5px rgba(255,255,255,0.6),
    45vw 70vh 0 0 rgba(180,200,255,0.5),
    55vw 78vh 0 0.5px rgba(255,255,255,0.4),
    65vw 82vh 0 0 rgba(220,230,255,0.7),
    75vw 72vh 0 0.5px rgba(255,255,255,0.5),
    85vw 88vh 0 0 rgba(200,210,255,0.4),
    92vw 35vh 0 0.5px rgba(255,255,255,0.6),
    3vw 22vh 0 0 rgba(180,200,255,0.5),
    48vw 90vh 0 0.5px rgba(255,255,255,0.5),
    72vw 95vh 0 0 rgba(220,220,255,0.4);
}

.star-field-1::after {
  width: 1px;
  height: 1px;
  box-shadow:
    12vw 12vh 0 0 rgba(255,255,255,0.3),
    22vw 28vh 0 0.5px rgba(200,220,255,0.4),
    32vw 18vh 0 0 rgba(255,255,255,0.5),
    42vw 35vh 0 0.5px rgba(180,200,255,0.3),
    52vw 22vh 0 0 rgba(255,255,255,0.4),
    62vw 38vh 0 0.5px rgba(220,220,255,0.5),
    72vw 15vh 0 0 rgba(255,255,255,0.3),
    82vw 32vh 0 0.5px rgba(200,210,255,0.4),
    8vw 48vh 0 0 rgba(255,255,255,0.5),
    18vw 62vh 0 0.5px rgba(180,200,255,0.3),
    28vw 52vh 0 0 rgba(255,255,255,0.4),
    38vw 68vh 0 0.5px rgba(220,230,255,0.5),
    58vw 65vh 0 0 rgba(255,255,255,0.3),
    68vw 52vh 0 0.5px rgba(200,200,255,0.4),
    78vw 62vh 0 0 rgba(255,255,255,0.5),
    88vw 58vh 0 0.5px rgba(180,210,255,0.3),
    95vw 72vh 0 0 rgba(255,255,255,0.4),
    5vw 85vh 0 0.5px rgba(220,220,255,0.5);
  animation: star-twinkle-1 6s ease-in-out infinite alternate;
}

.star-field-2 {
  background: transparent;
}

.star-field-2::before,
.star-field-2::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: #fff;
}

.star-field-2::before {
  width: 1.5px;
  height: 1.5px;
  box-shadow:
    8vw 10vh 0 0 rgba(150,180,255,0.6),
    18vw 22vh 0 0.5px rgba(120,160,255,0.7),
    28vw 8vh 0 0 rgba(180,200,255,0.5),
    38vw 30vh 0 0.5px rgba(140,170,255,0.6),
    48vw 15vh 0 0 rgba(160,190,255,0.7),
    58vw 28vh 0 0.5px rgba(130,160,255,0.5),
    68vw 5vh 0 0 rgba(170,200,255,0.6),
    78vw 22vh 0 0.5px rgba(150,180,255,0.7),
    88vw 30vh 0 0 rgba(140,170,255,0.5),
    12vw 45vh 0 0.5px rgba(160,190,255,0.6),
    22vw 58vh 0 0 rgba(130,160,255,0.7),
    32vw 42vh 0 0.5px rgba(170,200,255,0.5),
    42vw 55vh 0 0 rgba(150,180,255,0.6),
    52vw 48vh 0 0.5px rgba(140,170,255,0.7),
    62vw 60vh 0 0 rgba(160,190,255,0.5),
    72vw 45vh 0 0.5px rgba(130,160,255,0.6),
    82vw 52vh 0 0 rgba(170,200,255,0.7),
    92vw 48vh 0 0.5px rgba(150,180,255,0.5),
    5vw 72vh 0 0 rgba(140,170,255,0.6),
    15vw 85vh 0 0.5px rgba(160,190,255,0.7),
    25vw 78vh 0 0 rgba(130,160,255,0.5),
    45vw 75vh 0 0 rgba(150,180,255,0.6),
    55vw 82vh 0 0.5px rgba(170,200,255,0.7),
    65vw 70vh 0 0 rgba(140,170,255,0.5),
    75vw 88vh 0 0.5px rgba(160,190,255,0.6),
    85vw 75vh 0 0 rgba(130,160,255,0.7),
    95vw 85vh 0 0.5px rgba(150,180,255,0.5);
  animation: star-twinkle-2 8s ease-in-out infinite alternate;
}

.star-field-2::after {
  width: 1px;
  height: 1px;
  box-shadow:
    10vw 5vh 0 0 rgba(200,220,255,0.4),
    30vw 15vh 0 0 rgba(180,200,255,0.3),
    50vw 10vh 0 0 rgba(220,230,255,0.5),
    70vw 20vh 0 0 rgba(190,210,255,0.4),
    90vw 12vh 0 0 rgba(210,220,255,0.3),
    20vw 35vh 0 0 rgba(180,200,255,0.5),
    40vw 40vh 0 0 rgba(200,220,255,0.4),
    60vw 32vh 0 0 rgba(220,230,255,0.3),
    80vw 38vh 0 0 rgba(190,210,255,0.5),
    15vw 65vh 0 0 rgba(210,220,255,0.4),
    35vw 72vh 0 0 rgba(180,200,255,0.3),
    55vw 60vh 0 0 rgba(200,220,255,0.5),
    75vw 68vh 0 0 rgba(220,230,255,0.4),
    95vw 62vh 0 0 rgba(190,210,255,0.3),
    25vw 90vh 0 0 rgba(210,220,255,0.5),
    65vw 92vh 0 0 rgba(180,200,255,0.4);
  animation: star-twinkle-3 5s ease-in-out infinite alternate;
}

/* Individual bright stars with glow */
.star-scatter {
  background: transparent;
}

.star-scatter::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
}

.star-scatter-1::before {
  top: 20%;
  left: 15%;
  box-shadow: 0 0 6px 2px rgba(150,180,255,0.8), 0 0 20px 4px rgba(100,140,255,0.3);
  animation: star-pulse-1 3s ease-in-out infinite;
}

.star-scatter-2::before {
  top: 35%;
  left: 72%;
  box-shadow: 0 0 6px 2px rgba(180,200,255,0.8), 0 0 20px 4px rgba(120,160,255,0.3);
  animation: star-pulse-2 4s ease-in-out infinite;
}

.star-scatter-3::before {
  top: 55%;
  left: 38%;
  box-shadow: 0 0 8px 3px rgba(140,170,255,0.9), 0 0 24px 6px rgba(100,140,255,0.4);
  animation: star-pulse-3 3.5s ease-in-out infinite;
}

.star-scatter-4::before {
  top: 15%;
  left: 85%;
  box-shadow: 0 0 6px 2px rgba(170,200,255,0.8), 0 0 20px 4px rgba(130,160,255,0.3);
  animation: star-pulse-1 4.5s ease-in-out infinite;
}

.star-scatter-5::before {
  top: 70%;
  left: 55%;
  width: 4px;
  height: 4px;
  box-shadow: 0 0 10px 3px rgba(160,190,255,0.9), 0 0 30px 8px rgba(100,140,255,0.4);
  animation: star-pulse-2 3s ease-in-out infinite;
}

.star-scatter-6::before {
  top: 45%;
  left: 25%;
  width: 4px;
  height: 4px;
  box-shadow: 0 0 10px 3px rgba(140,180,255,0.9), 0 0 30px 8px rgba(110,150,255,0.4);
  animation: star-pulse-3 5s ease-in-out infinite;
}

/* Star scatter additional elements */
.star-scatter::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
}

.star-scatter-1::after {
  top: 65%;
  left: 45%;
  box-shadow: 0 0 4px 1px rgba(180,200,255,0.6);
  animation: star-pulse-2 5s ease-in-out infinite;
}

.star-scatter-2::after {
  top: 80%;
  left: 30%;
  box-shadow: 0 0 4px 1px rgba(150,180,255,0.6);
  animation: star-pulse-3 4s ease-in-out infinite;
}

.star-scatter-3::after {
  top: 25%;
  left: 60%;
  box-shadow: 0 0 5px 2px rgba(170,200,255,0.7);
  animation: star-pulse-1 3.5s ease-in-out infinite;
}

.star-scatter-4::after {
  top: 50%;
  left: 10%;
  box-shadow: 0 0 4px 1px rgba(140,170,255,0.6);
  animation: star-pulse-2 4.5s ease-in-out infinite;
}

.star-scatter-5::after {
  top: 30%;
  left: 78%;
  box-shadow: 0 0 5px 2px rgba(160,190,255,0.7);
  animation: star-pulse-3 3s ease-in-out infinite;
}

.star-scatter-6::after {
  top: 85%;
  left: 65%;
  box-shadow: 0 0 5px 2px rgba(130,160,255,0.7);
  animation: star-pulse-1 5s ease-in-out infinite;
}

/* Logo layer */
.star-logo-layer {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.12;
}

.star-logo-img {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: cover;
  filter: brightness(1.2) saturate(0.8);
}

/* Star animations */
@keyframes star-twinkle-1 {
  0% { opacity: 0.5; }
  50% { opacity: 0.8; }
  100% { opacity: 0.5; }
}

@keyframes star-twinkle-2 {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

@keyframes star-twinkle-3 {
  0% { opacity: 0.4; }
  50% { opacity: 0.9; }
  100% { opacity: 0.4; }
}

@keyframes star-pulse-1 {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes star-pulse-2 {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

@keyframes star-pulse-3 {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.bottom-section > .container {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
}

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

.bottom-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 36px;
  min-height: 200px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  color: #fff;
  transition: all 0.3s;
}

.bottom-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.bottom-card h2 {
  font-size: 28px;
  font-weight: 700;
}

.bottom-card-line {
  width: 32px;
  height: 3px;
  background: #4a90d9;
  border-radius: 2px;
  margin-top: 12px;
}

.bottom-card-arrow {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(74, 144, 217, 0.3);
  border: 1.5px solid rgba(74, 144, 217, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a90d9;
  transition: all 0.3s;
}

.bottom-card:hover .bottom-card-arrow {
  background: #4a90d9;
  color: #fff;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, #111845 0%, #0a0e27 100%);
  padding: 40px 0 30px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0.7;
}

.footer-logo-text {
  font-family: 'HoYoFont', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(135deg, rgba(74,144,217,0.7), rgba(123,104,238,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== Music Toggle Button ===== */
.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(74, 144, 217, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  animation: pulse-music 2s ease-in-out infinite;
}

.music-toggle:hover {
  background: rgba(74, 144, 217, 1);
  transform: scale(1.1);
}

.music-toggle.playing {
  animation: none;
  background: rgba(74, 144, 217, 0.85);
}

@keyframes pulse-music {
  0%, 100% { box-shadow: 0 4px 16px rgba(74, 144, 217, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(74, 144, 217, 0.6); }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .banner-section {
    height: 500px;
  }

  .banner-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

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

  .banner-section {
    height: 420px;
  }

  .banner-content {
    left: 24px;
    bottom: 80px;
    max-width: 320px;
  }

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

  .banner-thumb {
    width: 48px;
    height: 30px;
  }

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

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

  .bottom-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .banner-section {
    height: 360px;
  }

  .banner-content {
    left: 16px;
    bottom: 70px;
    max-width: 280px;
  }

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

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

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

  .footer-nav {
    gap: 16px;
  }
}
