/* ============================================
   糖心vlog - 原创样式表
   品牌：糖心vlog | 域名：owsoxgd.cn
   影视传媒公司 + 视频社区
   ============================================ */

/* === CSS Variables === */
:root {
  --tx-primary: #E8456B;
  --tx-primary-dark: #C93558;
  --tx-secondary: #FF7E5F;
  --tx-gradient: linear-gradient(135deg, #E8456B, #FF7E5F);
  --tx-dark: #1A1A2E;
  --tx-darker: #12121F;
  --tx-light: #F8F0F4;
  --tx-gold: #FFD700;
  --tx-text: #2D2D3A;
  --tx-text-light: #6B6B80;
  --tx-white: #FFFFFF;
  --tx-border: #E8E0E4;
  --tx-shadow: 0 4px 20px rgba(232, 69, 107, 0.15);
  --tx-shadow-lg: 0 8px 40px rgba(26, 26, 46, 0.2);
  --tx-radius: 12px;
  --tx-radius-sm: 8px;
  --tx-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --tx-font: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--tx-font);
  color: var(--tx-text);
  background: var(--tx-white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--tx-primary);
  text-decoration: none;
  transition: var(--tx-transition);
}

a:hover {
  color: var(--tx-secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--tx-dark);
}

/* === Container === */
.tx-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tx-container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === Header / Navigation === */
.tx-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 69, 107, 0.2);
  transition: var(--tx-transition);
}

.tx-header.scrolled {
  background: rgba(26, 26, 46, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.tx-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.tx-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tx-logo img {
  height: 42px;
  width: auto;
}

.tx-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--tx-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.tx-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tx-nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--tx-radius-sm);
  transition: var(--tx-transition);
  white-space: nowrap;
}

.tx-nav-links a:hover,
.tx-nav-links a.active {
  color: var(--tx-white);
  background: rgba(232, 69, 107, 0.2);
}

.tx-nav-links a.active {
  background: var(--tx-gradient);
  color: var(--tx-white);
}

/* Mobile Menu Toggle */
.tx-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.tx-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--tx-white);
  border-radius: 2px;
  transition: var(--tx-transition);
}

/* === Search Bar === */
.tx-search-bar {
  background: var(--tx-dark);
  padding: 12px 0;
  border-bottom: 1px solid rgba(232, 69, 107, 0.15);
}

.tx-search-wrap {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}

.tx-search-input {
  flex: 1;
  padding: 10px 18px;
  border: 2px solid rgba(232, 69, 107, 0.3);
  border-right: none;
  border-radius: var(--tx-radius-sm) 0 0 var(--tx-radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--tx-white);
  font-size: 0.95rem;
  outline: none;
  transition: var(--tx-transition);
}

.tx-search-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.tx-search-input:focus {
  border-color: var(--tx-primary);
  background: rgba(255,255,255,0.12);
}

.tx-search-btn {
  padding: 10px 24px;
  background: var(--tx-gradient);
  border: none;
  border-radius: 0 var(--tx-radius-sm) var(--tx-radius-sm) 0;
  color: var(--tx-white);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--tx-transition);
  white-space: nowrap;
}

.tx-search-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* === Hero Banner === */
.tx-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.tx-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tx-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,46,0.7) 0%, rgba(26,26,46,0.85) 100%);
}

.tx-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
  max-width: 800px;
}

.tx-hero h1 {
  font-size: 3rem;
  color: var(--tx-white);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.tx-hero h1 span {
  background: var(--tx-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tx-hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  line-height: 1.8;
}

.tx-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.tx-hero-tags span {
  padding: 6px 16px;
  background: rgba(232, 69, 107, 0.2);
  border: 1px solid rgba(232, 69, 107, 0.4);
  border-radius: 20px;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
}

/* === Buttons === */
.tx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--tx-radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tx-transition);
  border: none;
  text-decoration: none;
}

.tx-btn-primary {
  background: var(--tx-gradient);
  color: var(--tx-white);
  box-shadow: 0 4px 15px rgba(232, 69, 107, 0.4);
}

.tx-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232, 69, 107, 0.5);
  color: var(--tx-white);
}

.tx-btn-outline {
  background: transparent;
  color: var(--tx-white);
  border: 2px solid rgba(255,255,255,0.4);
}

.tx-btn-outline:hover {
  border-color: var(--tx-primary);
  background: rgba(232, 69, 107, 0.15);
  color: var(--tx-white);
}

.tx-btn-dark {
  background: var(--tx-dark);
  color: var(--tx-white);
}

.tx-btn-dark:hover {
  background: var(--tx-darker);
  color: var(--tx-white);
}

/* === Section Styles === */
.tx-section {
  padding: 80px 0;
}

.tx-section-dark {
  background: var(--tx-dark);
  color: var(--tx-white);
}

.tx-section-light {
  background: var(--tx-light);
}

.tx-section-title {
  text-align: center;
  margin-bottom: 50px;
}

.tx-section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.tx-section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--tx-gradient);
  margin: 12px auto 0;
  border-radius: 2px;
}

.tx-section-dark .tx-section-title h2 {
  color: var(--tx-white);
}

.tx-section-title p {
  color: var(--tx-text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.tx-section-dark .tx-section-title p {
  color: rgba(255,255,255,0.7);
}

/* === Video Card Grid === */
.tx-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tx-video-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  overflow: hidden;
  box-shadow: var(--tx-shadow);
  transition: var(--tx-transition);
  position: relative;
}

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

.tx-video-thumb {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  cursor: pointer;
}

.tx-video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--tx-transition);
}

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

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

.tx-video-card:hover .tx-video-play {
  opacity: 1;
}

.tx-video-play-icon {
  width: 56px;
  height: 56px;
  background: var(--tx-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232, 69, 107, 0.5);
  transition: var(--tx-transition);
}

.tx-video-play-icon::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent white;
  margin-left: 3px;
}

.tx-video-card:hover .tx-video-play-icon {
  transform: scale(1.1);
}

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

.tx-video-info {
  padding: 16px;
}

.tx-video-info h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.tx-video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--tx-text-light);
}

.tx-video-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tx-video-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--tx-light);
  color: var(--tx-primary);
  border-radius: 4px;
  font-size: 0.75rem;
  margin-top: 8px;
}

/* === Feature Cards === */
.tx-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tx-feature-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--tx-shadow);
  transition: var(--tx-transition);
  border: 1px solid var(--tx-border);
}

.tx-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tx-shadow-lg);
  border-color: var(--tx-primary);
}

.tx-feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--tx-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--tx-white);
}

.tx-feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

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

/* === Expert Cards === */
.tx-expert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tx-expert-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  overflow: hidden;
  box-shadow: var(--tx-shadow);
  transition: var(--tx-transition);
  text-align: center;
}

.tx-expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tx-shadow-lg);
}

.tx-expert-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 30px auto 16px;
  border: 3px solid var(--tx-primary);
  padding: 3px;
}

.tx-expert-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.tx-expert-role {
  color: var(--tx-primary);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.tx-expert-desc {
  color: var(--tx-text-light);
  font-size: 0.9rem;
  padding: 0 20px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.tx-expert-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 0 20px 24px;
}

.tx-expert-actions a {
  padding: 6px 16px;
  border-radius: var(--tx-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

/* === Reviews === */
.tx-review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tx-review-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  padding: 28px;
  box-shadow: var(--tx-shadow);
  border-left: 4px solid var(--tx-primary);
  transition: var(--tx-transition);
}

.tx-review-card:hover {
  box-shadow: var(--tx-shadow-lg);
}

.tx-review-stars {
  color: var(--tx-gold);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.tx-review-text {
  font-size: 0.95rem;
  color: var(--tx-text);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.tx-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tx-review-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tx-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx-white);
  font-weight: 700;
  font-size: 1rem;
}

.tx-review-author-info strong {
  display: block;
  font-size: 0.9rem;
}

.tx-review-author-info span {
  font-size: 0.8rem;
  color: var(--tx-text-light);
}

/* === FAQ === */
.tx-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.tx-faq-item {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  border: 1px solid var(--tx-border);
}

.tx-faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--tx-transition);
}

.tx-faq-question:hover {
  color: var(--tx-primary);
}

.tx-faq-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tx-transition);
  font-size: 1.2rem;
  color: var(--tx-primary);
}

.tx-faq-item.active .tx-faq-arrow {
  transform: rotate(180deg);
}

.tx-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.tx-faq-item.active .tx-faq-answer {
  max-height: 300px;
}

.tx-faq-answer p {
  padding: 0 24px 20px;
  color: var(--tx-text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* === Brand Wall === */
.tx-brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}

.tx-brand-item {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--tx-transition);
  border: 1px solid var(--tx-border);
  min-height: 100px;
}

.tx-brand-item:hover {
  box-shadow: var(--tx-shadow);
  border-color: var(--tx-primary);
  transform: scale(1.05);
}

.tx-brand-item img {
  max-height: 60px;
  width: auto;
  filter: grayscale(30%);
  transition: var(--tx-transition);
}

.tx-brand-item:hover img {
  filter: grayscale(0%);
}

/* === Footer === */
.tx-footer {
  background: var(--tx-darker);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.tx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.tx-footer-brand h3 {
  color: var(--tx-white);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.tx-footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.tx-footer-col h4 {
  color: var(--tx-white);
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.tx-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--tx-gradient);
}

.tx-footer-col ul li {
  margin-bottom: 8px;
}

.tx-footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--tx-transition);
}

.tx-footer-col ul li a:hover {
  color: var(--tx-primary);
  padding-left: 4px;
}

.tx-footer-qr {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.tx-footer-qr-item {
  text-align: center;
}

.tx-footer-qr-item img {
  width: 100px;
  height: 100px;
  border-radius: var(--tx-radius-sm);
  border: 2px solid rgba(255,255,255,0.1);
}

.tx-footer-qr-item span {
  display: block;
  font-size: 0.8rem;
  margin-top: 6px;
  color: rgba(255,255,255,0.5);
}

.tx-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

.tx-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.tx-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--tx-transition);
}

.tx-footer-social a:hover {
  background: var(--tx-gradient);
  color: var(--tx-white);
}

/* === Share Buttons === */
.tx-share-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tx-share-btn {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--tx-white);
  cursor: pointer;
  transition: var(--tx-transition);
  border: none;
}

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

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

/* === Breadcrumb === */
.tx-breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--tx-text-light);
}

.tx-breadcrumb a {
  color: var(--tx-text-light);
}

.tx-breadcrumb a:hover {
  color: var(--tx-primary);
}

.tx-breadcrumb span {
  margin: 0 8px;
  color: var(--tx-border);
}

/* === Page Hero (Inner Pages) === */
.tx-page-hero {
  position: relative;
  padding: 120px 0 60px;
  margin-top: 70px;
  background-size: cover;
  background-position: center;
}

.tx-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85), rgba(232,69,107,0.4));
}

.tx-page-hero-content {
  position: relative;
  z-index: 2;
}

.tx-page-hero h1 {
  font-size: 2.5rem;
  color: var(--tx-white);
  margin-bottom: 12px;
}

.tx-page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
}

/* === Content Blocks === */
.tx-content-block {
  margin-bottom: 40px;
}

.tx-content-block h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--tx-light);
}

.tx-content-block h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--tx-primary);
}

.tx-content-block p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* === Community Section === */
.tx-community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tx-community-card {
  border-radius: var(--tx-radius);
  overflow: hidden;
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
}

.tx-community-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tx-community-card-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px;
  background: linear-gradient(transparent, rgba(26,26,46,0.9));
}

.tx-community-card-overlay h3 {
  color: var(--tx-white);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.tx-community-card-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

/* === How-To Guide === */
.tx-howto-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.tx-howto-step {
  text-align: center;
  padding: 30px 20px;
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  box-shadow: var(--tx-shadow);
  position: relative;
}

.tx-howto-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--tx-gradient);
  color: var(--tx-white);
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.tx-howto-step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.tx-howto-step p {
  color: var(--tx-text-light);
  font-size: 0.9rem;
}

/* === Contact Info === */
.tx-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.tx-contact-info-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  padding: 30px;
  box-shadow: var(--tx-shadow);
}

.tx-contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--tx-primary);
}

.tx-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.tx-contact-icon {
  width: 36px;
  height: 36px;
  background: var(--tx-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--tx-primary);
  font-size: 1rem;
}

/* === Lazy Load === */
.tx-lazy {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tx-lazy.loaded {
  opacity: 1;
}

/* === Scroll to Top === */
.tx-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--tx-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx-white);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--tx-transition);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(232, 69, 107, 0.4);
  border: none;
}

.tx-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.tx-scroll-top:hover {
  transform: translateY(-3px);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .tx-video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tx-feature-grid,
  .tx-expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tx-brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tx-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tx-howto-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tx-nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--tx-dark);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-top: 1px solid rgba(232,69,107,0.2);
  }

  .tx-nav-links.active {
    display: flex;
  }

  .tx-nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .tx-menu-toggle {
    display: flex;
  }

  .tx-hero h1 {
    font-size: 2rem;
  }

  .tx-hero-desc {
    font-size: 1rem;
  }

  .tx-video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .tx-feature-grid,
  .tx-expert-grid,
  .tx-review-grid,
  .tx-community-grid,
  .tx-contact-grid {
    grid-template-columns: 1fr;
  }

  .tx-brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tx-footer-grid {
    grid-template-columns: 1fr;
  }

  .tx-section {
    padding: 50px 0;
  }

  .tx-section-title h2 {
    font-size: 1.6rem;
  }

  .tx-page-hero {
    padding: 100px 0 40px;
  }

  .tx-page-hero h1 {
    font-size: 1.8rem;
  }

  .tx-howto-steps {
    grid-template-columns: 1fr;
  }

  .tx-search-wrap {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .tx-video-grid {
    grid-template-columns: 1fr;
  }

  .tx-hero {
    min-height: 450px;
  }

  .tx-hero h1 {
    font-size: 1.6rem;
  }

  .tx-brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tx-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tx-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === MCP Service Frontend (Decorative) === */
.tx-mcp-widget {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--tx-radius-sm);
  padding: 16px;
  margin-top: 20px;
}

.tx-mcp-widget h5 {
  color: var(--tx-primary);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.tx-mcp-widget .tx-mcp-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.tx-mcp-widget .tx-mcp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === Update Time === */
.tx-update-time {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}


/* === Video Badge === */
.tx-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--tx-gradient);
  color: var(--tx-white);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
  letter-spacing: 0.5px;
}

/* === Community Grid === */
.tx-community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tx-community-card {
  position: relative;
  border-radius: var(--tx-radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
}

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

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

.tx-community-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 20px;
  background: linear-gradient(transparent, rgba(26,26,46,0.9));
  color: var(--tx-white);
}

.tx-community-card-overlay h3 {
  color: var(--tx-white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.tx-community-card-overlay p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* === Expert Grid & Card === */
.tx-expert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tx-expert-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--tx-shadow);
  transition: var(--tx-transition);
}

.tx-expert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tx-shadow-lg);
}

.tx-expert-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--tx-primary);
}

.tx-expert-role {
  color: var(--tx-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.tx-expert-desc {
  font-size: 0.85rem;
  color: var(--tx-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tx-expert-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* === Review Grid & Card === */
.tx-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tx-review-card {
  background: var(--tx-white);
  border-radius: var(--tx-radius);
  padding: 24px;
  box-shadow: var(--tx-shadow);
  transition: var(--tx-transition);
}

.tx-review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tx-shadow-lg);
}

.tx-review-stars {
  color: var(--tx-gold);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.tx-review-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--tx-text);
  margin-bottom: 16px;
  font-style: italic;
}

.tx-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tx-review-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tx-gradient);
  color: var(--tx-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.tx-review-author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--tx-dark);
}

.tx-review-author-info span {
  font-size: 0.8rem;
  color: var(--tx-text-light);
}

/* === Brand Grid === */
.tx-brand-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.tx-brand-item {
  background: var(--tx-white);
  border-radius: var(--tx-radius-sm);
  padding: 16px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: var(--tx-transition);
}

.tx-brand-item:hover {
  transform: scale(1.05);
  box-shadow: var(--tx-shadow);
}

.tx-brand-item img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.3s;
}

.tx-brand-item:hover img {
  filter: grayscale(0);
}

/* === Footer QR === */
.tx-footer-qr {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.tx-footer-qr-item {
  text-align: center;
}

.tx-footer-qr-item img {
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.1);
}

.tx-footer-qr-item span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* === Responsive Additions === */
@media (max-width: 768px) {
  .tx-community-grid {
    grid-template-columns: 1fr;
  }
  .tx-expert-grid {
    grid-template-columns: 1fr;
  }
  .tx-review-grid {
    grid-template-columns: 1fr;
  }
  .tx-brand-grid {
    gap: 16px;
  }
  .tx-brand-item {
    padding: 10px 16px;
  }
  .tx-brand-item img {
    height: 36px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .tx-expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tx-review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
