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

:root {
  --bg-primary: #1a1d20;
  --bg-secondary: #23272d;
  --bg-card: #2a2e35;
  --bg-card-soft: #353a42;
  --border: rgba(61, 220, 151, 0.15);
  --border-hover: rgba(61, 220, 151, 0.45);
  --text-primary: #f5f3ff;
  --text-secondary: #5eead4;
  --text-muted: #8b7faa;
  --accent-purple: #3DDC97;
  --accent-purple-2: #0d9488;
  --accent-green: #3DDC97;
  --accent-green-2: #0d9488;
  --accent-green-3: #5eead4;
  --accent-deep: #1a1d20;
  --accent-red: #ef4444;
  --accent-pink: #5eead4;
  --accent-cyan: #14b8a6;
  --accent-yellow: #5eead4;
  --shadow-glow: 0 8px 40px rgba(61, 220, 151, 0.4);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ===== Top Navigation Bar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 29, 32, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  gap: 16px;
}

/* Brand (Right) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-size: 22px;
  flex-shrink: 0;
  order: 3;
}

.brand-text {
  color: #fff;
}

.brand-pill {
  background: var(--accent-green);
  color: #1a1d20;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5eead4, #353a42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  margin-right: 4px;
}

/* Center Menu */
.topnav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
  order: 2;
}

.topnav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.topnav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.topnav-link.active {
  color: #fff;
  background: rgba(61, 220, 151, 0.18);
}

.topnav-link .chev {
  font-size: 10px;
  opacity: 0.7;
}

.fire {
  font-size: 14px;
}

.badge-new {
  background: var(--accent-green);
  color: #000000;
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  margin-right: 2px;
}

/* Left Actions */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  order: 1;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-purple);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== Hero Carousel ===== */
.hero-carousel {
  margin: 18px 28px 0;
  position: relative;
}

.hero-track {
  display: flex;
  gap: 14px;
  will-change: transform;
}

.hero-track > .hero-card {
  flex: 0 0 calc((100% - 28px) / 3);
  min-width: 0;
}

.hero-carousel-clip {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 14px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.35);
  border: 1px solid rgba(94, 234, 212, 0.5);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.hero-dot:hover {
  background: rgba(94, 234, 212, 0.6);
  border-color: rgba(94, 234, 212, 0.8);
  transform: scale(1.15);
}

.hero-dot.active {
  width: 36px;
  border-radius: 50px;
  background: linear-gradient(90deg, #5eead4 0%, #3DDC97 50%, #5eead4 100%);
  border-color: transparent;
  box-shadow: 0 0 16px rgba(94, 234, 212, 0.6), 0 2px 8px rgba(61, 220, 151, 0.4);
}

/* ===== Hero Featured Cards ===== */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px 28px 0;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(61, 220, 151, 0.18);
  box-shadow: 0 6px 24px -10px rgba(61, 220, 151, 0.25);
}

.hero-card:hover {
  border-color: rgba(61, 220, 151, 0.55);
  box-shadow: 0 0 22px rgba(61, 220, 151, 0.45);
}

.hero-card:hover {
  transform: translateY(-4px);
}

.hero-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85));
}

.hero-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85));
  pointer-events: none;
  z-index: 1;
}

.placeholder-art {
  font-size: 100px;
  color: rgba(255, 255, 255, 0.25);
  z-index: 1;
}

.ribbon-new {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent-green);
  color: #000000;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(61, 220, 151, 0.5);
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 24px;
  z-index: 2;
  text-align: center;
}

.hero-card-title {
  font-size: 30px;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  font-family: 'Inter', 'Cairo', sans-serif;
}

.hero-card-title.green,
.hero-card-title.red,
.hero-card-title.yellow,
.hero-card-title.blue,
.hero-card-title.pink {
  background: linear-gradient(135deg, #5eead4 0%, #5eead4 60%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(61, 220, 151, 0.5));
}

.hero-card-desc {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* ===== Quick Actions Panel ===== */
.qa-panel {
  margin: 24px 28px 0;
  padding: 28px;
  background: linear-gradient(135deg, #2a2e35 0%, #23272d 60%, #000000 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.qa-panel::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(61, 220, 151, 0.18), transparent 65%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

/* Left side */
.qa-left {
  position: relative;
  z-index: 1;
}

.qa-heading {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.qa-heading-grad {
  background: linear-gradient(135deg, #5eead4 0%, #5eead4 50%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.qa-question {
  background: linear-gradient(135deg, #5eead4 0%, #5eead4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.qa-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 320px;
}

.qa-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #ffffff;
  color: #1a1d20;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 28px -8px rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.qa-cta i {
  color: #3DDC97;
  font-size: 13px;
}

.qa-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -6px rgba(255, 255, 255, 0.35);
  background: #f5f5ec;
}

/* Cards row */
.qa-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}

.qa-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(61, 220, 151, 0.18);
  box-shadow: 0 6px 24px -10px rgba(61, 220, 151, 0.25);
  border-radius: 16px;
  padding: 8px;
  transition: all 0.35s ease;
  cursor: pointer;
}

.qa-card:hover {
  background: rgba(94, 234, 212, 0.08);
  border-color: rgba(61, 220, 151, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 0 22px rgba(61, 220, 151, 0.4), 0 16px 40px -10px rgba(61, 220, 151, 0.3);
}

.qa-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: rgba(255, 255, 255, 0.85);
  isolation: isolate;
}

.qa-card-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35));
  z-index: 1;
}

.qa-card-media i {
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4));
  z-index: 2;
}

.qa-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qa-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 3;
  letter-spacing: 0.3px;
}

.qa-badge-hot {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  border-color: transparent;
  animation: pulse-pill 1.8s ease-in-out infinite;
}

@keyframes pulse-pill {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.qa-wave {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  z-index: 2;
}

.qa-wave span {
  width: 3px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  animation: wave 1.1s ease-in-out infinite;
}

.qa-wave span:nth-child(1) { animation-delay: 0s; height: 40%; }
.qa-wave span:nth-child(2) { animation-delay: 0.15s; height: 70%; }
.qa-wave span:nth-child(3) { animation-delay: 0.3s; height: 100%; }
.qa-wave span:nth-child(4) { animation-delay: 0.45s; height: 60%; }
.qa-wave span:nth-child(5) { animation-delay: 0.6s; height: 30%; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.qa-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 6px;
}

.qa-card-foot span {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qa-card-foot i {
  color: var(--text-muted);
  font-size: 12px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.qa-card:hover .qa-card-foot i {
  color: #5eead4;
  transform: translateX(-3px);
}

/* ===== Featured Model Section ===== */
.featured-model {
  margin: 24px 28px 0;
  padding: 18px 22px;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(61, 220, 151, 0.22), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(94, 234, 212, 0.12), transparent 50%),
    linear-gradient(180deg, #23272d 0%, #000000 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.featured-model::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(61, 220, 151, 0.22), transparent 60%);
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

/* Left content */
.fm-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 0;
}

.fm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.fm-eyebrow i {
  color: #5eead4;
  font-size: 10px;
}

.fm-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.fm-highlight {
  background: linear-gradient(135deg, #5eead4 0%, #5eead4 50%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 36px;
  display: inline-block;
}

.fm-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: 240px;
}

.fm-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #fff;
  color: #1a1d20;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  width: fit-content;
  box-shadow: 0 10px 40px -10px rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.fm-cta i {
  color: #353a42;
}

.fm-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 50px -8px rgba(255, 255, 255, 0.6);
}

.fm-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-size: 18px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  width: fit-content;
}

.fm-brand-text {
  color: #fff;
}

.fm-brand-pill {
  background: var(--accent-green);
  color: #1a1d20;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 14px;
}

/* Right gallery */
.fm-gallery {
  position: relative;
  z-index: 1;
}

.fm-marquee {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  height: 228px;
  overflow: hidden;
}

.fm-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  will-change: transform;
}

.fm-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  flex: 0 0 110px;
  height: 110px;
  border: 1px solid rgba(61, 220, 151, 0.18);
  box-shadow: 0 6px 24px -10px rgba(61, 220, 151, 0.25);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.fm-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-tile:hover {
  border-color: rgba(61, 220, 151, 0.55);
  box-shadow: 0 0 18px rgba(61, 220, 151, 0.4);
}

.fm-view-all {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--accent-green);
  color: #1a1d20;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 32px -6px rgba(61, 220, 151, 0.5);
  transition: all 0.3s ease;
  z-index: 5;
  white-space: nowrap;
}

.fm-view-all:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 14px 40px -4px rgba(61, 220, 151, 0.7);
}

/* ===== Seedance Banner ===== */
.sd-banner {
  position: relative;
  margin: 24px 0 0;
  width: 100%;
  min-height: 440px;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sd-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.sd-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(7, 18, 12, 0.92) 0%, rgba(7, 18, 12, 0.6) 35%, rgba(7, 18, 12, 0.15) 65%, transparent 100%);
  z-index: 1;
}

.sd-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  height: 100%;
  padding: 0 24px 0 0;
  display: flex;
  align-items: center;
}

.sd-content {
  max-width: 540px;
  margin-right: 0;
}

.sd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 14px;
  background: rgba(61, 220, 151, 0.15);
  border: 1px solid rgba(94, 234, 212, 0.4);
  color: #5eead4;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.sd-eyebrow i {
  color: #5eead4;
  font-size: 10px;
}

.sd-title {
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.sd-highlight {
  display: block;
  background: linear-gradient(135deg, #5eead4 0%, #5eead4 50%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 20px rgba(61, 220, 151, 0.4));
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.25;
  padding: 6px 4px;
}

.sd-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 480px;
}

.sd-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.sd-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--accent-green);
  color: #000000;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 30px -6px rgba(61, 220, 151, 0.6);
  transition: all 0.3s ease;
}

.sd-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -4px rgba(61, 220, 151, 0.8);
  background: #5eead4;
}

.sd-cta-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.sd-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.sd-stats {
  display: flex;
  gap: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: fit-content;
}

.sd-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sd-stat-num {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #5eead4, #3DDC97);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.sd-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ===== Characters Banner ===== */
.char-banner {
  position: relative;
  margin: 24px 0 0;
  width: 100%;
  min-height: 460px;
  padding: 50px 0;
  background:
    linear-gradient(180deg, #23272d 0%, #000000 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.char-bg-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(61, 220, 151, 0.18), transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.char-inner {
  position: relative;
  z-index: 2;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: center;
}

.char-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.char-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 14px;
  background: rgba(61, 220, 151, 0.15);
  border: 1px solid rgba(94, 234, 212, 0.4);
  color: #5eead4;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}

.char-eyebrow i {
  color: #5eead4;
  font-size: 11px;
}

.char-title {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.char-highlight {
  display: block;
  background: linear-gradient(135deg, #5eead4 0%, #5eead4 50%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 20px rgba(61, 220, 151, 0.4));
  font-size: 52px;
  font-weight: 900;
  line-height: 1.25;
  padding: 6px 4px;
  margin-top: 4px;
}

.char-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 16px;
}

.char-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.char-step {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.char-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(61, 220, 151, 0.15);
  border: 1px solid rgba(94, 234, 212, 0.5);
  color: #5eead4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.char-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: #ffffff;
  color: #1a1d20;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 900;
  width: fit-content;
  box-shadow: 0 12px 32px -6px rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.char-cta i {
  color: #3DDC97;
  font-size: 13px;
}

.char-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -4px rgba(255, 255, 255, 0.35);
  background: #f5f5ec;
}

/* Gallery */
.char-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  perspective: 1200px;
}

.char-card {
  position: relative;
  flex: 0 0 auto;
  width: 180px;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(61, 220, 151, 0.18);
  box-shadow: 0 6px 24px -10px rgba(61, 220, 151, 0.25);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.char-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85));
  pointer-events: none;
}

.char-card-name {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Slight rotation/scale variation for character flow */
.char-card-1 { transform: rotate(-3deg) translateY(8px); }
.char-card-2 { transform: rotate(-1.5deg); }
.char-card-3 {
  width: 220px;
  height: 320px;
  z-index: 3;
  transform: scale(1.05);
  border-color: rgba(61, 220, 151, 0.55);
  box-shadow: 0 0 26px rgba(61, 220, 151, 0.45), 0 20px 50px -10px rgba(0, 0, 0, 0.5);
}
.char-card-4 { transform: rotate(1.5deg); }
.char-card-5 { transform: rotate(3deg) translateY(8px); }

.char-card:hover {
  transform: scale(1.08) translateY(-6px);
  border-color: rgba(61, 220, 151, 0.55);
  box-shadow: 0 0 26px rgba(61, 220, 151, 0.45), 0 24px 60px -12px rgba(0, 0, 0, 0.6);
  z-index: 4;
}

.char-card-center:hover {
  transform: scale(1.12) translateY(-6px);
}

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

.char-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #3DDC97, #2a2e35);
  color: #000000;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 900;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(61, 220, 151, 0.5);
}

/* ===== Categories Section ===== */
.cat-section {
  margin: 24px 28px 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  position: relative;
  overflow: visible;
}

.cat-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.cat-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 20px;
  background: linear-gradient(180deg, #2a2e35 0%, #000000 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.cat-col::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(61, 220, 151, 0.18), transparent 65%);
  top: -80px;
  right: -60px;
  pointer-events: none;
}

.cat-col:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 234, 212, 0.35);
}

.cat-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  z-index: 1;
}

.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cc1), var(--cc2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 8px 22px -6px var(--cc1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cat-title {
  font-size: 19px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 2px;
  letter-spacing: -0.3px;
}

.cat-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  flex: 1;
}

.cat-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(61, 220, 151, 0.18);
  box-shadow: 0 6px 24px -10px rgba(61, 220, 151, 0.25);
  cursor: pointer;
  transition: all 0.35s ease;
}

.cat-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.cat-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 220, 151, 0.55);
  box-shadow: 0 0 22px rgba(61, 220, 151, 0.45);
}

.cat-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Content Grid (Masonry + Sidebar) ===== */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 14px;
  padding: 14px 28px 0;
  position: relative;
}

.grid-arrow {
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(34, 26, 58, 0.9);
  border: 1px solid var(--border);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.grid-arrow:hover {
  background: var(--accent-purple);
}

.masonry {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 10px;
}

.m-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(61, 220, 151, 0.18);
  box-shadow: 0 6px 24px -10px rgba(61, 220, 151, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.m-item:hover {
  transform: scale(1.02);
  border-color: rgba(61, 220, 151, 0.55);
  box-shadow: 0 0 20px rgba(61, 220, 151, 0.4);
}

.m-tall {
  grid-row: span 2;
}

.m-art {
  font-size: 56px;
  color: rgba(255, 255, 255, 0.4);
}

.m-label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Side Promo Card */
.side-promo {
  background: linear-gradient(160deg, #23272d 0%, #000000 100%);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1.5px solid rgba(94, 234, 212, 0.6);
  box-shadow: 0 0 18px rgba(61, 220, 151, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.side-promo::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(61, 220, 151, 0.45), transparent 70%);
  pointer-events: none;
}

.promo-tag {
  font-size: 13px;
  color: var(--accent-yellow);
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}

.promo-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 18px;
  color: #fff;
}

.promo-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.promo-actions {
  display: flex;
  gap: 8px;
  flex-direction: row-reverse;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--accent-green);
  color: #000000;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(61, 220, 151, 0.45);
}

.btn-primary:hover {
  background: var(--accent-green-3);
  transform: translateY(-2px);
}

.btn-ghost {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--border-hover);
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ===== Second Row Grid ===== */
.row-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 14px 28px 28px;
}

.r-item {
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(61, 220, 151, 0.18);
  box-shadow: 0 6px 24px -10px rgba(61, 220, 151, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.r-item:hover {
  transform: scale(1.02);
  border-color: rgba(61, 220, 151, 0.55);
  box-shadow: 0 0 20px rgba(61, 220, 151, 0.4);
}

.r-art {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Site Footer ===== */
.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, #000000 0%, #1a1d2017 100%);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(61, 220, 151, 0.18), transparent 60%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1480px;
  margin: 0 auto;
  padding: 60px 40px 40px;
  display: grid;
  grid-template-columns: 1.6fr repeat(5, 1fr);
  gap: 36px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  width: fit-content;
}

.footer-tag {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(61, 220, 151, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.25);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px -6px rgba(61, 220, 151, 0.6);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-h {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.2px;
}

.footer-h i {
  color: #5eead4;
  font-size: 12px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: color 0.25s ease, padding 0.25s ease;
  font-weight: 600;
  width: fit-content;
}

.footer-col a:hover {
  color: #5eead4;
  padding-right: 5px;
}

/* Contact column */
.footer-contact {
  gap: 10px;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 4px 0;
  font-weight: 600;
  transition: color 0.25s ease;
}

.footer-contact-item i {
  width: 28px;
  height: 28px;
  background: rgba(61, 220, 151, 0.12);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5eead4;
  font-size: 12px;
  flex-shrink: 0;
}

.footer-contact-item:hover {
  color: #fff;
}

.footer-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 18px !important;
  background: linear-gradient(135deg, #3DDC97, #2a2e35);
  color: #000000 !important;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 900;
  margin-top: 8px;
  width: fit-content;
  box-shadow: 0 8px 22px -6px rgba(61, 220, 151, 0.5);
  transition: all 0.3s ease;
}

.footer-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #5eead4, #3DDC97) !important;
  box-shadow: 0 12px 28px -4px rgba(61, 220, 151, 0.7);
  color: #000000 !important;
  padding: 10px 18px !important;
}

/* Bottom bar */
.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: 1480px;
  margin: 0 auto;
  padding: 20px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-bottom strong {
  color: #5eead4;
  font-weight: 900;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  color: var(--text-secondary);
  font-weight: 600;
  transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
  color: #5eead4;
}

.footer-dot {
  color: var(--text-muted);
}

@media (max-width: 1180px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }
  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 40px 22px 30px;
    gap: 28px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-bottom {
    padding: 18px 22px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ===== Chat Float ===== */
.chat-float {
  position: fixed;
  bottom: 22px;
  left: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(34, 26, 58, 0.95);
  border: 1px solid var(--border-hover);
  color: var(--text-secondary);
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.chat-float:hover {
  background: var(--accent-purple);
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 1400px) {
  .topnav-link {
    padding: 8px 10px;
    font-size: 13px;
  }
  .topnav {
    gap: 2px;
  }
  .masonry {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1180px) {
  .topbar-inner {
    flex-wrap: wrap;
    padding: 12px 18px;
  }
  .topnav {
    order: 4;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 8px 0;
    margin-top: 6px;
  }
  .topnav::-webkit-scrollbar { display: none; }
  .masonry {
    grid-template-columns: repeat(4, 1fr);
  }
  .row-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .qa-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-cards {
    grid-template-columns: 1fr;
    padding: 14px 18px 0;
  }
  .content-grid {
    grid-template-columns: 1fr;
    padding: 14px 18px 0;
  }
  .masonry {
    grid-template-columns: repeat(3, 1fr);
  }
  .row-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 14px 18px 24px;
  }
  .grid-arrow { display: none; }
  .qa-panel {
    grid-template-columns: 1fr;
    margin: 14px 18px 0;
    padding: 22px;
  }
  .featured-model {
    grid-template-columns: 1fr;
    margin: 14px 18px 0;
    padding: 22px;
  }
  .fm-marquee {
    grid-template-columns: repeat(4, 1fr);
  }
  .fm-title {
    font-size: 30px;
  }
  .fm-highlight {
    font-size: 34px;
  }
  .sd-banner {
    height: auto;
    padding: 40px 0;
  }
  .sd-inner {
    padding: 0 22px;
  }
  .cat-section {
    margin: 14px 18px 0;
  }
  .cat-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .char-banner {
    padding: 36px 0;
    min-height: auto;
  }
  .char-inner {
    grid-template-columns: 1fr;
    padding: 0 22px;
    gap: 30px;
    text-align: center;
  }
  .char-content {
    align-items: center;
  }
  .char-title {
    font-size: 32px;
  }
  .char-highlight {
    font-size: 40px;
  }
  .char-gallery {
    flex-wrap: wrap;
  }
  .char-card {
    width: 140px;
    height: 200px;
  }
  .char-card-3 {
    width: 160px;
    height: 230px;
  }
  .sd-title {
    font-size: 32px;
  }
  .sd-highlight {
    font-size: 42px;
  }
  .sd-stats {
    gap: 18px;
  }
  .qa-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .qa-heading {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .row-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .promo-title {
    font-size: 32px;
  }
  .hero-card-title {
    font-size: 22px;
  }
  .lang-btn span,
  .brand-icon { display: none; }
}
