* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    background-color: #1E3A8A;
}

/* 容器 */
.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #1E3A8A;
}

/* 地图容器 */
.map-container {
  width: 100%;
  height: 100%; 
    overflow: hidden;
    position: relative;
    top: -10%;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: none;
 
}

/* 内容包装器 */
.content-wrapper {
    position: relative;
  width: 500px;
  height: 500px;
    transition: transform 0.1s ease-out; 
    transform-origin: 0 0;

}

/* 背景图 */
.background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 信息点容器 */
.points-container {
    position: absolute;
    top: 0px;
    left: 0;
    width: 600px;
    height: 600px;
    pointer-events: none;
}

/* 单个信息点 */
.point {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: opacity 0.5s ease;
    pointer-events: auto;
    transform-origin: center;
    cursor: pointer;
    z-index: 10;
}

.point.visible {
    opacity: 1;
}

.point.hidden {
    opacity: 0;
    pointer-events: none;
}

.point-image {
    width: 24px;
    height: 24px;
    margin-bottom: 1px;
}

.point-title {
    font-size: 12px;
    color: rgba(51, 51, 51, 0.842);
    background-color: rgba(255, 255, 255, 0.63);
    padding: 3px 6px;
    border-radius: 10px;
    border: 2px solid #007bff6e;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: flex-end;
    padding: 10px;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999;
    max-height: 200px;
    max-width: 100%;
    gap: 10px;
}

.filter-btn {
    margin: 8px;
    padding: 12px 8px;
    font-size: 24px;
    background: #f1ebebbf;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    min-width: 80px;
    cursor: pointer;
    user-select: none;
    border: none;
    outline: none;
}

.filter-btn:hover {
    background: #ffffff54;
}

.filter-btn.active {
    background: #007AFF;
    color: white;
    border-color: #007AFF;
    transform: scale(1.05);
}

.carousel-btn {
    background: #34C759;
    color: white;
    border-color: #34C759;
}

.carousel-btn.active {
    background: #FF3B30;
    border-color: #FF3B30;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
    padding: 20px 0 10px 0;
    text-align: center;
    z-index: 99;
}

.title {
    font-size: 20px;
    color: white;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* 全屏弹窗样式 */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.modal-content {
    flex: 1;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 单张图片样式 */
.detail-image-container {
    width: 100%;
    height: 250px;
    background: #f5f5f5;
    overflow: hidden;
}

.detail-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 内容区域样式 */
.modal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff0000;
}

.modal-description {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

/* 悬浮式底部按钮 */
.back-button-bottom {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    padding: 0 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    min-width: 150px;
    cursor: pointer;
}

.back-button-bottom:hover {
    background: rgba(255, 255, 255, 1);
}

.back-button-bottom .back-icon {
    font-size: 20px;
    color: #2c3e50;
    margin-right: 10px;
}

.back-button-bottom .back-text {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

.image-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.anim-image {
    position: absolute;
    object-fit: contain;
    transition: all 0.6s ease;
}

/* 不同的初始位置和比例 */
.image1 {
  top: -8%;
  left: 3%;
  width: 60%;
  height: 100%;
  transform: scale(0.3);
}

.image2 {
  top: -4%;
  left: 16%;
  width: 40%;
  height: 100%;
  transform: scale(0.55);
}

.image3 {
  top: 15%;
  left: 25%;
  width: 40%;
  height: 50%;
  transform: scale(0.80);
}

.image4 {
  top: 43%;
  left: 27%;
  width: 40%;
  height: 42%;
  transform: scale(1.2);
}

.image5 {
  top: 18%;
  left: 25%;
  width: 51%;
  height: 51%;
  transform: scale(1);
}

.image6 {
  top: 10%;
  right: 20%;
  width: 60%;
  height: 60%;
  transform: scale(0.9);
}
.debug-info {
    position: fixed;
    top: 60px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 1000;
}

.debug-info div {
    margin: 2px 0;
}