/* 麻豆传媒 - 专业影视内容创作与传播平台 | hbwtpyn.cn */
/* 原创设计 - 珊瑚粉紫配色方案 */

:root {
  --coral: #E8456B;
  --purple: #6C2BD9;
  --orange: #FF8C42;
  --dark: #1A0A2E;
  --light-bg: #FFF5F7;
  --text-dark: #2D1B4E;
  --text-light: #8B7A9E;
  --card-bg: #FFFFFF;
  --border: #F0E4F0;
  --gradient: linear-gradient(135deg, #E8456B 0%, #6C2BD9 100%);
  --gradient-alt: linear-gradient(135deg, #6C2BD9 0%, #E8456B 100%);
  --shadow: 0 4px 20px rgba(108, 43, 217, 0.1);
  --shadow-hover: 0 8px 30px rgba(232, 69, 107, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--light-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--purple); }

.section-desc {
  text-align: center;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--dark);
  box-shadow: 0 2px 15px rgba(26, 10, 46, 0.3);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 70px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-link img {
  height: 45px;
  width: auto;
}

.brand-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  gap: 0.3rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: all 0.3s;
}

.main-nav a:hover,
.main-nav a.nav-active {
  color: #fff;
  background: var(--coral);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== SEARCH BAR ===== */
.search-bar {
  background: linear-gradient(135deg, var(--dark) 0%, #2a1450 100%);
  padding: 1rem 1.5rem;
}

.search-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
}

.search-inner input {
  flex: 1;
  padding: 0.75rem 1.2rem;
  border: 2px solid var(--coral);
  border-radius: 50px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s;
}

.search-inner input:focus {
  border-color: var(--purple);
}

.search-inner button {
  padding: 0.75rem 2rem;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s;
}

.search-inner button:hover {
  background: var(--purple);
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 10, 46, 0.85) 0%, rgba(108, 43, 217, 0.6) 50%, rgba(232, 69, 107, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
  color: #fff;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags span {
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  backdrop-filter: blur(5px);
}

/* ===== STATS ===== */
.stats-section {
  background: var(--gradient);
  padding: 2.5rem 1.5rem;
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  color: #fff;
}

.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ===== VIDEO SECTION ===== */
.video-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.video-section h2,
.service-section h2,
.entertainment-section h2,
.ai-section h2,
.community-section h2,
.expert-section h2,
.products-section h2,
.news-section h2,
.partners-section h2,
.howto-section h2,
.faq-section h2,
.reviews-section h2,
.contact-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.video-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--coral);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 10, 46, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
}

.video-thumb:hover .play-overlay {
  opacity: 1;
}

.play-btn {
  width: 60px;
  height: 60px;
  background: var(--coral);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(232, 69, 107, 0.5);
  transition: transform 0.3s;
}

.video-thumb:hover .play-btn {
  transform: scale(1.1);
}

.video-card h3 {
  padding: 1rem 1rem 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--dark);
}

.video-meta {
  padding: 0 1rem 1rem;
  display: flex;
  gap: 1rem;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ===== SERVICE SECTION ===== */
.service-section {
  background: linear-gradient(180deg, #FFF5F7 0%, #F8F0FF 100%);
  padding: 4rem 1.5rem;
}

.service-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--coral);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== ENTERTAINMENT ===== */
.entertainment-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.ent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ent-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.ent-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.ent-card:hover img {
  transform: scale(1.08);
}

.ent-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.2rem 1.2rem;
  background: linear-gradient(transparent, rgba(26, 10, 46, 0.9));
  color: #fff;
  transform: translateY(30px);
  opacity: 0.8;
  transition: all 0.4s;
}

.ent-card:hover .ent-overlay {
  transform: translateY(0);
  opacity: 1;
}

.ent-overlay h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.ent-overlay p {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* ===== AI SECTION ===== */
.ai-section {
  background: var(--dark);
  padding: 4rem 1.5rem;
  color: #fff;
}

.ai-section h2 { color: #fff; }
.ai-section .section-desc { color: rgba(255, 255, 255, 0.7); }

.ai-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ai-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, background 0.3s;
}

.ai-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.ai-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ai-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--orange);
}

.ai-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== COMMUNITY ===== */
.community-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.community-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.community-card:hover {
  transform: translateY(-3px);
}

.community-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.community-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.community-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.community-images img {
  border-radius: var(--radius);
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ===== EXPERT ===== */
.expert-section {
  background: linear-gradient(180deg, #F8F0FF 0%, #FFF5F7 100%);
  padding: 4rem 1.5rem;
}

.expert-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.expert-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.expert-card:hover {
  transform: translateY(-5px);
}

.expert-card > img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.expert-info {
  padding: 1.2rem;
}

.expert-info h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.expert-title {
  color: var(--coral);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.expert-info p:not(.expert-title) {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.expert-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-contact,
.btn-works {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-contact {
  background: var(--coral);
  color: #fff;
}

.btn-contact:hover {
  background: var(--purple);
  color: #fff;
}

.btn-works {
  border: 1px solid var(--coral);
  color: var(--coral);
}

.btn-works:hover {
  background: var(--coral);
  color: #fff;
}

/* ===== PRODUCTS ===== */
.products-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--coral);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-card h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.product-card p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ===== NEWS ===== */
.news-section {
  background: var(--light-bg);
  padding: 4rem 1.5rem;
}

.news-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.news-card:hover {
  transform: translateY(-3px);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card h3 {
  padding: 1rem 1rem 0.5rem;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.5;
}

.news-card p {
  padding: 0 1rem;
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.6;
}

.news-date {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--text-light);
  font-size: 0.8rem;
}

/* ===== PARTNERS ===== */
.partners-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.partners-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.partner-logo {
  padding: 1rem 2rem;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: transform 0.3s, box-shadow 0.3s;
}

.partner-logo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ===== HOWTO ===== */
.howto-section {
  background: var(--gradient);
  padding: 4rem 1.5rem;
  color: #fff;
}

.howto-section h2 { color: #fff; }
.howto-section .section-desc { color: rgba(255, 255, 255, 0.8); }

.howto-steps {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  text-align: center;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.8rem;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.step-card p {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--coral);
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  background: rgba(232, 69, 107, 0.05);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.2rem;
  max-height: 300px;
}

/* ===== REVIEWS ===== */
.reviews-section {
  background: linear-gradient(180deg, #FFF5F7 0%, #F8F0FF 100%);
  padding: 4rem 1.5rem;
}

.reviews-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.review-stars {
  color: var(--orange);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.review-card p {
  color: var(--text-dark);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-author {
  color: var(--text-light);
  font-size: 0.85rem;
  font-style: normal;
}

/* ===== CONTACT ===== */
.contact-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.info-table td:first-child {
  font-weight: 600;
  color: var(--dark);
  width: 100px;
}

.info-table td:last-child {
  color: var(--text-light);
}

.contact-qrcodes {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.qrcode-item {
  text-align: center;
}

.qrcode-item img {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.qrcode-item span {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ===== SHARE ===== */
.share-section {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--light-bg);
}

.share-section h3 {
  margin-bottom: 1rem;
  color: var(--dark);
}

.share-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.share-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  color: #fff;
}

.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-douyin { background: #161823; }
.share-bilibili { background: #00A1D6; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 1.5rem 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-nav h4,
.footer-contact h4,
.footer-links h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-nav a,
.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.3rem 0;
  font-size: 0.88rem;
  transition: color 0.3s;
}

.footer-nav a:hover,
.footer-links a:hover {
  color: var(--coral);
}

.footer-contact p {
  font-size: 0.88rem;
  padding: 0.2rem 0;
  opacity: 0.8;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.6;
}

/* ===== NOISE TAGS HIDDEN ===== */
.k9wn4n,.mzmt0xf,.wxgztof,.d6a362db,.nxi69{position:absolute;width:0;height:0;overflow:hidden;opacity:0;pointer-events:none;z-index:-9999}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .video-grid,
  .service-grid,
  .news-grid,
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .ent-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .howto-steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }
  .mobile-menu-btn { display: block; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .video-grid,
  .service-grid,
  .news-grid,
  .reviews-grid,
  .ent-grid,
  .expert-grid,
  .products-grid,
  .community-grid,
  .ai-grid,
  .howto-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-num { font-size: 1.6rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-qrcodes { flex-direction: column; align-items: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .share-btns { flex-wrap: wrap; }
  .community-images { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 1rem; height: 60px; }
  .brand-text { font-size: 1.1rem; }
  .hero-content { padding: 2rem 1rem; }
  .hero-content h1 { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
