/* ============================================================
   AI魔改短剧景甜高清在线观看网站入口 - 全局样式表
   深色影视风格 + 蓝紫科技风 | 响应式设计 | CSS动画
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #6c5ce7;
  --primary-light: #a29bfe;
  --primary-dark: #4a3cb8;
  --accent: #00d2ff;
  --accent-2: #ff6b9d;
  --bg-dark: #0b0d1a;
  --bg-deep: #070812;
  --bg-card: #141832;
  --bg-card-2: #1a1f42;
  --text-main: #f2f4fc;
  --text-sub: #a7b0d0;
  --text-muted: #6f78a3;
  --border: rgba(108, 92, 231, 0.25);
  --gradient-main: linear-gradient(135deg, #6c5ce7 0%, #00d2ff 100%);
  --gradient-glow: linear-gradient(135deg, rgba(108, 92, 231, 0.35), rgba(0, 210, 255, 0.35));
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 24px rgba(108, 92, 231, 0.35);
  --font-main: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Global Decorative Background ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 45% at 20% -5%, rgba(108, 92, 231, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 10%, rgba(0, 210, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 55% at 50% 110%, rgba(255, 107, 157, 0.10), transparent 60%),
    var(--bg-deep);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 40%, transparent 100%);
  pointer-events: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 8px 28px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(0, 210, 255, 0.5);
  color: #fff;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-lg {
  padding: 16px 42px;
  font-size: 1.08rem;
}

/* ---------- Header & Nav ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(11, 13, 26, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(7, 8, 18, 0.95);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.header-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
  white-space: nowrap;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text-main);
}

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

.nav-link {
  color: var(--text-sub);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(108, 92, 231, 0.12);
}

.nav-link.active {
  color: #fff;
  background: var(--gradient-main);
  box-shadow: 0 6px 18px rgba(108, 92, 231, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(108, 92, 231, 0.16);
  border: 1px solid var(--border);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
  animation: fadeInUp 0.8s ease both;
}

.hero h1 {
  margin-bottom: 18px;
  animation: fadeInUp 0.8s 0.1s ease both;
}

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

.hero-sub {
  color: var(--text-sub);
  font-size: 1.08rem;
  max-width: 600px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 38px;
  margin-top: 46px;
  animation: fadeInUp 0.8s 0.4s ease both;
}

.hero-stat h4 {
  font-size: 1.7rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-stat p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  animation: floatY 5s ease-in-out infinite;
}

.hero-visual-main {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 60px rgba(108, 92, 231, 0.25);
  border: 1px solid var(--border);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.hero-visual-main:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.hero-visual-main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  background: rgba(20, 24, 50, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  animation: floatY 4s ease-in-out infinite reverse;
}

.hero-float-card .fc-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-float-card .fc-title {
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-float-card .fc-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
}

.float-1 {
  top: -18px;
  right: 6px;
}

.float-2 {
  bottom: -16px;
  left: -10px;
  animation-delay: 1s;
}

/* ---------- Section Common ---------- */
.section {
  padding: 96px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-sub);
}

.divider {
  width: 72px;
  height: 4px;
  border-radius: 4px;
  background: var(--gradient-main);
  margin: 18px auto 0;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-2);
  box-shadow: var(--shadow), var(--shadow-glow);
  border-color: rgba(108, 92, 231, 0.5);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-6deg);
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-sub);
  font-size: 0.94rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-item {
  display: flex;
  gap: 18px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid transparent;
  transition: all 0.35s ease;
}

.service-item:hover {
  border-color: var(--border);
  background: var(--bg-card-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-num {
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  min-width: 52px;
  line-height: 1.2;
}

.service-item h3 {
  margin-bottom: 8px;
}

.service-item p {
  color: var(--text-sub);
  font-size: 0.93rem;
}

/* ---------- Shows / Products ---------- */
.shows-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.show-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.show-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow), var(--shadow-glow);
}

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

.show-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.show-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  z-index: 2;
}

.show-tag.hot {
  background: linear-gradient(135deg, #ff6b9d, #ff9a5a);
}

.show-body {
  padding: 20px 22px 24px;
}

.show-body h3 {
  margin-bottom: 8px;
}

.show-body p {
  color: var(--text-sub);
  font-size: 0.9rem;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.show-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.show-play {
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.show-play:hover {
  color: var(--primary-light);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-box {
  background: var(--gradient-main);
  border-radius: 28px;
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(108, 92, 231, 0.35);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 60% at 15% 10%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 40% 55% at 85% 90%, rgba(0, 210, 255, 0.35), transparent 65%);
}

.cta-box h2 {
  position: relative;
  margin-bottom: 14px;
  color: #fff;
}

.cta-box p {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto 34px;
}

.cta-box .btn {
  position: relative;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-box .btn:hover {
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* ---------- FAQ ---------- */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: rgba(0, 210, 255, 0.5);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q .faq-icon {
  font-size: 1.3rem;
  color: var(--primary-light);
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a-inner {
  padding: 0 24px 20px;
  color: var(--text-sub);
  font-size: 0.94rem;
}

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.35s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 210, 255, 0.45);
  box-shadow: var(--shadow);
}

.news-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.06);
}

.news-body {
  padding: 22px;
}

.news-date {
  color: var(--text-muted);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 8px;
}

.news-body h3 {
  margin-bottom: 8px;
  line-height: 1.45;
}

.news-body h3 a {
  color: var(--text-main);
}

.news-body h3 a:hover {
  color: var(--accent);
}

.news-body p {
  color: var(--text-sub);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Article / Page Content ---------- */
.page-hero {
  padding: calc(var(--header-h) + 70px) 0 46px;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 18px;
}

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

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.article-body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.article-body h2 {
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.article-body h3 {
  margin: 26px 0 12px;
}

.article-body p {
  color: var(--text-sub);
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  color: var(--text-sub);
  padding-left: 24px;
  margin-bottom: 16px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body img {
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.article-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.84rem;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.article-quote {
  border-left: 4px solid var(--accent);
  background: rgba(0, 210, 255, 0.08);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 22px 0;
  color: var(--text-sub);
}

.sidebar {
  display: grid;
  gap: 28px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.sidebar-card h3 {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9rem;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  color: var(--text-sub);
}

.sidebar-list a:hover {
  color: var(--accent);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.contact-info-list {
  display: grid;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  transform: translateX(6px);
  border-color: rgba(0, 210, 255, 0.45);
}

.contact-info-item .ci-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--text-sub);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  background: var(--bg-dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.96rem;
  padding: 13px 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.15);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.form-tip {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(108, 92, 231, 0.15);
}

.footer-brand p {
  color: var(--text-sub);
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer h3 {
  font-size: 1rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient-main);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: var(--text-sub);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-newsletter p {
  color: var(--text-sub);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-main);
  padding: 11px 18px;
  font-family: inherit;
  font-size: 0.9rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-form button {
  background: var(--gradient-main);
  border: none;
  color: #fff;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 26px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}

.page-btn {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-sub);
  font-weight: 700;
  transition: all 0.3s ease;
}

.page-btn:hover {
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.page-btn.active {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
}

/* ---------- Back to Top ---------- */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: #fff;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.4s ease;
  z-index: 900;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
}

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

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 18px rgba(108, 92, 231, 0.35);
  }
  50% {
    box-shadow: 0 0 34px rgba(0, 210, 255, 0.5);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  :root {
    --header-h: 62px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(7, 8, 18, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 4%;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all 0.35s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 13px 18px;
    text-align: center;
  }

  .features-grid,
  .services-grid,
  .shows-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 30px);
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .section {
    padding: 72px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .article-body {
    padding: 24px;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 46px 22px;
  }

  .float-1 {
    top: -8px;
    right: -4px;
  }

  .float-2 {
    bottom: -8px;
    left: -4px;
  }
}

@media (max-width: 480px) {
  .brand span {
    font-size: 0.98rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    padding: 12px 20px;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 40px);
  }
}

/* ---------- Print ---------- */
@media print {
  .header, .footer, .back-top, .cta {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }
}
