:root {
  --bg: #F3F5F9;
  --text: #1a1a1a;
}
* { box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; color: var(--text); background: var(--bg); min-width: 1480px; }
.site-header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; z-index: 10; }
.logo-text { font-weight: 700; color: #f59e0b; }
.nav a { color: #6b7280; text-decoration: none; margin: 0 8px; }
.wrap { display: flex; flex-direction: column; align-items: center; }

/* Banner (top video) - map from banner/index.module.scss */
.box { position: relative; display: flex; justify-content: center; width: 98%; height: 100vh; min-height: 500px; text-align: center; }
.video { width: 60vw; margin: 5px auto; border-radius: 16px; object-fit: cover; overflow: hidden; }
.box .text { position: absolute; font-size: clamp(15px, 5vw, 60px); font-weight: 700; line-height: 1.3; text-align: center; z-index: 2; top: 42%; color: rgba(255, 255, 255, 0.5); }
.controlsList { position: absolute; right: 16px; bottom: 28px; z-index: 3; }
.controlsList button { border: none; background: transparent; cursor: pointer; }

/* DreamBrand/Jewelry/AboutUs common title styles */
.title { padding-top: 80px; }
.label { font-weight: bold; font-size: 48px; color: black; line-height: 48px; text-align: center; margin-bottom: 64px; }
.text { font-size: 24px; font-weight: 500; line-height: 32px; text-align: center; color: rgba(0, 0, 0, 0.6); margin-bottom: 40px; }
.container { width: 80%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.line { width: 1200px; margin: 20px auto; height: 2px; background-color: #eaeaea; }

/* DreamBrand cards mapping */
.imageBox { width: 420px; }
.imageItem { position: relative; width: 420px; height: 420px; user-select: none; -webkit-user-drag: none; overflow: hidden; border-radius: 18px; background-clip: padding-box; }
.imageItem .imageWrap { width: 100%; height: 100%; transition: transform 0.5s; }
.imageItem .mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); opacity: 0; transition: opacity 0.5s; color: #fff; font-weight: bold; font-size: 40px; line-height: 48px; text-align: center; font-style: normal; text-transform: none; display: flex; align-items: center; justify-content: center; }
.imageItem .mask > div { padding: 0 20px; transform: translateY(0); transition: transform 0.5s; }
.imageItem .mask::after { content: ""; position: absolute; width: 24px; height: 24px; bottom: 20px; right: 20px; background: url("/home/icon-arrow-br.webp") no-repeat; background-size: cover; transform: translate(-10px, -10px); transition: transform 0.3s, left 0.3s; }
.imageItem:hover .imageWrap { transform: scale3d(1.2, 1.2, 1); filter: blur(3px); }
.imageItem:hover .mask { opacity: 1; }
.imageItem:hover .mask > div { transform: translateY(0); }
.imageItem:hover .mask::after { transform: translate(0, 0); }
.imageBox .txt { padding: 20px 0; }
.imageBox .txt h2 { font-size: 18px; color: black; margin-bottom: 16px; }
.imageBox .txt p { font-size: 14px; color: #303133; line-height: 24px; }

/* Jewelry cards mapping */
.jewelry .imageBox { width: 320px; }
.jewelry .imageItem { width: 320px; height: 320px; border-radius: 3px; }
.jewelry .imageItem .imageWrap { transition: transform 0.5s; }
.jewelry .imageItem:hover .imageWrap { transform: scale3d(1.1, 1.1, 1); }
.jewelry .imageBox .txt { padding: 20px; text-align: center; }
.jewelry .imageBox .txt h2 { font-size: 18px; color: #222; padding-bottom: 6px; }
.jewelry .imageBox .txt p { font-size: 14px; color: #666; line-height: 1.2; }
.jewelry .imageBox .txt .btn { color: #ffffff; background-color: #303133; border-color: #303133; border-radius: 20px; height: 40px; width: 120px; display: flex; justify-content: center; align-items: center; margin: 20px auto 0; }
/* Jewelry container override: match original 4-column layout */
.jewelry .container { width: 1376px; margin: 0 auto; display: flex; gap: 32px; justify-content: center; align-items: stretch; }

/* DreamBrand container override: match original 3-card flex layout */
.dreamBrand .container { width: 1364px; margin: 0 auto; display: flex; gap: 52px; justify-content: center; align-items: stretch }

/* About Us cards mapping */
.aboutUs .itemBox { position: relative; width: 420px; height: 360px; padding: 0 24px; box-sizing: border-box; background-color: #fff; border-radius: 4px; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; }
.aboutUs .itemBox .txt { text-align: center; margin-top: 12px; }
.aboutUs .itemBox .txt h2 { font-size: 24px; color: #303133; padding-bottom: 6px; font-weight: bold; }
.aboutUs .itemBox .txt .text { font-size: 18px; color: #777; line-height: 1.5; margin-bottom: 18px; }
.aboutUs .itemBox .txt .desc { font-size: 15px; color: rgba(0, 0, 0, 0.6); line-height: 1.5; font-weight: normal; text-align: left; font-family: HarmonyOS Sans SC, HarmonyOS Sans SC; }
.aboutUs .btn { color: #ffffff; background-color: #303133; border-color: #303133; border-radius: 20px; height: 40px; width: 120px; display: flex; justify-content: center; align-items: center; margin: 30px auto 0; }

/* About Us container overrides to match original Flex layout */
.aboutUs .container { width: 80%; max-width: 1200px; margin: 0 auto; display: flex; gap: 32px; justify-content: center; align-items: stretch; }

/* Media CTA */
.media-box { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: center; width: 80%; max-width: 1200px; margin: 0 auto 40px; }
.media-video { width: 100%; border-radius: 16px; }
.btn { display: inline-block; text-align: center; padding: 12px 16px; border-radius: 12px; background: #111827; color: #fff; text-decoration: none; }

@media (max-width: 900px) {
  .container { grid-template-columns: 1fr; }
  .aboutUs .container { flex-direction: column; gap: 24px; }
  .jewelry .container { width: 100%; flex-direction: column; gap: 24px; }
  .dreamBrand .container { width: 100%; flex-direction: column; gap: 24px; }
}

/* Success Stories (match original SCSS naming) */
.success-stories { width: 100%; display: flex; flex-direction: column; align-items: center; }
.success-stories .label { font-weight: bold; font-size: 40px; color: black; line-height: 48px; text-align: center; margin-top: 80px; }
.carousel { position: relative; width: 860px; margin: 0 auto; padding: 56px 50px; }
.slider { background-color: white; border-radius: 16px; }
.slider .title { font-weight: bold; font-size: 18px; text-align: center; padding-top: 24px; }
.slider .content { padding: 24px 50px 40px 50px; display: flex; }
.slider .image { width: 300px; }
.slider .info { padding-top: 20px; }
.slider .info > div { font-size: 14px; color: #666; }
.slider .info > div:nth-child(1) { font-weight: bold; color: rgba(0, 0, 0, .9); }
.slider .info > div:nth-child(2) { padding-top: 10px; }
.slider .info > div:nth-child(3) { padding-top: 8px; }
.slider .desc { padding-top: 16px; font-size: 14px; color: #666; }
.slider .nickName { font-size: 14px; font-weight: bold; color: rgba(0, 0, 0, .9); text-align: right; }

.preEl, .nextEl { z-index: 1; color: rgba(119, 119, 119, 0.5); }
.preEl::after, .nextEl::after { font-size: 60px; }
.preEl { left: -80px; }
.nextEl { right: -80px; }
/* About Us section layout to mirror original */
.aboutUs { display: flex; justify-content: center; flex-direction: column; }
.aboutUs .container { width: 80%; max-width: 1200px; margin: 0 auto; display: flex; gap: 52px; justify-content: center; align-items: stretch; }
/* Tighten spacing under About Us title */
.aboutUs .panel { padding-top: 24px; }
.aboutUs .label { margin-bottom: 24px; }

/* Footer mapped into floating panel screen */
.footer { width: 100%; background: transparent; }
.footer .content { display: flex; justify-content: center; align-items: flex-start; gap: 146px; width: 100%; max-width: 1200px; margin: 0 auto; padding-top: 24px; }
.footer .content .middle, .footer .content .right { margin-top: 0; }
.footer .content .title { height: 32px; font-family: HarmonyOS Sans SC, HarmonyOS Sans SC; font-weight: bold; font-size: 18px; color: white; line-height: 32px; text-align: left; }
.footer .left .logo { width: 200px; height: 60px; background: url("/home/logo_footer.png") center center no-repeat; background-size: 100%; }
.footer .left .contact { padding-top: 10px; list-style: none; padding-right: 400px; }
.footer .left .contact > li { font-family: HarmonyOS Sans SC, HarmonyOS Sans SC; font-weight: 400; font-size: 14px; color: #737b8c; line-height: 24px; text-align: left; }
.footer .left .media, .footer .left .pay { display: flex; gap: 24px; justify-content: flex-start; margin-top: 10px; }
.footer .left .pay { gap: 4px; margin-bottom: 10px; }
.footer .left .mediaImg { opacity: 0.6; transition: opacity 0.3s; }
.footer .left .mediaImg:hover { opacity: 1; }
.footer .middle .about, .footer .right .about { padding-top: 16px; list-style: none; padding-left: 0; }
.footer .middle .about > li, .footer .right .about > li { padding: 8px 0; height: 24px; font-family: HarmonyOS Sans SC, HarmonyOS Sans SC; font-weight: 400; font-size: 14px; color: #737b8c; line-height: 24px; }
.footer .middle .about > li a, .footer .right .about > li a { color: inherit; text-decoration-line: none; transition: color .3s; }
.footer .middle .about > li a:hover, .footer .right .about > li a:hover { color: #a8acb4; }
.footer .right .about > li { padding: 0; }
.footer .copyright { height: 104px; border: 1px solid #303336; font-weight: 400; font-size: 14px; color: #737b8c; line-height: 104px; text-align: center; }

/* Subscribe input in footer (static mapping) */
.subscribeFooter { position: relative; width: 320px; }
.subscribeFooter input { width: 100%; border-radius: 32px; border: 1px solid #303336; padding: 10px 115px 10px 14px; outline: none; }
.subscribeFooter .subscribeBtn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 32px; padding: 0 16px; border-radius: 32px; background: #2e2f33; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; }
.subscribeFooter .subscribeBtn .btnText { font-size: 14px; }

/* Global background image overlay */
body::before { content: ""; position: fixed; inset: 0; background: url("home/bg.jpg") center/cover no-repeat fixed; z-index: -1; }

/* Scroll snap: one screen per section */
.snap-container { height: 100vh; overflow-y: auto; scroll-snap-type: y mandatory; }
.screen { scroll-snap-align: start; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.screen .title { padding-top: 0; }

/* White rounded panel to float above background */
.panel { display: inline-block; width: 1500px; height: auto; margin: 0 auto; padding: 40px 48px 64px; background: rgba(255,255,255,0.97); border-radius: 24px; box-shadow: 0 24px 64px rgba(0,0,0,0.28); backdrop-filter: saturate(110%) blur(2px); position: relative; z-index: 1; }


/* Fixed CTA buttons (Register & Explore) */
.fixed-cta { position: fixed; left: 50%; bottom: 60px; transform: translateX(-50%); display: flex; gap: 46px; z-index: 30; }
.fixed-cta .cta { display: inline-flex; align-items: center; justify-content: center; height: 58px; padding: 0 40px; border-radius: 8px; text-decoration: none; font-size: 20px; font-weight: 400; box-shadow: 0 6px 16px rgba(0,0,0,.2); transition: transform .2s ease, box-shadow .2s ease; }
.fixed-cta .cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0,0,0,.24); }
.fixed-cta .cta.register { background: #111827; color: #fff; }
.fixed-cta .cta.explore { background: rgba(255,255,255,.88); color: #111827; border: 1px solid rgba(17,24,39,.12); backdrop-filter: blur(6px); }