 /* =====================================================
   1. CSS Variables / Theme
===================================================== */
 :root {
     --primary: #d6336c;
     --accent: #ff4081;
     --hot: #ff1744;
     --accent-soft: #121111;
     --text: #222;
     --bg: #f6f7fb;
     --card-bg: #fff;
     --border: #fce4ec;
     --shadow: 0 4px 12px rgba(214, 51, 108, 0.15);
     --radius: 12px;
     --transition: all 0.3s ease;
     --soft-hot:#a61e4d;
 }

 /* =====================================================
   2. Reset / Base
===================================================== */
 * {
     box-sizing: border-box;
 }

 body {
     font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, sans-serif;
     margin: 0;
     background: var(--bg);
     color: var(--text);
     line-height: 1.7;
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding-left: 20px;
     padding-right: 20px;
 }

 /* =====================================================
   4. Header / Brand
===================================================== */
 .site-header {
     background: var(--bg);
     padding: 1rem 1.2rem;
     text-align: center;
 }

 .brand-mark {
     width: 38px;
     height: 38px;
     border-radius: 10px;
     background: linear-gradient(135deg, #c8955f, #f06292);
     display: flex;
     align-items: center;
     justify-content: center;
     font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
     font-size: 20px;
     font-weight: 800;
     line-height: 1;
     letter-spacing: 0.5px;
     color: #ffffff;
     border: 1px solid rgba(255, 255, 255, 0.45);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
 }

 .brand-domain {
     font-size: 20px;
     font-weight: 600;
 }

 /* ===== Header 三段式布局 ===== */
 .header-3col {
     display: grid;
     grid-template-columns: auto 1fr auto;
     align-items: center;
     max-width: 1200px;
     margin: 10px auto;
     padding: 0 1.2rem;
 }

 /* 左侧 Logo */
 .header-left {
     display: inline-flex;
     align-items: center;
     gap: 10px;
     text-decoration: none;
     color: #444;
     white-space: nowrap;
     font-size: 20px;
     font-weight: 600;
 }

 /* 中间标题：严格居中 */
 .header-center {
     text-align: center;
     font-size: 20px;
     font-weight: 500;
     color: #444;
     white-space: normal;
 }

 /* 右侧语言切换 */
 .header-right {
     position: relative;
     display: flex;
     justify-content: flex-end;
 }

 /* 语言按钮 */
 .lang-toggle {
     background: #fff;
     border: 1px solid var(--border);
     border-radius: 8px;
     padding: 6px 10px;
     font-size: 14px;
     cursor: pointer;
     display: inline-flex;
     align-items: center;
     gap: 6px;
 }

 /* 下拉菜单 */
 .lang-menu {
     position: absolute;
     text-align: left;
     right: 0;
     background: #fff;
     border: 1px solid var(--border);
     border-radius: 8px;
     box-shadow: var(--shadow);
     list-style: none;
     padding: 6px 0;
     margin: 0;
     display: none;
     z-index: 100;
     top: calc(100% + 1px);
     width: 93px;
 }

 .lang-menu li a {
     display: block;
     padding: 8px 12px;
     font-size: 14px;
     color: #333;
     text-decoration: none;
 }

 .lang-menu li a:hover {
     background: #f3f4f6;
     color: var(--accent-soft);
 }

 .lang-menu.open {
     display: block;
 }

 /* =====================================================
   5. Navigation
===================================================== */
 nav {
     background: var(--bg);
     border-bottom: 1px solid var(--border);
     padding: 0.5rem 0;
     /* padding-bottom: 1.5rem; */
     box-shadow: 0 1px 3px rgba(214, 51, 108, 0.1);
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     overflow-x: hidden;
 }

 nav a {
     display: inline-flex;
     margin-left: 7px;
     margin-right: 7px;
     margin-bottom: 10px;
     align-items: center;
     padding: 0.45rem 0.7rem;
     color: var(--primary);
     text-decoration: none;
     font-weight: 500;
     font-size: 0.95rem;
     transition: var(--transition);
     flex-shrink: 0;
     border-radius: 5px;
     border: 1px solid var(--border);
     background: #fff;
     white-space: nowrap;
 }

 nav a i {
     margin-right: 0.4rem;
     font-size: 1.1rem;
 }

 nav a:hover,
 nav a.active {
     background: #fff;
     color: var(--hot);
     border-color: var(--hot);
     box-shadow:
         0 4px 10px rgba(214, 51, 108, 0.18),
         0 1px 2px rgba(0, 0, 0, 0.06);
     /* transform: translateY(-2px); */
     /* font-weight: 500; */
 }

 /* =====================================================
   11. Footer (Only Active Version)
===================================================== */
 .site-footer {
     margin-top: 3rem;
     /* background: linear-gradient(135deg, #fde7f1, #fff5fa); */
     border-top: 2px solid var(--border);
     color: var(--text);
     font-size: 0.9rem;
     text-align: center;
 }

 .footer-inner {
     max-width: 1200px;
     margin: 0 auto;
     padding: 1rem 1.2rem 3rem;
     text-align: center;
 }

   .footer-brand{
    margin: 0 auto;
      padding-top: 15px;
   }
 .footer-nav {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 0.8rem 1.2rem;
     margin-bottom: 1.5rem;
 }

 .footer-nav a {
     color: var(--primary);
     text-decoration: none;
     padding: 0.4rem 0.4rem;
     border-radius: 6px;
     transition: var(--transition);
 }

 .footer-nav a:hover {
     background: #eee;
     font-weight: 600;
 }

 .footer-desc {
     max-width: 820px;
     margin: 0 auto 1.4rem;
     line-height: 1.8;
     color: #222;
 }

 .footer-desc strong {
     color: var(--accent-soft);
 }

 .footer-warning {
     margin-top: 0.4rem;
     color: #b71c1c;
     font-size: 0.85rem;
 }

 .footer-links {
     margin-bottom: 0.8rem;
 }

 .footer-links a {
     color: var(--accent);
     text-decoration: none;
 }

 .footer-links a:hover {
     text-decoration: underline;
 }

 .footer-links span {
     margin: 0 0.4rem;
     color: #999;
 }

 .footer-copy {
     font-size: 0.8rem;
     color: #333;
 }

 input,
 select,
 textarea,
 button {
     min-height: 40px;
 }


 /* =====================================================
   13. Responsive (Values Unchanged)
===================================================== */
 @media (max-width: 768px) {

  nav {
     position: sticky;
     top: 0;
     z-index: 10;
     background: var(--bg);
     overflow-x: auto;
     -webkit-overflow-scrolling: touch;
     scrollbar-width: thin;
     flex-wrap: nowrap;
     justify-content: flex-start;
   }

   nav::-webkit-scrollbar {
     height: 4px;
   }

   nav::-webkit-scrollbar-thumb {
     background: rgba(214, 51, 108, 0.35);
     border-radius: 999px;
   }
   .site-header{
    padding-bottom: 0rem;
   }
   nav{
    padding-top: 20px;
     padding-bottom: 10px;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, .2);
   }

     /* Header 容器：改为两行结构 */
     .header-3col {
         /* display: grid;   */
         grid-template-columns: 1fr auto;
         grid-template-areas:
             "brand lang"
             "desc  desc";
         row-gap: 6px;
         align-items: center;
         padding-bottom: 0;
     }

     /* 左：品牌 */
     .header-left {
         grid-area: brand;
         gap: 8px;
     }

     /* 右：语言 */
     .header-right {
         grid-area: lang;
         justify-self: end;
     }

     .brand-mark {
         width: 35px;
         height: 35px;
         font-size: 18px;
         border-radius: 8px;
     }

     .brand-domain {
         font-size: 16px;
         font-weight: 600;
     }

     .lang-toggle {
         padding: 4px 8px;
     }

     /* 第二行：平台描述（降级显示） */
     .header-center {
         grid-area: desc;
         text-align: center;
         /* 允许换行 */
         font-size: 18px;
         line-height: 1.4;
     }

     nav a {
          padding: 0.4rem 0.8rem;
          font-size: 0.8rem;
      }

     nav a i {
         font-size: 1rem;
         margin-right: 0.3rem;
     }


     .footer-inner {
         padding: 1rem 1rem 2.5rem;
     }

     .footer-nav {
         gap: 0.5rem;
     }

      .footer-desc {
          font-size: 0.88rem;
      }

      .btn,
      .watch-btn,
      .cta-actions a,
      .cta-row a {
          width: 100%;
          justify-content: center;
      }

      .card {
          min-width: 0;
      }
  }
