
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, 'Noto Sans SC', Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(61,214,255,0.30), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(255,77,109,0.18), transparent 65%),
    linear-gradient(180deg,#f7f9ff 0%, #fbfdff 100%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:saturate(160%) blur(10px);
  background:linear-gradient(135deg, rgba(11,102,255,0.92), rgba(0,65,179,0.92));
  color:#fff;
  box-shadow:0 8px 22px rgba(2,6,23,0.12);
  width:100%;
}
footer{
  margin-top:40px;
  padding:20px 0;
  text-align:center;
  font-size:14px;
  color:var(--muted);
}
.wrap{max-width:1200px;margin:0 auto;padding:0 16px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;min-width:240px}
.logo{
  width:44px;height:44px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg, rgba(255,255,255,0.75), rgba(255,255,255,0.12));
  color:#083b9a;font-weight:900;letter-spacing:.5px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.18);
}
.brand-title{font-weight:900;line-height:1.05}
.lang{
  display:flex;align-items:center;gap:8px;
  background:rgba(255,255,255,0.16);
  border:1px solid rgba(255,255,255,0.24);
  border-radius:999px;
  padding:6px 10px;
}
.lang select{background:transparent;border:0;outline:0;color:#fff;font-weight:900;cursor:pointer}
.lang select option{color:#000}
/* 电脑版显示“我的”，手机版隐藏（底部有浮窗） */
.header-my-btn{
  display:none;
  padding:6px 12px;
  border-radius:8px;
  background:rgba(255,255,255,0.2);
  border:1px solid rgba(255,255,255,0.35);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  white-space:nowrap;
  transition:background .2s, border-color .2s;
}
.header-my-btn:hover{
  background:rgba(255,255,255,0.3);
  border-color:rgba(255,255,255,0.5);
  color:#fff;
}
@media (min-width:601px){
  .header-my-btn{display:inline-block}
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 16px;
}
.section-title {
    font-size: 22px;
    font-weight: bold;
    margin: 20px 0 10px;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.card:hover .card-img-wrapper img {
    transform: scale(1.05);
}
.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
/* 早鸟徽章 */
.early-bird-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 6px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    z-index: 10;
    animation: badge-pulse 2.5s ease-in-out infinite;
}
.early-bird-badge .badge-icon {
    font-size: 16px;
}
.early-bird-badge .badge-text {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    }
}
.card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;              /* 撑满整张卡片 */
}
.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}
/* 早鸟优惠信息卡片 */
.early-bird-info {
    background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%);
    border-radius: 10px;
    padding: 10px 12px;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
}
.early-bird-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ff6b35 0%, #f7931e 100%);
}
.discount-tag {
    font-size: 15px;
    font-weight: 800;
    color: #d84315;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.discount-tag::before {
    content: '🔥';
    font-size: 14px;
}
.advance-days {
    font-size: 12px;
    color: #6d4c41;
    font-weight: 500;
}

/* 价格组 */
.price-group {
    margin-top: auto;
    padding-top: 8px;
}
.original-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 4px;
    font-weight: 500;
}
.price {
    font-size: 22px;
    font-weight: 800;
    color: #e60023;
    margin: 10px 0;
    margin-top: auto;
}
.early-bird-price {
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b35 0%, #e60023 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.5px;
}
.btn {
    display: block;
    width: 90%;
    padding: 12px;
    text-align: center;
    background: #0055ff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    margin-top: 10px;
}
.btn:hover {
    background: #0044cc;
}
.btn-disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    pointer-events: none;
}
/* 已售空提示 */
.sold-out-notice {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    margin: 10px 0;
    box-shadow: 0 3px 10px rgba(255, 68, 68, 0.3);
}
/* 库存警告 */
.stock-warning {
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin: 10px 0;
    box-shadow: 0 3px 10px rgba(255, 167, 38, 0.3);
    animation: warning-pulse 2s ease-in-out infinite;
}
@keyframes warning-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(255, 167, 38, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 5px 16px rgba(255, 167, 38, 0.5);
    }
}
.mbar{
  position:fixed;left:10px;right:10px;bottom:10px;
  display:none;align-items:center;gap:10px;z-index:60
}
.mbar .dock{
  flex:1;display:flex;align-items:center;justify-content:space-around;
  padding:12px 10px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,255,0.92));
  border:1px solid rgba(233,239,255,0.9);
  box-shadow:0 24px 70px rgba(2,6,23,0.18);
  backdrop-filter: blur(12px)
}
.mbar .dock a{
  text-decoration:none;
  color:var(--muted);
  font-weight:1000;
  font-size:15px;
  display:flex;flex-direction:column;align-items:center;gap:6px;
  min-width:64px;
  padding:8px 6px;
  border-radius:14px;
  transition:all .18s ease
}
.mbar .dock a span{font-size:12px}
.mbar .dock a.active{
  color:var(--primary);
  background:rgba(11,102,255,0.10);
  box-shadow:inset 0 0 0 1px rgba(11,102,255,0.18)
}
.mbar .dock a:hover{
  background:rgba(11,102,255,0.08)
}
.trust-section {
  margin: 40px 0;
  padding: 20px;
  background: #f7f9fb;
  border-radius: 12px;
  font-size: 14px;
  color: #555;
}
.trust-section ul {
  list-style: none;
  padding: 0;
}
.trust-section li {
  margin: 6px 0;
}
.site-footer {
  padding: 24px 16px 80px;
  background: #111;
  color: #aaa;
  text-align: center;
  font-size: 13px;
}
.site-footer a {
  color: #ccc;
  margin: 0 8px;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
}
.brand-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
}

@media (max-width: 600px) {
    .section-title { font-size: 20px; }
    .card img { height: 140px; }
    .brand{min-width:auto}
    .brand-title{font-size:14px}
    .hero-title{font-size:20px}
    
    .mbar{display:flex}
}
