
@media (display-mode: standalone) {
html {
background-color: #2D1B3D;
}
}

::v-deep .uni-navbar {
.uni-navbar--border {
border: unset;
}

.uni-nav-bar-text {
font-size: 16px;
font-weight: bold;
}
}

.notic-user-tip-warp {
width: 94% !important;
position: absolute;
top: 2% !important;
left: 50% !important;
transform: translateX(-50%) !important;
box-sizing: border-box !important;
}

.uni-tabbar {
width: min(100%, 30rem);
left: calc(50% - min(50%, 15rem)) !important;
}

.uni-page-head {
width: min(100%, 30rem);
left: calc(50% - min(50%, 15rem)) !important;
}

.uni-navbar__content {
width: min(100%, 30rem);
left: calc(50% - min(50%, 15rem)) !important;
}


/* #app{
overflow: scroll;
} */
body {
min-height: 100%;
margin: 0;
padding: 0;
color: #F8F4FF;
background: linear-gradient(180deg, #10051F 0%, #1B1030 45%, #2D1B3D 100%);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
width: 100%;
max-width: 100vw;
}

html {
background: #080213;
font-size: 16px;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
overflow-x: hidden;
box-sizing: border-box;
}

*, *::before, *::after {
box-sizing: inherit;
}

/* 图片响应式优化 */
img {
max-width: 100%;
height: auto;
display: block;
}

/* 防止图片加载时的布局偏移 */
img[src=""],
img:not([src]) {
opacity: 0;
}



/* 加载动画样式 */
.loading-container {
position: fixed;
z-index: 99999;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(45, 27, 61, 0.9);
text-align: center;
border-radius: 5px;
width: 98px;
height: 98px;
display: none;
/* 默认隐藏 */
justify-content: center;
align-items: center;
}

.rotating-image {
position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}

.a-image {
width: 80px !important;
height: 80px !important;
animation: rotate 1s linear infinite;
}

.b-image {
width: 50px;
height: 50px;
-o-object-fit: contain;
   object-fit: contain;
}

@keyframes rotate {
from {
transform: rotate(0deg);
}

to {
transform: rotate(360deg);
}
}

#app{
position: relative;
}
     uni-toast{
z-index: 9999999!important;
}
/* 遮罩层样式 */
.loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* background-color: rgba(0, 0, 0, 0.5); */
z-index: 99998; /* 确保遮罩层在加载动画下方 */
display: none;
}

/* 头部导航栏样式 */
.main-header {

    width: 100%;
    background: url("../image/default.png") center/cover no-repeat;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);

    /* 建议移除模糊，否则图片会变灰 */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}


.header-container {
width: 100%;
max-width: min(30rem, 100vw);
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
padding: 0.75rem clamp(0.5rem, 3vw, 1rem);
box-sizing: border-box;
}

.header-logo {
display: flex;
align-items: center;
justify-content: center;
height: 40px;
flex: 1;
}

.logo-img {
height: 100%;
width: auto;
max-height: 40px;
max-width: 100%;
object-fit: contain;
transition: transform 0.3s ease;
}

.logo-img:hover {
transform: scale(1.05);
}

.header-nav {
display: flex;
align-items: center;
gap: 1.5rem;
}

.nav-item {
color: #ffffff;
text-decoration: none;
font-size: 0.95rem;
font-weight: 500;
padding: 0.5rem 0;
transition: color 0.3s ease;
position: relative;
white-space: nowrap;
}

.nav-item:hover {
color: #B19CD9;
}

.nav-item::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: #B19CD9;
transition: width 0.3s ease;
}

.nav-item:hover::after {
width: 100%;
}

.page-content {
    width: 100%;
    max-width: 100vw;
    padding: 1.1rem clamp(0.5rem, 2vw, 1rem) 1.8rem;
    background: linear-gradient(90deg, #47C005, #FFCC00, #009739, #0033A0);
    background-size: 400% 400%;
    background-position: 0% 50%;
    animation: carnivalGradient 4s ease infinite;

    box-shadow: 0 20px 60px rgba(4, 1, 10, 0.55);
    box-sizing: border-box;
    overflow-x: hidden;
}
@keyframes carnivalGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.top-carousel-section,
.logo-content-section,
.image-text-section {
    background: rgba(255, 255, 255, 0.12); /* 亮透 */
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.top-carousel-section {
width: 100%;
max-width: min(32rem, calc(100vw - 2rem));
margin: 1.1rem auto;
padding: 1rem clamp(0.75rem, 3vw, 1.25rem);
box-sizing: border-box;
}

.carousel-container {
position: relative;
width: 100%;
max-width: 100%;
margin: 0 auto;
overflow: hidden;
border-radius: 12px;
background-color: rgba(177, 156, 217, 0.1);
box-sizing: border-box;
}

.carousel-wrapper {
position: relative;
width: 100%;
aspect-ratio: 732 / 320;
min-height: clamp(180px, 25vw, 220px);
max-height: 100%;
overflow: hidden;
box-sizing: border-box;
}

.carousel-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
transition: opacity 0.6s ease-in-out;
z-index: 1;
display: block;
text-decoration: none;
}

.carousel-slide.active {
opacity: 1;
z-index: 2;
}

.carousel-image {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}

/* 轮播指示器 */
.carousel-indicators {
position: absolute;
bottom: 15px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 8px;
z-index: 10;
}

.indicator {
width: 10px;
height: 10px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.5);
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}

.indicator.active {
background-color: #ffffff;
transform: scale(1.2);
}

.indicator:hover {
background-color: rgba(255, 255, 255, 0.8);
}

/* 轮播切换按钮 */
.carousel-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 40px;
height: 40px;
background-color: rgba(45, 27, 61, 0.7);
border: none;
border-radius: 50%;
color: #ffffff;
font-size: 24px;
font-weight: bold;
cursor: pointer;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s ease, transform 0.3s ease;
user-select: none;
-webkit-user-select: none;
}

.carousel-btn:hover {
background-color: rgba(177, 156, 217, 0.6);
transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
left: 15px;
}

.carousel-next {
right: 15px;
}

.carousel-thumb-row {
    width: 100%;
    max-width: min(32rem, calc(100vw - 2rem));
    margin: 0.65rem auto 0;
    padding: 0 clamp(0.5rem, 2vw, 0);

    display: flex;
    justify-content: space-between;   /* ⭐ 四张图自动均匀铺满 */
    align-items: center;
}


.carousel-thumb {
    display: block;
    width: 70px;                  /* ⭐ 控制缩略图实际大小（你嫌大我可以继续缩） */
    aspect-ratio: 260 / 351;      /* ⭐ 按原图比例缩放，不变形 */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(5, 2, 15, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.carousel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;      /* ⭐ 保持原图比例＋不裁剪 */
    display: block;
}

.carousel-thumb:hover {
transform: translateY(-3px) scale(1.02);
box-shadow: 0 12px 24px rgba(5, 2, 15, 0.5);
}

/* 滚动横幅 */
.scroll-banner {
width: 100%;
max-width: min(30rem, calc(100vw - 2rem));
margin: 0.75rem auto 1rem;
padding: 0.45rem clamp(0.6rem, 3vw, 0.9rem);
box-sizing: border-box;
background: rgba(177, 156, 217, 0.18);
border-radius: 999px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.12);
}

.scroll-track {
display: flex;
white-space: nowrap;
gap: 2rem;
animation: scroll-left 18s linear infinite;
color: #f0e5ff;
font-size: 0.9rem;
letter-spacing: 0.02em;
}

.scroll-track span {
display: inline-flex;
align-items: center;
gap: 0.75rem;
}

/* Entry Modal */
.entry-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(8, 2, 19, 0.65);
display: flex;
align-items: center;
justify-content: center;
z-index: 999;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}

.entry-modal.active {
opacity: 1;
pointer-events: auto;
}

.entry-modal__content {
width: min(92vw, 360px);
background: linear-gradient(160deg, rgba(55, 34, 92, 0.95), rgba(25, 12, 41, 0.98));
border-radius: 18px;
border: 1px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 25px 70px rgba(3, 0, 10, 0.55);
padding: clamp(1rem, 4vw, 1.4rem);
position: relative;
text-align: center;
color: #F8F4FF;
}

.entry-modal__content h3 {
margin: 0 0 0.5rem;
font-size: 1.25rem;
}

.entry-modal__content p {
margin: 0 0 1.1rem;
font-size: 0.9rem;
line-height: 1.6;
opacity: 0.9;
}

.entry-modal__image {
display: block;
margin-bottom: 0.9rem;
border-radius: 14px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.12);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.entry-modal__image img {
width: 100%;
height: auto;
display: block;
object-fit: cover;
}

.entry-modal__action {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 2.1rem;
border-radius: 999px;
background: linear-gradient(100deg, #9E6FFF 0%, #FFC9FF 100%);
color: #140621;
font-weight: 600;
text-decoration: none;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.entry-modal__action:hover {
transform: translateY(-2px);
box-shadow: 0 10px 24px rgba(158, 111, 255, 0.4);
}

.entry-modal__close {
position: absolute;
right: 0.9rem;
top: 0.6rem;
background: transparent;
border: none;
color: rgba(255, 255, 255, 0.8);
font-size: 1.4rem;
cursor: pointer;
transition: color 0.2s ease;
}

.entry-modal__close:hover {
color: #ffffff;
}

@media (min-width: 768px) {
.entry-modal__content {
width: min(420px, 70vw);
}
}

@media (max-width: 480px) {
.entry-modal__content {
width: min(90vw, 300px);
max-height: calc(100vh - 2rem);
padding: 0.8rem;
border-radius: 16px;
overflow-y: auto;
}

.entry-modal__image {
margin-bottom: 0.5rem;
}

.entry-modal__content h3 {
font-size: 1.05rem;
}

.entry-modal__content p {
font-size: 0.85rem;
}

.entry-modal__action {
min-height: 1.7rem;
font-size: 0.78rem;
}

.entry-modal__close {
right: 0.65rem;
top: 0.45rem;
font-size: 1.2rem;
}
}

@media (max-width: 360px) {
.entry-modal__content {
width: 94vw;
padding: 0.65rem;
border-radius: 14px;
}

.entry-modal__action {
min-height: 1.55rem;
font-size: 0.72rem;
}

.entry-modal__close {
right: 0.6rem;
top: 0.4rem;
font-size: 1.1rem;
}
}

@keyframes scroll-left {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}

/* Logo内容区域样式 */
.logo-content-section {
width: 100%;
max-width: min(32rem, calc(100vw - 2rem));
margin: 1.4rem auto;
padding: 1.1rem clamp(0.75rem, 3vw, 1rem);
box-sizing: border-box;
}

.logo-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(128px, 30vw), 1fr));
gap: clamp(0.75rem, 3vw, 1.25rem);
justify-items: center;
align-items: center;
width: 100%;
box-sizing: border-box;
}

/* ⭐ 轻奢升级版 LOGO 卡片区域（最终稳定版） */
.logo-card {
    width: 100%;
    max-width: min(150px, 29vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-align: center;

    /* ✨ 轻奢半透明绿玻璃 */
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: clamp(0.55rem, 2vw, 0.7rem);

    /* ✨ 高级柔光阴影（不刺眼但很贵） */
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.10),
        0 10px 22px rgba(0, 0, 0, 0.16);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, 0.12);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.15),
        0 12px 28px rgba(0, 0, 0, 0.22);
}

/* LOGO 容器（更干净更贵） */
.logo-thumb {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    /* ✨ 深宝石绿玻璃：统一度最高 */
    background: rgba(0, 60, 20, 0.45);

    padding: 0.45rem;
    box-sizing: border-box;

    box-shadow:
        inset 0 0 12px rgba(0, 0, 0, 0.18),
        0 4px 8px rgba(0, 0, 0, 0.18);
}

/* 图片本身更亮一点（提升价值感） */
.logo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35));
}


/* 固定位置的第一个logo */
.logo-fixed {
order: 0;
}

/* 需要打乱的logo */
.logo-shuffle {
order: 1;
}

.logo-card:hover {
transform: translateY(-4px);
background-color: rgba(177, 156, 217, 0.22);
border-color: rgba(255, 255, 255, 0.15);
}

.logo-image {
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 4px;
transition: transform 0.3s ease;
pointer-events: none;
}

.logo-card:hover .logo-image {
transform: scale(1.06);
}
/* 🌟 更强烈、更明显的霓虹呼吸动画 */
@keyframes glowPulseStrong {
    0% {
        box-shadow:
            0 0 22px rgba(255, 255, 120, 0.75),
            0 0 55px rgba(255, 255, 150, 0.55),
            inset 0 0 10px rgba(255, 255, 200, 0.8);
    }
    50% {
        box-shadow:
            0 0 35px rgba(255, 255, 140, 0.95),
            0 0 80px rgba(255, 255, 170, 0.75),
            inset 0 0 18px rgba(255, 255, 220, 1);
    }
    100% {
        box-shadow:
            0 0 22px rgba(255, 255, 120, 0.75),
            0 0 55px rgba(255, 255, 150, 0.55),
            inset 0 0 10px rgba(255, 255, 200, 0.8);
    }
}

/* 🌟 轻量呼吸动画（只动透明度，不动阴影） */
@keyframes softPulse {
    0% { opacity: 1; }
    50% { opacity: 0.88; }
    100% { opacity: 1; }
}

.logo-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.4rem 0.6rem;

    background: linear-gradient(90deg, #47C005, #FFCC00);
    color: #0F1A00;
    font-size: 0.85rem;
    font-weight: 800;

    border-radius: 999px;
    text-decoration: none;
    min-height: 1.8rem;

    /* ⭐ 保留霓虹光，但范围小很多（不卡） */
    box-shadow:
        0 0 10px rgba(255, 255, 100, 0.65),
        0 0 20px rgba(255, 255, 150, 0.45);

    transition: transform 0.3s ease;

    /* 🌟 呼吸动画轻量版（不修改阴影） */
    animation: softPulse 2.4s ease-in-out infinite;
}

/* Hover：只放大，不变阴影（GPU 加速 → 不卡） */
.logo-action:hover {
    transform: translateY(-2px) scale(1.04);
}

/* Active：更不卡 */
.logo-action:active {
    transform: scale(0.96);
}




.popular-sites-section {
    width: 100%;
    max-width: min(32rem, calc(100vw - 2rem));
    margin: 0.8rem auto 1.2rem;
    padding: 0.85rem clamp(0.75rem, 3vw, 1rem) 1.1rem;

    /* ★ 宝石绿玻璃卡片（与背景100%融合）★ */
    background: rgba(10, 80, 50, 0.55); /* 半透明深宝石绿 */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;

    /* 柔光阴影，让内容浮起来 */
    box-shadow: 0 15px 36px rgba(0, 40, 20, 0.35);

    /* 玻璃模糊效果：高级必备 */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-sizing: border-box;
}



.popular-sites-title {
margin: 0 0 0.75rem;
font-size: 1rem;
color: #F9F4FF;
letter-spacing: 0.03em;
}

.popular-sites-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.65rem;
}

.popular-site-card {
display: flex;
flex-direction: column;
gap: 0.25rem;
padding: 0.65rem 0.75rem;
border-radius: 12px;
text-decoration: none;
color: #F8F4FF;
background: rgba(142, 108, 255, 0.16);
border: 1px solid rgba(255, 255, 255, 0.08);
transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.popular-site-card:hover {
transform: translateY(-3px);
border-color: rgba(255, 255, 255, 0.18);
background: rgba(142, 108, 255, 0.25);
}

.site-name {
font-weight: 600;
font-size: 0.95rem;
}

.site-tag {
font-size: 0.78rem;
opacity: 0.85;
}

.social-section {
    width: 100%;
    max-width: min(32rem, calc(100vw - 2rem));
    margin: 0.8rem auto 1.5rem;
    padding: 0.9rem clamp(0.75rem, 3vw, 1rem) 1.1rem;

    /* ★ 宝石绿玻璃卡片 · 高级版（与全站完美融合）★ */
    background: rgba(10, 80, 50, 0.55);  /* 深宝石绿透明 */
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);

    /* 柔光阴影（宝石绿体系） */
    box-shadow: 0 18px 40px rgba(0, 45, 25, 0.35);

    /* 玻璃模糊效果：高端 UI */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-sizing: border-box;
}



.social-title {
margin: 0 0 0.65rem;
font-size: 0.95rem;
color: #F9F4FF;
letter-spacing: 0.02em;
}

.social-icons {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}

.social-icon {
width: 34px;
height: 34px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.08);
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid rgba(255, 255, 255, 0.08);
transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-icon svg {
width: 16px;
height: 16px;
fill: #F8F4FF;
}

.social-icon:hover {
transform: translateY(-2px);
background: rgba(255, 255, 255, 0.18);
border-color: rgba(255, 255, 255, 0.18);
}

.social-contact {
margin-top: 0.75rem;
font-size: 0.85rem;
color: #D9D2FF;
display: flex;
gap: 0.4rem;
flex-wrap: wrap;
}

.social-contact a {
color: #E5E0FF;
text-decoration: none;
border-bottom: 1px dashed rgba(229, 224, 255, 0.4);
}

/* Entry Modal */
.entry-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(8, 2, 19, 0.65);
display: flex;
align-items: center;
justify-content: center;
z-index: 999;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}

.entry-modal.active {
opacity: 1;
pointer-events: auto;
}

.entry-modal__content {
    width: min(88vw, 340px);
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;

    /* 💚💛 豪华绿金渐变 */
background: linear-gradient(
    180deg,
    #073a1a 0%,
    #0f5f28 22%,
    #1fa53c 55%,
    #2fce4c 75%,
    #f9d94e 100%      /* ← 与按钮完全统一的亮金色 */
);  


    border-radius: 22px;

    border: 1px solid rgba(255, 255, 255, 0.22);

    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.55),
        0 0 35px rgba(255, 230, 120, 0.20);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    padding: clamp(1rem, 4vw, 1.4rem);
    position: relative;
    text-align: center;

    color: #ffffff;
    box-sizing: border-box;
}



.entry-modal__content h3 {
margin: 0 0 0.5rem;
font-size: 1.25rem;
}

.entry-modal__content p {
margin: 0 0 1.1rem;
font-size: 0.9rem;
line-height: 1.6;
opacity: 0.9;
}

/* 🌟 轻量呼吸动画（最省性能，只动透明度） */
@keyframes softPulse {
    0% { opacity: 1; }
    50% { opacity: 0.88; }
    100% { opacity: 1; }
}

.entry-modal__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.2rem;
    border-radius: 999px;

    /* 🌈 绿 → 黄 霓虹渐变（与你整体完全统一） */
    background: linear-gradient(90deg, #47C005, #FFCC00);
    color: #122c00;

    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;

    /* ⭐ 轻量霓虹光（不会卡） */
    box-shadow:
        0 0 10px rgba(255, 255, 100, 0.65),
        0 0 20px rgba(255, 255, 150, 0.45);

    transition: transform 0.3s ease, opacity 0.3s ease;

    /* 🌟 呼吸动画轻量版 */
    animation: softPulse 2.4s ease-in-out infinite;
}

/* Hover：GPU 加速，不加阴影（不卡） */
.entry-modal__action:hover {
    transform: translateY(-2px) scale(1.04);
}

/* Active：下压效果 */
.entry-modal__action:active {
    transform: scale(0.96);
}


.entry-modal__action:hover {
transform: translateY(-2px);
box-shadow: 0 10px 24px rgba(158, 111, 255, 0.4);
}

.entry-modal__close {
position: absolute;
right: 0.9rem;
top: 0.6rem;
background: transparent;
border: none;
color: rgba(255, 255, 255, 0.8);
font-size: 1.4rem;
cursor: pointer;
transition: color 0.2s ease;
}

.entry-modal__close:hover {
color: #ffffff;
}

.logo-action:hover {
transform: translateY(-2px);
box-shadow: 0 6px 14px rgba(143, 107, 255, 0.35);
}

.logo-action:active {
transform: translateY(0);
box-shadow: none;
}

/* 图片文字内容部分样式 */
.image-text-section {
width: 100%;
max-width: min(32rem, calc(100vw - 2rem));
margin: 1.4rem auto;
padding: 1.1rem clamp(0.75rem, 3vw, 1rem);
box-sizing: border-box;
}

.image-text-container {
display: flex;
flex-direction: column;
gap: 1.6rem;
}

.image-text-item {
display: flex;
flex-direction: column;
gap: 1rem;
background-color: rgba(177, 156, 217, 0.12);
border-radius: 12px;
padding: 1.1rem;
box-sizing: border-box;
transition: transform 0.3s ease, background-color 0.3s ease;
text-decoration: none;
color: inherit;
}

.image-text-item:hover {
transform: translateY(-5px);
background-color: rgba(177, 156, 217, 0.18);
}

.content-image {
width: 100%;
height: auto;
border-radius: 8px;
object-fit: cover;
display: block;
transition: transform 0.3s ease;
}

.image-text-item:hover .content-image {
transform: scale(1.02);
}

.content-text {
color: #ffffff;
}

.content-text h3 {
margin: 0 0 0.5rem 0;
font-size: 1.25rem;
font-weight: bold;
line-height: 1.4;
}

.content-text p {
margin: 0;
font-size: 0.9rem;
line-height: 1.6;
opacity: 0.9;
}

/* ========== 响应式设计 ========== */

/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
.top-images-section,
.logo-content-section,
.image-text-section {
padding: 0.875rem;
}

.logo-grid {
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: 0.875rem;
}

.logo-item {
width: 120px;
height: 120px;
}
}

/* 移动设备 (481px - 768px) */
@media (max-width: 768px) {
.main-header {
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
padding: 0.625rem 1rem;
}

.header-logo {
height: 36px;
}

.logo-img {
max-height: 36px;
}

.top-carousel-section {
padding: 1rem;
margin-top: 1rem;
}

.carousel-container {
max-width: 100%;
}

.carousel-wrapper {
height: auto;
aspect-ratio: 732 / 320;
min-height: clamp(160px, 22vw, 200px);
max-height: 100%;
width: 100%;
}

.carousel-btn {
width: 35px;
height: 35px;
font-size: 20px;
}

.carousel-prev {
left: 10px;
}

.carousel-next {
right: 10px;
}

.carousel-indicators {
bottom: 10px;
}
.carousel-thumb-row {
gap: clamp(0.35rem, 2vw, 0.45rem);
padding: 0 clamp(0.4rem, 2vw, 0);
}

.indicator {
width: 8px;
height: 8px;
}

.logo-content-section {
margin: 1.2rem auto;
padding: 0 0.9rem;
}

.logo-grid {
grid-template-columns: repeat(3, 1fr);
gap: clamp(0.5rem, 2vw, 0.875rem);
}

.logo-card {
max-width: 100%;
padding: 0.55rem clamp(0.35rem, 2vw, 0.45rem) 0.7rem;
gap: 0.5rem;
}

.logo-thumb {
padding: 0.3rem;
}

.logo-action {
min-height: 1.5rem;
font-size: 0.72rem;
padding: 0.3rem 0.4rem;
}

.image-text-section {
margin: 1.2rem auto;
padding: 0 0.9rem;
}

.image-text-container {
gap: 1.5rem;
}

.image-text-item {
padding: 0.9rem;
gap: 0.9rem;
}

.content-text h3 {
font-size: 1.15rem;
}

.content-text p {
font-size: 0.85rem;
}

.scroll-banner {
margin: 0.6rem auto 0.9rem;
padding: 0.45rem 0.75rem;
}

.scroll-track {
font-size: 0.85rem;
animation-duration: 16s;
}

.social-section {
margin: 0.7rem auto 1.1rem;
padding: 0.8rem 0.9rem 1rem;
}

.social-icon {
width: 32px;
height: 32px;
}

.popular-sites-section {
margin: 0.7rem auto 1rem;
padding: 0.75rem 0.85rem 0.95rem;
}

.popular-sites-grid {
gap: 0.5rem;
}

.site-name {
font-size: 0.9rem;
}

.site-tag {
font-size: 0.75rem;
}
}

/* 小屏移动设备 (最大480px) */
@media (max-width: 480px) {
.header-container {
padding: 1.2rem 1.4rem;
}

.header-logo {
height: 32px;
}

.logo-img {
max-height: 32px;
}

.top-carousel-section {
padding: 0.875rem;
margin-top: 0.75rem;
}

.carousel-btn {
width: 30px;
height: 30px;
font-size: 18px;
}

.carousel-prev {
left: 8px;
}

.carousel-next {
right: 8px;
}

.carousel-indicators {
bottom: 8px;
gap: 6px;
}
.carousel-thumb-row {
gap: clamp(0.3rem, 2vw, 0.35rem);
padding: 0 clamp(0.35rem, 2vw, 0);
}

.indicator {
width: 7px;
height: 7px;
}

.logo-content-section {
margin: 1.1rem auto;
padding: 0 0.75rem;
}

.logo-grid {
grid-template-columns: repeat(3, 1fr);
gap: clamp(0.5rem, 2vw, 0.75rem);
}

.logo-card {
padding: 0.5rem clamp(0.3rem, 2vw, 0.35rem) 0.65rem;
gap: 0.45rem;
}

.logo-thumb {
padding: 0.25rem;
}

.logo-action {
min-height: 1.4rem;
font-size: 0.7rem;
padding: 0.28rem 0.38rem;
}

.image-text-section {
margin: 1.1rem auto;
padding: 0 0.75rem;
}

.image-text-container {
gap: 1.3rem;
}

.image-text-item {
padding: 0.9rem;
gap: 0.9rem;
}

.content-text h3 {
font-size: 1.05rem;
margin-bottom: 0.375rem;
}

.content-text p {
font-size: 0.8rem;
line-height: 1.5;
}

.scroll-banner {
margin: 0.6rem auto 0.85rem;
padding: 0.45rem 0.65rem;
border-radius: 22px;
}

.scroll-track {
font-size: 0.78rem;
animation-duration: 13s;
}

.popular-sites-section {
margin: 0.6rem auto 0.9rem;
padding: 0.65rem 0.7rem 0.85rem;
}

.popular-sites-grid {
gap: 0.45rem;
}

.site-name {
font-size: 0.86rem;
}

.site-tag {
font-size: 0.72rem;
}
}

/* 超小屏设备 (最大360px) */
@media (max-width: 360px) {
.header-container {
padding: 0.5rem;
}

.header-logo {
height: 28px;
}

.logo-img {
max-height: 28px;
}

.top-carousel-section {
padding: clamp(0.5rem, 2vw, 0.75rem);
margin: 0.75rem auto;
}

.logo-content-section,
.image-text-section {
padding: clamp(0.5rem, 2vw, 0.75rem);
}

.logo-grid {
grid-template-columns: repeat(3, 1fr);
gap: clamp(0.4rem, 2vw, 0.5rem);
}

.logo-card {
padding: 0.4rem clamp(0.25rem, 2vw, 0.3rem) 0.55rem;
gap: 0.35rem;
}

.logo-thumb {
padding: 0.2rem;
}

.carousel-thumb-row {
gap: clamp(0.2rem, 2vw, 0.25rem);
padding: 0 clamp(0.3rem, 2vw, 0);
}

.logo-action {
min-height: 1.3rem;
font-size: 0.66rem;
padding: 0.25rem 0.35rem;
}

.image-text-item {
padding: 0.625rem;
}

.content-text h3 {
font-size: 1rem;
}

.content-text p {
font-size: 0.75rem;
}

.scroll-track {
font-size: 0.75rem;
animation-duration: 12s;
}

.popular-sites-section {
padding: 0.45rem 0.5rem 0.7rem;
}

.popular-sites-grid {
gap: 0.35rem;
}

.popular-site-card {
padding: 0.5rem 0.55rem;
}

.site-name {
font-size: 0.8rem;
}

.site-tag {
font-size: 0.68rem;
}
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
.logo-grid {
grid-template-columns: repeat(3, 1fr);
gap: 0.65rem;
}

.logo-card {
padding: 0.5rem 0.35rem 0.6rem;
}
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
.logo-card,
.image-text-item {
cursor: pointer;
}

.logo-card:active {
transform: translateY(-2px) scale(0.98);
}

.image-text-item:active {
	transform: translateY(-2px);
}
}

/* Telegram 单按钮（更大 + 更靠上） */
.tg-btn {
  position: fixed;
  bottom: 9rem;
  right: 1.2rem;
  z-index: 99;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  animation: tg-ripple 1.1s ease-out infinite; /* 节奏更柔和 */
}

/* 背景图（telegram.png） + 描边 */
.tg-btn:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: url(../image/telegram.png) no-repeat center;
  background-size: cover;
  border-radius: 50%;

  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.75);
}

@keyframes tg-ripple {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 22px rgba(0, 170, 255, 0.95),   /* 提亮 */
      0 0 0 0 rgba(0, 170, 255, 0.65),
      0 0 0 10px rgba(0, 170, 255, 0.45), /* 扩大一点 */
      0 0 0 18px rgba(0, 170, 255, 0.25);
  }

  50% {
    transform: scale(1.05); /* 轻微呼吸效果 */
    box-shadow:
      0 0 32px rgba(0, 170, 255, 1),      /* 中心亮度更明显 */
      0 0 0 10px rgba(0, 170, 255, 0.55),
      0 0 0 22px rgba(0, 170, 255, 0.30),
      0 0 0 34px rgba(0, 170, 255, 0.15);
  }

  100% {
    transform: scale(1);
    box-shadow:
      0 0 18px rgba(0, 170, 255, 0.45),
      0 0 0 16px rgba(0, 170, 255, 0.22),
      0 0 0 34px rgba(0, 170, 255, 0.10),
      0 0 0 50px rgba(0, 170, 255, 0.05); /* 扩散范围更大 */
  }
}

#bottom-ad-6666 {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 706px;
    max-width: 100%;
    z-index: 6666;
    cursor: pointer;
}

#bottom-ad-6666 .bottom-ad-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 悬浮金色关闭按钮 */
#bottom-ad-6666 .close-btn {
    position: absolute;
    top: -14px;
    right: -14px;

    width: 30px;
    height: 30px;
    border-radius: 50%;

    background: linear-gradient(135deg, #FFD966, #E6B200);
    color: #5a3a00;
    font-size: 20px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 0 6px rgba(255,215,0,0.8),
        0 0 12px rgba(255,200,0,0.6);

    cursor: pointer;
    user-select: none;
}

@media (max-width: 768px) {
    #bottom-ad-6666 { width: 85%; }
    #bottom-ad-6666 .close-btn {
        width: 24px;
        height: 24px;
        top: -10px;
        right: -10px;
        font-size: 16px;
    }
}

/* 🎄 圣诞灯串（Header 专属） */
.main-header::before {
    content: '✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    letter-spacing: 10px;
    color: #ffeb99;
    text-shadow:
        0 0 6px rgba(255,215,120,0.9),
        0 0 14px rgba(255,215,120,0.6);
    opacity: 0.9;
    pointer-events: none;
}



