* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;

}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */


}

.chart-container {
    width: 50%;

    background: white;
    border-radius: 15px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.2); */
    overflow: hidden;
}

.chart-header {
    /* background: linear-gradient(135deg, #2c3e50, #34495e); */
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stock-info h2 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #000;
}

.stock-price {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0;
}

.price-up {
    color: #e74c3c;
}

.price-down {
    color: #2ecc71;
}

.price-change {
    font-size: 16px;
    margin-left: 10px;
}

.time-filters {
    display: flex;
    gap: 8px;
}

.time-btn {
    padding: 8px 16px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    /* color: white; */
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    background-color: #ede9ff;
}

.time-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.time-btn.active {
    background: #3498db;
    color: #fff;
}

#stockChart {
    width: 100%;
    height: 300px;
    padding: 10px;
}

.main-mom {
    max-width: 1400px;
    margin: auto;
}

.main-header {
    display: flex;
    gap: 20px;
    align-items: center;

}

.main-header-right {
    width: 50%;
}


.container {
    max-width: 1200px;
    width: 100%;
}

/* 轮播图容器 */
.carousel {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3); */
}

/* 轮播内容 */
.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 轮播项 - 淡入淡出效果 */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    cursor: pointer;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 内容描述 */
.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease;
}

.carousel-item.active .carousel-content {
    transform: translateY(0);
    opacity: 1;
}

.carousel-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}

/* 控制按钮 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

/* 指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.carousel-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
    border-color: #3498db;
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 自动播放控制 */
.carousel-autoplay {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 10;
}

.autoplay-btn {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.autoplay-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

.autoplay-btn.paused::before {
    content: "▶";
}

.autoplay-btn.playing::before {
    content: "⏸";
}

/* 进度条 */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    width: 0%;
    transition: width 0.1s linear;
}

.text-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.text-content.collapsed {
    max-height: 250px;
}

.text-content.expanded {
    max-height: 4000px;
}

.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.text-content.expanded .fade-overlay {
    opacity: 0;
}

.toggle-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    transition: background 0.5s ease;
}

.toggle-btn:hover {
    background: #2980b9;
}

.toggle-btn i {
    margin-left: 5px;
    transition: transform 0.5s ease;
}

.toggle-btn.expanded i {
    transform: rotate(180deg);
}

.ming-text {
    height: 126px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel {
        height: 400px;
        border-radius: 15px;
    }

    .carousel-content {
        padding: 25px;
    }

    .carousel-content h2 {
        font-size: 1.8rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .carousel-control {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .carousel-control.prev {
        left: 15px;
    }

    .carousel-control.next {
        right: 15px;
    }
}

@media (max-width: 375px) {
    .chart-container {
        width: 100%;
    }

    .row {
        display: block;
    }

    .row-box {
        width: 100%;
    }
}

@media (max-width: 1100px) {
    .main-header {
        display: block;
        padding: 0 10px;
    }

    .thumbnail-num {
        line-height: 50px !important;
    }

    .chart-container {
        width: 100%;
    }

    .main-header-right {
        margin-top: 10px;
        width: 100%;
    }

    .toggle-btn {
        display: block;
    }

    .home {
        padding: 20px !important;
    }

    .home-img {
        height: 30px !important;
        width: 30px !important;
    }

    .home-text-name {
        display: none !important;
    }

    .chart-header {
        padding: 20px 0 !important;
    }

    .time-btn {
        font-size: 12px !important;
    }

    .ming-text {
        height: 60px !important;
    }

    /* .main-text-right-box {
          opacity: 0;

    } */

    .chart-header {
        display: block;
    }

    .time-filters {
        margin-top: 10px;
    }




    .main-text-right {
        .row {
            display: block;

            .row-box {
                margin-top: 10px;
                width: 100%;
            }
        }
    }

    .main-text {
        display: block !important;

        .main-text-left {
            width: 100%;
        }

        .main-text-right {
            width: 100%;

            .title_text {
                margin-top: 20px;
                display: block;
                text-align: center;
            }
        }
    }

    .stort-img {
        width: 60px !important;
        height: 60px !important;
    }

    .container {
        display: block !important;
        text-align: center;
    }

    .main-text {
        padding: 0 10px;
    }

    .main-text-right-name {
        width: 100% !important;
    }

    .container-text {
        padding: 10px;
    }

    .carousel {
        height: 300px;
    }

    .carousel-content {
        padding: 20px;
    }

    .carousel-content h2 {
        font-size: 1.4rem;
    }

    .carousel-content p {
        font-size: 0.9rem;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .carousel-indicator {
        width: 12px;
        height: 12px;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.carousel {
    animation: fadeIn 1s ease;
}

.main-text-left {
    width: 50%;
}

.main-text-right {
    width: 50%;
}

.main-text {
    display: flex;
    margin-top: 30px;
    gap: 30px;
    /* padding: 0 140px; */
}

.main-text-right-name {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;


}

.stort {
    position: fixed;
    bottom: 10%;
    right: 2%;
    z-index: 999;
    animation: rotateScale 2s infinite linear;
}

@keyframes rotateScale {
0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
          
}

.tracker {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.tracker-one {
    width: 10%;
    border-bottom: 3px solid #000;
}

.tracker-tow {
    border-bottom: 1px solid #000;
    flex: 1;
}

.row {
    margin-top: 30px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.row-box {
    width: 31%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    cursor: pointer;

}

.stort-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
}

.row-box:hover {
    transform: scale(1.05);

}

.ipo_box {
    background: #ede9ff;
    border-radius: 7px;
    padding: 15px;
    height: 108px;
    color: #3a2e7d;
    box-shadow: 0 3px 6px #00000029;
}

.ipo_box1 {
    background: #ebf6f8;
    border-radius: 7px;
    padding: 15px;
    height: 108px;
    color: #017e01;

    box-shadow: 0 3px 6px #00000029;
}

.ipo_box2 {
    background: #ffecec;
    border-radius: 7px;
    padding: 15px;
    height: 108px;
    color: #c03535;

    box-shadow: 0 3px 6px #00000029;
}

.row-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ipo_box-num {
    font-size: 24px;
    font-weight: 700;
}

.ipo_box-text {
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
    color: #000;
}

.title_text {
    display: flex;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

.title_text_num {
    margin-left: 30px;
    font-size: 14px;
    font-weight: 400;
}

.card-header {
    margin-top: 30px;


    background-color: #3a2d7d;
    color: #fff;
    padding: 16px 0;
    border-radius: 0;
}

.container {
    max-width: 1600px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container-text {
    line-height: 24px;
    font-size: 12px;
}

.card-img {
    margin-left: 10px;
}

.table-container {
    margin-top: 30px;
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background-color: #3b2e7d;
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
}

tr:hover {
    background: #f8f9fa;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

tr:nth-child(even) {
    background: #f8f9fa;
}

.carousel-text {
    height: 400px;
}

.main-text-right-box {
    margin-top: 20px;
    font-size: 14px;
    line-height: 30px;
}

.home {
    position: fixed;
    width: 100%;

    background-color: #3a2d7d;
    color: #fff;
    z-index: 999;
    padding: 10px 80px;
}

.home-text {

    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-img {
    width: 56px;
    height: 56px;
}

.home-text-name {
    display: flex;
}

.home-text-name-box {
    margin-left: 20px;
}

.home-poni {
    display: flex;
    align-items: center;
}

.home-poni-name {
    margin-left: 10px;
    font-size: 30px;
    font-weight: 700;
}