

/* Risk Bar */
.risk-bar {
    background: #251f30;
    height: 18px;
    border-radius: 9px;
    overflow: hidden;
    border: 1px solid #2a2333;
    margin: 12px 0;
    position: relative;
}

.risk-fill {
    height: 100%;
    width: auto;
    ; border-radius: 9px;
    background: linear-gradient(90deg, #8fd0ff, #78398e, #ee3030);
    transition: width 0.4s ease;
}

/* Embed Frame */
.embed-frame {
    width: 100%;
    height: 700px;
    border: 0;
    border-radius: 16px;
    background: #000;
}

/* Responsive Adjustments */
@media (max-width: 992px) {

    .hero-row {
        flex-direction: column;
        text-align: center;
    }

    .coin-avatar {
        width: 94px;
        height: 94px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .action-buttons {
        align-items: stretch;
    }

    .btn-enhanced {
        min-width: 100% !important;
    }
}/*hero*/
.page-coin .hero {
    background: linear-gradient(180deg, rgba(130,84,233,0.08), rgba(15,14,20,0));
    border: 1px solid #eaeaea;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    overflow: hidden;
    position: relative;
    margin-bottom: 32px;
}

.page-coin .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-height: 303px;
    background: radial-gradient(circle at 30% 30%, rgba(130,84,233,0.15), transparent 70%);
    pointer-events: none;
}

.page-coin .hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
    padding: 14px 18px;
}

@media (max-width: 992px) {

    .page-coin .hero-grid {
        grid-template-columns: 1fr;
        padding: 18px 14px;
    }

    .page-coin .hero-right {
        align-items: stretch !important;
        padding: 0 !important;
    }

}
.coin-hero{
display:-ms-flexbox;
display:flex;
-ms-flex-align:center;
align-items:center;
flex-wrap:wrap;
}

.coin-avatar {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #8254e9;
    box-shadow: 0 0 30px rgba(130,84,233,0.6);
    position: relative;
    z-index: 1;
}

.page-coin .hero-title {
    font-size: 2.0rem;
    font-weight: 600;
    color: #5f5d5f;
}

body.dark-mode .page-coin .hero-title {
    color: whitesmoke;
}

.page-coin .hero-meta {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 1.3rem;
}

.badge-soft {
    background: rgba(255,255,255,0.41);
    color: #2f2d2d;
    border: 1px solid rgba(130,84,233,0.5);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.page-coin .copy-contract {
    color: #49494a;
}

body.dark-mode .page-coin .copy-contract {
    color: #c4b5fd;
}

body.dark-mode .badge-soft {
    background: rgba(130,84,233,0.25);
    color: #fff;
    border: 1px solid rgba(130,84,233,0.5);
}

.coin-info-list strong {
    min-width: 100px;
}

body.dark-mode .coin-info-list strong {
    color: #c4b5fd;
}

.coin-info-list > div {
    padding: 8px 0;
    border-bottom: 1px solid #2a2333;
}

.coin-info-list > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.social-links {
    display: flex;
    gap: 16px;
    margin: 20px 0;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 16px;
    background: rgb(50,50,51);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f6f6f6;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.page-coin .social-links a:hover {
    background: #8254e9;
    color: white;
    transform: scale(1.1);
}

/* Buttons */
.page-coin .action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
    width: 100%;
}

.page-coin .btn-enhanced {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.2rem;
    height: auto;
    transition: all 0.3s;
    justify-content: flex-start;
    color: white;
    width: 100%;
    box-sizing: border-box;
}

.page-coin .btn-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.5);
}

.page-coin .badge-count {
    margin-left: auto;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 800;
    backdrop-filter: blur(4px);
    font-size: 1rem;
}

@media (max-width: 992px) {
    .page-coin .action-buttons {
        gap: 12px;
    }

    .page-coin .btn-enhanced {
        font-size: 1.05rem;
    }
}

.btn-vote {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.btn-vote:hover svg {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.btn-watch {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.btn-group {
    background: linear-gradient(135deg, #8b5cf6, #4c1d95);
}

.btn-swap {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* KPIs */
.page-coin .kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    padding: 0 24px 12px;
}

.page-coin .kpi {
    border: 1px solid rgba(46,27,87,0.43);
    border-radius: 20px;
    padding: 8px;
    text-align: center;
    min-height: 62px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-coin .kpi .label {
    font-size: 1.1rem;
    color: #a49fb5;
    margin-bottom: 8px;
}

.page-coin .kpi .value {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
}

body.dark-mode .page-coin .kpi {
  background: #0b0b0b;
  color: whitesmoke;
  border: 1px solid rgba(46,27,87,0.43);
}

body.dark-mode .page-coin .kpi .label {
    font-size: 1rem;
    color: whitesmoke;
}

body.dark-mode .page-coin .kpi .value {
    font-size: 2.2rem;
    font-weight: 700;
    color: whitesmoke;
}
.coin-description {
    width: 100%;
}
