* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    background-color: #fce8f3;
    color: #333;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
}

/* 状态栏 */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    color: white;
    padding: 5px 15px;
    height: 25px;
}

.time {
    font-weight: bold;
}

.app-name {
    text-align: center;
}

.telegram-button {
    background-color: #0088cc;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.status-icons {
    display: flex;
    gap: 5px;
}

.signal:before {
    content: "▮▮▮";
}

.wifi:before {
    content: "📶";
    font-size: 14px;
}

.battery:before {
    content: "🔋";
    font-size: 14px;
}

/* 浏览器地址栏 */
.address-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f1f1f1;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

.back-button {
    color: #0088cc;
}

.url {
    display: flex;
    align-items: center;
    background-color: #e8e8e8;
    padding: 5px 10px;
    border-radius: 5px;
    flex-grow: 1;
    margin: 0 10px;
    justify-content: center;
}

.lock-icon {
    margin-right: 5px;
    font-size: 12px;
}

.menu-icon {
    color: #0088cc;
    font-weight: bold;
    font-size: 20px;
}

/* 主要内容 */
.main-content {
    padding-bottom: 70px;
    background-size: cover;
    background-position: center;
}

/* 轮播公共样式 */
.carousel-container {
    position: relative;
    overflow: hidden;
    margin: 20px 10px;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    position: relative;
}

/* 单图轮播样式 */
[data-type="single"] .carousel-item {
    flex: 0 0 100%;
    width: 100%;
}

/* 多图轮播样式 */
[data-type="multi"] .carousel-item {
    flex: 0 0 33.33%;
    padding: 0 5px;
    box-sizing: border-box;
}

/* 顶部轮播特殊样式 */
.top-carousel .carousel-item {
    border-radius: 20px;
}

/* 图片轮播特殊样式 */
.gallery-item {
    overflow: hidden;
    margin: 0;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.gallery-image {
    width: 100%;
    height: 320px; /* 拉长图片高度 */
    object-fit: cover;
    border: 2px solid #ff69b4;
    border-radius: 5px;
    vertical-align: middle;
    display: block;
}

/* 底部轮播特殊样式 */
.review-carousel .carousel-item {
    padding: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #ff69b4;
}

/* 轮播左右箭头 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #ff69b4;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
}

.carousel-arrow:hover {
    background-color: rgba(255, 105, 180, 0.2);
    color: white;
}

.carousel-arrow.left {
    left: 10px;
}

.carousel-arrow.right {
    right: 10px;
}

/* 粉色标题区域 */
.pink-header {
    background-color: #ff69b4;
    color: white;
    text-align: center;
    padding: 25px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    margin: 0;
}

.pink-header h1 {
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: bold;
}

.pink-header p {
    font-size: 16px;
    line-height: 1.5;
}

/* 联系区域 */
.contact-section {
    background-color: #fff;
    border: 2px solid #32CD32;
    border-radius: 20px;
    margin: 20px 10px;
    padding: 15px;
    text-align: center;
    position: relative;
}

.contact-title {
    font-size: 20px;
    color: #333;
    margin: 10px 0 20px;
    font-weight: bold;
}

.flower-icon {
    color: #ff69b4;
    font-size: 22px;
    margin: 0 5px;
}

.line-contact {
    margin: 15px 0 5px;
    font-size: 16px;
}

.line-id {
    background-color: #ffd1e6;
    color: #ff1493;
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
    margin: 10px 20px;
    border: 2px dashed #ff1493;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.line-id:hover {
    background-color: #ffc1dd;
}

.line-id:active {
    transform: scale(0.98);
}

.copy-tooltip {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.line-id:hover .copy-tooltip {
    opacity: 1;
}

.copy-success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(50, 205, 50, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.description {
    margin: 15px 0;
    font-size: 14px;
}

.service-note {
    color: #ff1493;
    font-weight: bold;
    margin: 10px 0 20px;
}

.qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
}

.qr-code {
    width: 150px;
    height: 150px;
    border: 1px solid #32CD32;
    border-radius: 8px;
}

/* 美女图片展示区 */
.gallery-section {
    margin: 30px 10px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.gallery-title {
    background-color: #ffd1e6;
    color: #ff1493;
    padding: 10px;
    border-radius: 15px 15px 0 0;
    font-size: 20px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    border: 2px solid #ff69b4;
    border-bottom: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-carousel {
    border: 2px solid #ff69b4;
    border-radius: 0 0 15px 15px;
    background-color: #ffd1e6;
    margin: 0 0 20px 0;
    padding: 15px;
    overflow: hidden;
    position: relative;
}

.gallery {
    display: flex;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.image-tag {
    background-color: #ff69b4;
    color: white;
    padding: 2px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 2px;
    border: 1px solid #fff;
    position: absolute;
    top: 5px;
    right: 5px;
}

/* 添加边框装饰效果 */
.gallery-section::before, 
.gallery-section::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    z-index: 0;
}

.gallery-section::before {
    top: -5px;
    left: -5px;
    background-color: rgba(255, 192, 203, 0.3);
}

.gallery-section::after {
    top: 5px;
    left: 5px;
    background-color: rgba(255, 105, 180, 0.3);
}

/* 用户评价轮播区域 */
.review-section {
    background-color: rgba(174, 112, 136, 0.8);
    color: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    position: relative;
    margin: 0;
}

.review-title {
    margin-bottom: 15px;
    font-size: 20px;
}

.heart-icon {
    color: #ff69b4;
}

.time-ago {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin: 5px 0;
    text-align: left;
}

.stars {
    color: #ffcc00;
    font-size: 24px;
    margin: 10px 0;
}

.review-text {
    margin: 10px 0;
    text-align: left;
    line-height: 1.4;
}

.reviewer {
    color: #ff69b4;
    font-weight: bold;
    text-align: left;
    margin: 10px 0;
}

/* 底部导航 */
.bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border-top: 1px solid #ddd;
    padding: 10px 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 600px;
    margin: 0 auto;
    z-index: 100;
}

.nav-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0088cc;
    font-size: 18px;
}

/* 响应式设计调整 */
@media (max-width: 400px) {
    .pink-header h1 {
        font-size: 20px;
    }
    
    .pink-header p {
        font-size: 14px;
    }
    
    .line-id {
        font-size: 20px;
    }
    
    .gallery-image {
        height: 250px;
    }
    
    .qr-code {
        width: 130px;
        height: 130px;
    }
}

/* 加载动画 */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
    max-width: 600px;
    margin: 0 auto;
    transition: opacity 0.5s ease;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff69b4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 二维码覆盖层 */
.qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-container:hover .qr-overlay {
    opacity: 1;
}

.qr-overlay i {
    font-size: 24px;
    color: #32CD32;
    margin-bottom: 5px;
}

.qr-overlay span {
    color: #32CD32;
    font-weight: bold;
}

/* 波纹效果 */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* 底部图片的标签尺寸调整 */
.small-bottom-item .image-tag {
    padding: 1px 6px;
    font-size: 10px;
}

.small-item .gallery-image, 
.small-bottom-item .gallery-image {
    border-width: 2px;
}

/* 第二个多图片画廊的样式 */
.multi-gallery.bottom-gallery {
    border-top: none;
    padding-top: 5px;
}

/* 轮播箭头样式优化 */
.gallery-carousel .carousel-arrow {
    background-color: rgba(255, 105, 180, 0.7);
    color: white;
    width: 35px;
    height: 35px;
}

.gallery-carousel .carousel-arrow:hover {
    background-color: rgba(255, 20, 147, 0.9);
}

/* 轮播点样式优化 */
.gallery-carousel .carousel-dots {
    margin-top: 15px;
}

/* 当点击gallery-section时显示箭头 */
.gallery-section.active .carousel-arrow {
    opacity: 1;
}

/* 轮播尺寸自定义类 */
/* 轮播容器尺寸 */
.carousel-size-small {
    max-width: 85%;
    margin: 15px auto;
}

.carousel-size-medium {
    max-width: 90%;
    margin: 20px auto;
}

.carousel-size-large {
    max-width: 95%;
    margin: 25px auto;
}

.carousel-size-full {
    max-width: 100%;
    margin: 10px auto;
}

/* 轮播项目高度 */
.carousel-height-small .carousel-item {
    min-height: 150px;
}

.carousel-height-medium .carousel-item {
    min-height: 250px;
}

.carousel-height-large .carousel-item {
    min-height: 350px;
}

/* 图片轮播高度 */
.gallery-height-small .gallery-image {
    height: 200px;
}

.gallery-height-medium .gallery-image {
    height: 300px;
}

.gallery-height-large .gallery-image {
    height: 400px;
}

/* 轮播项目内边距 */
.carousel-padding-small .carousel-item {
    padding: 10px;
}

.carousel-padding-medium .carousel-item {
    padding: 15px;
}

.carousel-padding-large .carousel-item {
    padding: 20px;
}

/* 轮播项目圆角 */
.carousel-radius-small .carousel-item {
    border-radius: 5px;
}

.carousel-radius-medium .carousel-item {
    border-radius: 15px;
}

.carousel-radius-large .carousel-item {
    border-radius: 25px;
}

/* 轮播图片显示数量 */
/* 一次显示1张图片 */
.carousel-count-1[data-type="multi"] .carousel-item {
    flex: 0 0 100%;
}

/* 一次显示2张图片 */
.carousel-count-2[data-type="multi"] .carousel-item {
    flex: 0 0 50%;
}

/* 一次显示3张图片（默认） */
.carousel-count-3[data-type="multi"] .carousel-item {
    flex: 0 0 33.33%;
}

/* 一次显示4张图片 */
.carousel-count-4[data-type="multi"] .carousel-item {
    flex: 0 0 25%;
}

/* 轮播图片间距 */
.carousel-gap-none[data-type="multi"] .carousel-item {
    padding: 0;
}

.carousel-gap-small[data-type="multi"] .carousel-item {
    padding: 0 3px;
}

.carousel-gap-medium[data-type="multi"] .carousel-item {
    padding: 0 5px;
}

.carousel-gap-large[data-type="multi"] .carousel-item {
    padding: 0 10px;
}

/* 轮播控制按钮尺寸 */
.carousel-arrow-small {
    width: 30px !important;
    height: 30px !important;
    font-size: 14px !important;
}

.carousel-arrow-medium {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
}

.carousel-arrow-large {
    width: 50px !important;
    height: 50px !important;
    font-size: 22px !important;
}

/* 轮播指示点尺寸 */
.carousel-dots-small .dot {
    height: 8px;
    width: 8px;
    margin: 0 3px;
}

.carousel-dots-medium .dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
}

.carousel-dots-large .dot {
    height: 12px;
    width: 12px;
    margin: 0 7px;
}

/* LINE悬浮客服图标 - 优化版 */
.floating-line {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: #06c755; /* LINE绿色 */
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.8);
    text-decoration: none; /* 移除链接下划线 */
}

.floating-line::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.floating-line:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.floating-line:active {
    transform: translateY(-50%) scale(0.95);
}

.floating-line .tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.floating-line:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* 添加脉动动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(6, 199, 85, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(6, 199, 85, 0);
    }
}

.floating-line {
    animation: pulse 2s infinite;
}

/* LINE备用文本样式 */
.line-text {
    font-size: 16px;
    font-weight: bold;
    display: none; /* 默认隐藏 */
}

/* 当图标无法显示时显示文本 */
.fab.fa-line:empty + .line-text {
    display: inline-block;
}

/* 响应式调整 - LINE悬浮图标 */
@media (max-width: 400px) {
    .floating-line {
        width: 50px;
        height: 50px;
        font-size: 24px;
        right: 15px;
    }
    
    .floating-line .tooltip {
        font-size: 12px;
        padding: 3px 8px;
        top: -35px;
    }
}

/* LINE图标包装器 */
.line-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

/* LINE图标样式 */
.line-icon-wrapper i {
    font-size: 32px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 点击时的波纹效果 */
.floating-line:active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
} 