/*
 * AgentX / PRICE-X — DEMO page supporting styles.
 * Extends the dark "hacker terminal" theme from website/index.html
 * (brand.black #000000, brand.green #00C853, brand.red #FF1744).
 * Kept in a separate file (rather than a giant inline <style> block)
 * purely for readability of this larger, interactive sub-page.
 */

.pkg-card-active {
    border-color: rgba(0, 200, 83, 0.9) !important;
    box-shadow: 0 0 25px rgba(0, 200, 83, 0.25), inset 0 0 15px rgba(0, 200, 83, 0.08) !important;
}

.pkg-card-active .pkg-select-btn {
    background: #00C853;
    color: #000;
}

.billing-btn {
    font-family: 'Fira Code', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    color: rgba(0, 200, 83, 0.6);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.billing-btn.active {
    background: #00C853;
    color: #000;
    font-weight: 700;
}

.billing-toggle {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(0, 200, 83, 0.25);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
}

.net-chip:hover {
    transform: translateY(-2px);
}

.dashboard-total-price {
    font-size: 2.25rem;
    line-height: 1.1;
}

.dashboard-total-price.is-zero {
    opacity: 0.35;
}

.mall-broadcast-btn {
    font-family: 'Fira Code', monospace;
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.25rem;
    border: 1px solid rgba(0, 200, 83, 0.25);
    background: transparent;
    color: rgba(0, 200, 83, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mall-broadcast-btn.active {
    background: rgba(0, 200, 83, 0.15);
    border-color: #00C853;
    color: #fff;
}

.mall-broadcast-btn .option-toggle__num {
    display: block;
    font-weight: 800;
    font-size: 0.95rem;
}

.mall-broadcast-btn .option-toggle__sub {
    display: block;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.option-toggle {
    display: flex;
    gap: 2px;
}

.partners-marquee {
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.partners-row {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.partners-track {
    display: inline-flex;
    animation: partnersScroll 32s linear infinite;
}

.partners-row--2 .partners-track {
    animation-direction: reverse;
    animation-duration: 38s;
}

.partners-row--3 .partners-track {
    animation-duration: 26s;
}

@keyframes partnersScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

#address-modal {
    backdrop-filter: blur(4px);
}

#modal-address-list {
    max-height: 340px;
    overflow-y: auto;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #00C853;
}

/* Tier card icon (Bronze / Silver / Gold) */
.tier-visual {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto;
    flex-shrink: 0;
}

.tier-visual__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid transparent;
}

.tier-visual__ring--1 {
    animation: tier-spin 8s linear infinite;
}

.tier-visual__ring--2 {
    inset: 8px;
    animation: tier-spin-rev 11s linear infinite;
}

.tier-visual__core {
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.14), transparent 55%);
}

.tier-visual__core svg {
    width: 1.75rem;
    height: 1.75rem;
}

.tier-visual__glow {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: tier-pulse 2.8s ease-in-out infinite;
}

.tier-visual--bronze .tier-visual__ring--1 {
    border-color: rgba(205, 127, 50, 0.65);
    box-shadow: 0 0 18px rgba(205, 127, 50, 0.3);
}
.tier-visual--bronze .tier-visual__ring--2 {
    border-color: rgba(205, 127, 50, 0.28);
}
.tier-visual--bronze .tier-visual__core {
    border: 1px solid rgba(205, 127, 50, 0.55);
    box-shadow: 0 0 28px rgba(205, 127, 50, 0.35), inset 0 0 16px rgba(205, 127, 50, 0.1);
    color: #CD7F32;
}
.tier-visual--bronze .tier-visual__glow {
    box-shadow: 0 0 28px rgba(205, 127, 50, 0.35);
}

.tier-visual--silver .tier-visual__ring--1 {
    border-color: rgba(192, 192, 192, 0.7);
    box-shadow: 0 0 18px rgba(200, 210, 220, 0.28);
}
.tier-visual--silver .tier-visual__ring--2 {
    border-color: rgba(192, 192, 192, 0.3);
}
.tier-visual--silver .tier-visual__core {
    border: 1px solid rgba(210, 215, 220, 0.6);
    box-shadow: 0 0 28px rgba(200, 210, 220, 0.35), inset 0 0 16px rgba(255, 255, 255, 0.08);
    color: #D1D5DB;
}
.tier-visual--silver .tier-visual__glow {
    box-shadow: 0 0 28px rgba(200, 210, 220, 0.35);
}

.tier-visual--gold .tier-visual__ring--1 {
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.35);
}
.tier-visual--gold .tier-visual__ring--2 {
    border-color: rgba(255, 215, 0, 0.3);
}
.tier-visual--gold .tier-visual__core {
    border: 1px solid rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 28px rgba(255, 215, 0, 0.4), inset 0 0 16px rgba(255, 215, 0, 0.12);
    color: #FFD700;
}
.tier-visual--gold .tier-visual__glow {
    box-shadow: 0 0 32px rgba(255, 215, 0, 0.4);
}

@keyframes tier-spin {
    to { transform: rotate(360deg); }
}
@keyframes tier-spin-rev {
    to { transform: rotate(-360deg); }
}
@keyframes tier-pulse {
    0%, 100% { opacity: 0.35; transform: scale(0.95); }
    50% { opacity: 0.85; transform: scale(1.05); }
}

@media print {
    body * { visibility: hidden; }
}
