.xrp-slider {
    --xrp-accent: #A855F7;
    --xrp-border: #44275d;
    --xrp-bg: #f8fafc;
    --xrp-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
    max-width: 1120px;
    margin: 26px auto;
    padding: 18px;
    border: 1px solid var(--xrp-border);
    border-radius: 20px;
    background: linear-gradient(135deg, #07050b 0%, #10091b 45%, #26103f 100%);
}

.xrp-slider__title {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(0.20rem, 1vw + 0.82rem, 0.90rem);
    line-height: 1.25;
    font-weight: 700;
}

.xrp-slider__controls {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 14px;
}

.xrp-slider__nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--xrp-border);
    background: #ffffff;
    color: #0f172a;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.07);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.xrp-slider__nav-btn:hover,
.xrp-slider__nav-btn:focus-visible {
    border-color: var(--xrp-accent);
    background: var(--xrp-accent);
    color: #ffffff;
    box-shadow: 0 9px 18px rgba(168, 85, 247, 0.25);
    transform: translateY(-1px) scale(1.02);
    outline: none;
}

.xrp-slider__swiper {
    padding: 2px 1px;
}

.xrp-slider .swiper-slide {
    border-radius: 14px;
    overflow: hidden;
}

.xrp-slider .xrp-slide-card {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    line-height: 0;
    text-decoration: none;
    color: inherit;
    transition: filter 0.22s ease;
}

.xrp-slider .xrp-slide-card:hover,
.xrp-slider .xrp-slide-card:focus-visible {
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.18)) saturate(1.04);
    outline: none;
}

.xrp-slider .xrp-slide-card__image {
    width: 100%;
    height: 152px;
    object-fit: contain;
    display: block;
    border-radius: 14px !important;
    clip-path: inset(0 round 14px);
}

.news_wrap {
    text-align: center;
	margin: 20px 0 30px 0;
}

.news_btn {
    padding: 11px 28px;
    border-radius: 30px;
	background: #010101;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
	font-size: 22px;
	border: 1px solid #44275d;
}

.news_btn:hover {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
	text-decoration: none !important;
}

/* banner_css */
.xrp-army-banner-wrapper {
    margin: 30px 0;
    text-align: center;
}

.xrp-army-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transition: 0.3s ease;
}

.xrp-army-banner img:hover {
    transform: scale(1.02);
}

.xrp-banner-title {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
	color: #ffffff;
}
/* banner_css */

/* live_price_css */
.xrp-price-card {
    max-width: 380px;
    background: linear-gradient(135deg, #07050b 0%, #10091b 45%, #26103f 100%);
    border-radius: 18px;
    padding: 22px;
    color: #fff;
    font-family: 'Inter', sans-serif;
	margin: 0 auto;
	border: 1px solid #44275d;
}

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

.xrp-header img {
    width: 40px;
    height: 40px;
}

.xrp-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.xrp-header span {
    font-size: 12px;
    color: #94a3b8;
}

.xrp-prices {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255,255,255,0.05);
    padding: 10px 14px;
    border-radius: 12px;
}

.price-row {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.price-row span {
    font-size: 35px;
    opacity: 0.8;
}

.price-row strong {
    font-size: 35px;
    font-weight: 600;
}

.price-row small {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.6;
}
.main_label{
	text-align: left;
}
.xrp-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.xrp-refresh {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 16px;
}

.xrp-refresh i {
    color: #ffffff;
}

.xrp-refresh:hover {
    background: rgba(255,255,255,0.15);
    transform: rotate(90deg);
}

/* Spinning animation */
.rotating i {
    animation: spin 0.8s linear infinite;
}

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

/* Loading effect */
.xrp-price-item.loading .price-row strong {
    opacity: 0.4;
}

.xrp-price-item.loading {
    position: relative;
}

.xrp-price-item.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
}

.xrp-price-item .xrp-prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.xrp-price-item .xrp-prices .price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    margin: 0;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 0;
    border-radius: 12px;
    box-shadow: none;
    box-sizing: border-box;
}

.xrp-price-item .xrp-prices .price-row:first-child,
.xrp-price-item .xrp-prices .price-row + .price-row {
    justify-content: center;
}

.xrp-price-item .xrp-prices .price-row strong {
    margin: 0;
    white-space: nowrap;
}
/* live_price_css */

@media (max-width: 768px) {
    .xrp-slider {
        padding: 14px;
        border-radius: 16px;
    }

    .xrp-slide-card__image {
        height: 126px;
    }
}

@media (max-width: 768px) {
    /* .xrp-price-item .xrp-prices {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .xrp-price-item .xrp-prices .price-row {
        width: 100%;
    }

    .xrp-price-item .xrp-prices .price-row + .price-row {
        justify-content: flex-start;
    } */
	
	.price-row strong, .price-row span{
		font-size: 25px;
	}
}

@media (max-width: 350px) {
    .xrp-price-item .xrp-prices {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .xrp-price-item .xrp-prices .price-row {
        width: 100%;
        min-height: 54px;
        justify-content: center;
        padding: 7px 9px;
    }

    .xrp-price-item .xrp-prices .price-row + .price-row {
        justify-content: center;
    }
}


/* Three-coin shared price section */
.xrp-price-item + .xrp-price-item {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #44275d;
}

.xrp-price-item {
    position: relative;
}

.xrp-price-card .xrp-refresh.is-refreshing {
    pointer-events: none;
}

/* QNT logo uses the light-background treatment needed by quant-network.svg. */
.xrp-price-item[data-price-coin="qnt"] .xrp-left img {
    background-color: white;
    border-radius: 50%;
}
