@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap');

/* --- 基础设置 --- */
* {
    box-sizing: border-box; /* 确保 padding 不会撑大盒子 */
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #000;
    color: white;
    overflow: hidden; /* 防止页面出现多余滚动条 */
}

/* --- 背景层 --- */
.fixed-bg {
    position: fixed;
    inset: 0;
    background-image: url('https://image2url.com/r2/default/images/1769534262639-bf01c36c-744a-4268-a3e9-4141454d7d32.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* 黑色半透明压暗背景 */
    z-index: -1;
}

/* --- 布局容器 --- */
.wrapper {
    display: flex; /* 使用 Flexbox 布局 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    height: 100vh;
    gap: 30px; /* 卡片之间的间距 */
    padding: 20px;
}

/* --- 通用卡片样式 (磨砂玻璃) --- */
.card-for-info {    /*This card is only for the 'info' part*/
    background: rgba(25, 25, 25, 0.5); /* 深色透明背景 */
    backdrop-filter: blur(10px); /* 磨砂玻璃的核心代码 */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px; /* 大圆角 */
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.card {
    background: rgba(25, 25, 25, 0.5); /* 深色透明背景 */
    backdrop-filter: blur(10px); /* 磨砂玻璃的核心代码 */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px; /* 大圆角 */
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.card-info {
    width: 60%;
    max-width: 700px;
    height: 520px;
}

.card-menu {
    width: 30%;
    max-width: 360px;
    height: 520px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- 文本样式 --- */



.title {
    font-size: 45px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    font-size: 45px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.description {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 40px;;
}

/* --- 统计数字布局 --- */
.stats-container {
    display: flex;
    gap: 50px;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: bold;
}

.stat-label {
    font-size: 10px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-slides {
    display: none;
}

.dot {
  height: 10px;
  width: 10px;
  margin-top: 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.fade {
  animation-name: fade;
  animation-duration: 2s;
}

@keyframes fade {
  from {opacity: .1}
  to {opacity: 1}
}


/* --- 右侧按钮和组件 --- */
.logo-eaduan-pc { /*Logo for pc view olny*/
    width: 100%;
    height: 100%;
    object-fit: contain;
    align-items: center;
    justify-content: center;
    
}

.logo-eaduan { /*Logo for mobile view only*/
    width: 100%;
    height: 100%;
    object-fit: contain;
    align-items: center;
    justify-content: center;
    margin: -20px 0 -20px 0;
    
}

.line {
    flex-shrink: 0;
    border: 0;
    height: 1px;
    width: 100%;   
    background-color: rgba(255, 255, 255, 0.1); 
    margin: 0 0 20px 0;
    display: block;
}


.menu-header {
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 5px;
    color: #6b7280;
    margin-bottom: 30px;
}

.button-group {
    width: 100%;
}

.main-button {
    width: 100%;
    padding: 18px;
    margin-bottom: 15px;
    border-radius: 20px;
    border: none;
    background: white;
    color: #111;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.main-button:hover {
    transform: translateY(-1px);
    background: #c0c0c0;
}

.more-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 10px 0;
}

.more-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    color: white;
}

.more-item:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: #60a5fa;
    transform: translateY(-3px);
}

.more-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.more-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.copyright-phone {
    margin-top: 0px;
    font-size: 80%;
    color: #94a3b840;
    text-align: center;
}

.faq
{
    background-color: #334155; 
    padding: 10px; 
    border-radius: 5px; 
    margin-bottom: 10px;
}

/* hide phone logo from pc view */
@media (min-width: 1200px) {
    .logo-eaduan {
        display: none;
    }

    .copyright-phone {
        display: none;
    }
}

/* --- 响应式设计 (手机端适配) --- */
@media (max-width: 768px) {
    .fixed-bg {
        background-image: url('https://image2url.com/r2/default/images/1769606723481-4b6be88b-6b8b-44ff-bb0c-ed1f48f28c0a.jpg');
    }
    
    .wrapper {
        flex-direction: column; /* 变成上下排列 */
        overflow-y: auto;
        padding-top: 250px;
    }

    .logo-eaduan-pc {
        display: none;
    }

    .copyright-pc {
        display: none;
    }

    .card-for-info {
        min-height: 600px;
    } 

    /* 手机端标题和文字大小调整 */
    .title {
        font-size: clamp(25px, 0.5vw, 52px);
        justify-content: center;
        align-items: center;
    }
    .gradient-text {
        font-size: clamp(25px, 0.5vw, 52px);
        justify-content: center;
        align-items: center;
    }
    .description {
        font-size: 100%;
        justify-content: center;
        align-items: center;  
        text-align: justify;
    }

    .stats-container {
        display: none;
    }

    .card-info, .card-menu {
        width: 100%;
        height: auto;
    }
}