:root{
                        --bg:#f1f3f4;
                        --primary:#111827;
                        --accent:#0ea5a4;
                        --card:#ffffff;
                        --muted:#9ca3af;
                    }
                    *{box-sizing:border-box}
                    body{
                        margin:0;
                        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
                        background:var(--bg);
                        color:var(--primary);
                        -webkit-font-smoothing:antialiased;
                    }
                    /* header */
                    header{
                        position:sticky;
                        top:0;
                        z-index:1000;
                        background:transparent;
                        padding:18px 28px;
                        display:flex;
                        align-items:center;
                        justify-content:space-between;
                        transition:padding 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
                        will-change:padding, box-shadow;
                    }
                    header.scrolled{
                        background:rgba(17,24,39,0.98);
                        color:#fff;
                        padding:10px 24px;
                        box-shadow:0 6px 18px rgba(2,6,23,0.25);
                    }
                    .logo{font-weight:700; letter-spacing:0.4px}
                    nav ul{list-style:none; margin:0; padding:0; display:flex; gap:18px; align-items:center}
                    /* enhanced nav link styles: layered, subtle depth, hover lift */
                    nav a{
                        color:inherit;
                        text-decoration:none;
                        font-weight:700;
                        display:inline-block;
                        padding:8px 12px;
                        border-radius:10px;
                        position:relative;
                        background:linear-gradient(180deg, rgba(255,255,255,0.75), rgba(250,250,252,0.75));
                        border:1px solid rgba(2,6,23,0.06);
                        box-shadow: 0 8px 18px rgba(2,6,23,0.06), inset 0 -1px 0 rgba(255,255,255,0.5);
                        transition:transform .16s ease, box-shadow .16s ease, background .16s ease, color .12s ease;
                        -webkit-font-smoothing:antialiased;
                    }
                    /* soft glow / accent strip beneath each link to create a layered feel */
                    nav a::after{
                        content: '';
                        position: absolute;
                        left: 10px;
                        right: 10px;
                        bottom: -6px;
                        height: 6px;
                        border-radius: 6px;
                        background: linear-gradient(90deg, rgba(14,165,164,0.18), rgba(6,182,166,0.12));
                        filter: blur(6px);
                        opacity: 0;
                        transform: translateY(6px);
                        transition: opacity .18s ease, transform .18s ease;
                        pointer-events: none;
                    }
                    nav a:hover{ transform: translateY(-3px); box-shadow: 0 20px 40px rgba(2,6,23,0.08); }
                    nav a:hover::after{ opacity:1; transform: translateY(0); }
                    nav a:focus{ outline:none; box-shadow: 0 0 0 6px rgba(6,182,166,0.08); transform: translateY(-2px); }
                    /* when header switches to dark scrolled state, preserve contrast */
                    header.scrolled nav a{ background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border-color: rgba(255,255,255,0.06); color: #fff; box-shadow:none }
                    /* simple single-link language switch (shows the target language) */
                    .lang-item .lang-link{
                        display:inline-block;
                        padding:8px 12px;
                        border-radius:8px;
                        background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(245,246,248,0.9));
                        border:1px solid rgba(2,6,23,0.06);
                        box-shadow: 0 6px 18px rgba(2,6,23,0.06), inset 0 -1px 0 rgba(255,255,255,0.6);
                        color:var(--primary);
                        font-weight:700;
                        transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
                        margin-left:6px;
                    }
                    .lang-item .lang-link:hover{ transform:translateY(-2px); box-shadow: 0 10px 30px rgba(2,6,23,0.08); }
                    .lang-item .lang-link:active{ transform:translateY(0); }
                    .lang-item .lang-link.lang-en{ background: linear-gradient(180deg,#ffffff,#f7fbff); border-color: rgba(3,102,214,0.06); }
                    .lang-item .lang-link.lang-zh{ background: linear-gradient(180deg,#fffaf6,#fff7f0); border-color: rgba(220,38,38,0.06); }
                    /* language panel removed; using simple header switch link */

                    /* hero */
                    .hero{
                        padding:80px 18px 40px;
                        text-align:center;
                    }
                    .hero .inner{
                        max-width:900px; margin:0 auto;
                    }
                    .hero h1{font-size:38px; margin:0 0 12px}
                    .hero p{color:var(--muted); font-size:16px; margin:0 0 22px}
                    .cta{display:inline-flex; gap:12px}
                    .btn{background:var(--accent); color:#fff; padding:12px 20px; border-radius:6px; text-decoration:none; font-weight:700}
                    .btn.secondary{background:transparent; color:var(--primary); border:2px solid rgba(0,0,0,0.06)}

                    /* card sections */
                    .container{max-width:860px; margin:0 auto; padding:0;}
                    .card{background:var(--card); padding:0px; border-radius:6px; box-shadow:0 2px 8px rgba(15,23,42,0.05);}

                    /* contact form styled like screenshot */
                    form.contact{display:flex; flex-direction:column; gap:14px}
                    input[type=text], input[type=email], textarea{
                        width:100%; padding:18px; border:1px solid #e5e7eb; background:#fafafa; border-radius:4px; font-size:15px; color:var(--primary)
                    }
                    input::placeholder, textarea::placeholder{color:#c7c7c7}
                    textarea{min-height:140px; resize:vertical}
                    .phone-row{display:flex; gap:10px; align-items:center}
                    /* 国家区号下拉样式 */
                    select.country{
                        -webkit-appearance: none;
                        -moz-appearance: none;
                        appearance: none;
                        padding:10px 12px;
                        background:#fff;
                        border:1px solid #e5e7eb;
                        border-radius:4px;
                        min-width:110px;
                        font-size:15px;
                        color:var(--primary);
                    }
                    /* 小屏时稍微压缩 */
                    @media(max-width:420px){
                        select.country{min-width:86px; padding:8px 10px}
                    }
                    .submit-wrap{text-align:center; margin-top:8px}
                    .submit-btn{padding:16px 36px; border:2px solid #111; background:transparent; font-weight:800; border-radius:4px}

                    /* country-select 组件样式 */
                    .country-select{position:relative; display:inline-block}
                    .country-select__button{display:inline-flex; align-items:center; gap:8px; padding:10px 12px; background:#fff; border:1px solid #e5e7eb; border-radius:4px; cursor:pointer}
                    .country-select__button .country-flag{font-size:18px}
                    .country-select__button img.country-flag{width:18px; height:auto; display:inline-block}
                    .country-select__button .country-code{font-weight:700}
                    .country-select__button .country-name{display:inline-block; color:var(--muted); font-size:14px}
                    .country-select__panel{position:absolute; left:0; top:calc(100% + 8px); width:320px; max-height:260px; overflow:auto; background:#fff; border:1px solid #e5e7eb; border-radius:6px; box-shadow:0 6px 18px rgba(2,6,23,0.08); z-index:1200; padding:8px}
                    .country-select__search{width:100%; padding:8px 10px; margin-bottom:8px; border:1px solid #e6e6e6; border-radius:4px}
                    .country-select__list{list-style:none; margin:0; padding:0}
                    .country-select__item{padding:8px 10px; display:flex; gap:10px; align-items:center; cursor:pointer; border-radius:4px}
                    .country-select__item:hover, .country-select__item[aria-selected="true"]{background:#f3f4f6}
                    .country-select__item .flag{font-size:18px; width:28px}
                    .country-select__item .meta{font-size:14px; color:var(--primary)}
                    .country-select__item .muted{font-size:13px; color:var(--muted); margin-left:auto}


                    /* 优化：自定义滚动条（美观且带动画） */
                    :root{
                        --sb-width:10px;
                        --sb-track: rgba(0,0,0,0.04);
                        --sb-thumb: linear-gradient(180deg,#06b6b4,#0ea5a4);
                        --sb-thumb-subtle: rgba(0,0,0,0.12);
                    }

                    /* 通用默认（Firefox 支持） */
                    *{scrollbar-width:thin; scrollbar-color: var(--sb-thumb-subtle) transparent}

                    /* WebKit 浏览器自定义滚动条 */
                    *::-webkit-scrollbar{width:var(--sb-width); height:var(--sb-width)}
                    *::-webkit-scrollbar-track{background:transparent}
                    *::-webkit-scrollbar-thumb{
                        background: linear-gradient(180deg, rgba(16,24,32,0.06), rgba(16,24,32,0.04));
                        border-radius:999px;
                        border:2px solid rgba(255,255,255,0.0);
                        box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
                        transition: transform .18s cubic-bezier(.2,.9,.2,1), background .22s ease, opacity .18s ease;
                        opacity:0.6;
                    }

                    /* 针对缩略图、面板等主要滚动区域使用更醒目的 thumb */
                    .thumbnails::-webkit-scrollbar{height:12px}
                    .thumb-wrap .thumbnails::-webkit-scrollbar-thumb{
                        background: var(--sb-thumb);
                        box-shadow:0 8px 20px rgba(6,182,166,0.12);
                        opacity:0.9;
                        transform: scaleX(1);
                    }
                    .country-select__panel::-webkit-scrollbar{width:8px}
                    .country-select__panel::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#f3f4f6,#e6fffb); border-radius:8px; opacity:0.9}

                    /* hover / focus 动画：当鼠标/键盘聚焦列表时突出滚动条 */
                    .thumbnails:hover::-webkit-scrollbar-thumb,
                    .thumbnails:focus-within::-webkit-scrollbar-thumb,
                    .country-select__panel:hover::-webkit-scrollbar-thumb,
                    .country-select__panel:focus-within::-webkit-scrollbar-thumb{
                        transform: scaleX(1.08);
                        opacity:1;
                    }

                    /* 在 Firefox 中靠 scrollbar-color 显示颜色（无 hover 动画限制） */
                    .thumbnails{scrollbar-color: rgba(6,182,166,0.7) transparent}

                    /* gallery styles */
                    .gallery{display:flex; flex-direction:column; }
                    .gallery-main{margin-top: 5px;background:#fff; border:1px solid #e6e6e6; border-radius:6px; display:flex; justify-content:center; align-items:center}
                    .gallery-main img{max-width:100%; height:auto; display:block; border-radius:4px}
                    .thumbnails{display:flex; gap:8px; overflow-x:auto; padding:6px 2px; -webkit-overflow-scrolling:touch}
                    .thumbnail{flex:0 0 auto; width:86px; height:64px; border-radius:6px; overflow:hidden; border:2px solid transparent; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; background:#fff}
                    .thumbnail img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .32s cubic-bezier(.2,.9,.2,1); transform-origin:center center}
                    .thumbnail.active{border-color:var(--accent); box-shadow:0 4px 12px rgba(14,165,164,0.12)}
                    /* optional scroll buttons for larger screens */
                    .thumb-wrap{position:relative}
                    /* 当缩略图区浮动时，固定定位并带有轻微阴影以区分层级 */
                    .thumb-wrap.floating{position:fixed; box-shadow:0 8px 24px rgba(2,6,23,0.12); background:transparent; z-index:2000}
                    .thumb-wrap.floating .thumbnails{background:rgba(255,255,255,0.95); border-radius:8px; padding:8px}
                    .scroll-btn{position:absolute; top:50%; transform:translateY(-50%); width:28px; height:36px; background:rgba(255,255,255,0.9); border:1px solid #e6e6e6; border-radius:6px; display:flex; align-items:center; justify-content:center; cursor:pointer}
                    .scroll-btn.left{left:6px}
                    .scroll-btn.right{right:6px}
                    @media(max-width:640px){
                        .thumbnail{width:68px; height:52px}
                    }

                    /* about-grid / about-card 美化样式 */
                    .about-grid{display:grid; gap:18px; align-items:start}
                    .about-card{background:var(--card); padding:18px; border-radius:10px; box-shadow:0 10px 30px rgba(15,23,42,0.06);}
                    /* Ensure text inside about-card wraps and can shrink on small viewports */
                    .about-card, .about-card p, .about-card .about-name, .about-card .about-role, .about-card .about-bio {
                        min-width: 0; /* allow flex/grid children to shrink */
                        white-space: normal; /* allow wrapping */
                        overflow-wrap: anywhere; /* break long words/URLs */
                        word-break: break-word;
                    }
                    /* For the accent info blocks (which use flex), allow wrapping */
                    .about-card p[data-i18n="about.ideal"], .about-card p[data-i18n="about.target"]{
                        flex-wrap:wrap;
                        white-space:normal;
                        overflow-wrap:anywhere;
                        word-break:break-word;
                    }
                    .about-name{margin:0; font-size:20px; font-weight:800; letter-spacing:0.2px}
                    .about-role{color:var(--accent); font-weight:700; margin-top:8px}
                    .about-bio{color:var(--muted); margin-top:12px; line-height:1.7}
                    /* enhanced about text blocks: layered cards and accent strip */
                    .about-card p[data-i18n="about.ideal"], .about-card p[data-i18n="about.target"]{
                        display:flex;
                        align-items:flex-start;
                        gap:10px;
                        margin:10px 0;
                        padding:12px 14px;
                        /* softer, warmer accent using site var */
                        background: linear-gradient(180deg, rgba(14,165,164,0.06), rgba(255,255,255,0));
                        border-radius:10px;
                        border-left:4px solid rgba(14,165,164,0.22);
                        box-shadow: 0 14px 40px rgba(14,165,164,0.08);
                        color:var(--primary);
                        font-size:14px;
                        line-height:1.6;
                    }
                    .about-card p[data-i18n="about.ideal"]::before{
                        content: '♥';
                        color:var(--accent);
                        font-size:14px;
                        line-height:1;
                        margin-top:2px;
                        opacity:1;
                        text-shadow: 0 2px 6px rgba(14,165,164,0.18);
                    }
                    .about-card p[data-i18n="about.target"]::before{
                        content: '🔔';
                        font-size:14px;
                        margin-top:2px;
                        opacity:0.95;
                        filter: drop-shadow(0 2px 6px rgba(14,165,164,0.12));
                    }
                    /* make the bio slightly lighter and separated from the accent cards */
                    .about-bio{ color:var(--muted); margin-bottom:12px; font-size:15px }
                    .about-contact a{color:var(--primary); font-weight:700; text-decoration:none; display:inline-block; margin-top:12px}
                    /* click-to-copy styles */
                    .about-contact[data-copy]{ cursor:pointer; position:relative; display:inline-block; text-decoration:underline dotted; }
                    .copy-badge{ position:absolute; right:0; top:-36px; background:rgba(0,0,0,0.75); color:#fff; padding:6px 8px; border-radius:6px; font-size:12px; z-index:9999; opacity:0; transform:translateY(6px); transition:opacity .16s ease, transform .16s ease; pointer-events:none }
                    .copy-badge.show{ opacity:1; transform:translateY(0); }
                    /* character counter for textarea */
                    .char-count{font-size:13px; color:var(--muted); margin-top:8px; text-align:right}
                    .char-count.warn{ color:#b45309; font-weight:700 }

                    /* field-level error hint shown under inputs on submit when empty */
                    .field-error{
                        margin-top:8px;
                        color:#b91c1c; /* red-600 */
                        background:linear-gradient(180deg, rgba(185,28,28,0.04), rgba(255,255,255,0));
                        padding:8px 10px;
                        border-radius:8px;
                        font-size:13px;
                        box-shadow:0 6px 18px rgba(185,28,28,0.06);
                    }

                    /* back-to-top button */
                    #backToTop{ position:fixed; right:18px; bottom:20px; width:56px; height:56px; border-radius:12px; background:linear-gradient(180deg,var(--accent), #06b6b4); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 18px 40px rgba(6,182,166,0.14); cursor:pointer; opacity:0; transform:translateY(18px); transition:opacity .18s ease, transform .24s cubic-bezier(.2,.9,.2,1); z-index:100000; border:none; transform-style:preserve-3d }
                    /* show state: lift and float */
                    #backToTop.show{ opacity:1; transform:translateY(0); animation:bt-float 4s ease-in-out infinite; }
                    #backToTop:focus{ outline:3px solid rgba(255,255,255,0.18); }
                    #backToTop .bt-inner{ display:inline-block; width:22px; height:22px; transform-style:preserve-3d; transition:transform .12s ease, box-shadow .12s ease }
                    #backToTop .bt-inner svg{ width:100%; height:100%; display:block }
                    #backToTop:hover{ box-shadow:0 28px 56px rgba(6,182,166,0.18); transform:translateY(-2px) }
                    #backToTop:active{ transform:translateY(0) scale(.98) }

                    @keyframes bt-float{
                        0%{ transform:translateY(0) }
                        50%{ transform:translateY(-6px) }
                        100%{ transform:translateY(0) }
                    }
                    .about-actions{margin-top:14px}
                    .about-actions .btn{padding:10px 16px; font-size:14px}

                    @media(min-width:860px){
                        .about-grid{grid-template-columns:1fr 360px; grid-template-rows:auto auto; align-items:start}
                        /* 主画廊占左侧两行 */
                        .gallery{grid-column:1; grid-row:1 / span 2}
                        .gallery-main{min-height:360px; display:flex; align-items:center; justify-content:center}
                        /* about-card 放右上，缩略图区放右下 */
                        .about-card{grid-column:2; grid-row:1}
                        .thumb-wrap{grid-column:2; grid-row:2; margin-top:2px}
                        .thumb-wrap .thumbnails{max-width:100%}
                        /* 大屏：缩略图垂直排列，限制高度以适应视口，多余时纵向滚动 */
                        .gallery-main{height:calc(100vh - 140px); max-height:calc(100vh - 140px)}
                        .gallery-main img{max-height:100%; width:100%}
                        .thumb-wrap{align-self:start}
                        /* 显示 3 张缩略图高度，超出则纵向滚动 */
                        :root{--thumb-visible:3; --thumb-h:105px; --thumb-gap:10px}
                        .thumb-wrap .thumbnails{display:flex; flex-direction:column; gap:var(--thumb-gap); overflow-y:auto; padding:4px; max-height:calc(var(--thumb-visible) * var(--thumb-h) + (var(--thumb-visible) - 1) * var(--thumb-gap));}
                        .thumb-wrap .thumbnail{width:100%;  height:var(--thumb-h); flex:0 0 auto}
                        .thumb-wrap .thumbnail img{width:165px; height:165px; object-fit:cover}
                        /* large-screen hover zoom for thumbnails */
                        .thumb-wrap .thumbnail img{ will-change:transform }
                        .thumb-wrap .thumbnail:hover img, .thumb-wrap .thumbnail:focus img{ transform: scale(1.12); }
                        .thumb-wrap .thumbnail:active img{ transform: scale(1.06); }
                    }


                    /* footer */
                    footer{color:var(--muted); text-align:center; padding:40px 18px}

                    /* responsive */
                    @media(max-width:640px){
                        .hero h1{font-size:26px}
                        /* 在小屏下只显示语言选择项，隐藏其它导航链接 */
                        nav ul{display:flex}
                        nav ul > li:not(.lang-item){display:none}
                        header{padding:12px 14px}
                        .country{min-width:72px}
                        /* 小屏仅显示国旗和区号 */
                        .country-select__button{padding:8px 10px; gap:6px}
                        .country-select__button .country-name{display:none}
                        .country-select__panel{width:260px}
                        /* 小屏时语言面板样式：更靠近按钮并稍微加宽 */
                        .lang-panel{right:8px; top:calc(100% + 6px); min-width:140px}
                        /* Mobile touch-friendly adjustments */
                        /* Increase tappable areas for buttons/links */
                        .btn, .btn.secondary, .submit-btn{display:block; width:100%; padding:14px 16px; font-size:16px; border-radius:10px}
                        .lang-item .lang-link{padding:10px 14px; font-size:15px; border-radius:10px}
                        a, button{touch-action:manipulation; -webkit-tap-highlight-color: rgba(0,0,0,0.06)}
                        input[type=text], input[type=email], textarea{padding:14px}
                        .country-select__button{padding:10px 12px}
                        .scroll-btn{width:36px; height:44px}
                        .thumbnail{min-width:72px; min-height:56px}
                        /* make back-to-top smaller and reachable on mobile */
                        #backToTop{ right:12px; bottom:14px; width:48px; height:48px }
                        /* ensure focus outlines are visible on mobile */
                        :focus{ outline: 3px solid rgba(6,182,166,0.18); outline-offset:2px }
                    }

                    /* contact 表单增强样式：分组、焦点、层次感 */
                    section#contact{padding:20px}
                    section#contact .card{padding:22px; border-radius:12px; box-shadow:0 14px 40px rgba(2,6,23,0.06); background:linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,252,0.98));}
                    form.contact{gap:12px}
                    form.contact input[type=text], form.contact input[type=email], form.contact textarea{background:#fff; border:1px solid #e9edf0; box-shadow:0 6px 18px rgba(14,165,164,0.03); transition:box-shadow .18s ease,border-color .18s ease,transform .12s ease}
                    form.contact input[type=text]:focus, form.contact input[type=email]:focus, form.contact textarea:focus{outline:none; border-color:var(--accent); box-shadow:0 8px 30px rgba(14,165,164,0.12); transform:translateY(-1px)}
                    .phone-row{display:flex; gap:12px; align-items:center}
                    .phone-row .country-select{flex:0 0 150px}
                    .phone-row input[name=phone]{flex:1}
                    .country-select__button{background:#fff; border:1px solid rgba(0,0,0,0.06); padding:10px 12px; border-radius:8px}
                    .country-select__button:hover{box-shadow:0 8px 20px rgba(2,6,23,0.06)}
                    .country-select__panel{width:340px; max-height:320px}
                    .country-select__item{padding:10px 12px}
                    .country-select__item .meta{font-weight:600}

                    .submit-wrap{text-align:right}
                    .submit-btn{background:linear-gradient(90deg,var(--accent), #06b6b4); color:#fff; border:none; padding:12px 22px; border-radius:10px; box-shadow:0 10px 30px rgba(14,165,164,0.12); transition:transform .12s ease, box-shadow .12s ease}
                    /* Ensure submit button is tappable on small screens: bring above possible overlays and increase hit area */
                    /* Ensure submit button is tappable on all devices: bring above possible overlays and increase hit area */
                    .submit-wrap{ position: relative;  pointer-events: auto; }
                    .submit-btn{ position: relative;  pointer-events: auto; display:inline-flex; align-items:center; justify-content:center; line-height:1; transform: translateZ(0); transition: transform .12s ease, box-shadow .12s ease; }

                    @media(max-width:640px){
                        /*.submit-wrap{ z-index: 99999; }*/
                        .submit-btn{ display:block; width:100%; padding:14px 18px; touch-action:manipulation; font-size:16px }
                    }

                    @media(max-width:480px){
                        /* extra safety for very small devices */
                        .submit-wrap{ z-index: 100000; }
                        .submit-btn{ padding:16px 18px; font-size:17px; }
                        /* ensure thumbnail floating panel doesn't cover the submit area on small screens */
                        .thumb-wrap.floating{ z-index: 1000; }
                    }

                    /* Prevent button visual jump on active/click: keep transform stable */
                    .submit-btn:active, .submit-btn:focus{ transform: none !important; }
                    .submit-btn:hover{ transform: translateY(-2px); }
                    .submit-btn:hover{transform:translateY(-2px); box-shadow:0 18px 46px rgba(14,165,164,0.16)}

                    /* 手机小屏适配：堆叠 phone-row */
                    @media(max-width:480px){
                        .phone-row{flex-direction:column; align-items:stretch}
                        .phone-row .country-select{width:100%; flex:0 0 auto}
                        .submit-wrap{text-align:center}
                    }

                    /* 3D scroll & fade effects */
                    .reveal{
                        opacity:0;
                        transform:translateY(18px) scale(0.995);
                        transition:opacity .6s cubic-bezier(.2,.9,.2,1), transform .6s cubic-bezier(.2,.9,.2,1);
                        will-change:opacity, transform;
                    }
                    .reveal.visible{
                        opacity:1;
                        transform:translateY(0) scale(1);
                    }
                    /* 当启用 3D 滚动效果时，允许元素使用透视与 3D 变形 */
                    .scene-3d{
                        perspective:1000px;
                        -webkit-perspective:1000px;
                        transform-style:preserve-3d;
                    }
                    .scene-3d .card, .scene-3d .hero, .scene-3d footer{
                        will-change:transform, opacity;

                        transition:transform .32s ease-out;
                        transform-origin:center center;
                    }
                    /* ==========================
                       Login page (centered max 680px)
                       ========================== */
                    .login-page{min-height:80vh;display:flex;align-items:center;justify-content:center;padding:48px 18px;background:linear-gradient(180deg,rgba(6,40,50,0.02),transparent)}
                    .login-card{width:100%;max-width:680px;background:linear-gradient(180deg,#ffffff,#fbfeff);border-radius:16px;padding:36px;box-shadow:0 30px 80px rgba(6,40,50,0.12);border:1px solid rgba(6,40,50,0.06);position:relative;overflow:hidden}
                    .login-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:8px;background:linear-gradient(180deg,var(--accent),#06b6b4);opacity:0.12}
                    .login-card h2{margin:0 0 12px;font-size:24px}
                    .login-card p.lead{color:var(--muted);margin:0 0 18px}
                    .login-form{display:grid;gap:12px}
                    .login-form input[type=text],.login-form input[type=password],.login-form input[name=captcha]{width:100%;padding:12px 14px;border-radius:10px;border:1px solid #e6eef0;background:#fff;font-size:15px;box-shadow:0 10px 30px rgba(6,40,50,0.04)}
                    .login-row{display:flex;gap:12px;align-items:center}
                    .captcha-box{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:10px;background:linear-gradient(90deg,#f3f9f9,#ffffff);border:1px solid rgba(6,40,50,0.04);font-weight:700}
                    .login-actions{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:8px}
                    .login-actions .btn{padding:10px 16px;border-radius:10px;background:linear-gradient(90deg,var(--accent),#06b6b4);color:#fff;border:none}
                    .login-actions .link{color:var(--muted);text-decoration:none;font-size:14px}
                    .login-note{font-size:13px;color:var(--muted);margin-top:10px}

                    @media(max-width:720px){
                        .login-card{padding:22px;border-radius:12px}
                        .login-row{flex-direction:column;align-items:stretch}
                        .captcha-box{width:100%;justify-content:space-between}
                    }

                    /* focus & entrance */
                    .login-form input:focus{outline:none;border-color:var(--accent);box-shadow:0 12px 36px rgba(14,165,164,0.08);transform:translateY(-1px)}
                    .login-card{opacity:0;transform:translateY(10px) scale(0.995);transition:opacity .5s ease, transform .5s cubic-bezier(.2,.9,.2,1)}
                    .login-card.visible{opacity:1;transform:translateY(0) scale(1)}
