/* ==========================================================================
   Sinthia Boost — shell styles
   --------------------------------------------------------------------------
   Loads AFTER pva-theme.css and only adds what this product's chrome needs:
   the top navigation, the wallet chip and the round icon buttons. Everything
   else (Bootstrap re-skin, cards, forms, tables, notification drawer, language
   selector, footer) already comes from the shared theme, so this file stays
   deliberately small and uses the same tokens.
   ========================================================================== */

/* ── Primary navigation ─────────────────────────────────────────────────── */
.panel-nav { gap: 4px; }

.panel-nav-link {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem .85rem;
    border-radius: var(--r-sm);
    color: var(--text-secondary);
    font-size: .875rem; font-weight: 600;
    white-space: nowrap;
    transition: background-color var(--t-fast), color var(--t-fast);
}
.panel-nav-link i { font-size: .9rem; opacity: .9; }
.panel-nav-link:hover { background: var(--surface-2); color: var(--pva-primary); }
.panel-nav-link.active {
    background: var(--pva-primary-soft);
    color: var(--pva-primary-strong);
}
body[data-theme="dark"] .panel-nav-link.active {
    background: rgba(59, 130, 246, .16);
    color: #93c5fd;
}

/* ── Wallet balance chip ────────────────────────────────────────────────── */
.balance-chip {
    display: inline-flex; align-items: center; gap: .45rem;
    height: 38px; padding: 0 .85rem;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: var(--surface-2);
    color: var(--text-primary);
    font-weight: 700; font-size: .85rem;
    white-space: nowrap;
    transition: var(--transition);
}
.balance-chip i { color: var(--pva-success); }
.balance-chip:hover {
    border-color: var(--pva-success);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

/* ── Round icon buttons (bell, profile, admin, theme, sign out) ─────────── */
.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: var(--surface);
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.icon-btn:hover {
    background: var(--surface-2);
    border-color: var(--pva-primary);
    color: var(--pva-primary);
}

/* ── Home page ──────────────────────────────────────────────────────────── */
.panel-hero {
    background: var(--hero-bg);
    color: #fff;
    border-radius: var(--r-xl);
    padding: clamp(1.8rem, 1.2rem + 3.5vw, 3.5rem);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.panel-hero::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 82% 15%, rgba(255,255,255,.16), transparent 55%);
    pointer-events: none;
}
.panel-hero > * { position: relative; z-index: 1; }
.panel-hero h1 {
    color: #fff; font-weight: 800; letter-spacing: -.03em;
    font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.9rem);
    margin-bottom: .7rem;
}
.panel-hero p { color: rgba(255,255,255,.9); max-width: 620px; margin-bottom: 1.4rem; }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(255,255,255,.16);
    border-radius: var(--r-full);
    padding: .28rem .8rem;
    font-size: .7rem; font-weight: 800;
    letter-spacing: .09em; text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ── Hero: copy + animated "boost campaign" visual (index.html) ─────────── */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(1.5rem, 1rem + 2vw, 3rem);
    align-items: center;
}
.hero-trust {
    list-style: none; padding: 0; margin: 1.15rem 0 0;
    display: flex; flex-wrap: wrap; gap: .45rem 1.15rem;
    font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.9);
}
.hero-trust i { color: #a5f3fc; margin-right: .4rem; }

.hero-visual {
    display: flex; align-items: center; justify-content: center;
    padding: 34px 28px 48px;          /* room for the icons that poke out of the card */
}
/* the stage is exactly the card's box, so icons/toast are placed from its edges */
.hv-stage { position: relative; width: min(100%, 340px); }

/* floating platform icons, pinned around the card's corners and edges */
.hv-chip {
    position: absolute; z-index: 3;
    width: 46px; height: 46px;
    border-radius: 14px;
    background: #fff; color: var(--c, #2563eb);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 10px 24px rgba(2, 6, 23, .25);
    animation: hvFloat 5.5s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    transition: scale .35s ease, box-shadow .35s ease;
}
/* the card's right edge holds the live number + chart end, so it stays clear */
.hv-chip[data-pf="fb"] { --c: #1877F2; top: -24px;    left: -22px; }
.hv-chip[data-pf="g"]  { --c: #4285F4; top: -30px;    left: 42%; }
.hv-chip[data-pf="tt"] { --c: #111827; top: -26px;    right: -24px; }
.hv-chip[data-pf="yt"] { --c: #FF0000; bottom: -40px; right: 12%; }
.hv-chip[data-pf="ig"] { --c: #E4405F; top: 46%;      left: -28px; }
.hv-chip.is-active {
    scale: 1.18;
    box-shadow: 0 0 0 4px rgba(255,255,255,.35), 0 14px 30px rgba(2, 6, 23, .35);
}
@keyframes hvFloat {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50%      { transform: translateY(-12px) rotate(4deg); }
}

/* the glass campaign card */
.hv-card {
    position: relative; z-index: 2;
    width: 100%;
    padding: 18px 18px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.3);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(2, 6, 23, .35);
    color: #fff;
    animation: hvRise .9s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes hvRise {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to   { opacity: 1; transform: none; }
}
.hv-card-head { display: flex; align-items: center; gap: 10px; }
.hv-pf-icon {
    flex: 0 0 40px; width: 40px; height: 40px;
    border-radius: 12px;
    background: #1877F2; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    transition: background-color .4s ease;
}
.hv-card-head > div { min-width: 0; }
.hv-pf-name {
    font-weight: 800; font-size: .95rem; line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hv-pf-sub { display: flex; align-items: center; gap: 6px; font-size: .72rem; opacity: .85; white-space: nowrap; }
.hv-live {
    width: 7px; height: 7px; border-radius: 50%;
    background: #4ade80;
    animation: hvPulse 1.6s infinite;
}
@keyframes hvPulse {
    0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); }
    70%  { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.hv-badge {
    margin-left: auto;
    background: rgba(74, 222, 128, .18);
    border: 1px solid rgba(74, 222, 128, .38);
    color: #bbf7d0;
    border-radius: var(--r-full);
    padding: .18rem .55rem;
    font-size: .72rem; font-weight: 800; white-space: nowrap;
}
.hv-metric { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin: 14px 0 4px; }
.hv-metric-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .82; }
.hv-metric-value {
    font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1;
    font-variant-numeric: tabular-nums;
}
.hv-chart { display: block; width: 100%; height: auto; overflow: visible; }
.hv-line {
    fill: none; stroke: #fff; stroke-width: 3;
    stroke-linecap: round; stroke-linejoin: round;
    filter: drop-shadow(0 4px 8px rgba(255,255,255,.35));
}
.hv-area { opacity: 0; transition: opacity .8s ease .5s; }
.hv-area.on { opacity: 1; }
.hv-dot {
    fill: #fff;
    transform-box: fill-box; transform-origin: center;
    transition: opacity .3s ease;
    animation: hvDot 1.6s ease-in-out infinite;
}
@keyframes hvDot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
.hv-progress {
    height: 7px; margin-top: 10px;
    border-radius: var(--r-full);
    background: rgba(255,255,255,.18);
    overflow: hidden;
}
.hv-progress span {
    display: block; height: 100%; width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #a5f3fc, #4ade80);
}
.hv-foot {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 1.2em; margin-top: 8px;
    font-size: .72rem; font-weight: 600; opacity: .92;
}
.hv-pager { display: flex; gap: 5px; }
.hv-pager i {
    width: 6px; height: 6px; border-radius: 3px;
    background: rgba(255,255,255,.35);
    transition: width .3s ease, background-color .3s ease;
}
.hv-pager i.on { width: 16px; background: #fff; }

/* "delivered" notification */
.hv-toast {
    position: absolute; z-index: 4; left: -18px; bottom: -26px;
    max-width: 80%;
    display: flex; align-items: center; gap: 8px;
    padding: .55rem .85rem;
    border-radius: 12px;
    background: #fff; color: #0f172a;
    font-size: .78rem; font-weight: 700;
    box-shadow: 0 14px 34px rgba(2, 6, 23, .3);
    opacity: 0; transform: translateY(14px) scale(.96);
    transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.hv-toast i { color: #16a34a; font-size: 1rem; }
.hv-toast.show { opacity: 1; transform: none; }
body[data-theme="dark"] .hv-toast { background: #0f172a; color: #e2e8f0; border: 1px solid rgba(255,255,255,.12); }

@media (max-width: 991.98px) {
    .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .hero-visual { padding: 30px 20px 42px; }
    .hv-stage { width: min(100%, 290px); }
    .hv-chip { width: 38px; height: 38px; border-radius: 12px; font-size: 1.05rem; }
    .hv-chip[data-pf="fb"] { top: -20px; left: -16px; }
    .hv-chip[data-pf="g"]  { top: -25px; }
    .hv-chip[data-pf="tt"] { top: -22px; right: -16px; }
    .hv-chip[data-pf="yt"] { bottom: -34px; right: -10px; }   /* clear of the toast */
    .hv-chip[data-pf="ig"] { left: -26px; }                   /* stays in the card's padding */
    .hv-card { padding: 14px 14px 12px; }
    .hv-pf-name { font-size: .86rem; }
    .hv-badge { font-size: .66rem; padding: .15rem .45rem; }
    .hv-metric-value { font-size: 1.65rem; }
    .hv-toast { left: -10px; font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hv-chip, .hv-card, .hv-live, .hv-dot { animation: none !important; }
    .hv-toast, .hv-area, .hv-progress span, .hv-chip { transition: none !important; }
}

/* ── WhatsApp: floating button + footer button ──────────────────────────── */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 2400;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.wa-float::before {
    content: ''; position: absolute; inset: 0;
    border-radius: inherit;
    border: 2px solid #25D366;
    animation: waRing 2.4s ease-out infinite;
}
.wa-float:hover { color: #fff; transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 28px rgba(37, 211, 102, .55); }
@keyframes waRing {
    0%   { transform: scale(1);   opacity: .7; }
    100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 575.98px) {
    .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
    .wa-float::before { animation: none; }
}
@media print { .wa-float { display: none; } }

.footer-contact { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; }
.footer-wa-btn { background: rgba(37, 211, 102, .18); border-color: rgba(37, 211, 102, .5); }
.footer-wa-btn:hover { background: rgba(37, 211, 102, .3); }
.footer-wa-btn i { color: #25D366; font-size: .95rem; }

/* Big service cards */
.service-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    color: var(--text-primary);
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--pva-primary);
    color: var(--text-primary);
}
.service-icon {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; color: #fff;
    margin-bottom: .9rem;
}
.service-icon.smm { background: linear-gradient(135deg, var(--pva-primary), var(--pva-accent)); }
.service-icon.otp { background: linear-gradient(135deg, var(--pva-accent-strong), var(--pva-success)); }
.service-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .35rem; }
.service-card p  { font-size: .88rem; color: var(--text-secondary); margin-bottom: .9rem; }
.service-meta {
    display: flex; flex-wrap: wrap; gap: .4rem;
    font-size: .74rem; font-weight: 600;
}
.service-meta span {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: .2rem .6rem;
    color: var(--text-secondary);
}

/* ── Top-service tiles (homepage: popular SMM services / OTP numbers) ───── */
.top-item {
    display: flex; flex-direction: column;
    gap: .55rem;
    height: 100%;
    padding: .9rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    color: var(--text-primary);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.top-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--pva-primary);
    color: var(--text-primary);
}

.top-item-head { display: flex; align-items: center; gap: .5rem; }
.top-item-icon {
    flex: 0 0 30px; width: 30px; height: 30px;
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .85rem;
}
.top-item-platform {
    font-weight: 700; font-size: .86rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.top-item-tag {
    margin-left: auto;
    background: rgba(16, 185, 129, .14);
    color: #047857;
    border-radius: var(--r-full);
    padding: .1rem .45rem;
    font-size: .66rem; font-weight: 700;
    white-space: nowrap;
}
body[data-theme="dark"] .top-item-tag { color: #6ee7b7; }

/* two-line clamp keeps every tile the same height regardless of title length */
.top-item-name {
    font-size: .78rem; line-height: 1.4;
    color: var(--text-secondary);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    line-clamp: 2; overflow: hidden;
    min-height: 2.2em;
}
.top-item-foot {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: .5rem; margin-top: auto;
}
.top-item-price {
    font-weight: 800; font-size: .95rem;
    color: var(--pva-success);
    white-space: nowrap;
}
.top-item-price small { font-weight: 600; font-size: .7rem; opacity: .8; }
.top-item-min {
    font-size: .7rem; font-weight: 600;
    color: var(--text-muted); white-space: nowrap;
}

/* Step / feature tiles */
.step-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.1rem;
    height: 100%;
}
.step-num {
    width: 30px; height: 30px;
    border-radius: var(--r-full);
    background: var(--pva-primary-soft);
    color: var(--pva-primary-strong);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .85rem;
    margin-bottom: .6rem;
}
.step-tile h4 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.step-tile p  { font-size: .84rem; color: var(--text-secondary); margin: 0; }

@media (max-width: 991.98px) {
    .main-navbar .container { flex-wrap: wrap; }
}
@media (max-width: 575.98px) {
    .balance-chip { padding: 0 .6rem; font-size: .8rem; }
    .panel-nav-link { padding: .45rem .65rem; font-size: .82rem; }
}
