:root {
    --bg-dark: #0f1115;
    --bg-card: #1a1d24;
    --text-main: #ffffff;
    --text-secondary: rgba(255,255,255,0.7);
    --accent-blue: #635BFF;
  }
  
  /* åŸºç¡€æ ·å¼ */
  body {
    margin: 0;
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: system-ui, -apple-system, sans-serif;
    padding-top: 60px;
  }
  
  /* æ–°çš„å¯¼èˆªæ æ ·å¼ */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    height: 60px;
  }
  
  .header.nav-hidden {
    transform: translateY(-100%);
  }
  
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 100%;
  }
  
  .nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-main);
    transition: opacity 0.2s;
    flex-shrink: 0;
  }
  
  .nav-logo:hover {
    opacity: 0.9;
  }
  
  .nav-logo img {
    width: 32px;
    height: 32px;
  }
  
  .nav-logo span {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
  }
  
  .nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 2rem;
  }
  
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
  }
  
  .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.2s ease;
  }
  
  .nav-menu a:hover,
  .nav-menu a.active {
    color: var(--text-main);
  }
  
  .nav-menu a:hover::after,
  .nav-menu a.active::after {
    width: 100%;
  }
  
  .nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
  }
  
  .lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .globe-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
  }
  
  .lang-select {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0 0.3rem;
  }
  
  .lang-select:focus {
    outline: none;
  }
  
  .lang-select option {
    background: var(--bg-dark);
    color: var(--text-main);
  }
  
  /* ç§»åŠ¨ç«¯æ ·å¼ */
  @media (max-width: 768px) {
    .nav-container {
      padding: 0 1rem;
    }
  
    .nav-center {
      margin: 0;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE and Edge */
      padding: 0 1rem;
    }
    
    .nav-center::-webkit-scrollbar {
      display: none; /* Chrome, Safari, Opera */
    }
  
    .nav-menu {
      gap: 1.2rem;
      padding: 0;
      width: max-content; /* ç¡®ä¿èœå•é¡¹ä¸ä¼šæ¢è¡Œ */
    }
  
    .nav-menu a {
      font-size: 0.9rem;
      padding: 0.8rem 0;
    }
  
    .nav-right {
      margin-left: 1rem;
    }
  
    .lang-switch {
      padding: 0.2rem;
    }
  
    .lang-select {
      font-size: 0.85rem;
      max-width: 70px;
    }
  }
  
  @media (max-width: 480px) {
    .nav-logo span {
      display: none;
    }
  
    .nav-menu {
      gap: 1rem;
    }
  
    .nav-menu a {
      font-size: 0.85rem;
      padding: 0.6rem 0;
    }
  
    .globe-icon {
      width: 18px;
      height: 18px;
    }
  
    .lang-select {
      max-width: 60px;
      font-size: 0.8rem;
    }
  }
  
  /* æ¸¸æˆå¸ƒå±€ */
  .game-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 1rem;
    padding: 1rem;
    max-width: 1800px;
    margin: 0 auto;
  }
  
  /* æ¸¸æˆè¯¦æƒ…éƒ¨åˆ† */
  .game-details {
    max-width: 1600px;
    margin: 1rem auto;
    padding: 0 1rem;
    display: none;  /* ç”µè„‘ç«¯é»˜è®¤éšè— */
  }
  
  .share-container {
    margin-bottom: 1rem;
  }
  
  .game-list-mobile {
    display: none;  /* ç”µè„‘ç«¯éšè—ç§»åŠ¨ç«¯åˆ—è¡¨ */
  }
  
  .game-intro-container {
    margin-top: 1rem;
  }
  
  /* å·¦ä¾§æ¸¸æˆåˆ—è¡¨ */
  .game-list-left {
    display: none;
  }
  
  .game-main {
    background: var(--bg-card);
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
  }
  
  .game-container {
    position: relative;
    height: 600px;
    min-height: 0;
    background: #000;
  }
  
  .game-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  /* å³ä¾§æ¸¸æˆåˆ—è¡¨ */
  .game-list-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    align-content: start;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
    padding-right: 0.5rem;
    
    /* è‡ªå®šä¹‰æ»šåŠ¨æ¡æ ·å¼ */
    &::-webkit-scrollbar {
      width: 6px;
    }
    
    &::-webkit-scrollbar-track {
      background: var(--bg-dark);
    }
    
    &::-webkit-scrollbar-thumb {
      background: var(--accent-blue);
      border-radius: 3px;
    }
  }
  
  /* å³ä¾§æ¸¸æˆåˆ—è¡¨ï¿½ï¿½ï¿½å¼ç‰¹æ®Šå¤„ç† */
  .game-list-right .game-card {
    aspect-ratio: 1;
    height: 140px;
  }
  
  .game-list-right .game-card img {
    height: calc(100% - 24px);
  }
  
  .game-list-right .game-card h3 {
    font-size: 0.8rem;
    padding: 0.25rem;
  }
  
  /* æ¸¸æˆå¡ç‰‡ */
  .game-card {
    background: var(--bg-card);
    border-radius: 0.5rem;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-main);
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;  /* ä¿æŒæ–¹å½¢ */
  }
  
  .game-card img {
    width: 100%;
    height: calc(100% - 32px);  /* ç•™å‡ºç©ºé—´ç»™æ ‡é¢˜ */
    object-fit: cover;
  }
  
  .game-card h3 {
    margin: 0;
    padding: 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }
  
  .game-card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s;
  }
  
  /* å…¨å±æŒ‰é’® */
  .fullscreen-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  /* åˆ†äº«æŒ‰é’®æ ·å¼ */
  .share-buttons {
    margin: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-dark);
    border-radius: 0.5rem;
    box-sizing: border-box;
    flex-wrap: wrap;
  }
  
  .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border: none;
    border-radius: 0.5rem;
    background: #1a1d24;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    min-width: 90px;
    max-width: 120px;
    justify-content: center;
  }
  
  .share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
  }
  
  .share-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .share-btn span {
    font-size: 0.85rem;
    font-weight: 500;
  }
  
  .share-btn.twitter:hover { background: #1DA1F2; }
  .share-btn.facebook:hover { background: #4267B2; }
  .share-btn.reddit:hover { background: #FF4500; }
  .share-btn.telegram:hover { background: #0088cc; }
  .share-btn.whatsapp:hover { background: #25D366; }
  .share-btn.linkedin:hover { background: #0077b5; }
  .share-btn.email:hover { background: #EA4335; }
  
  /* æ¸¸æˆä»‹ç»ç»„ä»¶ */
  .game-intro {
    background: var(--bg-card);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .intro-content h2 {
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    color: var(--text-main);
  }
  
  .intro-text {
    color: var(--text-secondary);
    line-height: 1.6;
  }
  
  /* é¡µè„šæ ·å¼ */
  .footer {
    background: var(--bg-card);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
  
  .footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    padding: 0.25rem 0;
  }
  
  .footer-links a:hover {
    color: var(--text-main);
  }
  
  .footer-links .divider {
    color: rgba(255, 255, 255, 0.2);
  }
  
  .footer-disclaimer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0 1rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .footer-copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.8;
  }
  
  /* å“åº”å¼å¸ƒå±€ */
  @media (max-width: 1400px) {
    .game-layout {
      grid-template-columns: 1fr 350px;
    }
  }
  
  @media (max-width: 1200px) {
    .game-layout {
      grid-template-columns: 1fr 300px;
    }
  }
  
  @media (max-width: 768px) {
    .nav-container {
      flex-direction: column;
    }
    
    .nav-left {
      flex-direction: column;
      gap: 1rem;
      width: 100%;
    }
    
    .nav-menu {
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
      width: 100%;
    }
    
    .game-layout {
      grid-template-columns: 1fr;
      padding-top: 1rem;
    }
    
    .game-main {
      height: auto;
      min-height: auto;
    }
    
    .game-container {
      aspect-ratio: 16/9;
      height: auto;
    }
    
    .game-list-right {
      display: none;  /* ç§»åŠ¨ç«¯éšè—å³ä¾§åˆ—è¡¨ */
    }
    
    .game-details {
      display: block;  /* ç§»åŠ¨ç«¯æ˜¾ç¤ºæ¸¸æˆè¯¦æƒ… */
    }
    
    .game-list-mobile {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.5rem;
      margin: 1rem 0;
    }
    
    .mobile-extra-games {
      display: block;
    }
    
    .share-buttons {
      padding: 0.5rem;
      margin: 0.5rem;
      gap: 0.35rem;
    }
    
    .share-btn {
      min-width: auto;
      max-width: none;
      padding: 0.5rem;
      aspect-ratio: 1;
      flex: 0 0 auto;
    }
    
    .share-btn svg {
      width: 20px;
      height: 20px;
    }
    
    .share-btn span {
      display: none;
    }
    
    .game-intro-container {
      margin-top: 0;
    }
  }
  
  @media (max-width: 480px) {
    .game-list-mobile {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-extra-games .game-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* æ¸¸æˆå±•ç¤ºç»„ä»¶æ ·å¼ */
  .game-showcase {
      width: 100%;
      max-width: 1200px;
      /* padding: 20px; */
      margin: 0 auto;
      box-sizing: border-box;
  }
  
  .showcase-title {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 16px;
      color: var(--text-main);
      padding: 0 10px;
  }
  
  .showcase-grid {
      display: grid;
      gap: 16px;
      width: 100%;
  }
  
  /* ç”µè„‘ç«¯ç½‘æ ¼å¸ƒå±€ */
  @media (min-width: 1024px) {
      .showcase-grid {
          grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
          padding: 0 10px;
      }
  }
  
  /* ç§»åŠ¨ç«¯ç½‘æ ¼å¸ƒå±€ */
  @media (max-width: 1023px) {
      .game-showcase {
          padding: 15px;
      }
      .showcase-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: 12px;
      }
  }
  
  .showcase-card {
      position: relative;
      background: var(--bg-card);
      border-radius: 8px;
      overflow: hidden;
      transition: transform 0.3s ease;
      text-decoration: none;
      display: flex;
      flex-direction: column;
  }
  
  .showcase-card:hover {
      transform: translateY(-3px);
  }
  
  .card-image {
      width: 100%;
      aspect-ratio: 16/9;
      overflow: hidden;
  }
  
  .card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
  }
  
  .showcase-card:hover .card-image img {
      transform: scale(1.05);
  }
  
  .card-content {
      padding: 10px;
      flex: 1;
  }
  
  .card-title {
      font-size: 14px;
      font-weight: 500;
      margin: 0;
      color: var(--text-main);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
  }
  
  .card-desc {
      font-size: 12px;
      color: var(--text-secondary);
      margin: 4px 0 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      line-height: 1.3;
  }
  
  .card-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-top: 6px;
  }
  
  .card-tags .tag {
      font-size: 11px;
      padding: 2px 6px;
      border-radius: 4px;
      background: var(--bg-dark);
      color: var(--text-secondary);
  }
  
  /* ç§»åŠ¨ç«¯æ¸¸æˆæŽ¨èæ ·å¼ */
  .mobile-game-section {
      display: none;
      margin: 1rem 0;
      padding: 0 1rem;
  }
  
  @media (max-width: 768px) {
      .mobile-game-section {
          display: block;
      }
      
      .showcase-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: 12px;
      }
      
      .showcase-title {
          font-size: 18px;
          margin-bottom: 12px;
      }
      
      .card-image {
          aspect-ratio: 1;
      }
      
      .card-title {
          font-size: 13px;
          text-align: center;
      }
  }
  
  @media (max-width: 480px) {
      .mobile-game-section {
          padding: 0 0.5rem;
      }
      
      .showcase-grid {
          gap: 8px;
      }
      
      .showcase-title {
          font-size: 16px;
          margin-bottom: 10px;
      }
  }
  
  /* PCç«¯æ¸¸æˆæŽ¨èåŒºåŸŸæ ·å¼ */
  .pc-game-section {
      max-width: 1600px;
      /* margin: 40px auto; */
      padding: 0 20px;
  }
  
  .pc-game-section .game-recommendations {
      margin-bottom: 40px;
  }
  
  .pc-game-section .showcase-grid {
      display: grid;
      grid-template-columns: repeat(8, 1fr);
      gap: 12px;
      margin-top: 15px;
  }
  
  .pc-game-section .showcase-title {
      font-size: 20px;
      color: var(--text-main);
      margin-bottom: 15px;
      padding-left: 10px;
      border-left: 4px solid var(--accent-blue);
  }
  
  .pc-game-section .showcase-card {
      background: var(--bg-card);
      border-radius: 8px;
      overflow: hidden;
      transition: all 0.3s ease;
      aspect-ratio: 1;
  }
  
  .pc-game-section .showcase-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }
  
  .pc-game-section .card-image {
      width: 100%;
      height: calc(100% - 24px);
      position: relative;
      overflow: hidden;
  }
  
  .pc-game-section .card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
  }
  
  .pc-game-section .showcase-card:hover .card-image img {
      transform: scale(1.1);
  }
  
  .pc-game-section .card-content {
      height: 24px;
      padding: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--bg-card);
  }
  
  .pc-game-section .card-title {
      font-size: 12px;
      color: var(--text-main);
      margin: 0;
      text-align: center;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      width: 100%;
      padding: 0 4px;
  }
  
  /* å“åº”å¼å¸ƒå±€è°ƒæ•´ */
  @media (max-width: 1600px) {
      .pc-game-section {
          max-width: 1400px;
      }
      .pc-game-section .showcase-grid {
          grid-template-columns: repeat(8, 1fr);
      }
  }
  
  @media (max-width: 1400px) {
      .pc-game-section .showcase-grid {
          grid-template-columns: repeat(7, 1fr);
      }
  }
  
  @media (max-width: 1200px) {
      .pc-game-section .showcase-grid {
          grid-template-columns: repeat(6, 1fr);
      }
  }
  
  @media (max-width: 992px) {
      .pc-game-section .showcase-grid {
          grid-template-columns: repeat(5, 1fr);
      }
  }
  
  @media (max-width: 768px) {
      .pc-game-section {
          display: none;
      }
  }
  
  .language-links {
      text-align: center;
      margin: 20px 0;
      padding: 10px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .language-links a {
      color: #999;
      text-decoration: none;
      padding: 5px 10px;
      transition: color 0.3s ease;
  }
  
  .language-links a:hover {
      color: #fff;
  }
  
  .language-links a.active {
      color: #fff;
      font-weight: bold;
  }
  
  .language-links .divider {
      color: #666;
      margin: 0 5px;
  }