.tggr {
    --tggr-accent: #d52f78;
    --tggr-card: #eef5ff;
    --tggr-text: #303545;
    --tggr-star: #fbbc04;
    --tggr-max: 520px;
    --tggr-rating: 100%;
    --tggr-bg-a: #d72f79;
    --tggr-bg-b: #702267;
    --tggr-bg-c: #1e2e68;
    --tggr-sun: #ffc54f;
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: var(--tggr-max);
    min-height: 390px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 26px;
    color: #fff;
    background: var(--tggr-accent);
    box-shadow: 0 26px 70px rgba(24, 12, 34, .28), 0 2px 0 rgba(255, 255, 255, .2) inset;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transform: translateZ(0);
}

.tggr *,
.tggr *::before,
.tggr *::after {
    box-sizing: border-box;
}

.tggr--theme-tandem {
    --tggr-bg-a: var(--tggr-accent);
    --tggr-bg-b: #8d246d;
    --tggr-bg-c: #20306b;
    --tggr-sun: #ffd05a;
}

.tggr--theme-sunset {
    --tggr-bg-a: #ef4874;
    --tggr-bg-b: #cc4d7e;
    --tggr-bg-c: #303370;
    --tggr-sun: #ffd36b;
}

.tggr--theme-ocean {
    --tggr-bg-a: #00a9c7;
    --tggr-bg-b: #2379a9;
    --tggr-bg-c: #1c2d65;
    --tggr-sun: #ffe48d;
}

.tggr--theme-night {
    --tggr-bg-a: #4a245e;
    --tggr-bg-b: #29275f;
    --tggr-bg-c: #0f173b;
    --tggr-sun: #f1d2ff;
}

.tggr__stage,
.tggr__loader {
    position: absolute;
    inset: 0;
}

.tggr__stage {
    z-index: 1;
    display: flex;
    min-height: 390px;
    align-items: center;
    justify-content: center;
    padding: 28px;
    visibility: visible;
    opacity: 1;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, .22), transparent 8rem),
        radial-gradient(circle at 14% 92%, rgba(255, 194, 78, .18), transparent 11rem),
        linear-gradient(145deg, var(--tggr-bg-a) 0%, var(--tggr-bg-b) 50%, var(--tggr-bg-c) 100%);
    transition: opacity .46s ease, transform .46s ease, visibility 0s linear 0s;
}

.tggr__stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .2;
    background-image:
        linear-gradient(120deg, transparent 0 46%, rgba(255,255,255,.5) 47% 48%, transparent 49% 100%),
        linear-gradient(120deg, transparent 0 67%, rgba(255,255,255,.26) 68% 69%, transparent 70% 100%);
    background-size: 160px 160px, 230px 230px;
}

.tggr--loading .tggr__stage {
    visibility: hidden;
    opacity: 0;
    transform: scale(.985);
    transition-delay: 0s;
    animation: tggr-stage-failsafe .45s ease 4s forwards;
}

.tggr--ready .tggr__stage {
    visibility: visible;
    opacity: 1;
    transform: none;
}

.tggr__loader {
    z-index: 10;
    display: flex;
    min-height: 390px;
    padding: 28px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 43%, rgba(255,255,255,.22), transparent 8rem),
        linear-gradient(145deg, var(--tggr-bg-a), var(--tggr-bg-b) 54%, var(--tggr-bg-c));
    opacity: 1;
    visibility: visible;
    transition: opacity .34s ease, visibility 0s linear .34s;
    animation: tggr-loader-failsafe 0s linear 4s forwards;
}

.tggr--ready .tggr__loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.tggr__loader-orbit {
    position: relative;
    width: 112px;
    height: 112px;
    margin-bottom: 3px;
}

.tggr__loader-ring {
    position: absolute;
    inset: 5px;
    border: 2px solid rgba(255,255,255,.24);
    border-top-color: rgba(255,255,255,.98);
    border-right-color: var(--tggr-star);
    border-radius: 50%;
    animation: tggr-spin 1.1s linear infinite;
}

.tggr__loader-g {
    position: absolute;
    inset: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #4285f4;
    background: #fff;
    box-shadow: 0 14px 32px rgba(10, 15, 45, .25);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.tggr__loader-dot {
    position: absolute;
    z-index: 2;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 16px currentColor;
}

.tggr__loader-dot--one {
    top: 3px;
    left: 50%;
    color: #fbbc04;
    background: currentColor;
    transform: translateX(-50%);
}

.tggr__loader-dot--two {
    right: 4px;
    bottom: 20px;
    color: #34a853;
    background: currentColor;
}

.tggr__loader-stars {
    color: var(--tggr-star);
    font-size: 22px;
    letter-spacing: 2px;
    text-shadow: 0 4px 14px rgba(0,0,0,.25);
    animation: tggr-pulse 1.2s ease-in-out infinite;
}

.tggr__loader-text {
    max-width: 280px;
    color: rgba(255,255,255,.9);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tggr__shell {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 430px;
    text-align: center;
}

.tggr__kicker {
    display: inline-flex;
    min-height: 28px;
    margin-bottom: 17px;
    padding: 6px 12px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.46);
    border-radius: 999px;
    color: rgba(255,255,255,.94);
    background: rgba(18, 14, 45, .2);
    box-shadow: 0 10px 24px rgba(17, 11, 41, .12);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .13em;
    line-height: 1.2;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.tggr__card-wrap {
    position: relative;
    margin: 0 auto;
    padding: 5px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.22) 42%, rgba(255,201,89,.7));
    box-shadow: 0 24px 55px rgba(20, 8, 39, .34);
    transform: rotate(-1.2deg);
}

.tggr__card {
    position: relative;
    min-height: 235px;
    padding: 24px 26px 22px;
    overflow: hidden;
    border-radius: 20px;
    color: var(--tggr-text);
    background:
        linear-gradient(135deg, rgba(255,255,255,.93), rgba(255,255,255,.54)),
        var(--tggr-card);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), inset 0 -24px 44px rgba(69, 94, 147, .08);
    transform: rotate(1.2deg);
}

.tggr__card::before {
    content: "";
    position: absolute;
    top: -68px;
    right: -74px;
    width: 175px;
    height: 175px;
    border: 24px solid rgba(66,133,244,.08);
    border-radius: 50%;
}

.tggr__card::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 12px;
    height: 2px;
    opacity: .46;
    background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc04, #34a853);
}

.tggr__tape {
    position: absolute;
    z-index: 3;
    top: -9px;
    width: 66px;
    height: 22px;
    opacity: .72;
    background: rgba(255, 226, 159, .9);
    box-shadow: 0 3px 7px rgba(80,57,16,.12);
}

.tggr__tape--left {
    left: 18px;
    transform: rotate(-7deg);
}

.tggr__tape--right {
    right: 18px;
    transform: rotate(6deg);
}

.tggr__google-mark {
    position: relative;
    display: inline-flex;
    width: 56px;
    height: 56px;
    margin-bottom: 4px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(33, 54, 92, .16);
}

.tggr__google-letter {
    color: #4285f4;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

.tggr__google-bars {
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 6px;
    display: grid;
    height: 4px;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border-radius: 999px;
}

.tggr__google-bars i:nth-child(1) { background: #4285f4; }
.tggr__google-bars i:nth-child(2) { background: #ea4335; }
.tggr__google-bars i:nth-child(3) { background: #fbbc04; }
.tggr__google-bars i:nth-child(4) { background: #34a853; }

.tggr__heading {
    position: relative;
    z-index: 1;
    margin: 3px 0 5px;
    color: var(--tggr-text);
    font-size: clamp(18px, 4.4vw, 25px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.tggr__rating-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-top: 7px;
}

.tggr__rating-number {
    color: var(--tggr-text);
    font-size: clamp(34px, 8vw, 50px);
    font-weight: 950;
    line-height: .95;
    letter-spacing: -.055em;
}

.tggr__out-of {
    color: rgba(48,53,69,.58);
    font-size: 14px;
    font-weight: 800;
}

.tggr__stars {
    position: relative;
    display: inline-block;
    margin-top: 7px;
    font-size: clamp(23px, 6vw, 31px);
    line-height: 1;
    letter-spacing: 1px;
    white-space: nowrap;
}

.tggr__stars-base {
    color: rgba(48,53,69,.16);
}

.tggr__stars-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--tggr-rating);
    overflow: hidden;
    color: var(--tggr-star);
    text-shadow: 0 4px 10px rgba(251,188,4,.22);
}

.tggr__count {
    display: flex;
    margin-top: 8px;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    color: rgba(48,53,69,.72);
    font-size: 13px;
}

.tggr__count strong {
    color: var(--tggr-text);
    font-size: 17px;
    font-weight: 900;
}

.tggr__trust {
    position: relative;
    z-index: 1;
    max-width: 320px;
    margin: 11px auto 0;
    color: rgba(48,53,69,.72);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.45;
}

.tggr__card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}

.tggr__card-link:focus-visible {
    outline: 4px solid var(--tggr-star);
    outline-offset: -6px;
}

.tggr__actions {
    display: flex;
    margin-top: 18px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.tggr__button {
    position: relative;
    z-index: 5;
    display: inline-flex;
    min-height: 42px;
    padding: 10px 15px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.64);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(20, 9, 40, .18);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.tggr__button:hover,
.tggr__button:focus {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(20, 9, 40, .25);
}

.tggr__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.tggr__button--ghost {
    color: #fff;
    background: rgba(16,17,48,.18);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.tggr__button--ghost:hover,
.tggr__button--ghost:focus {
    color: #fff;
    background: rgba(16,17,48,.3);
}

.tggr__button--primary {
    border-color: #fff;
    color: #7a255d;
    background: #fff;
}

.tggr__button--primary:hover,
.tggr__button--primary:focus {
    color: #7a255d;
    background: #fff7dc;
}

.tggr__sun {
    position: absolute;
    z-index: 0;
    top: 26px;
    right: 35px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    opacity: .78;
    background: var(--tggr-sun);
    box-shadow: 0 0 0 16px rgba(255,204,88,.11), 0 0 58px rgba(255,199,75,.44);
}

.tggr__cloud {
    position: absolute;
    z-index: 0;
    width: 120px;
    height: 24px;
    border-radius: 999px;
    opacity: .12;
    background: #fff;
    filter: blur(.2px);
}

.tggr__cloud::before,
.tggr__cloud::after {
    content: "";
    position: absolute;
    bottom: 0;
    border-radius: 50%;
    background: inherit;
}

.tggr__cloud::before {
    left: 18px;
    width: 48px;
    height: 48px;
}

.tggr__cloud::after {
    right: 18px;
    width: 62px;
    height: 62px;
}

.tggr__cloud--one {
    top: 88px;
    left: -24px;
}

.tggr__cloud--two {
    right: -48px;
    bottom: 52px;
    transform: scale(.8);
}

.tggr__glider {
    position: absolute;
    z-index: 2;
    top: 55px;
    left: 35px;
    width: 76px;
    height: 48px;
    opacity: .86;
    transform: rotate(-8deg);
}

.tggr__wing {
    position: absolute;
    left: 0;
    top: 0;
    width: 76px;
    height: 26px;
    border-radius: 70% 70% 28% 28% / 100% 100% 22% 22%;
    background: linear-gradient(90deg, #fff 0 24%, #ffcf55 24% 50%, #f03b80 50% 76%, #fff 76% 100%);
    box-shadow: 0 8px 17px rgba(11,15,42,.24);
}

.tggr__wing::before,
.tggr__wing::after {
    content: "";
    position: absolute;
    top: 23px;
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,.65);
}

.tggr__wing::before { left: 26px; transform: rotate(-12deg); }
.tggr__wing::after { right: 26px; transform: rotate(12deg); }

.tggr__pilot {
    position: absolute;
    left: 34px;
    top: 38px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #17172d;
    box-shadow: 0 6px 0 1px #17172d;
}

.tggr__spark {
    position: absolute;
    z-index: 1;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 18px #fff;
}

.tggr__spark--one { top: 44px; left: 49%; }
.tggr__spark--two { top: 146px; right: 28px; }
.tggr__spark--three { left: 28px; bottom: 72px; }

.tggr--motion-soft .tggr__sun { animation: tggr-sun 5.5s ease-in-out infinite alternate; }
.tggr--motion-soft .tggr__glider { animation: tggr-glider-soft 6.5s ease-in-out infinite; }
.tggr--motion-soft .tggr__spark { animation: tggr-twinkle 2.2s ease-in-out infinite; }
.tggr--motion-soft .tggr__stage::before { animation: tggr-sky-drift 20s linear infinite; }

.tggr--motion-epic .tggr__sun { animation: tggr-sun 3.8s ease-in-out infinite alternate; }
.tggr--motion-epic .tggr__glider { animation: tggr-glider-epic 5s ease-in-out infinite; }
.tggr--motion-epic .tggr__spark { animation: tggr-twinkle 1.5s ease-in-out infinite; }
.tggr--motion-epic .tggr__stage::before { animation: tggr-sky-drift 12s linear infinite; }
.tggr--motion-epic .tggr__card-wrap { animation: tggr-card-float 4.8s ease-in-out infinite; }

@keyframes tggr-spin {
    to { transform: rotate(360deg); }
}

@keyframes tggr-pulse {
    0%, 100% { opacity: .62; transform: scale(.97); }
    50% { opacity: 1; transform: scale(1.03); }
}

@keyframes tggr-stage-failsafe {
    to { visibility: visible; opacity: 1; transform: none; }
}

@keyframes tggr-loader-failsafe {
    to { visibility: hidden; opacity: 0; pointer-events: none; }
}

@keyframes tggr-sun {
    from { transform: translate3d(0, 0, 0) scale(.96); }
    to { transform: translate3d(-5px, 5px, 0) scale(1.04); }
}

@keyframes tggr-glider-soft {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
    50% { transform: translate3d(14px, -7px, 0) rotate(-3deg); }
}

@keyframes tggr-glider-epic {
    0%, 100% { transform: translate3d(-6px, 5px, 0) rotate(-11deg); }
    50% { transform: translate3d(24px, -12px, 0) rotate(1deg); }
}

@keyframes tggr-twinkle {
    0%, 100% { opacity: .25; transform: scale(.7); }
    50% { opacity: 1; transform: scale(1.35); }
}

@keyframes tggr-sky-drift {
    to { background-position: 160px 0, 230px 0; }
}

@keyframes tggr-card-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.2deg); }
    50% { transform: translate3d(0, -6px, 0) rotate(-.6deg); }
}

@media (max-width: 520px) {
    .tggr {
        min-height: 430px;
        border-radius: 20px;
    }

    .tggr__stage,
    .tggr__loader {
        min-height: 430px;
    }

    .tggr__stage {
        padding: 24px 15px;
    }

    .tggr__card {
        padding: 23px 18px 21px;
    }

    .tggr__glider {
        top: 45px;
        left: 16px;
        transform: scale(.82) rotate(-8deg);
        transform-origin: left top;
    }

    .tggr__sun {
        top: 24px;
        right: 20px;
        width: 70px;
        height: 70px;
    }

    .tggr__actions {
        flex-direction: column;
    }

    .tggr__button {
        width: min(100%, 260px);
    }
}

@media (max-width: 350px) {
    .tggr__stage {
        padding-inline: 10px;
    }

    .tggr__card {
        padding-inline: 13px;
    }

    .tggr__kicker {
        max-width: 94%;
        font-size: 9px;
        letter-spacing: .08em;
    }
}

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

@supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
    .tggr__kicker,
    .tggr__button--ghost {
        background: rgba(22, 16, 52, .72);
    }
}
