/* ============================================================
   WordPress Hosting Coupons — Coupon Cards Section
   ============================================================ */

.wp-coupons-section {
    background: var(--white);
}

.wp-coupon-grid {
    position: relative;
}

/* ---- Card ---- */
.wp-coupon-card {
    background: var(--white);
    border: 1px solid var(--border-indigo);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.75rem;
    box-shadow: 0 8px 24px -16px rgba(37, 99, 235, .12);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.wp-coupon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px -24px rgba(37, 99, 235, .25);
}

/* ---- Head row: logo + tag ---- */
.wp-coupon-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .9rem;
    border: 1px solid var(--border-indigo);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.wp-coupon-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.wp-coupon-tag {
    display: inline-block;
    background: var(--primary-purple);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: .3rem .7rem;
    border-radius: 6px;
}

/* ---- Verified pill ---- */
.wp-coupon-verified {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    padding: .25rem .75rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: .85rem;
    width: max-content;
}

.wp-coupon-verified svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.25;
}

/* ---- Titles ---- */
.wp-coupon-title {
    color: var(--text-main);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: .25rem;
}

.wp-coupon-tagline {
    color: var(--text-body);
    font-size: .95rem;
    margin-bottom: 1.1rem;
}

/* ---- Deal banner ---- */
.wp-coupon-deal {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--brand-indigo) 100%);
    color: var(--white);
    border-radius: 12px;
    padding: .9rem 1rem;
    text-align: center;
    margin-bottom: .85rem;
}

.wp-coupon-deal-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    opacity: .85;
    margin-bottom: .15rem;
}

.wp-coupon-deal-value {
    font-size: 1.05rem;
    font-weight: 700;
}

/* ---- Coupon code box ---- */
.wp-coupon-code-box {
    background: #2b2f3a;
    color: var(--white);
    border-radius: 10px;
    padding: .65rem .85rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1.1rem;
}

.wp-coupon-code-meta {
    flex-grow: 1;
    min-width: 0;
}

.wp-coupon-code-label {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .55);
    margin-bottom: .1rem;
}

.wp-coupon-code-value {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .04em;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wp-coupon-copy-btn {
    border: 0;
    background: var(--primary-purple);
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    border-radius: 8px;
    padding: .55rem .85rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
    flex-shrink: 0;
}

.wp-coupon-copy-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .55);
}

.wp-coupon-copy-btn.is-copied {
    background: #10b981;
}

.wp-coupon-copy-btn svg {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

/* ---- Feature list ---- */
.wp-coupon-features {
    margin-bottom: 1.25rem;
    padding: 0;
}

.wp-coupon-features li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    font-size: .9rem;
    color: var(--text-body);
    padding: .35rem 0;
}

.wp-coupon-features li svg {
    width: 16px;
    height: 16px;
    color: #10b981;
    stroke-width: 2.5;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---- CTA ---- */
.wp-coupon-cta {
    background: var(--primary-purple);
    color: var(--white);
    border-radius: 10px;
    padding: .75rem 1rem;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: auto;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.wp-coupon-cta:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(37, 99, 235, .45);
}

.wp-coupon-cta svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

@media (max-width: 575.98px) {
    .wp-coupon-card {
        padding: 1.25rem 1.1rem 1.5rem;
    }
    .wp-coupon-title {
        font-size: 1.15rem;
    }
    .wp-coupon-code-value {
        font-size: .95rem;
    }
}

/* ============================================================
   Why Trust Section
   ============================================================ */

.wp-trust-section {
    background: var(--white);
}

.wp-trust-intro {
    color: var(--text-body);
    font-size: .98rem;
    line-height: 1.7;
}

.wp-trust-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
}

.wp-trust-feature + .wp-trust-feature {
    border-top: 1px solid var(--border-indigo);
}

.wp-trust-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--border-indigo);
    color: var(--primary-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px -10px rgba(37, 99, 235, .25);
}

.wp-trust-feature-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.wp-trust-feature-title {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: .25rem;
}

.wp-trust-feature-desc {
    color: var(--text-body);
    font-size: .92rem;
    line-height: 1.6;
    margin: 0;
}

/* ---- Trust card (right side) ---- */
.wp-trust-card {
    background: var(--white);
    border: 1px solid var(--border-indigo);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 24px 48px -28px rgba(37, 99, 235, .25);
}

.wp-trust-success {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.wp-trust-check {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #d1fae5;
    color: #047857;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wp-trust-check svg {
    width: 28px;
    height: 28px;
    stroke-width: 3;
}

.wp-trust-percent {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-main);
}

.wp-trust-percent-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--text-body);
    margin-top: .25rem;
}

.wp-trust-progress {
    height: 6px;
    border-radius: 999px;
    background: var(--light-purple-shade);
    overflow: hidden;
    margin-bottom: .65rem;
}

.wp-trust-progress-bar {
    height: 100%;
    width: 98%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    border-radius: 999px;
}

.wp-trust-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--text-body);
}

.wp-trust-divider {
    border: 0;
    border-top: 1px solid var(--border-indigo);
    opacity: 1;
    margin: 1.5rem 0;
}

.wp-trust-users {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wp-trust-avatars {
    display: inline-flex;
    flex-shrink: 0;
}

.wp-trust-avatars img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--white);
    object-fit: cover;
    margin-left: -10px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .12);
}

.wp-trust-avatars img:first-child {
    margin-left: 0;
}

.wp-trust-users-title {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
}

.wp-trust-users-sub {
    color: var(--text-body);
    font-size: .88rem;
}

@media (max-width: 575.98px) {
    .wp-trust-card {
        padding: 1.5rem;
    }
    .wp-trust-percent {
        font-size: 1.6rem;
    }
    .wp-trust-check {
        width: 48px;
        height: 48px;
    }
    .wp-trust-check svg {
        width: 22px;
        height: 22px;
    }
}

/* Extra Savings heading: live date badge + animated savings number */
.wp-coupon-live-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-purple, #eff6ff);
    color: var(--primary-purple);
    padding: 4px 14px 4px 10px;
    border-radius: 50px;
    font-size: 0.6em;
    font-weight: 700;
    vertical-align: middle;
}

.wp-coupon-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex: 0 0 auto;
    animation: wpCouponLivePulse 1.8s ease-in-out infinite;
}

@keyframes wpCouponLivePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.wp-coupon-stat-num {
    color: #16a34a;
    font-weight: 800;
}

/* ============================================================
   Coupon Tickets (ys-cpn) — horizontal deal cards
   ============================================================ */
.ys-cpn-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 1080px;
    margin: 0 auto;
}

.ys-cpn {
    display: grid;
    grid-template-columns: 1fr 250px;
    background: var(--white);
    border: 1.5px dashed var(--border-indigo);
    border-radius: 18px;
    box-shadow: 0 8px 24px -16px rgba(37, 99, 235, .18);
    transition: box-shadow .25s ease, transform .25s ease;
}

.ys-cpn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -24px rgba(37, 99, 235, .3);
}

/* ---- left: brand + info ---- */
.ys-cpn-main {
    position: relative;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.6rem 1.5rem 2.2rem;
}

.ys-cpn-num {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 26px;
    height: 26px;
    border: 1.5px solid var(--primary-purple);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .8rem;
    font-weight: 700;
    color: var(--primary-purple);
    background: var(--white);
}

.ys-cpn-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .5rem;
}

.ys-cpn-brand img {
    max-width: 160px;
    height: auto;
}

.ys-cpn-brand-sub {
    font-size: .85rem;
    color: var(--text-body);
}

.ys-cpn-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 .6rem;
}

.ys-cpn-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .55rem;
}

.ys-cpn-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    font-weight: 500;
    padding: .2rem .65rem;
    border-radius: 6px;
}

.ys-cpn-badge-excl {
    background: var(--brand-purple-light);
    border: 1px solid var(--border-indigo);
    color: var(--primary-purple);
}

.ys-cpn-badge-ok {
    background: var(--save-bg);
    border: 1px solid var(--save-border);
    color: var(--save-text);
}

.ys-cpn-meta {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: .45rem;
}

.ys-cpn-vote {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-body);
}

.ys-cpn-vote-btn {
    border: 0;
    background: transparent;
    padding: 0 .15rem;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease;
}

.ys-cpn-vote-btn:hover { transform: scale(1.15); }
.ys-cpn-up { color: var(--emerald-500); }
.ys-cpn-down { color: var(--cp-orange); }
.ys-cpn-vote-btn.is-voted { transform: scale(1.2); }
.ys-cpn-vote-btn.is-voted i::before { font-weight: 700; }

.ys-cpn-vote-msg {
    font-weight: 500;
    color: var(--text-muted);
}

.ys-cpn-more {
    position: absolute;
    left: 1.5rem;
    bottom: 0;
    transform: translateY(50%);
    border: 0;
    background: var(--light-purple);
    color: var(--primary-purple);
    font-size: .9rem;
    font-weight: 600;
    padding: .5rem 1.3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    cursor: pointer;
    z-index: 2;
}

.ys-cpn-more i { transition: transform .2s ease; }
.ys-cpn-more[aria-expanded="true"] i { transform: rotate(180deg); }

/* ---- right: discount + code ---- */
.ys-cpn-side {
    border-left: 1.5px dashed var(--border-indigo);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: 1.5rem 1rem;
}

.ys-cpn-off {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-purple);
}

.ys-cpn-reveal {
    position: relative;
    width: 100%;
    max-width: 210px;
    height: 46px;
    border: 1.5px solid var(--border-indigo);
    border-radius: 999px;
    background: var(--white);
    padding: 0 1rem;
    cursor: pointer;
    overflow: hidden;
}

.ys-cpn-code {
    display: block;
    text-align: right;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .06em;
    color: var(--slate-400);
}

.ys-cpn-cover {
    position: absolute;
    inset: 0 22% 0 0;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-blue));
    color: var(--white);
    font-weight: 600;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border-radius: 999px 0 0 999px;
    transition: inset .35s ease, opacity .35s ease;
}

/* folded "peel" corner */
.ys-cpn-cover::after {
    content: "";
    position: absolute;
    top: 0;
    right: -14px;
    border-style: solid;
    border-width: 0 14px 22px 0;
    border-color: transparent transparent var(--primary-blue) transparent;
    filter: brightness(.8);
}

.ys-cpn-reveal:hover .ys-cpn-cover { inset: 0 28% 0 0; }

.ys-cpn-reveal.is-revealed .ys-cpn-code {
    text-align: center;
    color: var(--primary-purple);
}

.ys-cpn-reveal.is-revealed .ys-cpn-cover {
    inset: 0 100% 0 0;
    opacity: 0;
}

.ys-cpn-reveal.is-copied {
    border-color: var(--emerald-500);
}

/* ---- expandable details ---- */
.ys-cpn-details {
    grid-column: 1 / -1;
    border-top: 1.5px dashed var(--border-indigo);
    padding: 2rem 1.5rem 1.4rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ys-cpn-details[hidden] { display: none; }

.ys-cpn-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem 2.5rem;
    margin: 0;
}

.ys-cpn-features li {
    font-size: .9rem;
    color: var(--text-body);
}

.ys-cpn-features li i { color: var(--emerald-500); }

.ys-cpn-cta {
    background: var(--primary-purple);
    color: var(--white);
    border-radius: 10px;
    padding: .65rem 1.2rem;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: background .2s ease;
}

.ys-cpn-cta:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* ---- mobile ---- */
@media (max-width: 767.98px) {
    .ys-cpn { grid-template-columns: 1fr; }

    .ys-cpn-main {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2.2rem 1rem 1.2rem;
    }

    .ys-cpn-badges, .ys-cpn-vote { justify-content: center; }
    .ys-cpn-title { font-size: 1.05rem; }

    .ys-cpn-more {
        position: static;
        transform: none;
        margin: .4rem auto 0;
    }

    .ys-cpn-side {
        border-left: 0;
        border-top: 1.5px dashed var(--border-indigo);
    }

    .ys-cpn-details { padding: 1.2rem 1rem; }
    .ys-cpn-cta { width: 100%; justify-content: center; }
}

.ys-cpn-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.ys-cpn-vote-count {
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ----- Coupon strip on coupon-page plan cards (inc/coupon-plan-strip.php) ----- */
.ys-plan-cpn {
    margin: .9rem 0 1rem;
    padding: .7rem .85rem;
    border: 1.5px dashed #38bdf8;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
    text-align: left;
}

.ys-plan-cpn-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    flex-wrap: wrap;
}

.ys-plan-cpn-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    font-weight: 700;
    color: #1d4ed8;
}

.ys-plan-cpn-code {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid #bfdbfe;
    background: #fff;
    color: #1e40af;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: .04em;
    border-radius: 8px;
    padding: .25rem .6rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.ys-plan-cpn-code:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.ys-plan-cpn-code.is-copied {
    background: #059669;
    border-color: #059669;
    color: #fff;
}

.ys-plan-cpn-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .25rem .4rem;
    margin-top: .45rem;
    font-size: .85rem;
    color: var(--text-body, #4b5563);
}

.ys-plan-cpn-price strong {
    color: #047857;
    font-size: 1rem;
}

.ys-plan-cpn-auto {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    font-size: .72rem;
    font-weight: 700;
    color: #047857;
}

/* ----- "Longer term, bigger savings" note above coupon-page plans ----- */
.ys-term-save {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: .92rem;
}

.ys-term-save strong {
    color: #047857;
}

@media (min-width: 768px) {
    .ys-term-save { white-space: nowrap; flex-wrap: nowrap; }
}


/* ----- Diwali hosting sale page ----- */
.ys-diwali-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #ffd8a8 0, #fff7ed 30%, #fff 50%, #fff7ed 70%, #fcd9b6 100%);
}

.ys-diwali-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
    pointer-events: none;
}

.ys-diwali-glow-1 { top: -120px; left: -80px; background: #fbbf24; }
.ys-diwali-glow-2 { bottom: -140px; right: -80px; background: #fb923c; }

.ys-diwali-badge {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.ys-diwali-grad {
    background: linear-gradient(90deg, #ea580c 0%, #d97706 45%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ys-diwali-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
}

.ys-diwali-pills span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255, 255, 255, .85);
    border: 1px solid #fed7aa;
    border-radius: 999px;
    padding: .4rem .95rem;
    font-size: .88rem;
    font-weight: 600;
    color: #7c2d12;
}

.ys-diwali-pills i {
    color: #ea580c;
}

.ys-diwali-gift {
    position: relative;
    border-radius: 20px;
    padding: 1.6rem;
    background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
    border: 1px solid #fed7aa;
    color: var(--text-body, #4b5563);
    font-size: .92rem;
    line-height: 1.6;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ys-diwali-gift:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -30px rgba(234, 88, 12, .45);
}

.ys-diwali-gift-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 22px -12px rgba(234, 88, 12, .7);
}

.ys-diwali-gift-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    margin-bottom: .4rem;
}

/* ----- Halloween hosting sale page (reuses the Diwali page blocks) ----- */
.ys-halloween-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #dbeafe 0, #eff6ff 30%, #fff 50%, #fff7ed 70%, #fed7aa 100%);
}

.ys-halloween-glow-1 { top: -120px; left: -80px; background: #0ea5e9; }
.ys-halloween-glow-2 { bottom: -140px; right: -80px; background: #f97316; }

.ys-halloween-badge {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #dbeafe;
}

.ys-halloween-grad {
    background: linear-gradient(90deg, #1e40af 0%, #2563eb 40%, #ea580c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ys-halloween-pills span {
    border-color: #dbeafe;
    color: #0b1329;
}

.ys-halloween-pills i {
    color: #ea580c;
}

.ys-diwali-gift.ys-halloween-treat {
    background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
    border-color: #dbeafe;
}

.ys-halloween-treat .ys-diwali-gift-icon {
    background: linear-gradient(135deg, #2563eb, #ea580c);
    box-shadow: 0 10px 22px -12px rgba(37, 99, 235, .7);
}

.ys-diwali-gift.ys-halloween-treat:hover {
    box-shadow: 0 22px 44px -30px rgba(37, 99, 235, .45);
}

/* ----- Halloween hero: night sky, moon, bats, spiders, pumpkins ----- */
.ys-hw-hero {
    position: relative;
    overflow: hidden;
    padding: 14vh 0 16vh;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(37, 99, 235, .25) 0, transparent 55%),
        linear-gradient(180deg, #0b1329 0%, #080f21 55%, #050b18 100%);
    color: #fff;
}

.ys-hw-moon {
    position: absolute;
    top: 9%;
    right: 12%;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff7d6 0, #fde68a 55%, #f59e0b 100%);
    box-shadow: 0 0 60px 18px rgba(253, 230, 138, .35);
}

.ys-hw-web {
    position: absolute;
    top: 0;
    left: 0;
    width: 180px;
    height: 180px;
    opacity: .28;
    background:
        repeating-radial-gradient(circle at 0 0, transparent 0 22px, rgba(255, 255, 255, .7) 23px 24px),
        repeating-conic-gradient(from 0deg at 0 0, transparent 0 14deg, rgba(255, 255, 255, .7) 14deg 15deg);
    -webkit-mask: radial-gradient(circle at 0 0, #000 0, #000 60%, transparent 72%);
    mask: radial-gradient(circle at 0 0, #000 0, #000 60%, transparent 72%);
}

.ys-hw-bat {
    position: absolute;
    font-size: 24px;
    animation: ysHwFly 5s ease-in-out infinite;
    animation-delay: var(--d, 0s);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5));
}

@keyframes ysHwFly {
    0%, 100% { transform: translate(0, 0) rotate(-6deg); }
    50% { transform: translate(18px, -14px) rotate(6deg); }
}

.ys-hw-spider {
    position: absolute;
    top: 0;
    padding-top: var(--len, 100px);
    font-size: 22px;
    line-height: 1;
    animation: ysHwDrop 4s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

.ys-hw-spider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: var(--len, 100px);
    background: rgba(255, 255, 255, .45);
}

@keyframes ysHwDrop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(14px); }
}

.ys-hw-pumpkin {
    position: absolute;
    bottom: 6%;
    font-size: 54px;
    filter: drop-shadow(0 0 22px rgba(249, 115, 22, .65));
}

.ys-hw-badge {
    background: rgba(255, 255, 255, .1);
    color: #fdba74;
    border: 1px solid rgba(253, 186, 116, .4);
}

.ys-hw-hero .ys-hw-title {
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.9rem);
}

@media (min-width: 992px) {
    .ys-hw-hero .ys-hw-title { white-space: nowrap; }
}

.ys-hw-grad {
    background: linear-gradient(90deg, #fdba74 0%, #f97316 45%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ys-hw-para {
    color: rgba(255, 255, 255, .82);
}

.btn-migration.ys-hw-btn {
    background: linear-gradient(90deg, #f97316, #ea580c);
    box-shadow: 0 15px 30px rgba(234, 88, 12, .4);
}

.ys-hw-pills span {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .2);
    color: #fff;
}

.ys-hw-pills i {
    color: #fdba74;
}

@media (max-width: 767.98px) {
    .ys-hw-moon { width: 70px; height: 70px; right: 6%; }
    .ys-hw-spider, .ys-hw-pumpkin { display: none; }
}

/* Halloween skin for the "lock in longer" note */
.ys-term-save.ys-term-save-hw {
    position: relative;
    gap: .7rem;
    padding: .65rem 1.4rem .65rem .8rem;
    background: linear-gradient(90deg, #0b1329 0%, #080f21 60%, #0f172a 100%);
    border: 1px solid rgba(56, 189, 248, .35);
    color: rgba(255, 255, 255, .88);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08), 0 14px 30px -18px rgba(11, 19, 41, .8);
}

.ys-term-save-hw strong {
    color: #fb923c;
}

.ys-term-save-hw .ys-term-save-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(249, 115, 22, .18);
    font-size: 17px;
    flex-shrink: 0;
    animation: ysCampWobble 2.4s ease-in-out infinite;
}

@keyframes ysCampWobble {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg) scale(1.08); }
}

/* ----- VPS server locations item in the What's included list ----- */
.ph-feature-list li.ys-plan-locs {
    align-items: flex-start;
}

.ys-plan-locs > span {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .4rem;
}

.ys-plan-locs > span {
    white-space: nowrap;
}

img.ys-plan-loc {
    width: 22px;
    height: 15px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .1);
    vertical-align: middle;
}

img.ys-plan-loc:hover,
img.ys-plan-loc:focus {
    cursor: help;
    outline: none;
    transform: scale(1.15);
}
