/* ============================
   全站背景 + 基础字体优化
============================ */
body {
    margin: 0;
    font-family: "Arial", sans-serif;
    background: #ffb55e;
    overflow-x: hidden;
    font-size: 16px;
    color: #3c1f00;
}

/* ============================
   导览列
============================ */
.top-nav {
    width: 100%;
    background: linear-gradient(180deg, #ff9c27, #ff7a00);
    padding: 14px 0;
    border-bottom: 3px solid #ffb247;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

.nav-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 🔥 固定 LOGO 尺寸 */
.nav-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-title {
    font-size: 22px;
    color: #fff7e6;
    font-weight: bold;
}

.tg-btn {
    background: linear-gradient(135deg, #ffc074, #ff8a00);
    color: #4a2500 !important;
    padding: 12px 34px;
    font-size: 18px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none !important;
    border: 1px solid #ffae42;
    box-shadow: 0 0 12px rgba(255,165,0,0.8);
    transition: 0.25s;
}

.tg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255,145,0,1);
}

/* ============================
   轮播图
============================ */
.carousel-container {
    width: 90%;
    max-width: 1300px;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    max-height: 240px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
}

.carousel-item {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 600px) {
    .carousel-container {
        max-height: 180px;
    }
}

/* 圆点 */
.carousel-dots {
    position: absolute;
    bottom: 12px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-dots span {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.5;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-dots .active {
    opacity: 1;
    background: #ff7a00;
}

/* 左右按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,140,0,0.75);
    border: none;
    color: #fff;
    font-size: 32px;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: rgba(255,100,0,0.95);
}

.prev { left: 12px; }
.next { right: 12px; }

/* ============================
   标题区
============================ */
.section-title {
    text-align: center;
    margin: 40px 0 10px;
    font-size: 30px;
    font-weight: bold;
    color: #702f00;
}

.section-sub {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    color: #5e2b00;
}

/* ============================
   两栏入口卡片
============================ */
.entry-grid {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.entry-card {
    background: rgba(255, 255, 255, 0.65); /* 半透明白 */
    backdrop-filter: blur(6px);
    border: 2px solid #ff9c27;
    border-radius: 15px;
    padding: 22px;
    box-shadow: 0 0 18px rgba(255,150,0,0.28);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    min-height: 220px;

    color: #000; /* ⭐ 卡片内部所有文字强制变黑 */
}

/* Logo 光晕效果 */
.entry-logo {
    width: 115px;
    height: 115px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(255, 170, 0, 0.6);
}

.entry-center h2 {
    margin: 0;
    font-size: 22px;
    color: #7a3700;
}

.entry-center p {
    font-size: 15px;
    line-height: 1.45;
}

.benefits li {
    font-size: 14px;
    margin-bottom: 3px;
    color: #444;
}

/* 右下按钮 */
.entry-btn {
    background: linear-gradient(135deg, #ffc074, #ff8a00);
    color: #4a2500 !important;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: bold;
    border: 1px solid #ffae42;
    text-decoration: none;
    box-shadow: 0 0 12px rgba(255,165,0,.8);
    transition: 0.25s;
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.entry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255,145,0,1);
}

/* ============================
   响应式设计
============================ */

/* 768px 以下：仍保持两栏，但缩小间距 */
@media (max-width: 768px) {
    .entry-grid {
        gap: 15px;
    }

    .entry-card {
        padding: 15px;
        min-height: 200px;
    }
}

/* 480px 以下：自动变一栏 */
@media (max-width: 480px) {
    .entry-grid {
        grid-template-columns: 1fr !important;
    }

    .entry-card {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .entry-btn {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 12px;
    }
}

/* 手机版轮播图更高 + 覆盖整个宽度 */
@media (max-width: 768px) {
    .carousel-container {
        width: 100%;           /* 🔥 满版 */
        max-height: 260px;     /* 🔥 提高高度 */
        border-radius: 0;      /* 🔥 手机版去圆角更贴合 */
    }

    .carousel-item {
        height: 260px;         /* 🔥 统一高度 */
        object-fit: cover;     /* 🔥 填满不会变形 */
    }
}

/* 超小手机（宽度 ≤ 400px） */
@media (max-width: 400px) {
    .carousel-container {
        max-height: 230px;
    }
    .carousel-item {
        height: 230px;
    }
}

/* 极小手机（≤ 360px，如旧 Android） */
@media (max-width: 360px) {
    .carousel-container {
        max-height: 210px;
    }
    .carousel-item {
        height: 210px;
    }
}


/* 桌机显示长标题 */
.desktop-title { display: inline-block; }
.mobile-title { display: none; }

/* 手机版显示短标题 */
@media (max-width: 768px) {
    .desktop-title { display: none; }
    .mobile-title { 
        display: inline-block; 
        font-size: 20px; 
        line-height: 1.2;
        max-width: 150px; /* 🔥 防止换行太夸张 */
    }
}


/* ============================
   FOOTER
============================ */
.footer {
    text-align: center;
    padding: 40px 0;
    color: #c79f6a;
}
