:root {
  --rose: #f26a7a;
  --rose-600: #e75764;
  --gold: #f7c948;
  --sky: #1b2351;
  --lavender: #7f8cff;
  --cloud: #f6f7fb;
  --ink: #0b1023;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-rounded, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #14151a;
  background: linear-gradient(180deg, #FCABC0 0%, #FEF4CA 100%);
  min-height: 100vh;
}

.container { width: min(1100px, 92%); margin: 0 auto; }
html { height: auto; overflow-x: hidden; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(10, 14, 31, 0.45);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; gap: 10px; align-items: center; color: #fff; }
.brand .logo { color: var(--gold); font-size: 20px; }
.brand .name { font-weight: 700; letter-spacing: .3px; }

.nav { display: flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 999px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; border: 1px solid transparent; }
.btn.primary { background: linear-gradient(180deg, var(--rose) 0%, var(--rose-600) 100%); color: #fff; box-shadow: 0 8px 18px rgba(231,87,100,.35); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(231,87,100,.45); }
.btn.white { background: rgba(255,255,255,.9); color: #1F2E77; border-color: rgba(255,255,255,.2); }
.btn.white:hover { box-shadow: 0 8px 18px rgba(255,255,255,.25); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.lg { padding: 12px 18px; font-size: 16px; }

.hero { position: relative; overflow: visible; color: #fff; height: 240px; margin: 24px auto 18px; }
.hero .backdrop {
  position: absolute; left: 50%; top: 21px; height: 200px;
  width: min(1100px, calc(100% - 48px));
  border-radius: 15px;
  background: linear-gradient(180deg, #1F2E77 14%, #6479B0 70%, #FDC2C4 100%);
  border: 1px solid #000000;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  transform: translateX(-50%);
}
.hero-inner { position: relative; height: 100%; }
.hero .container { position: relative; }
.hero-copy h1 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 44px); line-height: 1.12; }
.hero-copy p { display: none; }
.cta { display: none; }
.hero-art { display: none; }

.float-stars { list-style: none; padding: 0; margin: 0; position: absolute; inset: 0; pointer-events: none; }
.float-stars li { position: absolute; width: 16px; height: 16px; background: radial-gradient(circle at 35% 35%, #fff, var(--gold) 60%, rgba(247,201,72,.0) 70%); border-radius: 4px; transform: rotate(45deg); filter: blur(.2px) drop-shadow(0 0 8px rgba(247,201,72,.5)); animation: float 12s ease-in-out infinite; opacity: .9; }
.float-stars li:nth-child(1){ left: 12%; top: 22%; animation-duration: 11s; }
.float-stars li:nth-child(2){ left: 78%; top: 18%; animation-duration: 13s; }
.float-stars li:nth-child(3){ left: 64%; top: 70%; animation-duration: 12s; }
.float-stars li:nth-child(4){ left: 8%;  top: 68%; animation-duration: 14s; }
.float-stars li:nth-child(5){ left: 44%; top: 10%; animation-duration: 15s; }
@keyframes float { 0% { transform: translateY(0) rotate(45deg);} 50% { transform: translateY(-16px) rotate(45deg);} 100% { transform: translateY(0) rotate(45deg);} }


.section { padding: 28px 0 28px; color: #223; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two-col { grid-template-columns: 1fr 1fr; grid-template-areas: "a b" "c b"; grid-auto-rows: minmax(180px, auto); gap: 24px; }
.card.left-top { grid-area: a; }
.card.left-bottom { grid-area: c; }
.card.right-tall { grid-area: b; }
.card { border-radius: 18px; padding: 24px; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 8px 18px rgba(31,46,119,.25);
  position: relative; overflow: hidden; color: #fff; min-height: 180px; display: flex; flex-direction: column; z-index: 1; }

/* 三个时间段的渐变色调 - 黎明、黄昏、白昼（清晰版） */
.card.left-top { background: linear-gradient(180deg, #FF8A80 0%, #FFB74D 50%, #FFD54F 100%); } /* 黎明：清晰的粉橙黄 */
.card.right-tall { background: linear-gradient(180deg, #81C784 0%, #64B5F6 50%, #9575CD 100%); } /* 白昼：清晰的青蓝紫 */
.card.left-bottom { background: linear-gradient(180deg, #FF8A80 0%, #F06292 50%, #E1BEE7 100%); } /* 黄昏：清晰的粉紫白 */
.card::before { content: ""; position: absolute; inset: -2px; border-radius: 18px; padding: 2px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* 三个时间段的边框渐变 - 与背景渐变保持一致（清晰版） */
.card.left-top::before { background: linear-gradient(180deg, #FF8A80, #FFB74D 50%, #FFD54F); }
.card.right-tall::before { background: linear-gradient(180deg, #81C784, #64B5F6 50%, #9575CD); }
.card.left-bottom::before { background: linear-gradient(180deg, #FF8A80, #F06292 50%, #E1BEE7); }
.card h3 { margin: 0 0 6px; color: #fff; }
.card p { color: #eef1ff; margin: 0 0 16px; flex-grow: 1; }
.tribbie-hero-icon {
  position: absolute;
  right: 720px;
  top: 468px;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  z-index: 100;
  pointer-events: none;
}
@keyframes twinkle { 0%,100% { transform: translateY(0) scale(1); filter: drop-shadow(0 4px 8px rgba(31,46,119,.15)); } 50% { transform: translateY(-2px) scale(1.02); filter: drop-shadow(0 6px 12px rgba(247,201,72,.25)); } }
.notice { color: #555; font-size: 14px; }

.site-footer { color: rgba(203, 210, 255, 0.7); border-top: 1px solid rgba(255,255,255,.05); padding: 4px 0; background: transparent; margin-top: 4px; }
.site-footer .container { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.site-footer .link { color: #fff; opacity: .9; text-decoration: none; }
.site-footer .link:hover { text-decoration: underline; }

/* Ensure buttons are clickable above decorative layers */
.card .btn { position: relative; z-index: 1; }

@media (max-width: 920px) {
  .hero-inner { padding: 18px; }
  .cards { grid-template-columns: 1fr; }
  .cards.two-col { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c"; }
}

/* Banner card container shadow and rounded corners */
.hero .backdrop { box-shadow: 0 20px 36px rgba(31,46,119,.35); }

/* Decorative placements */
.decoration-top-left { position: absolute; left: 50px; top: 20px; width: 280px; max-width: 38vw; pointer-events: none; z-index: 2; }
.decoration-bottom-right { 
  position: absolute; 
  right: -50px; 
  bottom: 0; 
  width: 800px; 
  max-width: 65vw; 
  pointer-events: none; 
  z-index: 1;
}

/* Ensure main content doesn't overflow */
main { position: relative; overflow: hidden; background: transparent; height: auto; }

/* Bottom section with notice, copyright and tribbie */
.bottom-section {
  position: relative;
  margin-top: -100px;
  padding: 0 24px;
  height: 200px;
}

.notice-text {
  position: absolute;
  left: 24px;
  bottom: 50px;
  color: #333;
  font-size: 12px;
  max-width: 300px;
  z-index: 2;
}

.copyright {
  position: absolute;
  left: 24px;
  bottom: 20px;
  color: #333;
  font-size: 14px;
  z-index: 2;
}

/* Absolute title position inside banner */
.hero-title { position: absolute; left: 480px; top: 50px; width: 500px; height: 160px; z-index: 2; }
.hero-title h1 { font-size: clamp(28px, 4vw, 42px); margin: 0; line-height: 1.2; }

