.cineveo-community-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: grid;
    place-items: center;
    padding: 24px;
    font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.cineveo-community-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cineveo-community-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: default;
    background:
        radial-gradient(circle at 50% 28%, rgba(14, 165, 233, 0.16), transparent 38%),
        rgba(3, 7, 12, 0.82);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    backdrop-filter: blur(14px) saturate(120%);
}

.cineveo-community-dialog {
    position: relative;
    isolation: isolate;
    width: min(100%, 520px);
    max-height: min(90vh, 720px);
    overflow: hidden auto;
    color: #f8fafc;
    background:
        linear-gradient(145deg, rgba(27, 36, 48, 0.98), rgba(12, 17, 24, 0.99) 58%),
        #111827;
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 28px;
    box-shadow:
        0 34px 90px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(255, 255, 255, 0.025) inset,
        0 18px 55px rgba(14, 165, 233, 0.10);
    opacity: 0;
    transform: translateY(18px) scale(0.965);
    transition: opacity 260ms ease, transform 340ms cubic-bezier(0.2, 0.85, 0.25, 1);
}

.cineveo-community-dialog::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, #38bdf8 25%, #0ea5e9 72%, transparent);
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.62);
}

.cineveo-community-modal.is-open .cineveo-community-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.cineveo-community-glow {
    position: absolute;
    z-index: -1;
    top: -170px;
    right: -150px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.15);
    filter: blur(16px);
    pointer-events: none;
}

.cineveo-community-content {
    position: relative;
    z-index: 1;
    padding: 34px;
}

.cineveo-community-close {
    position: absolute;
    z-index: 4;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #94a3b8;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.cineveo-community-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.16);
    transform: rotate(3deg);
}

.cineveo-community-close:focus-visible,
.cineveo-community-primary:focus-visible,
.cineveo-community-secondary:focus-visible {
    outline: 3px solid rgba(125, 211, 252, 0.48);
    outline-offset: 3px;
}

.cineveo-community-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 38px;
}

.cineveo-community-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border: 1px solid rgba(125, 211, 252, 0.44);
    border-radius: 24px;
    background: linear-gradient(145deg, #38bdf8, #0c7bdc);
    box-shadow: 0 15px 36px rgba(2, 132, 199, 0.28), 0 0 24px rgba(56, 189, 248, 0.12);
}

.cineveo-community-icon::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 19px;
}

.cineveo-community-icon-ring {
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(56, 189, 248, 0.16);
    border-radius: 29px;
}

.cineveo-community-icon img {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 6px 9px rgba(3, 7, 18, 0.25));
}

.cineveo-community-heading {
    min-width: 0;
}

.cineveo-community-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: #7dd3fc;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cineveo-community-eyebrow > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.11), 0 0 14px rgba(56, 189, 248, 0.75);
}

.cineveo-community-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 3.3vw, 30px);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.cineveo-community-description {
    margin: 24px 0 20px;
    color: #bac5d4;
    font-size: 15px;
    line-height: 1.6;
}

.cineveo-community-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 24px;
}

.cineveo-community-highlights span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 11px 12px;
    color: #dbeafe;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.25;
    background: rgba(14, 165, 233, 0.075);
    border: 1px solid rgba(125, 211, 252, 0.13);
    border-radius: 12px;
}

.cineveo-community-highlights svg {
    flex: 0 0 auto;
    color: #38bdf8;
    stroke-width: 2.5;
}

.cineveo-community-actions {
    display: grid;
    gap: 10px;
}

.cineveo-community-primary,
.cineveo-community-secondary {
    min-height: 50px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.cineveo-community-primary {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    width: 100%;
    padding: 13px 18px;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #31bdf4 0%, #159fe7 48%, #087acb 100%);
    border: 1px solid rgba(186, 230, 253, 0.42);
    box-shadow: 0 13px 30px rgba(2, 132, 199, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 170ms ease, filter 170ms ease, box-shadow 170ms ease;
}

.cineveo-community-primary:hover {
    color: #fff !important;
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(2, 132, 199, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cineveo-community-primary img {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    object-fit: contain;
}

.cineveo-community-primary-label {
    display: inline-block;
    flex: 0 1 auto;
    min-width: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.cineveo-community-primary svg {
    flex: 0 0 16px;
    margin-left: 2px;
    opacity: 0.76;
}

.cineveo-community-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 16px;
    color: #aeb9c8;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.cineveo-community-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.13);
}

.cineveo-community-official {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 14px 0 0;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.cineveo-community-handle {
    display: none;
}

body.cineveo-community-open {
    overflow: hidden !important;
}

body.light-theme .cineveo-community-dialog {
    color: #172033;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(242, 248, 252, 0.99));
    border-color: rgba(2, 132, 199, 0.22);
    box-shadow: 0 34px 90px rgba(15, 23, 42, 0.22), 0 18px 55px rgba(14, 165, 233, 0.10);
}

body.light-theme .cineveo-community-heading h2 {
    color: #101827;
}

body.light-theme .cineveo-community-description {
    color: #526173;
}

body.light-theme .cineveo-community-highlights span {
    color: #164e63;
    background: rgba(14, 165, 233, 0.07);
    border-color: rgba(2, 132, 199, 0.13);
}

body.light-theme .cineveo-community-close {
    color: #64748b;
    background: rgba(15, 23, 42, 0.045);
    border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .cineveo-community-close:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.08);
}

body.light-theme .cineveo-community-secondary {
    color: #526173;
    border-color: rgba(15, 23, 42, 0.10);
}

body.light-theme .cineveo-community-secondary:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.045);
    border-color: rgba(15, 23, 42, 0.15);
}

body.light-theme .cineveo-community-official {
    color: #748398;
}

@media (max-width: 640px) {
    .cineveo-community-modal {
        place-items: end stretch;
        padding: 0;
    }

    .cineveo-community-backdrop {
        background: rgba(3, 7, 12, 0.78);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    .cineveo-community-dialog {
        width: 100%;
        max-height: 92svh;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 25px 25px 0 0;
        transform: translateY(100%);
    }

    .cineveo-community-modal.is-open .cineveo-community-dialog {
        transform: translateY(0);
    }

    .cineveo-community-content {
        padding: 23px 20px calc(18px + env(safe-area-inset-bottom));
    }

    .cineveo-community-handle {
        display: block;
        width: 38px;
        height: 4px;
        margin: 9px auto 0;
        background: rgba(148, 163, 184, 0.34);
        border-radius: 999px;
    }

    .cineveo-community-close {
        top: 18px;
        right: 16px;
        width: 36px;
        height: 36px;
    }

    .cineveo-community-hero {
        display: block;
        padding: 0 32px;
        text-align: center;
    }

    .cineveo-community-icon {
        width: 66px;
        height: 66px;
        margin: 0 auto 18px;
        border-radius: 21px;
    }

    .cineveo-community-icon::after {
        border-radius: 16px;
    }

    .cineveo-community-icon-ring {
        border-radius: 26px;
    }

    .cineveo-community-icon img {
        width: 36px;
        height: 36px;
    }

    .cineveo-community-eyebrow {
        margin-bottom: 9px;
        font-size: 10px;
    }

    .cineveo-community-heading h2 {
        font-size: clamp(23px, 7vw, 28px);
    }

    .cineveo-community-description {
        margin: 18px auto 16px;
        max-width: 440px;
        font-size: 14px;
        line-height: 1.5;
        text-align: center;
    }

    .cineveo-community-highlights {
        grid-template-columns: 1fr;
        gap: 7px;
        margin-bottom: 18px;
    }

    .cineveo-community-highlights span {
        justify-content: center;
        padding: 9px 11px;
    }

    .cineveo-community-primary,
    .cineveo-community-secondary {
        min-height: 48px;
    }
}

@media (max-width: 370px) {
    .cineveo-community-content {
        padding-right: 16px;
        padding-left: 16px;
    }

    .cineveo-community-hero {
        padding: 0 24px;
    }

    .cineveo-community-description {
        font-size: 13.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cineveo-community-modal,
    .cineveo-community-dialog,
    .cineveo-community-close,
    .cineveo-community-primary,
    .cineveo-community-secondary {
        transition-duration: 0.01ms !important;
    }
}
