@media (max-width: 349px){
    html {
        font-size: 7px;
    }
}

@media (min-width: 350px) and (max-width: 379px){
    html {
        font-size: 8px;
    }
}

@media (min-width: 380px) and (max-width: 419px){
    html {
        font-size: 9px;
    }
}

@media (min-width: 420px) and (max-width: 600px){
    html {
        font-size: 10px;
    }
}

:root {
    --color-primary: #5E35B1;         /* 主品牌色 */
    --color-secondary: #FF6B8E;       /* 次要品牌色 */
    --color-accent: #00C9B8;          /* 强调色 */
    --bg-light: #F8FAFF;              /* 浅色背景 */
    --text-dark: #2A2A3C;             /* 深色文本 */
    --text-light: #BCB5B5;            /* 浅色文本 */
    --bg-gray: #EDE7F6;               /* 灰色背景 */
    --gradient-start: #5E35B1;
    --gradient-end: #B49EE2;
  }

ul {
    margin: 0;          /* 清除外边距 */
    padding: 0;         /* 清除内边距 */
    list-style: none;
}

h5 {
    font-size: 2.5rem;
    font-weight: 500;
}

p {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI";
    letter-spacing: 0.1rem;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    font-size: 1rem;
}

.top {
    width: 100%;
    height: 6rem;
    box-sizing: border-box;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    position: relative;
}

.return {
    width: 20%;
    height: 6rem;
    padding: 0 0.5rem;
    border: 0.2rem solid var(--text-light);
    border-radius: 3rem;
    display: flex;
    justify-content: space-between;
}

.back,
.backHome {
    padding: 1rem;
    width: 5rem;
    height: 4rem;
    position: relative;
}

.back::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;           /* 上边留空 10% */
    bottom: 20%;        /* 下边留空 10% */
    width: 0.2rem;      /* 边框宽度 */
    background: var(--text-light);
  }

.return img {
    width: 100%;
    height: 100%;
}

.titel {
    height: 6rem;
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;          /* 水平居中 */
    transform: translateX(-50%);
    margin: 0;     
}

.area {
    width: 100%;
    margin: 3rem 0;
}

.area ul {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: space-between;
    list-style: none;
    font-size: 2.5rem;
}

.area li {
    width: 30%;
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;   
}

.area li img {
    width: 15%;
}

main {
    width: auto;
}

main ul {
    padding: 1rem;
    list-style: none;
}

main li {
    width: auto;
    margin: 3rem;
    border-radius: 2rem;
    overflow: hidden;
}

figure {
    max-width: 100%;
    height: 100%;
    margin: 0;
}

figure img {
    max-width: 100%;
}

.info {
    padding: 1rem 2rem;
    background-color: white;
}

.hotelInfo {
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 2.5rem;
    display: flex;
    align-items: baseline;
}

.price p:nth-child(1) {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
}

.price p:nth-child(2) {
    font-size: 3rem;
    color: var(--color-accent);
    font-weight: 600;
}

.price p:nth-child(3) {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.recommend {
    display: flex;
    font-size: 1.5rem;
    gap: 2rem;
    color: var(--text-dark);
}

.recommend p {
    margin: 0;
    padding: 0.5rem;
    border-radius: 0.2rem;
    background-color: #F6F5F5;
}

.describe {
    display: inline-block;
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: var(--color-accent);
    border: 0.15rem solid var(--color-accent);
    border-radius: 0.3rem;
}

.describe p {
    padding: 0.3rem;
}

.area li.active {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 2.8rem;
    position: relative;
}

.area li.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: underline 0.3s ease-out;
}

@keyframes underline {
    from { width: 0 }
    to { width: 80% }
}

.guide {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background-color: #2A2A3C;
    opacity: 0.8;
}

.guide img {
    width: 100%;
}