.uig2,
.uig2 * {
    box-sizing: border-box;
}

.uig2 {
    --uig2-navy: #071529;
    --uig2-ink: #112033;
    --uig2-muted: #5f6978;
    --uig2-gold: #dea833;
    --uig2-gold-strong: #f5c75f;
    --uig2-green: #00795a;
    --uig2-green-dark: #006044;
    --uig2-white: rgba(255,255,255,.92);
    --uig2-border: rgba(9, 25, 44, .12);
    --uig2-shadow: 0 28px 80px rgba(9, 25, 44, .22);
    --uig2-soft-shadow: 0 18px 46px rgba(9, 25, 44, .12);
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 40%) minmax(420px, 1fr);
    grid-template-rows: 1fr auto;
    gap: 20px clamp(24px, 5vw, 80px);
    min-height: var(--uig2-height, 720px);
    overflow: hidden;
    isolation: isolate;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(30px, 5vw, 72px);
    border-radius: clamp(24px, 4vw, 44px);
    background:
        radial-gradient(circle at 67% 24%, rgba(255, 230, 170, .88) 0, rgba(255, 230, 170, 0) 23%),
        radial-gradient(circle at 24% 16%, rgba(255, 255, 255, .75) 0, rgba(255, 255, 255, 0) 35%),
        linear-gradient(135deg, #fff4e1 0%, #f2e8da 43%, #cad8dc 100%);
    color: var(--uig2-ink);
    font-family: inherit;
}

.uig2::after {
    content: "";
    position: absolute;
    inset: auto -10% -16% -10%;
    height: 38%;
    z-index: -2;
    background:
        radial-gradient(ellipse at 30% 70%, rgba(6, 55, 74, .22) 0, rgba(6, 55, 74, 0) 48%),
        radial-gradient(ellipse at 70% 55%, rgba(15, 86, 62, .18) 0, rgba(15, 86, 62, 0) 55%),
        linear-gradient(to top, rgba(16, 37, 48, .17), rgba(16, 37, 48, 0));
    filter: blur(2px);
}

.uig2-bg {
    position: absolute;
    pointer-events: none;
    z-index: -3;
}

.uig2-bg-sun {
    top: -120px;
    right: 16%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 245, 206, .96) 0, rgba(255, 218, 141, .45) 32%, rgba(255, 218, 141, 0) 70%);
    filter: blur(8px);
}

.uig2-bg-mist {
    left: 25%;
    bottom: -10%;
    width: 75%;
    height: 52%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,.62) 0, rgba(255,255,255,0) 70%);
    filter: blur(20px);
}

.uig2-bg-mountains {
    right: -6%;
    bottom: -9%;
    width: 70%;
    height: 42%;
    background:
        linear-gradient(138deg, transparent 0 30%, rgba(22, 62, 82, .16) 30% 49%, transparent 49%),
        linear-gradient(52deg, transparent 0 42%, rgba(20, 85, 76, .12) 42% 58%, transparent 58%),
        linear-gradient(128deg, transparent 0 46%, rgba(8, 36, 56, .13) 46% 62%, transparent 62%);
    opacity: .8;
    filter: blur(1px);
}

.uig2-sparkles {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .62;
    background-image:
        radial-gradient(circle, rgba(245, 199, 95, .85) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, .9) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(245, 199, 95, .65) 0 1px, transparent 2px);
    background-size: 280px 260px, 360px 300px, 500px 430px;
    background-position: 70% 8%, 84% 30%, 42% 12%;
}

.uig2-copy {
    position: relative;
    z-index: 8;
    align-self: center;
    max-width: 560px;
}

.uig2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #a87918;
    font-size: clamp(12px, 1.1vw, 14px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.uig2-eyebrow span {
    color: var(--uig2-gold);
    font-size: 18px;
}

.uig2-title {
    margin: 0;
    max-width: 600px;
    color: var(--uig2-navy);
    font-size: clamp(50px, 6.4vw, 96px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .94;
}

.uig2-subtitle {
    margin: clamp(20px, 2.5vw, 32px) 0 0;
    max-width: 520px;
    color: #556172;
    font-size: clamp(18px, 1.55vw, 23px);
    font-weight: 450;
    line-height: 1.45;
}

.uig2-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-top: clamp(24px, 3vw, 42px);
    padding: 8px;
    border: 1px solid rgba(9, 25, 44, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--uig2-soft-shadow);
    backdrop-filter: blur(16px);
}

.uig2-tab {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 17px;
    border: 0;
    border-right: 1px solid rgba(9, 25, 44, .1);
    border-radius: 13px;
    background: transparent;
    color: var(--uig2-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.uig2-tab:last-child {
    border-right: 0;
}

.uig2-tab:hover {
    transform: translateY(-1px);
}

.uig2-tab.is-active {
    background: var(--uig2-navy);
    color: #fff;
    box-shadow: 0 10px 24px rgba(9, 25, 44, .18);
}

.uig2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
}

.uig2-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 58px;
    padding: 0 28px;
    border: 0;
    border-radius: 18px;
    font: inherit;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.uig2-btn:hover {
    transform: translateY(-2px);
}

.uig2-btn-primary {
    background: linear-gradient(135deg, #00835f, #006548);
    color: #fff;
    box-shadow: 0 20px 38px rgba(0, 104, 79, .25);
}

.uig2-btn-secondary {
    background: rgba(255, 255, 255, .86);
    color: var(--uig2-ink);
    box-shadow: var(--uig2-soft-shadow);
}

.uig2-btn[disabled] {
    opacity: .6;
    cursor: wait;
    transform: none;
}

.uig2-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 0;
    color: #637080;
    font-size: 16px;
    font-weight: 800;
}

.uig2-stage {
    position: relative;
    z-index: 5;
    min-height: min(620px, calc(var(--uig2-height, 720px) - 70px));
    align-self: stretch;
}

.uig2-globe {
    position: absolute;
    top: 50%;
    left: 47%;
    width: min(760px, 74vw);
    height: min(760px, 74vw);
    min-width: 430px;
    min-height: 430px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    overflow: visible;
    filter: saturate(1.08) contrast(1.04);
}

.uig2-globe canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50%;
}

.uig2-globe-aura {
    position: absolute;
    top: 50%;
    left: 47%;
    width: min(800px, 76vw);
    height: min(800px, 76vw);
    min-width: 460px;
    min-height: 460px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 31% 31%, rgba(255,255,255,.58), transparent 21%),
        radial-gradient(circle at center, rgba(91, 171, 191, .18), rgba(255,255,255,0) 69%);
    box-shadow:
        inset 28px 10px 46px rgba(255, 255, 255, .16),
        0 0 0 1px rgba(255,255,255,.26),
        0 44px 100px rgba(9, 25, 44, .26);
    pointer-events: none;
}

.uig2-globe-shadow {
    position: absolute;
    left: 48%;
    bottom: 3%;
    width: 55%;
    height: 11%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(7, 21, 41, .24), transparent 67%);
    filter: blur(16px);
    pointer-events: none;
}

.uig2-panel {
    position: absolute;
    right: clamp(0px, 1.8vw, 18px);
    bottom: clamp(18px, 4vw, 58px);
    z-index: 12;
    width: min(390px, 42vw);
    padding: 26px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 26px;
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--uig2-shadow);
    backdrop-filter: blur(24px);
    color: var(--uig2-ink);
    transform: translateY(0) scale(1);
    transition: transform .25s ease, opacity .25s ease;
}

.uig2-panel.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(.98);
}

.uig2-panel-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(9, 25, 44, .1);
    border-radius: 50%;
    background: rgba(255,255,255,.66);
    color: var(--uig2-ink);
    font: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.uig2-panel-head {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 34px;
}

.uig2-location-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffe6a7, #db9e24);
    color: #1b2230;
    box-shadow: 0 13px 24px rgba(222, 168, 51, .26);
    font-weight: 900;
}

.uig2-panel h3 {
    margin: 0;
    color: var(--uig2-navy);
    font-size: 29px;
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.05;
}

.uig2-panel p {
    margin: 0;
}

.uig2-panel-head p {
    margin-top: 4px;
    color: #6a7280;
    font-size: 15px;
    font-weight: 700;
}

.uig2-description {
    margin-top: 18px !important;
    color: #4f5a69;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
}

.uig2-programs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.uig2-program {
    position: relative;
    min-height: 144px;
    overflow: hidden;
    padding: 10px;
    border-radius: 17px;
    background:
        linear-gradient(to top, rgba(5, 16, 29, .92), rgba(5, 16, 29, .38) 58%, rgba(5, 16, 29, .06)),
        radial-gradient(circle at 25% 20%, rgba(255,255,255,.6), transparent 20%),
        linear-gradient(135deg, #9fb7b8, #37586d);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.uig2-program:nth-child(2) {
    background:
        linear-gradient(to top, rgba(5, 16, 29, .92), rgba(5, 16, 29, .38) 58%, rgba(5, 16, 29, .05)),
        radial-gradient(circle at 70% 15%, rgba(255,231,166,.45), transparent 20%),
        linear-gradient(135deg, #b5a77b, #4b6c68);
}

.uig2-program:nth-child(3) {
    background:
        linear-gradient(to top, rgba(5, 16, 29, .94), rgba(5, 16, 29, .34) 58%, rgba(5, 16, 29, .05)),
        radial-gradient(circle at 50% 20%, rgba(255,190,95,.6), transparent 24%),
        linear-gradient(135deg, #d38d52, #68405d);
}

.uig2-program-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    font-size: 17px;
}

.uig2-program-cat {
    position: absolute;
    left: 10px;
    bottom: 58px;
    max-width: calc(100% - 20px);
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(222, 168, 51, .92);
    color: #1b2230;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.uig2-program-title {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 25px;
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.02em;
}

.uig2-program-duration {
    position: absolute;
    left: 10px;
    bottom: 8px;
    color: rgba(255,255,255,.88);
    font-size: 11px;
    font-weight: 700;
}

.uig2-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding: 14px 16px;
    border: 1px solid rgba(9, 25, 44, .1);
    border-radius: 16px;
    background: rgba(255,255,255,.68);
    color: var(--uig2-ink);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.uig2-drag-hint {
    position: absolute;
    left: 61%;
    bottom: 10%;
    z-index: 10;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.5);
    background: rgba(6, 18, 34, .28);
    color: #fff;
    box-shadow: var(--uig2-soft-shadow);
    backdrop-filter: blur(14px);
    pointer-events: none;
}

.uig2-drag-hint span {
    display: block;
    margin-top: 8px;
    font-size: 30px;
    line-height: .6;
}

.uig2-drag-hint small {
    margin-top: -8px;
    font-size: 11px;
    font-weight: 800;
}

.uig2-moods {
    position: relative;
    z-index: 15;
    grid-column: 1 / -1;
    align-self: end;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    padding: 24px 28px;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 26px;
    background: rgba(255, 255, 255, .52);
    box-shadow: 0 20px 70px rgba(9, 25, 44, .08);
    backdrop-filter: blur(16px);
}

.uig2-moods strong {
    flex: 1 0 100%;
    margin-bottom: 4px;
    color: var(--uig2-navy);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.uig2-mood {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    min-width: 150px;
    padding: 0 20px;
    border: 1px solid rgba(9, 25, 44, .1);
    border-radius: 17px;
    background: rgba(255,255,255,.76);
    color: var(--uig2-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(9,25,44,.06);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.uig2-mood:hover {
    transform: translateY(-2px);
}

.uig2-mood.is-active {
    border-color: rgba(222,168,51,.7);
    background: rgba(255, 238, 196, .92);
}

.uig2-pin {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translate(-50%, -100%);
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
    font-family: inherit;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.28));
    transition: transform .2s ease, opacity .2s ease, filter .2s ease;
}

.uig2-pin:hover,
.uig2-pin.is-selected {
    transform: translate(-50%, -100%) scale(1.08);
    filter: drop-shadow(0 16px 28px rgba(0,0,0,.36));
}

.uig2-pin.is-dimmed {
    opacity: .32;
}

.uig2-pin-mark {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #fff3c5;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, #ffd872, #d99a21);
    transform: rotate(-45deg);
    box-shadow:
        0 0 0 4px rgba(222,168,51,.24),
        0 0 30px rgba(255, 205, 92, .85);
}

.uig2-pin-mark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
}

.uig2-pin-label {
    position: relative;
    left: -4px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 11px;
    background: rgba(10, 16, 25, .55);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

/* Fallback, if WebGL/CDN is blocked */
.uig2-fallback-globe {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 50%;
    background:
        radial-gradient(circle at 31% 26%, rgba(255,255,255,.35), transparent 18%),
        radial-gradient(circle at 64% 50%, rgba(50,145,183,.95), #0c4e76 55%, #062944 100%);
    box-shadow: inset -80px 0 90px rgba(2, 18, 34, .62), inset 30px 8px 44px rgba(255,255,255,.18), 0 30px 80px rgba(9,25,44,.25);
}

.uig2-fallback-globe::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .45;
    background-image:
        linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
    background-size: 48px 48px;
}

.uig2-fallback-land {
    position: absolute;
    border-radius: 46% 54% 55% 45% / 54% 48% 52% 46%;
    background: linear-gradient(135deg, rgba(109,156,87,.9), rgba(52,105,68,.75));
    filter: blur(.2px);
}

.uig2-fallback-land:nth-child(1) { width: 22%; height: 39%; left: 18%; top: 34%; transform: rotate(14deg); }
.uig2-fallback-land:nth-child(2) { width: 24%; height: 18%; left: 48%; top: 27%; transform: rotate(-8deg); }
.uig2-fallback-land:nth-child(3) { width: 34%; height: 35%; left: 52%; top: 37%; transform: rotate(5deg); }
.uig2-fallback-land:nth-child(4) { width: 22%; height: 16%; left: 72%; top: 31%; transform: rotate(-14deg); }
.uig2-fallback-land:nth-child(5) { width: 18%; height: 11%; left: 71%; top: 71%; transform: rotate(3deg); }

.uig2-fallback-pin {
    position: absolute;
    z-index: 5;
}

@media (max-width: 1180px) {
    .uig2 {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .uig2-copy {
        max-width: 760px;
    }

    .uig2-stage {
        min-height: 660px;
    }

    .uig2-globe,
    .uig2-globe-aura {
        left: 50%;
    }

    .uig2-panel {
        right: 3%;
        width: min(420px, 48vw);
    }
}

@media (max-width: 820px) {
    .uig2 {
        padding: 26px 16px;
        border-radius: 26px;
    }

    .uig2-title {
        font-size: clamp(42px, 13vw, 64px);
    }

    .uig2-subtitle {
        font-size: 17px;
    }

    .uig2-tabs {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .uig2-tab {
        border-right: 0;
        border-bottom: 1px solid rgba(9, 25, 44, .08);
    }

    .uig2-tab:last-child {
        border-bottom: 0;
    }

    .uig2-actions {
        gap: 12px;
    }

    .uig2-btn {
        width: 100%;
    }

    .uig2-stage {
        min-height: 760px;
    }

    .uig2-globe,
    .uig2-globe-aura {
        top: 36%;
        width: 580px;
        height: 580px;
        min-width: 580px;
        min-height: 580px;
    }

    .uig2-panel {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        padding: 22px;
        border-radius: 24px;
    }

    .uig2-programs {
        grid-template-columns: 1fr;
    }

    .uig2-program {
        min-height: 94px;
    }

    .uig2-program-cat { bottom: 47px; }
    .uig2-program-title { bottom: 23px; }

    .uig2-drag-hint {
        display: none;
    }

    .uig2-moods {
        padding: 18px;
    }

    .uig2-mood {
        flex: 1 1 100%;
        min-width: 0;
    }
}

@media (max-width: 520px) {
    .uig2-stage {
        min-height: 720px;
    }

    .uig2-globe,
    .uig2-globe-aura {
        width: 490px;
        height: 490px;
        min-width: 490px;
        min-height: 490px;
    }

    .uig2-pin-label {
        display: none;
    }

    .uig2-panel h3 {
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .uig2 *,
    .uig2 *::before,
    .uig2 *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
