.home-ugc-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 80px 0 96px;
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(165deg, #141418 0%, #1a1a20 42%, #18161c 100%);
}

.home-ugc-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.home-ugc-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 10% 15%, rgba(208, 55, 146, 0.22), transparent 65%),
        radial-gradient(ellipse 40% 35% at 90% 20%, rgba(208, 55, 146, 0.12), transparent 60%),
        radial-gradient(ellipse 55% 40% at 50% 105%, rgba(208, 55, 146, 0.16), transparent 65%);
    animation: home-ugc-wash 16s ease-in-out infinite alternate;
}

.home-ugc-edge {
    position: absolute;
    left: 0;
    right: 0;
    height: 72px;
    pointer-events: none;
}

.home-ugc-edge-top {
    top: 0;
    background: linear-gradient(to bottom, rgba(252, 248, 249, 0.12), transparent);
}

.home-ugc-edge-bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(250, 250, 252, 0.1), transparent);
}

.home-ugc-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(52px);
    opacity: 0.9;
    will-change: transform;
}

.home-ugc-orb-1 {
    width: min(38vw, 360px);
    height: min(38vw, 360px);
    top: -6%;
    left: -4%;
    background: radial-gradient(circle, rgba(208, 55, 146, 0.35) 0%, rgba(208, 55, 146, 0) 70%);
    animation: home-ugc-orb-a 12s ease-in-out infinite alternate;
}

.home-ugc-orb-2 {
    width: min(32vw, 300px);
    height: min(32vw, 300px);
    top: 40%;
    right: -5%;
    background: radial-gradient(circle, rgba(208, 55, 146, 0.2) 0%, rgba(208, 55, 146, 0) 70%);
    animation: home-ugc-orb-b 14s ease-in-out infinite alternate;
}

.home-ugc-orb-3 {
    width: min(42vw, 400px);
    height: min(42vw, 400px);
    bottom: -16%;
    left: 32%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    animation: home-ugc-orb-c 18s ease-in-out infinite alternate;
}

.home-ugc-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.home-ugc-head {
    margin-bottom: 28px;
}

.home-ugc-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: fit-content;
    max-width: calc(100% - 16px);
    margin: 0 auto 32px;
    padding: 10px 12px;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(12, 10, 16, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.home-ugc-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    min-width: 0;
}

.home-ugc-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(245, 133, 41, 0.22), rgba(221, 42, 123, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: 0 6px 16px rgba(221, 42, 123, 0.2);
}

.home-ugc-trust-icon--star {
    background: linear-gradient(145deg, rgba(255, 196, 77, 0.28), rgba(245, 133, 41, 0.22));
    color: #ffd27a;
    box-shadow: 0 6px 16px rgba(245, 133, 41, 0.22);
}

.home-ugc-trust-icon .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.home-ugc-trust-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    min-width: 0;
    text-align: left;
}

.home-ugc-trust-copy strong {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fff;
}

.home-ugc-trust-copy span {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.58);
    white-space: nowrap;
}

.home-ugc-trust-sep {
    width: 1px;
    align-self: stretch;
    margin: 8px 2px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.22) 25%,
        rgba(221, 42, 123, 0.45) 50%,
        rgba(255, 255, 255, 0.22) 75%,
        transparent 100%
    );
}

.home-ugc-quote {
    position: relative;
    max-width: 720px;
    margin: 0 auto 32px;
    padding: 20px 22px 20px 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(208, 55, 146, 0.16), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(208, 55, 146, 0.28);
}

.home-ugc-quote-icon {
    position: absolute;
    left: 16px;
    top: 18px;
    font-size: 28px;
    color: #d03792;
    opacity: 0.9;
}

.home-ugc-quote blockquote {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 400;
}

.home-ugc-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.home-ugc-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    border: 0;
    padding: 0;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #2a2230;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-ugc-card-index {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    min-width: 34px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

.home-ugc-section.is-inview .home-ugc-card--a {
    animation: home-ugc-float-a 5.5s ease-in-out infinite;
}

.home-ugc-section.is-inview .home-ugc-card--b {
    animation: home-ugc-float-b 6.2s ease-in-out infinite;
}

.home-ugc-card:hover,
.home-ugc-card:focus-visible {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 22px 44px rgba(28, 27, 28, 0.16), 0 0 0 1px rgba(208, 55, 146, 0.25);
    outline: none;
    animation-play-state: paused;
}

.home-ugc-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-ugc-card:hover img,
.home-ugc-card:focus-visible img {
    transform: scale(1.07);
}

.home-ugc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 12, 18, 0.78) 0%,
        rgba(20, 12, 18, 0.18) 45%,
        rgba(20, 12, 18, 0) 70%
    );
    pointer-events: none;
}

.home-ugc-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    color: var(--home-primary, #d03792);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, background 0.3s ease;
    animation: home-ugc-pulse 2.4s ease-in-out infinite;
}

.home-ugc-card:hover .home-ugc-play,
.home-ugc-card:focus-visible .home-ugc-play {
    transform: translate(-50%, -50%) scale(1.1);
    animation: none;
    background: #fff;
}

.home-ugc-play .material-symbols-outlined {
    font-size: 28px;
    line-height: 1;
}

.home-ugc-card-label {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(4px);
    transition: transform 0.3s ease;
}

.home-ugc-card:hover .home-ugc-card-label,
.home-ugc-card:focus-visible .home-ugc-card-label {
    transform: translateY(0);
}

.home-ugc-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 20px;
}

.home-ugc-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--home-primary, #d03792);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(208, 55, 146, 0.3);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.home-ugc-cta:hover {
    background: var(--home-primary-hover, #b82f7f);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(208, 55, 146, 0.38);
}

.home-ugc-cta .material-symbols-outlined {
    font-size: 18px;
}

[data-ugc-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--ugc-delay, 0ms);
}

.home-ugc-section.is-inview [data-ugc-animate] {
    opacity: 1;
    transform: translateY(0);
}

@keyframes home-ugc-wash {
    0% { opacity: 0.9; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

@keyframes home-ugc-orb-a {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(6%, 10%, 0) scale(1.1); }
}

@keyframes home-ugc-orb-b {
    0% { transform: translate3d(0, 0, 0) scale(1.04); }
    100% { transform: translate3d(-8%, 6%, 0) scale(0.96); }
}

@keyframes home-ugc-orb-c {
    0% { transform: translate3d(0, 0, 0) scale(0.98); }
    100% { transform: translate3d(5%, -8%, 0) scale(1.08); }
}

@keyframes home-ugc-float-a {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes home-ugc-float-b {
    0%, 100% { transform: translateY(-6px); }
    50% { transform: translateY(6px); }
}

@keyframes home-ugc-pulse {
    0%, 100% {
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16), 0 0 0 0 rgba(208, 55, 146, 0.3);
    }
    50% {
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16), 0 0 0 12px rgba(208, 55, 146, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-ugc-bg::before,
    .home-ugc-orb,
    .home-ugc-play,
    .home-ugc-card--a,
    .home-ugc-card--b {
        animation: none;
    }

    [data-ugc-animate],
    .home-ugc-note,
    .home-ugc-card,
    .home-ugc-card img,
    .home-ugc-card-label {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .home-ugc-rail {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .home-ugc-section {
        padding: 60px 0 76px;
    }

    .home-ugc-inner {
        padding: 0 0 0 24px;
    }

    .home-ugc-head,
    .home-ugc-trust,
    .home-ugc-quote,
    .home-ugc-footer {
        padding-right: 24px;
        margin-right: 0;
    }

    .home-ugc-trust {
        width: calc(100% - 24px);
        max-width: none;
        border-radius: 22px;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 10px;
        margin-bottom: 22px;
    }

    .home-ugc-trust-item {
        padding: 12px 14px;
    }

    .home-ugc-trust-sep {
        width: auto;
        height: 1px;
        margin: 0 14px;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.18) 20%,
            rgba(221, 42, 123, 0.4) 50%,
            rgba(255, 255, 255, 0.18) 80%,
            transparent 100%
        );
    }

    .home-ugc-quote {
        margin-bottom: 22px;
        padding: 16px 16px 16px 48px;
    }

    .home-ugc-head {
        margin-bottom: 20px;
    }

    .home-ugc-rail {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 16px 24px 16px 16px;
        margin-right: 24px;
        margin-bottom: 14px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .home-ugc-rail::-webkit-scrollbar {
        display: none;
    }

    .home-ugc-card {
        flex: 0 0 168px;
        width: 168px;
        scroll-snap-align: start;
    }

    .home-ugc-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        margin-right: 24px;
    }

    .home-ugc-cta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .home-ugc-card {
        flex-basis: 148px;
        width: 148px;
    }

    .home-ugc-play {
        width: 44px;
        height: 44px;
    }

    .home-ugc-play .material-symbols-outlined {
        font-size: 24px;
    }
}

/* Modal */
.home-ugc-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 9999;
    padding: 16px;
}

.home-ugc-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.home-ugc-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
}

.home-ugc-modal__dialog {
    position: relative;
    z-index: 1;
    width: auto;
    max-height: 92vh;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.25s ease;
}

.home-ugc-modal.is-open .home-ugc-modal__dialog {
    transform: translateY(0) scale(1);
}

.home-ugc-modal__content {
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    width: clamp(260px, 32vw, 520px);
    max-height: calc(92vh - 24px);
}

.home-ugc-modal__content iframe,
.home-ugc-modal__content video {
    width: 100%;
    height: 100%;
    display: block;
}

.home-ugc-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #1c1b1c;
    font-size: 22px;
    line-height: 38px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
    .home-ugc-modal__content {
        width: clamp(320px, 28vw, 560px);
    }
}
