* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    min-height: 100vh;
    background: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,
        Arial, sans-serif;
}
#bg-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.bg-section {
    width: 100%;
}
.bg-img {
    display: block;
    width: 100%;
    height: auto;
}
.float-right {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 20;
}
.float-right button {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}
.float-right img {
    display: block;
    width: clamp(48px, 7vw, 72px);
    height: auto;
}
#bottom-fixed {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 10;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}
#bottom-fixed img {
    display: block;
    width: 100%;
    height: auto;
}
.modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.modal[data-open='true'] {
    opacity: 1;
    visibility: visible;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}
.modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.98);
    background: #111;
    border-radius: 12px;
    padding: 24px;
    max-width: min(92vw, 520px);
    width: 100%;
    transition: transform 0.2s ease;
}
.modal[data-open='true'] .modal-content {
    transform: translate(-50%, -50%) scale(1);
}
.modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 28px;
    width: 36px;
    height: 36px;
    cursor: pointer;
}
.qr-grid {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
}
.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.qr-item img {
    width: clamp(120px, 34vw, 220px);
    height: auto;
    border-radius: 8px;
}
.qr-text {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-align: center;
}
@media (max-width: 480px) {
    .qr-grid {
        flex-direction: column;
    }
    .float-right {
        right: 10px;
    }
    .float-right img {
        width: clamp(44px, 9vw, 64px);
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .modal {
        transition: none;
    }
    .modal-content {
        transition: none;
    }
}
