/* 字体导入 */
@font-face {
    font-family: 'AiDeep';
    src: url('image/AiDeep.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Century+Gothic:wght@400;700&display=swap');

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #f1f2f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 25px 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 2000;
}

.nav-container {
    margin: 0;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.menu-btn, .login-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.menu-btn {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.login-btn {
    background-color: #d8b4fe;
    color: #6b21a8;
}

.login-btn:hover {
    background-color: #c084fc;
    color: #581c87;
}

/* 第一区域：主标题区域 */
.hero-section {
    margin-top: 0;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    padding-top: 0;
    top: 0;
}

.hero-background {
    /* 移除背景图片设置 */
    /* background-image: url('image/back.jpg?v=5'); */
    /* background-size: 100%; */
    /* background-position: center top; */
    /* background-repeat: no-repeat; */
    background-color: #f1f2f4; /* 保留背景色作为fallback */
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #fff;
    text-align: left;
    width: 50%;
    margin-left: 470px;
    margin-top: -380px;
}

.important-image {
    position: absolute;
    right: 380px;
    top: 50%;
    transform: translateY(calc(-50% - 110px));
    z-index: 2;
}

.important-image img {
    width: 600px;
    height: auto;
    opacity: 0.8;
}

.main-title {
    font-family: 'AiDeep', Arial, sans-serif;
    font-size: 168px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    text-shadow: 0 0 20px #ff69b4, 0 0 40px #ff69b4, 0 0 60px #ff69b4;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px #ff69b4, 0 0 40px #ff69b4, 0 0 60px #ff69b4;
    }
    50% {
        text-shadow: 0 0 30px #ff69b4, 0 0 60px #ff69b4, 0 0 90px #ff69b4, 0 0 120px #ff69b4;
    }
    100% {
        text-shadow: 0 0 20px #ff69b4, 0 0 40px #ff69b4, 0 0 60px #ff69b4;
    }
}

.sub-title {
    font-family: 'Century Gothic', Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 50px;
    color: #fff;
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.start-test-btn, .live-booking-btn {
    padding: 20px 40px;
    border: none;
    border-radius: 35px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-test-btn {
    background-image: url('image/button.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.3);
}

.start-test-btn:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.live-booking-btn {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.3);
}

.live-booking-btn:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* 社交媒体图标样式 */
.social-icons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.twitter-icon:hover {
    background: rgba(29, 161, 242, 0.2);
    border-color: #1da1f2;
    color: #1da1f2;
}

.telegram-icon:hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: #0088cc;
    color: #0088cc;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* 第二区域：为什么选择我们 */
.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(to bottom, rgba(241, 242, 244, 0.3) 0%, #f1f2f4 50%, #f1f2f4 100%);
    margin-top: -250px;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 2.5rem;
    color: #5c30d1;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    color: #666;
}

.features {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    align-items: flex-start;
}

.feature-item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.feature-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.feature-item p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item .feature-description {
    font-size: 1.075rem;
    font-weight: normal;
    color: #666;
    margin-top: 8px;
    line-height: 1.6;
    text-align: center;
    min-height: 25px;
    display: block;
    width: 100%;
}

/* 第三区域：塔罗牌介绍 */
.tarot-intro {
    padding: 100px 0;
    background-image: url('image/back3.jpg');
    background-size: 80% contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    width: 1600px;
    margin: 0 auto;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.intro-text {
    flex: 1;
}

.intro-subtitle {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    margin-left: -50px;
}

.intro-description {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
    margin-left: -50px;
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
}

.intro-divider {
    width: 100%;
    height: 2px;
    background-color: #ddd;
    margin: 20px 0;
    margin-left: -50px;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 80%;
    height: auto;
    margin-left: 50px;
}

/* 第四区域：四种元素 */
.four-elements {
    padding: 100px 0;
    background-color: #f1f2f4;
}

.elements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    justify-items: center;
}

.element-card {
    background-color: transparent;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

.element-card img {
    width: 218px;
    height: 328px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(147, 112, 219, 0.3);
}

.learn-more-btn {
    background: none;
    border: none;
    padding: 0;
    margin-top: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    display: inline-block;
}

.learn-more-btn img {
    width: 120px;
    height: auto;
    box-shadow: none;
    margin-bottom: 0;
    display: block;
}

.btn-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

.learn-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    opacity: 0.8;
}

.learn-more-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.element-card h3 {
    font-size: 1.3rem;
    color: #5c30d1;
    margin-bottom: 15px;
    font-weight: 600;
}

.element-card p {
    color: #666;
    line-height: 1.6;
    max-width: 85%;
    margin: 0 auto;
}

/* 第五区域：专业服务 */
.professional-service {
    padding: 0;
    position: relative;
}

.service-background {
    background-image: url('image/back3.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
    border-radius: 20px;
    margin: 0 20px;
    overflow: hidden;
}

.service-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(92, 48, 209, 0.6);
}

.service-background .container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.service-background .section-title {
    color: #fff;
    margin-bottom: 20px;
}

.service-background .section-subtitle {
    color: #fff;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.service-background .live-booking-btn {
    background-color: #fff;
    color: #5c30d1;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-background .live-booking-btn:hover {
    background-color: #f1f2f4;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏 */
    .navbar {
        width: 95%;
        border-radius: 0 0 15px 15px;
    }
    
    .nav-container {
        padding: 0 15px;
        height: 50px;
        justify-content: space-between;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .logo img {
        height: 28px;
    }
    
    .nav-buttons {
        gap: 8px;
        flex-shrink: 0;
    }
    
    .menu-btn, .login-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: auto;
    }
    
    /* 第一区域 */
    .hero-content {
        width: 90%;
        margin-left: 5%;
        margin-top: -100px !important;  /* 从-200px调整为-100px，向下移动100px */
        text-align: center;
    }
    
    .important-image {
        display: block !important;  /* 重新显示图片 */
        position: absolute;
        top: 15%;  /* 位于主标题上方 */
        left: 50%;
        transform: translateX(-50%);  /* 水平居中 */
        right: auto;  /* 重置右侧定位 */
        z-index: 3;
    }
    
    .important-image img {
        width: 200px !important;  /* 适合移动端的尺寸 */
        height: auto;
        opacity: 0.8;
    }
    
    .main-title {
        font-size: 3rem;
        margin-top: 80px;  /* 为上方图片留出空间 */
    }
    
    .sub-title {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .start-test-btn, .live-booking-btn {
        width: 200px;
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    /* 社交图标移动端样式 */
    .social-icons {
        justify-content: center;
        margin-top: 20px;
        gap: 15px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
    
    /* 第二区域 */
    .why-choose-us {
        margin-top: -100px;
        padding: 60px 0;
    }
    
    .features {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .feature-item {
        width: 90%;
        max-width: 300px;
    }
    
    .feature-item img {
        width: 60px;
        height: 60px;
    }
    
    /* 第三区域 */
    .tarot-intro {
        width: 95%;
        padding: 60px 20px;
        background-size: cover;
    }
    
    .intro-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .intro-image {
        order: 1;
    }
    
    .intro-text {
        order: 2;
    }
    
    /* 手机端图片放大50% */
    .intro-image img {
        width: 90% !important;
        max-width: 375px !important;
        margin: 0;
    }
    
    .intro-subtitle, .intro-description {
        margin-left: 0;
        text-align: center;
    }
    
    .intro-divider {
        margin-left: 0;
        width: 80%;
        margin: 20px auto;
    }
    
    /* 第四区域 */
    .elements-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .element-card img {
        width: 180px;
        height: 270px;
    }
    
    /* 修复learn more按钮在移动端过大的问题，并放大20% */
    .learn-more-btn img {
        width: 96px !important;  /* 原来80px放大20%：80 * 1.2 = 96px */
        height: auto;
    }
    
    .btn-text {
        font-size: 13px !important;  /* 原来11px放大约20%：11 * 1.18 ≈ 13px */
    }
    
    /* 第五区域 */
    .service-background {
        margin: 0 10px;
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 45px;
        padding: 0 8px;
        width: 98%;
    }
    
    .nav-container {
        height: 45px;
        padding: 0 8px;
        justify-content: space-between;
    }
    
    .logo img {
        height: 24px;
    }
    
    .nav-buttons {
        gap: 6px;
    }
    
    .menu-btn, .login-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
        border-radius: 15px;
    }
    
    .hero-content {
        padding: 55px 15px 20px 15px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .sub-title {
        font-size: 1rem;
    }
    
    .start-test-btn, .live-booking-btn {
        width: 180px;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .element-card img {
        width: 150px;
        height: 225px;
    }
    
    /* 进一步缩小按钮尺寸 */
    .learn-more-btn img {
        width: 84px !important;  /* 原来70px放大20%：70 * 1.2 = 84px */
        height: auto;
    }
    
    .btn-text {
        font-size: 12px !important;  /* 原来10px放大20%：10 * 1.2 = 12px */
    }
}

/* 在style.css文件末尾添加以下样式 */

/* 第三区域learn more按钮样式 */
.intro-learn-more-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    margin-left: -50px;
}

.intro-learn-more-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.intro-learn-more-btn:active {
    transform: translateY(0);
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    z-index: 3000;
    padding: 10px 0;
    margin-top: 5px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-item:hover {
    background-color: rgba(216, 180, 254, 0.3);
    color: #6b21a8;
    transform: translateX(5px);
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* 可选：添加钱包连接样式

在 <mcfile name="style.css" path="d:\TraotGo\style.css"></mcfile> 中添加钱包连接相关样式：
```css
/* 钱包连接按钮样式 */
.login-btn {
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 连接状态指示 */
.login-btn.connected {
    background-color: #10b981 !important;
    color: #fff !important;
}

.login-btn.connected:hover {
    background-color: #059669 !important;
}
