/* 重新编写极其奢华且对齐最新高定截图的 main.css */

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --thai-orange: #f59e0b;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --white: #ffffff;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --green: #10b981;
    --blue: #3b82f6;

    --font-sans: 'Noto Sans SC', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.tropical-bg-pattern {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    /* 高级东南亚热带光影/微芒背景 (Dappled Sunlight pattern) */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.04) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.04) 0%, transparent 30%),
        radial-gradient(circle at 80% 10%, rgba(16, 185, 129, 0.02) 0%, transparent 20%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.red-text {
    color: var(--danger) !important;
    font-weight: 500;
}

.text-danger {
    color: var(--danger);
}

.text-muted {
    color: var(--text-muted);
}

.text-warning {
    color: var(--thai-orange);
}

.text-blue {
    color: #0284c7;
}

.thai-orange {
    color: var(--thai-orange);
}

.small-text {
    font-size: 0.85rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 4rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 5rem;
}

/* ======== 高阶 CSS 视图入场动效 ======== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======== 首屏轮播 ======== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s ease-in-out, transform 8s linear;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(13, 148, 136, 0.2) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    color: #ccfbf1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
}

.hero-desc {
    font-size: 1.3rem;
    margin-bottom: 3.5rem;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* 唯一的极品交互按钮 */
.btn-core {
    display: inline-block;
    background: linear-gradient(45deg, var(--thai-orange), #fcd34d);
    color: #1e293b;
    padding: 1.2rem 4rem;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-core:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.7);
    background: linear-gradient(45deg, #d97706, var(--thai-orange));
    color: white;
}

/* ======== Telegram 客服呼吸灯外挂 ======== */
.telegram-contact-zone {
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
    position: relative;
}

.tg-neon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0284c7;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.3);
    border: 2px solid transparent;
    /* default */
    transition: all 0.3s ease;
    z-index: 2;
}

.tg-neon-btn i {
    font-size: 1.6rem;
    animation: tada-pulse 2s infinite ease-in-out;
}

.tg-neon-btn:hover {
    background: #0369a1;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(2, 132, 199, 0.5);
    border: 2px solid #bae6fd;
}

/* 背景脉冲光晕圈 */
.glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: #38bdf8;
    z-index: -1;
    border-radius: 50px;
    opacity: 0.6;
    animation: ping 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    70%,
    100% {
        transform: translate(-50%, -50%) scale(1.1, 1.3);
        opacity: 0;
    }
}

@keyframes tada-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    10% {
        transform: scale(0.95) rotate(-5deg);
    }

    20% {
        transform: scale(1.1) rotate(5deg);
    }

    30% {
        transform: scale(1.15) rotate(-5deg);
        filter: brightness(1.2);
    }

    40% {
        transform: scale(1.1) rotate(5deg);
    }

    50% {
        transform: scale(1) rotate(0deg);
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ======== 曼谷景点排版 (Apple 风格大卡片流) ======== */
.section {
    padding-top: 5rem;
}

.section-head h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 800;
}

.section-head p.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.spots-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ======== 高端内联点缀: 东南亚度假微风花刺暗网 ======== */
.section-pattern-bg {
    background-color: #ffffff;
    /* 保持底板亮白可读 */
    /* 采用高纯度的 CSS 内联 SVG + 超低透明度(3%) 绘制叠层式热带棕榈扇叶 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 20A20 20 0 1 0 0 0h40a20 20 0 1 1-20 20z' fill='%2310b981' fill-opacity='0.035' fill-rule='evenodd'/%3E%3C/svg%3E");
    padding: 3.5rem 2rem;
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    /* 补足柔光边际感 */
    border: 1px solid rgba(13, 148, 136, 0.05);
}

.spot-card {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
    min-height: 220px;
}

.spot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -8px rgba(13, 148, 136, 0.12);
}

.spot-img-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.spot-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.spot-card:hover .spot-img-container img {
    transform: scale(1.05);
}

.spot-text {
    flex: 1.2;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.spot-card.reverse {
    flex-direction: row-reverse;
}

.spot-number {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-serif);
    color: rgba(13, 148, 136, 0.08);
    position: absolute;
    top: 15px;
    right: 25px;
    line-height: 1;
    margin: 0;
}

.spot-text h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.3rem;
    font-weight: 800;
}

.spot-text .eng-title {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-style: italic;
}

.spot-text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}


/* ======== 100% 像素级复刻 Modern UI 面板框架 ======== */

.modern-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modern-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.3s;
}

.modern-card:hover {
    box-shadow: 0 12px 32px -8px rgba(13, 148, 136, 0.1);
}

/* 出入境圆圈数字标题 */
.modern-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.circle-num {
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.modern-card-header h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    font-weight: 700;
    margin: 0;
}

.modern-card-body p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

ul.clean-list {
    list-style: none;
    padding-left: 0;
}

ul.clean-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

ul.clean-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
}

.dashed-hr {
    border: none;
    border-top: 1px dashed #cbd5e1;
    margin: 1.5rem 0;
}

/* ======== Dashboard (行李/天气/费用/行程) 区域 ======== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.dash-column {
    display: flex;
    flex-direction: column;
}

.dash-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.icon-title {
    font-size: 2rem;
    margin-right: 10px;
}

/* 胶囊标签 (Pill Tags) */
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill {
    background-color: #f1f5f9;
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
}

.pill.pill-yellow {
    background-color: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}

/* 天气警告框 */
.action-points {
    display: flex;
    gap: 20px;
    font-weight: bold;
}

.action-points .point {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-main);
}

.red-alert-box {
    background-color: var(--danger-light);
    border: 1.5px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.alert-header {
    color: var(--danger);
    font-weight: 700;
    margin-bottom: 1rem;
}

.temp-compare {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    position: relative;
}

.tc-item {
    color: var(--text-muted);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tc-item span {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1e293b;
    line-height: 1;
    margin-top: 5px;
}

.alert-footer {
    color: var(--danger);
    font-weight: 700;
    border-top: 1px dashed #fca5a5;
    padding-top: 1rem;
    font-size: 1.1rem;
}

/* 费用数字框 */
.big-price {
    font-size: 4rem;
    font-weight: 900;
    color: var(--thai-orange);
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
}

.big-price .yen {
    font-size: 2rem;
    margin-right: 2px;
    position: relative;
    top: -1.2rem;
}

.big-price .person {
    font-size: 1.2rem;
    margin-left: 5px;
    color: var(--text-muted);
    font-weight: 500;
}

.cost-columns {
    display: flex;
    justify-content: center;
    gap: 3rem;
    text-align: left;
}

.cost-col h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.circle-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: white;
    font-size: 10px;
}

.circle-icon.green {
    background-color: var(--green);
}

.circle-icon.red {
    background-color: var(--danger);
}

ul.dot-list {
    list-style: none;
    padding-left: 0;
}

ul.dot-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

ul.dot-list.green-dots li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 0.9;
    top: 2px;
    color: var(--green);
}

ul.dot-list.red-crosses li::before {
    content: '×';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
    top: 0px;
    color: var(--danger);
    font-weight: bold;
}


/* 时间轴 Timeline */
.timeline-container {
    position: relative;
    padding-left: 15px;
}

.tl-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 3rem;
}

.tl-item:last-child {
    margin-bottom: 0;
}

.tl-dot {
    position: absolute;
    left: -6px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    z-index: 2;
}

.tl-dot.green {
    background-color: var(--primary);
    box-shadow: 0 0 0 4px #ccfbf1;
}

.tl-dot.yellow {
    background-color: var(--thai-orange);
    box-shadow: 0 0 0 4px #fef3c7;
}

.tl-line {
    position: absolute;
    left: 1px;
    top: 20px;
    bottom: 40px;
    width: 2px;
    background-color: #e2e8f0;
    z-index: 1;
    height: 70px;
}

.tl-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.green-badge {
    background-color: var(--primary);
}

.yellow-badge {
    background-color: var(--thai-orange);
}

.tl-content h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.tl-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ======== 页脚 ======== */
.footer {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
}

/* ======== 响应式多端动态调整 ======== */

/* 1. 平板与小屏幕 (iPad 级) */
@media (max-width: 900px) {

    .modern-grid-2x2,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .spot-card,
    .spot-card.reverse {
        flex-direction: column;
        padding: 0;
        border: none;
        border-top: 6px solid var(--primary);
    }

    .spot-img-container {
        min-height: 250px;
    }

    .spot-text {
        padding: 2.5rem;
        text-align: center;
        align-items: center;
    }

    .spot-number {
        display: none;
    }

    .cost-columns {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
}

/* 2. 极致丝滑的手持竖屏优化 (iPhone 级窄面) */
@media (max-width: 600px) {

    /* 释放横向大容器与系统基准字体 */
    .container {
        padding: 0 1.2rem;
    }

    body {
        font-size: 0.95rem;
    }

    /* 缩减首屏巨塔型文字压迫 */
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hero-desc {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    /* 手机端按钮全宽易触控 */
    .btn-core {
        padding: 1.2rem 2.5rem;
        font-size: 1.15rem;
        width: 100%;
        box-sizing: border-box;
    }

    /* 景点卡片大幅度收缩边距回归通透 */
    .section-head h2 {
        font-size: 1.8rem;
    }

    .spots-list {
        gap: 1.5rem;
    }

    .spot-card {
        border-radius: 16px;
        border-width: 4px;
    }

    .spot-img-container {
        min-height: 180px;
    }

    .spot-text {
        padding: 1.5rem 1.2rem;
    }

    .spot-text h3 {
        font-size: 1.3rem;
        margin-bottom: 0.1rem;
    }

    .spot-text .eng-title {
        font-size: 0.85rem;
    }

    .spot-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Modern UI 说明卡块全量减压 */
    .modern-card {
        padding: 1.5rem 1.2rem;
        border-radius: 12px;
        margin-bottom: 1.2rem;
    }

    .circle-num {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .modern-card-header h3 {
        font-size: 1.15rem;
    }

    /* 胶囊与警告框内联打断并重新铺装 */
    .pill-group {
        gap: 8px;
    }

    .pill {
        padding: 8px 16px;
        font-size: 0.88rem;
    }

    .dash-title {
        font-size: 1.15rem;
    }

    /* 金额大字缩回合理阈值，防止错行 */
    .big-price {
        font-size: 3rem;
    }

    .big-price .yen {
        font-size: 1.5rem;
    }

    /* 费用对立面转左对齐纵向顺流 */
    .cost-columns {
        align-items: flex-start;
        gap: 1rem;
    }

    .cost-col h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    ul.dot-list li {
        font-size: 0.88rem;
    }

    /* 醒目天气警告框纵向缩放 */
    .red-alert-box {
        padding: 1.2rem 1rem;
    }

    .action-points {
        flex-direction: column;
        gap: 10px;
    }

    .temp-compare {
        flex-direction: row;
        justify-content: space-around;
        margin-bottom: 1rem;
    }

    .tc-item span {
        font-size: 2.2rem;
    }

    .alert-footer {
        font-size: 0.95rem;
    }

    /* 时间轴比例调优 */
    .tl-item {
        margin-bottom: 2rem;
        padding-left: 20px;
    }

    .tl-dot {
        width: 12px;
        height: 12px;
        left: -5px;
    }

    .tl-line {
        left: 0px;
        top: 15px;
        bottom: 30px;
    }

    .tl-content h4 {
        font-size: 1.1rem;
    }

    .tl-badge {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    /* 东南亚花纹切片针对手机竖屏的减法降维 */
    .section-pattern-bg {
        padding: 2rem 1.2rem;
        border-radius: 16px;
        background-size: 30px;
    }

    /* 移动端电报按钮收缩防横突 */
    .telegram-contact-zone {
        margin-top: 2.5rem;
    }

    .tg-neon-btn {
        width: 100%;
        box-sizing: border-box;
        font-size: 1.05rem;
        padding: 1rem 1.2rem;
        justify-content: center;
    }
}