/* ============================================================
   TG Theme — onetelegram.com inspired design system
   ============================================================ */
:root {
  --ot-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "PingFang SC", "Helvetica Neue", sans-serif;
  --ot-accent: #007AFF;
  --ot-accent-hover: #0066CC;
  --ot-text: #1D1D1F;
  --ot-text-sec: #86868B;
  --ot-bg: #FAFBFC;
  --ot-bg-card: rgba(255,255,255,0.80);
  --ot-border: rgba(0,0,0,0.08);
  --ot-glass: rgba(255,255,255,0.72);
  --ot-glass-blur: blur(40px) saturate(200%);
  --ot-radius: 16px;
  --ot-radius-sm: 10px;
  --ot-shadow: 0 8px 32px rgba(0,0,0,0.08);
  --ot-shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --otg-blue: #229ED9;
  --ot-wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ot-font); color: var(--ot-text); background: var(--ot-bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
.ot-wrap { max-width: var(--ot-wrap); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================ HEADER */
.ot-header-island-wrapper {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 10px 20px 8px; display: flex; flex-direction: column;
  align-items: center; gap: 6px; pointer-events: none;
}
.ot-header-island-wrapper > * { pointer-events: all; }
.ot-top-pill {
  background: rgba(0,122,255,0.10); border: 1px solid rgba(0,122,255,0.20);
  border-radius: 99px; padding: 4px 14px; font-size: 12px;
  color: var(--ot-accent); font-weight: 500;
}
.ot-top-pill a { color: var(--ot-accent); }
.ot-pill-content { display: flex; align-items: center; gap: 6px; }
.ot-live-dot {
  width: 7px; height: 7px; background: var(--ot-accent); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.ot-island-main {
  width: 100%; max-width: 1100px;
  background: var(--ot-glass);
  backdrop-filter: var(--ot-glass-blur);
  -webkit-backdrop-filter: var(--ot-glass-blur);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 18px; box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.ot-island-container { display: flex; align-items: center; padding: 10px 20px; }
.ot-brand-hub { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ot-app-icon img { width: 36px; height: 36px; border-radius: 9px; }
.ot-brand-meta { display: flex; flex-direction: column; line-height: 1.2; }
.ot-brand-name { font-size: 14px; font-weight: 600; color: var(--ot-text); }
.ot-brand-slogan { font-size: 11px; color: var(--ot-text-sec); }
.ot-nav-horizon { margin-left: auto; }
.ot-nav-list { display: flex; align-items: center; gap: 2px; }
.ot-nav-item { position: relative; }
.ot-nav-item > a {
  display: block; padding: 6px 12px; font-size: 14px; font-weight: 500;
  color: var(--ot-text); border-radius: 8px; transition: background .15s; white-space: nowrap;
}
.ot-nav-item > a:hover { background: rgba(0,0,0,0.05); }
.ot-badge {
  display: inline-block; font-size: 10px; font-weight: 700; background: var(--ot-accent);
  color: #fff; border-radius: 4px; padding: 0 5px; margin-left: 4px; vertical-align: middle;
}
.ot-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--ot-border);
  border-radius: 12px; box-shadow: var(--ot-shadow-lg);
  padding: 8px; min-width: 180px; z-index: 100;
}
.ot-nav-item:hover .ot-dropdown-menu { display: block; }
.ot-dropdown-menu li a {
  display: block; padding: 8px 12px; font-size: 13px; color: var(--ot-text);
  border-radius: 8px; transition: background .12s;
}
.ot-dropdown-menu li a:hover { background: #f5f5f7; }
.ot-action-area { display: flex; align-items: center; gap: 10px; margin-left: 16px; flex-shrink: 0; }
.ot-btn-join {
  background: var(--ot-accent); color: #fff;
  padding: 7px 16px; border-radius: 99px; font-size: 13px; font-weight: 600;
  transition: background .15s, transform .1s;
}
.ot-btn-join:hover { background: var(--ot-accent-hover); transform: translateY(-1px); }
.ot-mobile-toggle {
  display: none; background: none; border: none;
  width: 36px; height: 36px; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.ot-burger { display: block; width: 20px; height: 2px; background: var(--ot-text); border-radius: 2px; }
.ot-menu-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.4);
}
.ot-menu-overlay.open { display: flex; justify-content: flex-end; }
.ot-drawer-content {
  width: min(320px, 90vw); background: #fff; height: 100%;
  display: flex; flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
}
.ot-explicit-close {
  position: absolute; top: 16px; right: 16px;
  background: #f5f5f7; border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 18px; color: var(--ot-text);
  display: flex; align-items: center; justify-content: center;
}
.ot-drawer-scroll-area { flex: 1; overflow-y: auto; padding: 60px 0 20px; }
.ot-drawer-inner { padding: 0 16px; }
.ot-drawer-section { margin-bottom: 24px; }
.ot-drawer-section-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ot-text-sec); padding: 0 4px; margin-bottom: 6px;
}
.ot-unified-link {
  display: flex; align-items: center; padding: 10px 8px;
  border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ot-text);
  transition: background .12s;
}
.ot-unified-link:hover { background: #f5f5f7; }
.ot-unified-link.small { font-size: 13px; color: var(--ot-text-sec); }
.ot-drawer-footer { padding: 16px; border-top: 1px solid var(--ot-border); }
.ot-btn-pill-full {
  display: block; text-align: center; background: var(--ot-accent); color: #fff;
  padding: 12px; border-radius: 99px; font-size: 15px; font-weight: 600;
}

/* ============================================================ HERO */
.ot-hero-liquid {
  position: relative; min-height: 85vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px 20px 60px; overflow: hidden;
}
.ot-aurora-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.aurora-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
}
.blob-blue {
  width: 600px; height: 600px; background: radial-gradient(circle, #007AFF, transparent);
  top: -200px; left: -100px; animation: float1 12s ease-in-out infinite;
}
.blob-cyan {
  width: 500px; height: 500px; background: radial-gradient(circle, #229ED9, transparent);
  bottom: -150px; right: -100px; animation: float2 15s ease-in-out infinite;
}
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(60px,40px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,-60px)} }
.ot-aurora-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.ot-liquid-content { position: relative; z-index: 1; max-width: 800px; }
.ot-cine-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,122,255,0.10); border: 1px solid rgba(0,122,255,0.25);
  color: var(--ot-accent); border-radius: 99px; padding: 5px 14px;
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.pulse-dot {
  width: 7px; height: 7px; background: var(--ot-accent); border-radius: 50%;
  animation: pulse 2s infinite;
}
.ot-cine-h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; letter-spacing: -0.03em;
  color: var(--ot-text); line-height: 1.1; margin-bottom: 18px;
}
.text-hero-gradient {
  background: linear-gradient(135deg, var(--ot-accent) 0%, #229ED9 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ot-cine-desc { font-size: 18px; color: var(--ot-text-sec); margin-bottom: 20px; max-width: 560px; margin-left: auto; margin-right: auto; }
.ot-cine-trust { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; color: var(--ot-text-sec); margin-bottom: 28px; }
.ot-cine-trust .divider { width: 1px; height: 14px; background: var(--ot-border); }
.ot-cine-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 99px; font-size: 15px; font-weight: 600;
  transition: transform .15s, box-shadow .15s;
}
.pill-btn:hover { transform: translateY(-2px); box-shadow: var(--ot-shadow); }
.btn-primary-blue { background: var(--ot-accent); color: #fff; }
.btn-primary-blue:hover { background: var(--ot-accent-hover); }
.btn-glass-light {
  background: rgba(0,0,0,0.06); color: var(--ot-text);
  border: 1px solid var(--ot-border);
}
.ot-liquid-dock {
  display: flex; gap: 16px; margin-top: 60px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.liquid-card {
  background: var(--ot-bg-card); border: 1px solid var(--ot-border);
  border-radius: var(--ot-radius); padding: 20px 24px;
  display: flex; align-items: flex-start; gap: 14px;
  min-width: 220px; transition: transform .2s, box-shadow .2s;
  box-shadow: var(--ot-shadow);
}
.liquid-card:hover { transform: translateY(-4px); box-shadow: var(--ot-shadow-lg); }
.dock-icon { font-size: 28px; flex-shrink: 0; }
.dock-text h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.dock-text p { font-size: 13px; color: var(--ot-text-sec); }

/* ============================================================ SECTIONS (shared) */
.ot-section-header { text-align: center; margin-bottom: 48px; }
.ot-pill {
  display: inline-block; background: rgba(0,122,255,0.08);
  color: var(--ot-accent); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 14px; border-radius: 99px; margin-bottom: 14px;
}
.ot-section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700;
  letter-spacing: -0.025em; color: var(--ot-text); margin-bottom: 12px;
}
.ot-section-desc { font-size: 16px; color: var(--ot-text-sec); max-width: 560px; margin: 0 auto; }
section { padding: 80px 0; }

/* Content hub panels */
.ot-content-hub { background: #fff; }
.ot-hub-container { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ot-dashboard-panel {
  background: var(--ot-bg); border: 1px solid var(--ot-border);
  border-radius: var(--ot-radius); overflow: hidden;
}
.panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--ot-border);
}
.panel-h3 { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.panel-view-all { font-size: 13px; color: var(--ot-accent); font-weight: 500; }
.panel-view-all:hover { text-decoration: underline; }
.article-row {
  display: flex; align-items: center; padding: 14px 24px;
  border-bottom: 1px solid var(--ot-border);
  transition: background .12s;
}
.article-row:hover { background: rgba(0,0,0,0.02); }
.article-row:last-child { border-bottom: none; }
.row-content { flex: 1; min-width: 0; }
.row-title {
  font-size: 14px; font-weight: 500; color: var(--ot-text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 4px;
}
.row-meta { font-size: 12px; color: var(--ot-text-sec); }
.row-arrow { color: var(--ot-text-sec); font-size: 14px; margin-left: 12px; flex-shrink: 0; }

/* FAQ */
.ot-faq-module { background: #f5f5f7; }
.ot-faq-container { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.ot-faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: #fff; border: 1px solid var(--ot-border);
  border-radius: var(--ot-radius-sm); overflow: hidden;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; font-size: 15px; font-weight: 600;
  cursor: pointer; user-select: none;
  background: none; border: none; width: 100%; text-align: left; color: var(--ot-text);
}
.faq-question .faq-toggle { font-size: 20px; color: var(--ot-text-sec); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 20px 18px; font-size: 14px; color: var(--ot-text-sec); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ============================================================ DOWNLOAD PAGE */
.otg-download { background: var(--ot-bg); }
.otg-hero {
  position: relative; padding: 100px 20px 60px; text-align: center;
  overflow: hidden;
}
.otg-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #EBF4FF 0%, #FAFBFC 60%);
}
.otg-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,122,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,122,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.otg-wrap { max-width: var(--ot-wrap); margin: 0 auto; padding: 0 20px; }
.otg-hero-inner { position: relative; z-index: 1; }
.otg-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--otg-blue); margin-bottom: 14px;
}
.otg-grad {
  background: linear-gradient(135deg, var(--ot-accent), var(--otg-blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.otg-section { padding: 60px 0; }
.otg-section-head { text-align: center; margin-bottom: 40px; }
.otg-section-title { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ot-text); margin-bottom: 10px; }
.otg-section-sub { font-size: 15px; color: var(--ot-text-sec); max-width: 500px; margin: 0 auto; }
.otg-platforms-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.otg-pcard {
  background: #fff; border: 1px solid var(--ot-border);
  border-radius: var(--ot-radius); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.otg-pcard:hover { transform: translateY(-4px); box-shadow: var(--ot-shadow-lg); }
.otg-pcard-head { display: flex; align-items: center; gap: 14px; }
.otg-pcard-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.otg-brand-ios .otg-pcard-icon { background: #000; color: #fff; }
.otg-brand-and .otg-pcard-icon { background: #3DDC84; color: #fff; }
.otg-brand-win .otg-pcard-icon { background: #0078D4; color: #fff; }
.otg-brand-mac .otg-pcard-icon { background: #1D1D1F; color: #fff; }
.otg-brand-lin .otg-pcard-icon { background: #F5A623; color: #fff; }
.otg-brand-web .otg-pcard-icon { background: #229ED9; color: #fff; }
.otg-pcard-head h3 { font-size: 17px; font-weight: 700; }
.otg-pcard-meta { font-size: 12px; color: var(--ot-text-sec); margin-top: 3px; }
.otg-pcard-desc { font-size: 14px; color: var(--ot-text-sec); line-height: 1.6; }
.otg-pcard-features { display: flex; flex-direction: column; gap: 6px; }
.otg-pcard-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ot-text);
}
.otg-pcard-features li::before {
  content: "✓"; color: #22c55e; font-weight: 700; flex-shrink: 0;
}
.otg-pcard-cta { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.otg-btn-primary {
  display: block; text-align: center; background: var(--ot-accent); color: #fff;
  padding: 11px 20px; border-radius: 10px; font-size: 14px; font-weight: 600;
  transition: background .15s;
}
.otg-btn-primary:hover { background: var(--ot-accent-hover); }
.otg-btn-secondary {
  display: block; text-align: center; background: rgba(0,0,0,0.05); color: var(--ot-text);
  padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 500;
}
.otg-btn-secondary:hover { background: rgba(0,0,0,0.09); }
.otg-pcard-watermark {
  position: absolute; right: -20px; bottom: -20px; width: 100px; opacity: 0.04;
}

/* ============================================================ ARTICLE LIST */
.posts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.post-card {
  background: #fff; border: 1px solid var(--ot-border);
  border-radius: var(--ot-radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--ot-shadow-lg); }
.post-card-thumb { aspect-ratio: 3/2; overflow: hidden; background: #eee; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card-cat {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ot-accent); margin-bottom: 8px;
}
.post-card-title {
  font-size: 16px; font-weight: 600; color: var(--ot-text); line-height: 1.4;
  margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-excerpt {
  font-size: 14px; color: var(--ot-text-sec); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1; margin-bottom: 14px;
}
.post-card-meta { font-size: 12px; color: var(--ot-text-sec); margin-top: auto; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; padding-top: 40px; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px; font-size: 14px; font-weight: 500;
  border: 1px solid var(--ot-border); color: var(--ot-text); transition: background .12s;
}
.pagination a:hover { background: #f5f5f7; }
.pagination .current { background: var(--ot-accent); color: #fff; border-color: var(--ot-accent); }

/* Category header */
.category-header { padding: 40px 0 24px; }
.category-title { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.category-desc { color: var(--ot-text-sec); font-size: 15px; }

/* ============================================================ ARTICLE DETAIL */
.article-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 40px;
  max-width: var(--ot-wrap); margin: 0 auto; padding: 40px 20px;
}
.article-main {}
.breadcrumbs { font-size: 13px; color: var(--ot-text-sec); margin-bottom: 20px; }
.breadcrumbs a { color: var(--ot-accent); }
.breadcrumbs a:hover { text-decoration: underline; }
.article-featured-img { border-radius: var(--ot-radius); overflow: hidden; margin-bottom: 28px; aspect-ratio: 16/9; }
.article-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.article-title { font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; margin-bottom: 16px; }
.article-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--ot-text-sec); margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--ot-border); }
.article-content { font-size: 16px; line-height: 1.85; color: #334155; }
.article-content h2 { font-size: 1.45rem; font-weight: 700; margin: 36px 0 14px; color: var(--ot-text); }
.article-content h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 12px; color: var(--ot-text); }
.article-content p { margin-bottom: 16px; }
.article-content a { color: var(--ot-accent); }
.article-content a:hover { text-decoration: underline; }
.article-content img { border-radius: 10px; margin: 20px 0; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 16px; }
.article-content li { margin-bottom: 8px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content blockquote {
  border-left: 4px solid var(--ot-accent); margin: 24px 0;
  padding: 12px 20px; background: rgba(0,122,255,.04); border-radius: 0 8px 8px 0;
  color: var(--ot-text-sec); font-style: italic;
}
.article-content pre {
  background: #1e293b; color: #e2e8f0; border-radius: 10px;
  padding: 20px; overflow-x: auto; font-size: 14px; line-height: 1.6; margin: 20px 0;
}
.article-content code {
  background: rgba(0,122,255,.08); color: var(--ot-accent);
  border-radius: 4px; padding: 2px 6px; font-size: .9em;
}
.article-content pre code { background: none; color: inherit; padding: 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.article-content th, .article-content td { border: 1px solid var(--ot-border); padding: 10px 14px; text-align: left; }
.article-content th { background: #f5f5f7; font-weight: 600; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ot-border); }
.tag-link {
  display: inline-block; background: #f5f5f7; color: var(--ot-text-sec);
  border-radius: 99px; padding: 4px 12px; font-size: 12px;
  transition: background .12s;
}
.tag-link:hover { background: rgba(0,122,255,.1); color: var(--ot-accent); }
.related-posts { margin-top: 48px; }
.related-posts h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Sidebar */
.article-sidebar { }
.sidebar-sticky { position: sticky; top: 100px; }
.ot-sidebar-wrapper { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.ot-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--ot-border);
  border-radius: var(--ot-radius-sm); padding: 14px 16px;
  transition: transform .15s, box-shadow .15s;
}
.ot-card:hover { transform: translateY(-2px); box-shadow: var(--ot-shadow); }
.ot-card .ot-icon { font-size: 24px; flex-shrink: 0; }
.ot-card .ot-content { flex: 1; min-width: 0; }
.ot-card .ot-title { display: block; font-size: 14px; font-weight: 600; }
.ot-card .ot-desc { display: block; font-size: 12px; color: var(--ot-text-sec); }
.ot-card .ot-arrow { color: var(--ot-text-sec); font-size: 14px; }
.ot-popular-widget { background: #fff; border: 1px solid var(--ot-border); border-radius: var(--ot-radius); overflow: hidden; }
.widget-title { font-size: 14px; font-weight: 700; padding: 16px 20px; border-bottom: 1px solid var(--ot-border); }
.popular-list a {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  border-bottom: 1px solid var(--ot-border); font-size: 13px; color: var(--ot-text);
  transition: background .12s;
}
.popular-list a:last-child { border-bottom: none; }
.popular-list a:hover { background: #f5f5f7; }
.popular-num {
  width: 22px; height: 22px; border-radius: 6px; background: rgba(0,122,255,.1);
  color: var(--ot-accent); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ============================================================ FOOTER */
.ot-footer { background: #1D1D1F; color: #f5f5f7; padding: 64px 0 32px; }
.ot-footer-container { max-width: var(--ot-wrap); margin: 0 auto; padding: 0 20px; }
.footer-top-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px;
}
.footer-brand-text { display: flex; flex-direction: column; margin-bottom: 14px; }
.brand-cn { font-size: 16px; font-weight: 700; color: #f5f5f7; }
.brand-en { font-size: 12px; color: #6b7280; }
.footer-desc { font-size: 13px; color: #9ca3af; line-height: 1.7; margin-bottom: 20px; }
.footer-sub-widget {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 12px 16px; transition: background .15s;
}
.footer-sub-widget:hover { background: rgba(255,255,255,0.1); }
.sub-icon img { width: 36px; height: 36px; border-radius: 8px; }
.sub-title { display: block; font-size: 13px; font-weight: 600; color: #f5f5f7; }
.sub-desc { display: block; font-size: 11px; color: #9ca3af; }
.footer-nav-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; margin-bottom: 12px; }
.footer-nav-list li { margin-bottom: 8px; }
.footer-nav-list a { font-size: 13px; color: #9ca3af; transition: color .12s; }
.footer-nav-list a:hover { color: #f5f5f7; }
.footer-bottom-area { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; }
.footer-legal-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.footer-copyright { font-size: 13px; color: #6b7280; }
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal-links a { font-size: 12px; color: #6b7280; transition: color .12s; }
.footer-legal-links a:hover { color: #f5f5f7; }
.footer-disclaimer-lite { font-size: 12px; color: #4b5563; line-height: 1.6; }

/* ============================================================ CUSTOM PAGE & SEARCH */
.page-content { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.page-content h1 { font-size: 2rem; font-weight: 700; margin-bottom: 24px; }
.page-body { font-size: 16px; line-height: 1.85; color: #334155; }
.page-body h2 { font-size: 1.4rem; font-weight: 700; margin: 32px 0 12px; }
.page-body p { margin-bottom: 16px; }
.search-box { padding: 40px 0 24px; }
.search-form { display: flex; gap: 12px; max-width: 560px; margin: 0 auto; }
.search-input {
  flex: 1; padding: 12px 18px; border: 1px solid var(--ot-border);
  border-radius: 10px; font-size: 15px; outline: none;
  transition: border-color .15s;
}
.search-input:focus { border-color: var(--ot-accent); }
.search-btn {
  background: var(--ot-accent); color: #fff; border: none;
  padding: 12px 24px; border-radius: 10px; font-size: 15px; font-weight: 600;
}
.search-results-count { font-size: 14px; color: var(--ot-text-sec); margin-bottom: 24px; }
.no-results { text-align: center; padding: 60px 20px; color: var(--ot-text-sec); }

/* ============================================================ ANIMATIONS */
.fade-in-up { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.fade-in-1 { animation: fadeIn .5s ease .1s both; }
.fade-in-2 { animation: fadeIn .5s ease .2s both; }
.fade-in-3 { animation: fadeIn .5s ease .3s both; }
.fade-in-4 { animation: fadeIn .5s ease .4s both; }
.fade-in-5 { animation: fadeIn .5s ease .5s both; }
.fade-in-6 { animation: fadeIn .5s ease .6s both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================ RESPONSIVE */
@media (max-width: 1024px) {
  .ot-nav-horizon { display: none; }
  .ot-mobile-toggle { display: flex; }
  .ot-hub-container { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .otg-platforms-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .ot-liquid-dock { flex-direction: column; align-items: stretch; }
  .liquid-card { min-width: auto; }
}
@media (max-width: 480px) {
  .posts-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-legal-bar { flex-direction: column; }
  .ot-cine-actions { flex-direction: column; align-items: stretch; }
  section { padding: 48px 0; }
}




