.platform-wrapper.index-app.idx-root {
    --cp-accent: #c41e3a;
    --cp-accent-2: #1e40af;
    --cp-ink: #f4f4f5;
    --cp-muted: rgba(212, 212, 216, 0.58);
    --cp-paper: #0b0d12;
    --cp-shell: rgba(22, 24, 32, 0.55);
    --cp-shell-edge: rgba(255, 255, 255, 0.09);
    min-height: 100vh;
    background: var(--cp-paper);
    background-image:
        radial-gradient(ellipse 80% 55% at 50% 0%, rgba(196, 30, 58, 0.14) 0%, transparent 52%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(30, 64, 175, 0.12) 0%, transparent 48%),
        linear-gradient(168deg, #0b0d12 0%, #12151f 42%, #0b0d12 100%);
    background-attachment: fixed;
    padding-bottom: 108px;
    position: relative;
    color: rgba(244, 244, 245, 0.93);
}

.platform-wrapper.index-app.idx-root::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.04) 0%, transparent 38%),
        radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.03) 0%, transparent 32%);
    pointer-events: none;
    z-index: 0;
}

.floating-header.index-topbar.idx-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 52px;
    padding: 8px 0 10px;
    background: rgba(11, 13, 18, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.idx-topbar__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(196, 30, 58, 0.12) 0%, transparent 35%, transparent 65%, rgba(30, 64, 175, 0.1) 100%);
    opacity: 0.9;
}

.header-content.index-topbar-inner.idx-topbar__row {
    max-width: 480px;
    width: 100%;
    padding: 0 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    row-gap: 10px;
    column-gap: 12px;
    position: relative;
    z-index: 2;
}

.header-content.index-topbar-inner.idx-topbar__row:not(.prapp-header-inner):not(:has(.idx-topbar__action)) {
    justify-content: center;
}

.idx-topbar__left {
    display: flex;
    align-items: center;
    min-width: 0;
}

.platform-wrapper.index-app .floating-header.index-topbar.idx-topbar .logo-text {
    color: #fafafa;
    text-shadow: 0 0 24px rgba(196, 30, 58, 0.25);
    font-size: 19px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
}

.logo-wrapper.index-logo-wrap.idx-brand {
    position: relative;
    display: flex;
    align-items: center;
    padding: 6px 0 6px 14px;
    border-radius: 0;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, #c41e3a 0%, #1e40af 100%) 1;
}

.platform-wrapper.index-app .floating-header.index-topbar.idx-topbar .logo-glow {
    display: none;
}

.main-flow.index-body.idx-canvas {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 78px 14px 48px;
    position: relative;
    z-index: 10;
}

.idx-nexus {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 18px 16px 22px;
    border-radius: 26px;
    background: var(--cp-shell);
    border: 1px solid var(--cp-shell-edge);
    box-shadow:
        0 0 0 1px rgba(196, 30, 58, 0.06) inset,
        0 24px 56px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.idx-purse {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.idx-purse__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.idx-purse__toolbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.idx-purse__chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-width: 0;
    padding: 10px 4px;
    border-radius: 14px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
    box-sizing: border-box;
    line-height: 1;
}

.idx-purse__chip:active {
    transform: scale(0.97);
}

.idx-purse__chip--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #f4f4f5;
    cursor: pointer;
    font-family: var(--font-family);
}

.idx-purse__chip--dl {
    background: rgba(30, 64, 175, 0.28);
    color: #e0e7ff;
    border-color: rgba(129, 140, 248, 0.35);
}

.idx-purse__dl-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.idx-purse__dl-label {
    font-size: inherit;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.idx-purse__chip.idx-balance-link--recharge {
    color: #ffffff;
    background: linear-gradient(145deg, #c41e3a 0%, #1e40af 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 2px 12px rgba(196, 30, 58, 0.28);
}

.idx-purse__chip.idx-balance-link--withdraw {
    color: #0a0a0a;
    background: #f4f4f5;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.index-header-support.idx-topbar__action.idx-purse__chip {
    flex-shrink: 0;
}

.index-header-support.idx-topbar__action.idx-purse__chip:active {
    transform: scale(0.97);
}

.idx-purse__chip-icon,
.index-header-support-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.idx-purse__chip-label,
.index-header-support-label {
    line-height: 1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 360px) {
    .idx-purse__chip {
        padding: 9px 2px;
        font-size: 8px;
        gap: 4px;
    }

    .idx-purse__chip-icon,
    .index-header-support-icon,
    .idx-purse__dl-icon {
        width: 15px;
        height: 15px;
    }
}

.idx-purse__card {
    position: relative;
    border-radius: 18px;
    padding: 18px 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    min-height: 108px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.idx-purse__card--in {
    background: linear-gradient(145deg, rgba(196, 30, 58, 0.2) 0%, rgba(18, 20, 28, 0.65) 100%);
}

.idx-purse__card--out {
    background: linear-gradient(145deg, rgba(30, 64, 175, 0.22) 0%, rgba(18, 20, 28, 0.65) 100%);
}

.idx-purse__label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(228, 228, 231, 0.48);
}

.idx-purse__value {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
}

.idx-purse__value .balance-amount {
    font-size: clamp(20px, 6.5vw, 28px);
    font-weight: 800;
    color: #fafafa;
    font-family: var(--font-mono), monospace;
    line-height: 1;
    letter-spacing: -0.02em;
}

.idx-purse__value .balance-unit {
    font-size: 13px;
    font-weight: 600;
    color: rgba(228, 228, 231, 0.38);
}

.idx-feed {
    display: block;
}

.idx-showcase {
    position: relative;
    border-radius: 22px;
    padding: 12px 12px 12px;
    background: linear-gradient(155deg, rgba(18, 20, 28, 0.92) 0%, rgba(10, 11, 16, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

.idx-showcase__chrome {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(90% 70% at 0% 0%, rgba(196, 30, 58, 0.18) 0%, transparent 52%),
        radial-gradient(80% 60% at 100% 100%, rgba(30, 64, 175, 0.16) 0%, transparent 48%);
    pointer-events: none;
    opacity: 0.95;
}

.idx-showcase__stage {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    padding: 3px;
    background: linear-gradient(118deg, #c41e3a 0%, #f4f4f5 48%, #1e40af 100%);
}

.idx-showcase__film {
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

.idx-showcase__stage .hero-carousel.index-carousel.idx-carousel {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    border-radius: 15px;
    background: #07080c;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.idx-showcase__stage .carousel-track.index-carousel-viewport.idx-carousel__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    min-height: 0;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: #07080c;
}

.products-showcase.index-products.idx-deck {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
}

.idx-deck__intro.idx-plans-head.index-products-heading {
    padding: 0 4px;
    margin: 0;
    text-align: center;
    border-left: none;
}

.idx-plans-head__title.index-products-title {
    margin: 0 0 8px;
    font-size: clamp(20px, 5.5vw, 26px);
    font-weight: 400;
    color: #fafafa;
    font-family: var(--font-display), var(--font-family);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.15;
}

.idx-plans-head__note.index-products-note {
    font-size: 12px;
    font-weight: 500;
    color: rgba(212, 212, 216, 0.52);
    margin: 0 auto;
    padding: 0 8px;
    line-height: 1.55;
    max-width: 28rem;
    text-align: center;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
    background: #0c0e12;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.default-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(145deg, #c41e3a 0%, #1e40af 100%);
    position: relative;
    overflow: hidden;
}

.default-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.22) 0%, transparent 55%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.75; }
}

.banner-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.banner-icon svg {
    width: 100%;
    height: 100%;
    color: #ffffff;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.25));
}

.banner-title {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 4px 0;
    font-family: var(--font-family);
    letter-spacing: 6px;
    position: relative;
    z-index: 2;
}

.banner-subtitle {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.carousel-dot.active {
    width: 22px;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.45);
}

.carousel-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(145deg, #c41e3a 0%, #1e40af 100%);
}

.products-showcase.index-products .withdraw-marquee.index-marquee {
    display: none;
}

.withdraw-marquee.index-marquee.idx-marquee {
    width: 100%;
    margin: 4px 0 0;
    box-sizing: border-box;
}

.withdraw-marquee-viewport.index-marquee-viewport.idx-marquee__viewport {
    height: 5.75rem;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, #14161f 0%, #0a0b10 100%);
    box-shadow:
        inset 0 3px 0 rgba(196, 30, 58, 0.5),
        0 12px 32px rgba(0, 0, 0, 0.35);
    contain: paint;
    isolation: isolate;
}

.withdraw-marquee-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    height: 100%;
    min-height: 5.75rem;
}

.withdraw-marquee-track--scroll {
    animation: withdrawMarqueeHorizontal var(--wm-duration, 27s) linear infinite;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
}

.withdraw-marquee-track--scroll.withdraw-marquee-track--paused {
    animation-play-state: paused;
}

@keyframes withdrawMarqueeHorizontal {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .withdraw-marquee-track--scroll {
        animation: none;
        transform: none;
    }
}

.withdraw-marquee-line {
    flex: 0 0 auto;
    width: 11.5rem;
    min-height: 5.75rem;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    box-sizing: border-box;
    font-size: 11px;
    font-weight: 600;
    color: rgba(250, 250, 250, 0.92);
    letter-spacing: 0.02em;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-family);
}

.withdraw-marquee-account {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
}

.withdraw-marquee-status {
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(212, 212, 216, 0.85);
    font-weight: 600;
    font-size: 10px;
}

.withdraw-marquee-amount {
    text-align: left;
    white-space: nowrap;
    color: #fda4af;
    font-weight: 800;
    font-family: var(--font-mono), monospace;
    font-size: 14px;
}

.withdraw-marquee-line--empty {
    flex: 1 1 100%;
    width: 100%;
    min-width: 100%;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(212, 212, 216, 0.55);
    font-weight: 500;
}

.withdraw-marquee-empty-inner {
    text-align: center;
    padding: 0 12px;
}

.products-masonry.index-products-grid.idx-plans-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
    padding-bottom: 8px;
}

.products-masonry.index-products-grid.idx-plans-grid .masonry-loader,
.products-masonry.index-products-grid.idx-plans-grid .empty-state {
    width: 100%;
}

.product-tile.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #0f1118;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(196, 30, 58, 0.12) inset,
        0 18px 42px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(16px);
    animation: tileSlideIn 0.5s ease forwards;
    min-width: 0;
    color: #f4f4f5;
}

.product-tile[data-idx="0"] { animation-delay: 0s; }
.product-tile[data-idx="1"] { animation-delay: 0.06s; }
.product-tile[data-idx="2"] { animation-delay: 0.12s; }
.product-tile[data-idx="3"] { animation-delay: 0.18s; }
.product-tile[data-idx="4"] { animation-delay: 0.24s; }
.product-tile[data-idx="5"] { animation-delay: 0.3s; }

@keyframes tileSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-tile-disabled {
    filter: saturate(0.55);
    opacity: 0.92;
}

.product-card__hero.tile-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 3;
    min-height: 0;
    height: auto;
    overflow: hidden;
    border-radius: 0;
    background: linear-gradient(145deg, #1a1d26 0%, #12151c 100%);
    container-type: normal;
}

.product-card__hero.tile-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5, 6, 10, 0.75) 100%);
    pointer-events: none;
    z-index: 1;
}

.product-card__hero .tile-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
    max-width: none;
    max-height: none;
    min-width: 0;
    min-height: 0;
}

.tile-coming-soon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 17, 24, 0.88);
    color: #fafafa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    padding: 10px;
    z-index: 2;
}

.product-card__body.tile-info {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f4f4f5;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    min-width: 0;
    container-type: inline-size;
    container-name: product-tile-info;
}

.product-card__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.product-card__title.tile-name {
    flex: 1;
    min-width: 0;
    font-size: clamp(16px, 4.2vw, 18px);
    font-weight: 800;
    color: #0a0a0a;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    line-height: 1.25;
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__invest-count {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 800;
    color: #c41e3a;
    font-family: var(--font-mono), monospace;
    letter-spacing: 0.04em;
    line-height: 1;
}

.product-card__metrics.tile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.product-card__metrics .stat-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 8px 9px;
    text-align: left;
    background: #0f1118;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-card__metrics .stat-label {
    font-size: 8px;
    font-weight: 700;
    color: rgba(228, 228, 231, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-card__metrics .stat-value {
    font-size: clamp(10px, 3vw, 12px);
    font-weight: 800;
    color: #fda4af;
    font-family: var(--font-mono), monospace;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.product-card__footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.product-card__stake.tile-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 11px 12px;
    background: rgba(196, 30, 58, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(196, 30, 58, 0.18);
}

.product-card__stake .price-label {
    font-size: 9px;
    font-weight: 800;
    color: rgba(10, 10, 10, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.product-card__stake .price-amount {
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 800;
    color: #0a0a0a;
    font-family: var(--font-mono), monospace;
    text-align: right;
    flex: 1;
    min-width: 0;
}

.product-card__action.tile-action-btn {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    border: none;
    cursor: pointer;
    color: #ffffff;
    text-transform: uppercase;
    font-family: var(--font-family);
    background: linear-gradient(145deg, #c41e3a 0%, #1e40af 100%);
    box-shadow: 0 4px 18px rgba(196, 30, 58, 0.28);
}

.product-card__action.tile-action-btn:hover:not(:disabled):not(.tile-action-btn-disabled) {
    box-shadow: 0 6px 22px rgba(196, 30, 58, 0.35);
}

.product-card__action.tile-action-btn.tile-action-btn-disabled,
.product-card__action.tile-action-btn:disabled,
.product-card__action.tile-action-btn.tile-action-btn-disabled:hover,
.product-card__action.tile-action-btn:disabled:hover {
    cursor: not-allowed;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    box-shadow: none;
    opacity: 0.88;
    color: #ffffff;
}

.loader-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-right-color: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    animation: spin 0.85s linear infinite;
}

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

.masonry-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 72px 20px;
    gap: 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    border: 1px dashed rgba(196, 30, 58, 0.35);
}

.masonry-loader .loader-spinner {
    border-top-color: #fda4af;
    border-right-color: rgba(196, 30, 58, 0.4);
}

.masonry-loader p {
    font-size: 13px;
    color: rgba(228, 228, 231, 0.65);
    margin: 0;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 72px 20px;
    color: rgba(228, 228, 231, 0.55);
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.toast-notification {
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    background: rgba(255, 255, 255, 0.98);
    padding: 14px 28px;
    border-radius: 999px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 90%;
    text-align: center;
    font-weight: 600;
    border: 1px solid rgba(24, 24, 27, 0.06);
}

.toast-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-notification.success {
    background: linear-gradient(135deg, rgba(0, 177, 64, 0.96) 0%, rgba(124, 179, 66, 0.94) 100%);
    color: #ffffff;
    border-color: rgba(0, 177, 64, 0.5);
    box-shadow: 0 10px 32px rgba(0, 177, 64, 0.35);
}

.toast-notification.error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.96) 0%, rgba(200, 35, 51, 0.94) 100%);
    color: #ffffff;
    border-color: rgba(220, 53, 69, 0.45);
    box-shadow: 0 10px 32px rgba(220, 53, 69, 0.35);
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 8, 12, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-overlay .loader-spinner {
    border-top-color: #fda4af;
    border-right-color: rgba(196, 30, 58, 0.4);
}

.index-service-fab {
    position: fixed;
    z-index: 10000;
    right: max(14px, env(safe-area-inset-right));
    top: min(68vh, calc(100vh - 140px));
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #c41e3a 0%, #1e40af 100%);
    color: #ffffff;
    box-shadow:
        0 12px 32px rgba(196, 30, 58, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    -webkit-tap-highlight-color: transparent;
}

.index-service-fab:hover {
    transform: translateY(-50%);
    box-shadow:
        0 16px 42px rgba(30, 64, 175, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.index-service-fab:active {
    transform: translateY(-50%);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.index-service-fab:focus-visible {
    outline: 2px solid #fda4af;
    outline-offset: 3px;
}

.index-service-fab-icon {
    width: 26px;
    height: 26px;
    pointer-events: none;
}

.index-service-fab--legacy {
    display: none !important;
}

.index-app nav.bottom-navigation.index-bottom-nav.idx-dock {
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 58px !important;
    padding: 6px 2px max(10px, env(safe-area-inset-bottom, 0px)) !important;
    padding-left: max(2px, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(2px, env(safe-area-inset-right, 0px)) !important;
    border-radius: 0 !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(10, 11, 16, 0.96) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5) !important;
    gap: 0 !important;
    justify-content: stretch !important;
    align-items: stretch !important;
}

.index-app nav.bottom-navigation.index-bottom-nav.idx-dock::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, #c41e3a 0%, rgba(244, 244, 245, 0.35) 50%, #1e40af 100%);
    opacity: 0.65;
    pointer-events: none;
    z-index: 1;
}

.index-app nav.bottom-navigation.index-bottom-nav.idx-dock .nav-item {
    border-radius: 0 !important;
    min-height: 44px !important;
    flex: 1 1 0 !important;
    color: rgba(161, 161, 170, 0.55) !important;
    position: relative !important;
    background: transparent !important;
    box-shadow: none !important;
}

.index-app nav.bottom-navigation.index-bottom-nav.idx-dock .nav-item.active {
    color: #fda4af !important;
    background: transparent !important;
    box-shadow: none !important;
}

.index-app nav.bottom-navigation.index-bottom-nav.idx-dock .nav-item.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #c41e3a 0%, #1e40af 100%);
}

.index-app nav.bottom-navigation.index-bottom-nav.idx-dock .nav-item:hover {
    background: rgba(196, 30, 58, 0.08) !important;
    color: rgba(244, 244, 245, 0.85) !important;
}

.balance-selection-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    animation: modalFadeIn 0.28s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.balance-modal-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.balance-modal-content {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px 24px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
    animation: modalSlideUp 0.38s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(48px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.balance-modal-title {
    font-family: var(--font-family);
    font-size: 22px;
    font-weight: 800;
    color: #1a2332;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.balance-modal-amount {
    font-family: var(--font-mono), monospace;
    font-size: 16px;
    color: #5a6c7d;
    text-align: center;
    margin-bottom: 26px;
    font-weight: 600;
}

.balance-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.balance-option {
    background: linear-gradient(135deg, rgba(0, 177, 64, 0.06) 0%, rgba(124, 179, 66, 0.05) 100%);
    border: 2px solid rgba(0, 177, 64, 0.18);
    border-radius: 16px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.28s ease;
    text-align: left;
    width: 100%;
}

.balance-option:not(.disabled):hover {
    background: linear-gradient(135deg, rgba(0, 177, 64, 0.12) 0%, rgba(124, 179, 66, 0.08) 100%);
    border-color: #00b140;
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 177, 64, 0.22);
}

.balance-option.disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.balance-option.selected {
    background: linear-gradient(135deg, rgba(0, 177, 64, 0.16) 0%, rgba(124, 179, 66, 0.12) 100%);
    border-color: #00b140;
    box-shadow: 0 8px 26px rgba(0, 177, 64, 0.28);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.option-label {
    font-size: 15px;
    color: #1a2332;
    font-weight: 700;
}

.option-balance {
    font-family: var(--font-mono), monospace;
    font-size: 22px;
    font-weight: 900;
    color: #00b140;
}

.option-insufficient {
    font-size: 12px;
    color: var(--hz-danger);
    margin-top: 6px;
    font-weight: 600;
}

.balance-modal-actions {
    display: flex;
    gap: 12px;
}

.balance-modal-confirm {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #00b140 0%, #7cb342 100%);
    border: none;
    border-radius: 999px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.28s ease;
    font-family: var(--font-family);
    box-shadow: 0 5px 18px rgba(0, 177, 64, 0.35);
}

.balance-modal-confirm:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 177, 64, 0.42);
}

.balance-modal-confirm:active:not(:disabled) {
    transform: translateY(0);
}

.balance-modal-confirm:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.balance-modal-cancel {
    flex: 1;
    padding: 14px;
    background: #f5f7fa;
    border: 2px solid #e8edf2;
    border-radius: 999px;
    color: #5a6c7d;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.28s ease;
    font-family: var(--font-family);
}

.balance-modal-cancel:hover {
    background: #e8edf2;
    border-color: #dfe6ec;
    transform: translateY(-2px);
}

.balance-modal-cancel:active {
    transform: translateY(0);
}

.announcement-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    padding: 20px;
}

.announcement-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.announcement-content {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 28px 22px 22px;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(196, 30, 58, 0.18) 0%, transparent 55%),
        linear-gradient(168deg, #161820 0%, #0f1218 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(196, 30, 58, 0.18);
    transform: translateY(28px) scale(0.96);
    transition: transform 0.32s ease;
}

.announcement-modal.show .announcement-content {
    transform: translateY(0) scale(1);
}

.announcement-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: rgba(244, 244, 245, 0.88);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.announcement-close:hover {
    background: rgba(196, 30, 58, 0.28);
    color: #ffffff;
    transform: rotate(90deg);
}

.announcement-close svg {
    width: 16px;
    height: 16px;
}

.announcement-title {
    margin: 0 36px 22px 0;
    font-family: 'Anton', sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: #fafafa;
    text-shadow: 0 0 24px rgba(196, 30, 58, 0.28);
}

.announcement-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.announcement-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid #c41e3a;
    border-radius: 12px;
}

.announcement-item__label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(212, 212, 216, 0.72);
}

.announcement-item__value {
    font-size: 16px;
    font-weight: 700;
    color: #f4f4f5;
    letter-spacing: 0.02em;
}

.announcement-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #c41e3a 0%, #1e40af 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(196, 30, 58, 0.28);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.announcement-btn svg {
    width: 18px;
    height: 18px;
}

.announcement-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(196, 30, 58, 0.38);
}

.announcement-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .announcement-content {
        padding: 24px 18px 18px;
        border-radius: 16px;
    }

    .announcement-title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .announcement-item {
        padding: 12px 14px;
    }

    .announcement-item__label {
        font-size: 13px;
    }

    .announcement-item__value {
        font-size: 15px;
    }

    .announcement-btn {
        font-size: 14px;
        padding: 13px 16px;
    }
}

.android-app-download-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 84px;
    z-index: 10000;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 16px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(22, 24, 32, 0.98) 0%, rgba(12, 14, 20, 0.98) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.35);
    border-radius: 16px 16px 0 0;
}

.android-app-download-bar.is-visible {
    display: flex;
}

.android-app-download-bar__text {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: rgba(244, 244, 245, 0.9);
    line-height: 1.35;
}

.android-app-download-bar__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    background: var(--hz-accent-gradient);
    border: 1px solid rgba(196, 30, 58, 0.28);
    box-shadow: 0 2px 12px rgba(196, 30, 58, 0.18);
}

.platform-wrapper.has-android-app-download-bar {
    padding-bottom: calc(108px + 52px);
}

@media (max-width: 360px) {
    .main-flow.index-body.idx-canvas {
        padding: 86px 10px 44px;
    }

    .idx-nexus {
        padding: 14px 12px 18px;
        border-radius: 22px;
    }

    .idx-purse__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .floating-header.index-topbar.idx-topbar .logo-text {
        font-size: 19px;
    }

    .index-service-fab {
        width: 50px;
        height: 50px;
        right: max(10px, env(safe-area-inset-right));
    }

    .product-card__metrics .stat-value {
        font-size: clamp(9px, 2.9vw, 12px);
    }

    .product-card__action.tile-action-btn {
        padding: 12px 14px;
        font-size: 11px;
    }
}
