/* =====================================================
   Code3Hosting — Pick your deployment (homepage)
   Ported from code3h-html, scoped to .code3h-theme
   ===================================================== */

body.code3h-theme .nx-section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--nx-blue, #1a8cff);
    margin-bottom: 0.85rem;
}

body.code3h-theme .nx-section-label:before {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, #1a8cff, #00d4ff);
    border-radius: 2px;
}

body.code3h-theme .nx-deploy-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 2.5rem 0 1.25rem;
    margin: 0 0 1.5rem;
}

body.code3h-theme .nx-deploy-section:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 45% at 50% 0%, rgba(26, 140, 255, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 50% 35% at 12% 85%, rgba(0, 212, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 45% 30% at 88% 75%, rgba(26, 140, 255, 0.07) 0%, transparent 55%);
}

body.code3h-theme .nx-deploy-section > * {
    position: relative;
    z-index: 1;
}

body.code3h-theme .nx-deploy-head {
    max-width: 640px;
    margin: 0 auto 2.75rem;
}

body.code3h-theme .nx-deploy-head .nx-section-label {
    margin-bottom: 1rem;
    width: 100%;
}

body.code3h-theme .nx-deploy-head__title {
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: clamp(1.85rem, 4.5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    margin: 0 0 0.85rem;
    letter-spacing: 0.04em;
}

body.code3h-theme .nx-deploy-head__title span {
    background: linear-gradient(125deg, #b8e4ff, #1a8cff 45%, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.code3h-theme .nx-deploy-head__sub {
    margin: 0 auto 1.15rem;
    font-size: clamp(0.92rem, 1.6vw, 1.05rem);
    line-height: 1.7;
    color: rgba(201, 214, 232, 0.68);
    max-width: 540px;
}

body.code3h-theme .nx-deploy-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 36rem;
    margin: 0 auto 1.35rem;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(26, 140, 255, 0.14);
    border-bottom: 1px solid rgba(26, 140, 255, 0.14);
    background: linear-gradient(180deg, rgba(26, 140, 255, 0.04) 0%, transparent 45%, rgba(26, 140, 255, 0.03) 100%);
}

@media (min-width: 576px) {
    body.code3h-theme .nx-deploy-metrics {
        max-width: 42rem;
    }
}

body.code3h-theme .nx-deploy-metrics__item {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.85rem 0.5rem;
    text-align: center;
    position: relative;
}

@media (min-width: 576px) {
    body.code3h-theme .nx-deploy-metrics__item {
        flex: 1 1 0;
        padding: 0.9rem 0.65rem;
    }

    body.code3h-theme .nx-deploy-metrics__item:not(:last-child):after {
        content: "";
        position: absolute;
        right: 0;
        top: 22%;
        bottom: 22%;
        width: 1px;
        background: linear-gradient(180deg, transparent, rgba(26, 140, 255, 0.22) 35%, rgba(26, 140, 255, 0.22) 65%, transparent);
    }
}

@media (max-width: 575.98px) {
    body.code3h-theme .nx-deploy-metrics__item:nth-child(odd):after {
        content: "";
        position: absolute;
        right: 0;
        top: 18%;
        bottom: 18%;
        width: 1px;
        background: rgba(26, 140, 255, 0.12);
    }

    body.code3h-theme .nx-deploy-metrics__item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(26, 140, 255, 0.08);
    }
}

body.code3h-theme .nx-deploy-metrics__val {
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    letter-spacing: 0.02em;
}

body.code3h-theme .nx-deploy-metrics__lbl {
    font-family: 'Share Tech Mono', ui-monospace, monospace;
    font-size: 0.56rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(201, 214, 232, 0.42);
    line-height: 1.2;
}

body.code3h-theme .nx-deploy-head__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 0.55rem;
    margin: 0.15rem 0 0;
    padding: 0;
    list-style: none;
}

body.code3h-theme .nx-deploy-head__chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 140, 255, 0.22);
    background: rgba(8, 16, 38, 0.55);
    font-size: 0.72rem;
    color: rgba(201, 214, 232, 0.75);
}

body.code3h-theme .nx-deploy-head__chips li i {
    color: var(--nx-cyan, #00d4ff);
    font-size: 0.68rem;
}

body.code3h-theme .nx-deploy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.35rem, 3vw, 2rem);
}

@media (min-width: 768px) {
    body.code3h-theme .nx-deploy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    body.code3h-theme .nx-deploy-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1.5rem, 2.5vw, 2.25rem);
    }
}

@media (max-width: 991.98px) and (min-width: 768px) {
    body.code3h-theme .nx-deploy-grid > :last-child {
        grid-column: 1 / -1;
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }
}

body.code3h-theme .nx-deploy-card {
    --deploy-accent: #1a8cff;
    --deploy-accent-rgb: 26, 140, 255;
    --deploy-glow: rgba(26, 140, 255, 0.18);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem 1.55rem 1.5rem 1.75rem;
    border-radius: 18px;
    border: 1px solid rgba(var(--deploy-accent-rgb), 0.22);
    background: linear-gradient(165deg, rgba(14, 28, 58, 0.94), rgba(8, 14, 32, 0.98));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    text-decoration: none !important;
    color: inherit !important;
}

body.code3h-theme .nx-deploy-card:hover,
body.code3h-theme .nx-deploy-card:focus {
    text-decoration: none !important;
    color: inherit !important;
}

body.code3h-theme .nx-deploy-card:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    border-radius: 18px 0 0 18px;
    background: linear-gradient(180deg, var(--deploy-accent), rgba(var(--deploy-accent-rgb), 0.25));
    pointer-events: none;
}

body.code3h-theme .nx-deploy-card__glow {
    position: absolute;
    top: -40%;
    left: 50%;
    width: 140%;
    height: 70%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, var(--deploy-glow) 0%, transparent 65%);
    opacity: 0.65;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

body.code3h-theme .nx-deploy-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1a8cff, #00d4ff);
    color: #fff;
    box-shadow: 0 0 16px rgba(26, 140, 255, 0.45);
}

body.code3h-theme .nx-deploy-card__icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 212, 255, 0.35);
    background: rgba(6, 11, 24, 0.65);
    font-size: 1.25rem;
    color: var(--nx-cyan, #00d4ff);
    box-shadow: 0 0 24px rgba(26, 140, 255, 0.2);
}

body.code3h-theme .nx-deploy-card__tier {
    position: relative;
    z-index: 1;
    font-family: 'Share Tech Mono', ui-monospace, monospace;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--deploy-accent);
    margin-bottom: 0.35rem;
}

body.code3h-theme .nx-deploy-card__title {
    position: relative;
    z-index: 1;
    margin: 0 0 0.35rem;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.15;
    letter-spacing: 0.04em;
}

body.code3h-theme .nx-deploy-card__tag {
    position: relative;
    z-index: 1;
    margin: 0 0 1.15rem;
    font-size: 0.82rem;
    color: rgba(201, 214, 232, 0.5);
}

body.code3h-theme .nx-deploy-card__price {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
    margin-bottom: 1.15rem;
    line-height: 1;
}

body.code3h-theme .nx-deploy-card__from {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(201, 214, 232, 0.4);
    margin-bottom: 0.45rem;
    margin-right: 0.15rem;
}

body.code3h-theme .nx-deploy-card__amt {
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 2.65rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

body.code3h-theme .nx-deploy-card__period {
    font-size: 0.85rem;
    color: rgba(201, 214, 232, 0.45);
    margin-bottom: 0.35rem;
}

body.code3h-theme .nx-deploy-card__metrics {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 0 0 1.1rem;
    padding: 0;
    list-style: none;
}

body.code3h-theme .nx-deploy-card__metrics li {
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(var(--deploy-accent-rgb), 0.18);
    background: rgba(var(--deploy-accent-rgb), 0.07);
    text-align: center;
}

body.code3h-theme .nx-deploy-card__metrics li strong {
    display: block;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--deploy-accent);
    line-height: 1.2;
}

body.code3h-theme .nx-deploy-card__metrics li span {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(201, 214, 232, 0.42);
    margin-top: 0.12rem;
}

body.code3h-theme .nx-deploy-card__features {
    position: relative;
    z-index: 1;
    flex: 1;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

body.code3h-theme .nx-deploy-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.38rem 0;
    font-size: 0.82rem;
    color: rgba(201, 214, 232, 0.72);
    border-bottom: 1px solid rgba(26, 140, 255, 0.07);
}

body.code3h-theme .nx-deploy-card__features li:last-child {
    border-bottom: none;
}

body.code3h-theme .nx-deploy-card__features li i {
    margin-top: 0.28rem;
    font-size: 0.7rem;
    color: var(--nx-green, #00e676);
    flex-shrink: 0;
}

body.code3h-theme .nx-deploy-card__cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.72rem 1rem;
    border-radius: 10px;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

body.code3h-theme .nx-deploy-card__cta i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

body.code3h-theme .nx-deploy-card--vps {
    --deploy-accent: #00d4ff;
    --deploy-accent-rgb: 0, 212, 255;
    --deploy-glow: rgba(0, 212, 255, 0.22);
}

body.code3h-theme .nx-deploy-card--vps .nx-deploy-card__icon {
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.4);
}

body.code3h-theme .nx-deploy-card--dedicated {
    --deploy-accent: #ffb74d;
    --deploy-accent-rgb: 255, 183, 77;
    --deploy-glow: rgba(255, 183, 77, 0.2);
}

body.code3h-theme .nx-deploy-card--dedicated .nx-deploy-card__icon {
    color: #ffb74d;
    border-color: rgba(255, 183, 77, 0.4);
    box-shadow: 0 0 24px rgba(255, 183, 77, 0.15);
}

body.code3h-theme .nx-deploy-card--dedicated .nx-deploy-card__badge {
    display: none;
}

body.code3h-theme .nx-deploy-card--featured {
    border-color: rgba(var(--deploy-accent-rgb), 0.42);
    box-shadow:
        0 0 0 1px rgba(var(--deploy-accent-rgb), 0.12),
        0 28px 60px rgba(0, 0, 0, 0.45),
        0 0 48px rgba(var(--deploy-accent-rgb), 0.12);
}

body.code3h-theme .nx-deploy-card--featured .nx-deploy-card__glow {
    opacity: 1;
}

body.code3h-theme .nx-deploy-card--featured .nx-deploy-card__cta {
    background: linear-gradient(135deg, var(--deploy-accent), rgba(var(--deploy-accent-rgb), 0.65));
    color: #fff;
    box-shadow: 0 8px 28px rgba(var(--deploy-accent-rgb), 0.35);
}

body.code3h-theme .nx-deploy-card:not(.nx-deploy-card--featured) .nx-deploy-card__cta {
    border: 1px solid rgba(var(--deploy-accent-rgb), 0.38);
    background: rgba(var(--deploy-accent-rgb), 0.1);
    color: #fff;
}

body.code3h-theme .nx-deploy-card--game {
    --deploy-accent: #b388ff;
    --deploy-accent-rgb: 179, 136, 255;
    --deploy-glow: rgba(179, 136, 255, 0.22);
}

body.code3h-theme .nx-deploy-card--game .nx-deploy-card__icon {
    color: #c9a8ff;
    border-color: rgba(179, 136, 255, 0.4);
    box-shadow: 0 0 24px rgba(179, 136, 255, 0.2);
}

body.code3h-theme .nx-deploy-card--game .nx-deploy-card__badge {
    display: inline-block;
    background: linear-gradient(135deg, #7c4dff, #b388ff);
    box-shadow: 0 0 16px rgba(179, 136, 255, 0.45);
}

body.code3h-theme .nx-deploy-card--game .nx-deploy-card__cta {
    border-color: rgba(179, 136, 255, 0.45);
    background: rgba(179, 136, 255, 0.12);
}

body.code3h-theme .nx-deploy-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.45);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(26, 140, 255, 0.12);
}

body.code3h-theme .nx-deploy-card:hover .nx-deploy-card__glow {
    opacity: 1;
}

body.code3h-theme .nx-deploy-card:hover .nx-deploy-card__icon {
    box-shadow: 0 0 32px rgba(0, 212, 255, 0.35);
}

body.code3h-theme .nx-deploy-card:hover .nx-deploy-card__cta i {
    transform: translateX(4px);
}

body.code3h-theme .nx-deploy-card--game:hover {
    border-color: rgba(179, 136, 255, 0.5);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(179, 136, 255, 0.14);
}

body.code3h-theme .nx-deploy-card--dedicated:hover {
    border-color: rgba(255, 183, 77, 0.5);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 183, 77, 0.14);
}

@media (prefers-reduced-motion: reduce) {
    body.code3h-theme .nx-deploy-card {
        transition: none;
    }

    body.code3h-theme .nx-deploy-card:hover {
        transform: none;
    }

    body.code3h-theme .nx-deploy-card .nx-deploy-card__cta i {
        transition: none;
    }
}
