:root {
    --bg: #0b1020;
    --fg: #eaf0ff;
    --sub: #a8b3cf;
    --brand: #4f8cff;
    --card: #121936;
    --muted: #22305f;
    --accent: #ff6b81;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

a {
    color: var(--brand);
    text-decoration: none
}

header {
    padding: 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    cursor: zoom-in
}

.brand h1 {
    font-size: 18px;
    margin: 0
}

.hero {
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: center
}

.hero h2 {
    font-size: 38px;
    line-height: 1.15;
    margin: 0 0 12px
}

.hero p {
    color: var(--sub);
    font-size: 16px;
    margin: 0 0 20px
}

.hero .cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center
}

/* .hero-gallery full width section */
.hero-gallery {
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 20px;
}

.gallery-row {
    display: flex;
    gap: 16px;
}

.gallery-row .shot {
    flex: 1;
    aspect-ratio: 16/9;
}

/* Button & Shot styles */
.btn {
    background: var(--brand);
    /* Ensure Blue */
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    /* Default size for consistency */
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.9;
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--muted);
    color: var(--fg);
}

.like-btn svg {
    width: 1.2em;
    height: 1.2em;
    vertical-align: -0.2em;
    margin-right: 4px;
}

/* Improved icon alignment */

.shot {
    background: var(--card);
    border: 1px solid var(--muted);
    border-radius: 18px;
    overflow: hidden;
}

.shot button {
    all: unset;
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in
}

.shot img,
.shot video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.features {
    max-width: 1100px;
    margin: 16px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.card {
    background: var(--card);
    border: 1px solid var(--muted);
    border-radius: 16px;
    padding: 16px
}

.card h3 {
    margin: 0 0 6px;
    font-size: 18px
}

.card p {
    margin: 0;
    color: var(--sub)
}

footer {
    max-width: 1100px;
    margin: 40px auto 120px;
    padding: 0 20px;
    color: var(--sub);
    font-size: 12px
}

/* 固定底部CTA */
.bottom-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 32px;
    background: rgba(11, 16, 32, .9);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--muted);
    padding: 12px
}

.bottom-cta .wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between
}

.bottom-cta .left {
    display: flex;
    gap: 12px;
    align-items: center
}

.bottom-cta .title {
    font-weight: 700
}

/* Lightbox */
.lightbox[hidden] {
    display: none
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1000
}

.lightbox .lb-inner {
    max-width: 90vw;
    max-height: 90vh
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
    cursor: zoom-out
}

@media (max-width:960px) {
    .hero {
        grid-template-columns: 1fr
    }

    .features {
        grid-template-columns: 1fr
    }

    header {
        padding: 16px
    }
}

/* 页面底部留白，避免被固定元素遮挡 */
body {
    padding-bottom: 140px
}

/* 固定最底部版权条 */
.site-footer-fixed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 10, 20, .95);
    border-top: 1px solid var(--muted);
    color: var(--sub);
    font-size: 12px;
    z-index: 1001
}

/* 副标题样式 */
.brand .subtitle {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--sub);
    padding: 2px 8px;
    border: 1px solid var(--muted);
    border-radius: 999px
}

/* Like 按钮与计数 */
.like-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.like-btn .heart {
    width: 16px;
    height: 16px;
    display: inline-block
}

.like-btn .num {
    min-width: 2ch;
    text-align: right
}

/* Wishlist Modal */
.modal[hidden] {
    display: none
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.modal-dialog {
    background: var(--card);
    border: 1px solid var(--muted);
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    padding: 16px 16px 12px
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px
}

.modal-header h3 {
    margin: 0;
    font-size: 18px
}

.modal-header .close {
    all: unset;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 4px 8px;
    color: var(--sub)
}

.modal form {
    display: grid;
    gap: 10px
}

.modal label {
    font-size: 12px;
    color: var(--sub)
}

.modal input[type=email],
.modal textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--muted);
    background: #0f1633;
    color: var(--fg)
}

.modal textarea {
    min-height: 90px;
    resize: vertical
}

.modal .actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 4px
}

.modal .note {
    color: var(--sub);
    font-size: 12px;
    margin-top: 6px
}