﻿:root {
  --bg: #fafafa;
  --panel: #ffffff;
  --text: #111111;
  --muted: #6b6b6b;
  --line: #dbdbdb;
  --accent: #0095f6;
  --accent-dark: #0077c7;
  --shadow: 0 10px 28px rgba(17, 24, 39, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, #ffe4f1 0%, transparent 32%),
    radial-gradient(circle at 85% 120%, #fde6d8 0%, transparent 30%),
    var(--bg);
  min-height: 100vh;
}

body[data-platform="facebook"] {
  --accent: #1877f2;
  --accent-dark: #145cc0;
  background:
    radial-gradient(circle at 12% -10%, rgba(24, 119, 242, 0.18) 0%, transparent 34%),
    radial-gradient(circle at 88% 110%, rgba(9, 30, 66, 0.14) 0%, transparent 28%),
    #f4f7ff;
}

body[data-platform="youtube"] {
  --accent: #ff0033;
  --accent-dark: #cb0029;
  background:
    radial-gradient(circle at 12% -10%, rgba(255, 0, 51, 0.14) 0%, transparent 32%),
    radial-gradient(circle at 86% 108%, rgba(35, 35, 35, 0.12) 0%, transparent 30%),
    #fff8f8;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbarInner {
  width: min(1160px, 94vw);
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brandIcon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.16);
}

.brandIcon img {
  width: 100%;
  height: 100%;
  display: block;
}

.brandCopy {
  display: grid;
  gap: 3px;
}

.brandText {
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.brandTag {
  font-size: 0.78rem;
  color: var(--muted);
}

.topbarNav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.navDropdown {
  position: relative;
}

.navDropdownButton {
  border: 0;
  background: transparent;
  color: #2a2a2a;
  font: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.navDropdownButton:hover {
  background: #f7f7f9;
}

.navCaret {
  font-size: 1rem;
  line-height: 1;
}

.navDropdownMenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 290px;
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(16, 24, 40, 0.14);
  padding: 8px;
  display: none;
}

.navDropdownMenu.isOpen {
  display: grid;
}

.navDropdownMenu a {
  text-decoration: none;
  color: #202020;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.96rem;
}

.navDropdownMenu a:hover,
.navDropdownMenu a.isActive {
  background: #f4f5f7;
}

.hero {
  position: relative;
  overflow: hidden;
}

.heroAccent {
  position: absolute;
  inset: auto -10% -60% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 65%);
  pointer-events: none;
}

.heroPlatforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.heroPlatformChip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  color: #3e3e3e;
}

.container {
  width: min(1080px, 94vw);
  margin: 24px auto 28px;
  display: grid;
  gap: 22px;
}

.hero,
.pageHero {
  background: linear-gradient(120deg, #ffffff 0%, #fff4f9 45%, #fff 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero h1,
.pageHero h1 {
  margin: 8px 0;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.15;
}

.badge {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff0f7, #fff0e8);
  color: #b22463;
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid #ffd3e9;
}

.subtext,
.modeNote {
  margin: 0;
  color: var(--muted);
}

.modeNote {
  margin-top: 10px;
  font-size: 0.9rem;
}

.panel,
.pageCard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.inputRow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #deefff;
}

button {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #f58529, #dd2a7b 46%, #8134af, #515bd4);
  color: #fff;
}

.status {
  min-height: 24px;
  margin: 12px 0 4px;
  font-weight: 500;
  color: var(--muted);
}

.grid {
  margin-top: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-items: center;
}

.phoneCard {
  width: 100%;
  display: grid;
  place-items: center;
}

.iphone {
  width: 290px;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #1a1a1a, #3f3f42 45%, #19191a);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.25);
  position: relative;
}

.notch {
  width: 130px;
  height: 24px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background: #0f0f10;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.screen {
  background: #fff;
  border-radius: 30px;
  border: 1px solid #272729;
  overflow: hidden;
  position: relative;
}

.loadingScreen {
  min-height: 560px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffffff, #f7f8fb);
}

.loaderWrap {
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.loaderWrap p {
  margin: 0;
}

.loader,
.downloadSpinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.38);
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

.loader {
  width: 44px;
  height: 44px;
  border-width: 4px;
  border-color: #d6eaff;
  border-top-color: var(--accent);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.cardHeader {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 34px 10px 10px;
  border-bottom: 1px solid #efefef;
}

.avatar,
.profileAvatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  overflow: hidden;
}

.profileAvatar {
  width: 96px;
  height: 96px;
  font-size: 2rem;
}

.avatar img,
.profileAvatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ownerName,
.ownerMeta,
.type {
  margin: 0;
}

.ownerName {
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ownerMeta {
  color: var(--muted);
  font-size: 0.74rem;
}

.verified {
  font-size: 0.64rem;
  background: #e6f3ff;
  color: #0077c7;
  border-radius: 999px;
  padding: 2px 7px;
  font-weight: 700;
}

.media {
  width: 100%;
  background: #000;
  position: relative;
}

.media-video {
  aspect-ratio: 9 / 16;
}

.media-image {
  aspect-ratio: 1 / 1;
}

.media img,
.media video {
  width: 100%;
  height: 100%;
  display: block;
}

.media img {
  object-fit: cover;
}

.media video {
  object-fit: contain;
}

.audioToggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.audioToggle:hover {
  background: rgba(17, 17, 17, 0.95);
}

.meta {
  padding: 10px;
  display: grid;
  gap: 8px;
}

.type {
  color: var(--muted);
  font-size: 0.76rem;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.leftActions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.iconBtn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f5f5f5;
  border: 1px solid #ececec;
  font-size: 0.84rem;
}

.download,
.loadMoreBtn {
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  padding: 7px 14px;
  min-width: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.downloadSpinner {
  display: none;
}

.download.isLoading .downloadSpinner,
.loadMoreBtn.isLoading .downloadSpinner {
  display: inline-block;
}

.download.isLoading,
.loadMoreBtn.isLoading {
  pointer-events: none;
  opacity: 0.95;
}

.profileShell {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profileHeaderWrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 24px;
  align-items: start;
}

.profileHeaderMeta h2,
.profileFullname,
.profileBio {
  margin: 0;
}

.profileTitleRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.profileTitleRow h2 {
  font-size: 1.4rem;
}

.profileStatsRow {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: #333;
}

.profileStatsRow strong {
  color: #111;
}

.profileFullname {
  font-weight: 700;
  margin-bottom: 6px;
}

.profileBio {
  color: var(--muted);
  line-height: 1.7;
  white-space: pre-line;
}

.profileTabs {
  display: flex;
  gap: 10px;
  padding: 0 24px 18px;
  border-bottom: 1px solid #efefef;
}

.profileTab {
  background: #f5f6f8;
  color: #242424;
  padding: 10px 16px;
}

.profileTab.isActive {
  background: linear-gradient(135deg, #f58529, #dd2a7b 46%, #8134af, #515bd4);
  color: #fff;
}

.profilePanel {
  display: none;
  padding: 24px;
}

.profilePanel.isActive {
  display: block;
}

.profileMediaGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.profileMediaCard {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  overflow: hidden;
}

.profileMediaThumbWrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f3f3f3;
}

.profileMediaThumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profileMediaBadge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.profileMediaMeta {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profileMediaMeta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.loadMoreWrap {
  padding: 0 24px 24px;
  display: flex;
  justify-content: center;
}

.emptyState {
  margin: 0;
  color: var(--muted);
}

.platformLoader,
.socialCard,
.youtubeCard {
  width: min(920px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.platformLoader {
  min-height: 360px;
  display: grid;
  place-items: center;
}

.socialCard-facebook {
  border-color: #d9e5ff;
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
}

.socialHeader {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px 16px;
}

.socialAvatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef3ff;
  border: 1px solid #d7e4ff;
}

.socialAvatar img,
.youtubeBadge {
  width: 100%;
  height: 100%;
  display: block;
}

.socialMeta h3,
.youtubeMeta h3 {
  margin: 4px 0 0;
  font-size: 1.2rem;
  line-height: 1.35;
}

.socialMeta p,
.youtubeMeta p,
.qualityHeading,
.youtubeQualityMeta,
.youtubeChannelRow {
  margin: 0;
  color: var(--muted);
}

.socialPlatform {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-dark);
}

.socialMediaFrame {
  margin: 0 24px;
  border-radius: 18px;
  overflow: hidden;
  background: #0f172a;
}

.socialMediaFrame video {
  display: block;
  width: 100%;
  max-height: 560px;
  background: #000;
}

.socialMediaFrame img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  background: #fff;
}

.qualitySection {
  padding: 20px 24px 24px;
  display: grid;
  gap: 12px;
}

.qualityRow,
.youtubeQualityGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.qualityDownload {
  width: 100%;
}

.youtubeCard {
  padding: 24px;
  display: grid;
  gap: 22px;
  background: linear-gradient(180deg, #ffffff, #fff6f7);
}

.youtubePreview {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 22px;
  align-items: start;
}

.youtubeThumbWrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
}

.youtubeCard-short .youtubeThumbWrap {
  aspect-ratio: 9 / 16;
  max-width: 340px;
}

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

.youtubeDuration,
.youtubePlay {
  position: absolute;
  z-index: 2;
}

.youtubeDuration {
  right: 12px;
  bottom: 12px;
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.86);
  color: #fff;
  padding: 5px 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.youtubePlay {
  left: 16px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.88);
  color: #ff0033;
  font-size: 1.1rem;
  font-weight: 700;
}

.youtubeMeta {
  display: grid;
  gap: 12px;
  align-content: start;
}

.youtubeChannelRow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}

.youtubeBadge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.youtubeQualityCard {
  border: 1px solid #ffd6de;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.youtubeQualityTop {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.youtubeDownloadPanel {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #ffd6de;
  border-radius: 18px;
  background: #fff;
}

.youtubeSelectLabel {
  font-size: 0.88rem;
  font-weight: 700;
  color: #3a3a3a;
}

.youtubeQualitySelect {
  width: 100%;
  border: 1px solid #ffd6de;
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
  color: #151515;
  outline: none;
}

.youtubeQualitySelect:focus {
  border-color: #ff5a79;
  box-shadow: 0 0 0 3px rgba(255, 0, 51, 0.1);
}

.youtubeSelectedMeta {
  display: grid;
  gap: 6px;
}

.youtubePrimaryDownload {
  width: 100%;
  min-height: 48px;
}

.seoSection,
.pageContentWrap {
  display: grid;
  gap: 18px;
}

.seoIntro,
.seoCard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.seoIntro {
  padding: 24px;
  background: linear-gradient(140deg, #ffffff 0%, #fff8fb 52%, #fff4ec 100%);
}

.seoIntro h2 {
  margin: 8px 0 14px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.18;
}

.seoIntro p,
.seoCard p,
.seoCard li,
.pageCard p,
.pageCard li {
  color: #3d3d3d;
  line-height: 1.75;
}

.seoEyebrow {
  margin: 0;
  color: #b22463;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.seoGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.seoCard,
.pageCard {
  padding: 22px;
}

.seoCard h3,
.pageCard h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.35;
}

.seoCard h4 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.seoList,
.seoSteps {
  margin: 12px 0 0;
  padding-left: 20px;
}

.seoList li,
.seoSteps li {
  margin-bottom: 8px;
}

.featureGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.featureGrid > div,
.faqItem {
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #fbfbfd);
  border: 1px solid #eeeeee;
}

.faqList {
  display: grid;
  gap: 14px;
}

.faqItem h4 {
  margin-bottom: 6px;
}

.disclaimerCard {
  background: linear-gradient(180deg, #fff, #fffaf5);
}

.footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footerInner {
  width: min(1080px, 94vw);
  margin: 0 auto;
  padding: 28px 0 32px;
}

.footerInnerStack {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
}

.footerNav {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.footerNav a {
  color: #2f2f2f;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.footerNav a:hover {
  text-decoration: underline;
}

.footerDisclaimer {
  margin: 4px 0 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #202020;
}

.footerCopyright,
.footerBottomText {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footerBottomText {
  max-width: 760px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .seoGrid,
  .featureGrid,
  .profileHeaderWrap,
  .youtubePreview {
    grid-template-columns: 1fr;
  }

  .profileHeaderWrap {
    justify-items: start;
  }

  .footerNav {
    grid-template-columns: repeat(3, 1fr);
  }

  .youtubeCard-short .youtubeThumbWrap {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .topbarInner {
    height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .topbarNav,
  .navDropdown,
  .navDropdownButton,
  .navDropdownMenu {
    width: 100%;
  }

  .navDropdownMenu {
    min-width: 0;
    position: static;
    margin-top: 10px;
  }

  .brandText {
    font-size: 1.25rem;
  }

  .brandTag {
    font-size: 0.72rem;
  }

  .container {
    width: min(520px, 96vw);
    margin: 18px auto;
  }

  .hero,
  .pageHero,
  .panel,
  .seoIntro,
  .seoCard,
  .pageCard,
  .profileHeaderWrap,
  .profilePanel,
  .youtubeCard {
    padding: 16px;
  }

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

  button {
    width: 100%;
  }

  .grid,
  .seoGrid,
  .featureGrid,
  .profileMediaGrid,
  .footerNav,
  .qualityRow,
  .youtubeQualityGrid {
    grid-template-columns: 1fr;
  }

  .profileTabs {
    padding: 0 16px 16px;
    flex-direction: column;
  }

  .loadMoreWrap {
    padding: 0 16px 16px;
  }

  .socialHeader,
  .qualitySection {
    padding-left: 16px;
    padding-right: 16px;
  }

  .socialMediaFrame {
    margin: 0 16px;
  }
}
