.logo-note {
  margin: 0.4rem auto 0.8rem;
  max-width: min(30rem, 100vw);
  text-align: left;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
}

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

::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;
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  color: #F0F8FF;
  background: linear-gradient(180deg, #050F2A 0%, #0A1A3A 45%, #142857 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

html {
  background: #03091E;
  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(10, 26, 58, 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;
  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%;
  z-index: 99998;
  display: none;
}

/* 头部导航栏样式 - 蓝色主题 */
.main-header {
  width: 100%;
  background-color: #1A3A6E;
  border-bottom: 1px solid rgba(173, 216, 230, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 20, 60, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.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;
  gap: 0.3rem;
  height: 40px;
  flex: 1;
}

.logo-img {
  flex: 1 1 0;
  height: 100%;
  width: 0;
  max-height: 40px;
  max-width: 25%;
  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: #4DABF7;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #4DABF7;
  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(180deg, rgba(26, 58, 110, 0.85) 0%, rgba(14, 35, 75, 0.92) 100%);
  box-shadow: 0 20px 60px rgba(1, 10, 30, 0.55);
  box-sizing: border-box;
  overflow-x: hidden;
}

.top-carousel-section,
.logo-content-section,
.image-text-section {
  background: rgba(31, 58, 100, 0.92);
  border: 1px solid rgba(173, 216, 230, 0.15);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(2, 15, 40, 0.3);
}

.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(77, 171, 247, 0.1);
  box-sizing: border-box;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  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: auto;
  object-fit: contain;
  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: #4DABF7;
  transform: scale(1.2);
}

.indicator:hover {
  background-color: rgba(77, 171, 247, 0.8);
}

/* 轮播切换按钮 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(26, 58, 110, 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(77, 171, 247, 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: 100%;
  margin: 0.3rem 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  box-sizing: border-box;
}

.carousel-thumb {
  display: block;
  flex: 1 1 50%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(2, 15, 40, 0.4);
  border: 1px solid rgba(173, 216, 230, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carousel-thumb-full {
  width: 100%;
  margin-top: 0.3rem;
}

.carousel-thumb:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgba(2, 15, 40, 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(77, 171, 247, 0.2);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(173, 216, 230, 0.2);
}

.scroll-track {
  display: flex;
  white-space: nowrap;
  gap: 2rem;
  animation: scroll-left 18s linear infinite;
  color: #E6F2FF;
  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(3, 9, 30, 0.75);
  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(58, 103, 170, 0.95), rgba(28, 55, 100, 0.98));
  border-radius: 18px;
  border: 1px solid rgba(173, 216, 230, 0.2);
  box-shadow: 0 25px 70px rgba(1, 10, 30, 0.55);
  padding: clamp(1rem, 4vw, 1.4rem);
  position: relative;
  text-align: center;
  color: #F0F8FF;
}

.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(173, 216, 230, 0.2);
  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, #4DABF7 0%, #1A8CFF 100%);
  color: #0A1A3A;
  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(77, 171, 247, 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-card {
  width: 100%;
  max-width: min(140px, 28vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  background-color: rgba(77, 171, 247, 0.15);
  border-radius: 16px;
  padding: clamp(0.5rem, 2vw, 0.6rem) clamp(0.4rem, 2vw, 0.5rem) clamp(0.7rem, 2vw, 0.8rem);
  box-sizing: border-box;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
}

.logo-thumb {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(14, 35, 75, 0.4);
  padding: 0.35rem;
  box-sizing: border-box;
}

.logo-fixed {
  order: 0;
}

.logo-shuffle {
  order: 1;
}

.logo-card:hover {
  transform: translateY(-4px);
  background-color: rgba(77, 171, 247, 0.25);
  border-color: rgba(173, 216, 230, 0.3);
}

.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);
}

.logo-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.32rem 0.42rem;
  background: linear-gradient(90deg, #4DABF7 0%, #1A8CFF 100%);
  color: #0A1A3A;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  min-height: 1.65rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* 巴西热门网站 */
.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;
  background: rgba(31, 58, 100, 0.92);
  border-radius: 18px;
  border: 1px solid rgba(173, 216, 230, 0.15);
  box-shadow: 0 15px 36px rgba(2, 15, 40, 0.35);
  box-sizing: border-box;
}

.popular-sites-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: #F0F9FF;
  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: #F0F8FF;
  background: rgba(77, 171, 247, 0.2);
  border: 1px solid rgba(173, 216, 230, 0.15);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.popular-site-card:hover {
  transform: translateY(-3px);
  border-color: rgba(173, 216, 230, 0.3);
  background: rgba(77, 171, 247, 0.3);
}

.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(26, 48, 85, 0.92);
  border-radius: 18px;
  border: 1px solid rgba(173, 216, 230, 0.15);
  box-shadow: 0 18px 40px rgba(2, 15, 40, 0.35);
  box-sizing: border-box;
}

.social-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: #F0F9FF;
  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(173, 216, 230, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(173, 216, 230, 0.15);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.social-icon:hover {
  transform: translateY(-2px);
  background: rgba(77, 171, 247, 0.2);
  border-color: rgba(77, 171, 247, 0.3);
}

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

.social-contact a {
  color: #DDEFFF;
  text-decoration: none;
  border-bottom: 1px dashed rgba(221, 239, 255, 0.5);
}

.logo-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(77, 171, 247, 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(77, 171, 247, 0.15);
  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(77, 171, 247, 0.22);
}

.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;
}

.content-buttons {
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.5rem;
}

.content-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 20, 60, 0.3);
  border: none;
}

.content-button-primary {
  background: linear-gradient(135deg, #6BC1FF, #4DABF7);
  color: #0A1A3A;
}

.content-button-highlight {
  background: linear-gradient(135deg, #4DABF7, #1A8CFF);
  color: #0A1A3A;
  box-shadow: 0 6px 16px rgba(77, 171, 247, 0.5);
}

.content-button-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(173, 216, 230, 0.7);
  box-shadow: none;
}

.content-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 20, 60, 0.35);
}

.content-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 20, 60, 0.25);
}

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

/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
  .top-carousel-section,
  .logo-content-section,
  .image-text-section {
    padding: 0.875rem;
  }
  
  .logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.875rem;
  }
}

/* 移动设备 (481px - 768px) */
@media (max-width: 768px) {
  .main-header {
    box-shadow: 0 1px 4px rgba(0, 20, 60, 0.2);
  }
  
  .header-container {
    padding: 0.625rem 1rem;
  }
  
  .header-logo {
    height: 36px;
  }
  
  .logo-img {
    max-height: 36px;
  }
  
  .top-carousel-section {
    padding: 1rem;
    margin-top: 1rem;
  }
  
  .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: 0.5rem 0.75rem;
  }
  
  .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);
  }
}