.hot-stocks {
    padding: 84px 2rem;
    background: var(--bg-primary);
}

.hot-stocks-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.hot-stocks-heading .section-title {
    margin-bottom: 0.75rem;
}

.hot-stocks-heading .section-subtitle {
    max-width: 720px;
    margin: 0;
}

.hot-stocks-status {
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.hot-stock-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.hot-stock-category {
    min-width: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hot-stock-category:hover {
    border-color: var(--border-gold);
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

.hot-stock-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.9rem;
    border-bottom: 1px solid var(--border-subtle);
}

.hot-stock-category-title {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 0.65rem;
}

.hot-stock-category-title h3 {
    overflow: hidden;
    margin: 0;
    font-size: 0.92rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-stock-category-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    font-size: 0.75rem;
}

.hot-stock-view-all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.3rem;
    color: var(--gold-primary);
    font-size: 0.72rem;
    font-weight: 650;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.hot-stock-view-all:hover {
    gap: 0.5rem;
    color: var(--gold-light);
}

.hot-stock-list {
    padding: 0.25rem 0;
}

.hot-stock-row {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(118px, 1.08fr);
    align-items: center;
    gap: 0.7rem;
    min-height: 78px;
    padding: 0.65rem 1rem;
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease;
}

.hot-stock-row:hover {
    background: rgba(212, 175, 55, 0.07);
}

.hot-stock-company {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 0.55rem;
}

.hot-stock-mark {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    font-size: 0.62rem;
    font-weight: 750;
}

.hot-stock-company-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.hot-stock-company-copy strong {
    font-size: 0.84rem;
    letter-spacing: 0.02em;
}

.hot-stock-company-copy small {
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-stock-market {
    min-width: 0;
    text-align: right;
}

.hot-stock-price {
    display: block;
    min-height: 1.25rem;
    color: var(--text-primary);
    font-size: 0.86rem;
}

.hot-stock-price.is-unavailable {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.hot-stock-range-title {
    display: block;
    margin-top: 0.15rem;
    color: var(--text-muted);
    font-size: 0.59rem;
    letter-spacing: 0.02em;
}

.hot-stock-range {
    display: grid;
    grid-template-columns: auto minmax(28px, 1fr) auto;
    align-items: center;
    gap: 0.28rem;
    margin-top: 0.24rem;
    color: var(--text-secondary);
    font-size: 0.58rem;
}

.hot-stock-range-track {
    position: relative;
    display: block;
    height: 4px;
    overflow: visible;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 99px;
}

.hot-stock-range-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.25), var(--gold-primary));
    border-radius: inherit;
}

.hot-stock-range-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    background: var(--gold-light);
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--gold-primary);
    transform: translate(-50%, -50%);
}

.hot-stock-range.is-unavailable .hot-stock-range-track {
    opacity: 0.45;
}

.hot-stock-range.is-unavailable .hot-stock-range-marker,
.hot-stock-range.is-unavailable .hot-stock-range-fill {
    display: none;
}

.hot-stock-range-status {
    display: block;
    min-height: 0.85rem;
    margin-top: 0.15rem;
    color: var(--text-muted);
    font-size: 0.57rem;
}

.hot-stocks-category-page {
    min-height: 100vh;
    padding: 5rem 2rem 4rem;
    background: var(--bg-primary);
}

.hot-stocks-category-page .hot-stocks-header {
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.hot-stocks-category-page .hot-stock-grid {
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: minmax(280px, 420px);
    justify-content: center;
}

.hot-stocks-category-page .hot-stock-category:hover {
    transform: none;
}

.hot-stocks-back {
    display: inline-flex;
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    color: var(--gold-primary);
    font-size: 0.86rem;
    text-decoration: none;
}

@media (max-width: 1180px) {
    .hot-stock-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hot-stock-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hot-stocks {
        padding: 60px 16px;
    }

    .hot-stocks-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1.7rem;
    }

    .hot-stocks-status {
        white-space: normal;
    }

    .hot-stock-grid,
    .hot-stocks-category-page .hot-stock-grid {
        grid-template-columns: 1fr;
    }

    .hot-stock-row {
        grid-template-columns: minmax(0, 1fr) minmax(142px, 0.9fr);
    }

    .hot-stocks-category-page {
        padding: 4rem 16px 3rem;
    }
}

@media (max-width: 375px) {
    .hot-stock-row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .hot-stock-market {
        padding-left: 2.45rem;
        text-align: left;
    }
}