@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap";
/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg-primary: #050505;
  --bg-secondary: #0d0d12;
  --bg-card: #111118;
  --bg-card-hover: #16161e;
  --bg-elevated: #1a1a24;
  --bg-input: #13131b;
  --border: #1e1e2a;
  --border-active: #3ddc84;
  --text-primary: #f0f0f5;
  --text-secondary: #9494a8;
  --text-muted: #5a5a72;
  --accent: #3ddc84;
  --accent-glow: #3ddc8426;
  --accent-dim: #2db86a;
  --accent-gradient: linear-gradient(135deg, #3ddc84 0%, #00bfa5 100%);
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px #0000004d;
  --shadow-md: 0 4px 20px #0006;
  --shadow-lg: 0 8px 40px #00000080;
  --shadow-glow: 0 0 30px #3ddc841a;
  --transition-fast: .15s cubic-bezier(.4, 0, .2, 1);
  --transition-normal: .25s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: .4s cubic-bezier(.4, 0, .2, 1);
}

:root[data-theme="ios"] {
  --accent: #007aff;
  --accent-glow: #007aff26;
  --accent-dim: #0062cc;
  --accent-gradient: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
  --border-active: #007aff;
  --shadow-glow: 0 0 30px #007aff1a;
}

:root[data-mode="light"] {
  --bg-primary: #f5f5f7;
  --bg-secondary: #ebebf0;
  --bg-card: #fff;
  --bg-card-hover: #f8f8fa;
  --bg-elevated: #fff;
  --bg-input: #e8e8ed;
  --border: #d1d1d6;
  --border-active: #3ddc84;
  --text-primary: #1c1c1e;
  --text-secondary: #636366;
  --text-muted: #8e8e93;
  --shadow-sm: 0 1px 4px #0000000f;
  --shadow-md: 0 4px 12px #00000014;
  --shadow-lg: 0 8px 30px #0000001a;
  --shadow-glow: 0 0 20px #3ddc8414;
  --navbar-bg: #f5f5f7d9;
}

.vip-navbar-badge {
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 4px;
  margin-right: 12px;
  padding: 4px 10px;
  font-size: .7rem;
  font-weight: 800;
  animation: .5s ease-out fade-in;
  display: inline-flex;
  box-shadow: 0 2px 5px #0000001a;
}

.vip-star {
  margin-right: 2px;
  font-size: .9em;
}

.vip-badge-bronze {
  color: #fff;
  background: linear-gradient(135deg, #e6ac78 0%, #cd7f32 100%);
  border: 1px solid #b06b28;
}

.vip-badge-silver {
  color: #555;
  background: linear-gradient(135deg, #e0e0e0 0%, silver 100%);
  border: 1px solid #a0a0a0;
}

.vip-badge-gold {
  color: #925f08;
  background: linear-gradient(135deg, gold 0%, #fdb931 100%) 0 0 / 200%;
  border: 1px solid #d4af37;
  animation: 3s linear infinite shine;
  box-shadow: 0 0 10px #ffd70066;
}

.vip-badge-platinum {
  color: #333;
  background: linear-gradient(135deg, #e5e4e2 0%, #b0b0b0 50%, #e5e4e2 100%) 0 0 / 200%;
  border: 1px solid #999;
  animation: 4s linear infinite shine;
  box-shadow: 0 0 12px #e5e4e280;
}

@keyframes shine {
  to {
    background-position: 200%;
  }
}

.vip-avatar-frame {
  background: linear-gradient(135deg, gold, #fdb931) padding-box padding-box;
  border: 2px solid #0000;
  border-radius: 50%;
  padding: 2px;
  animation: 2s ease-in-out infinite pulse-gold;
  position: relative;
  box-shadow: 0 0 8px #ffd70099;
}

@keyframes pulse-gold {
  0% {
    box-shadow: 0 0 5px #ffd70066;
  }

  50% {
    box-shadow: 0 0 12px #ffd700cc;
  }

  100% {
    box-shadow: 0 0 5px #ffd70066;
  }
}

:root[data-mode="light"][data-theme="ios"] {
  --shadow-glow: 0 0 20px #007aff14;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  line-height: 1.6;
}

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

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

.navbar {
  z-index: 100;
  background: var(--navbar-bg, #050505d9);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 0;
}

.navbar-inner {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1400px;
  height: 64px;
  margin: 0 auto;
  display: flex;
}

.navbar-brand {
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  font-family: Outfit, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
}

.navbar-brand .brand-icon {
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  box-shadow: var(--shadow-glow);
  justify-content: center;
  align-items: center;
  font-size: 18px;
  display: flex;
}

.navbar-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.navbar-search input {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  width: 100%;
  color: var(--text-primary);
  transition: all var(--transition-normal);
  outline: none;
  padding: 10px 16px 10px 42px;
  font-family: Inter, sans-serif;
  font-size: .9rem;
}

.navbar-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg-elevated);
}

.navbar-search input::placeholder {
  color: var(--text-muted);
}

.navbar-search .search-icon {
  color: var(--text-muted);
  pointer-events: none;
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
}

.navbar-links {
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  display: flex;
}

.navbar-links a {
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 500;
}

.navbar-links a:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.navbar-links a.active {
  color: var(--accent);
  background: var(--accent-glow);
}

.hero {
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, #3ddc8414 0%, #0000 70%);
  width: 800px;
  height: 800px;
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
}

.hero h1 {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 16px;
  font-family: Outfit, sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
}

.hero-search {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.hero-search input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  color: var(--text-primary);
  transition: all var(--transition-normal);
  outline: none;
  padding: 18px 24px 18px 54px;
  font-family: Inter, sans-serif;
  font-size: 1.05rem;
}

.hero-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow-glow);
}

.hero-search input::placeholder {
  color: var(--text-muted);
}

.hero-search .search-icon {
  color: var(--text-muted);
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.hero-search button {
  background: var(--accent-gradient);
  border-radius: var(--radius-md);
  color: #000;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  padding: 10px 24px;
  font-size: .9rem;
  font-weight: 600;
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
}

.hero-search button:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-50%)scale(1.03);
}

.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
}

.section-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  display: flex;
}

.section-header h2 {
  font-family: Outfit, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.section-header a {
  color: var(--accent);
  transition: color var(--transition-fast);
  font-size: .85rem;
  font-weight: 500;
}

.section-header a:hover {
  color: var(--accent-dim);
}

.ios-section-header {
  margin-bottom: 16px;
  padding: 0 4px;
}

.ios-section-header h2 {
  letter-spacing: -.5px;
  font-size: 1.4rem;
}

.see-all-link {
  color: #007aff !important;
  font-size: .95rem !important;
}

.app-grid {
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 20px;
  display: grid;
}

.app-row-scroll {
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 16px;
  padding: 4px 4px 16px;
  display: flex;
  overflow-x: auto;
}

.app-row-scroll::-webkit-scrollbar {
  display: none;
}

.app-row-card {
  scroll-snap-align: start;
  color: #fff;
  background: #1c1c1e;
  border-radius: 16px;
  align-items: center;
  gap: 16px;
  min-width: 320px;
  padding: 12px;
  text-decoration: none;
  transition: transform .2s;
  display: flex;
  box-shadow: 0 4px 12px #0003;
}

.app-row-card:active {
  transform: scale(.98);
}

.app-row-icon {
  object-fit: cover;
  background: #333;
  border-radius: 14px;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  box-shadow: 0 2px 8px #0003;
}

.app-row-info {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  min-width: 0;
  display: flex;
}

.app-row-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #fff;
  margin-bottom: 4px;
  font-size: 1.05rem;
  font-weight: 600;
  overflow: hidden;
}

.app-row-meta {
  color: #8e8e93;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .85rem;
  overflow: hidden;
}

.app-row-action {
  color: #007aff;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: #007aff26;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 700;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-align: center;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.app-card:before {
  content: "";
  opacity: 0;
  transition: opacity var(--transition-normal);
  background: linear-gradient(135deg, #3ddc8408, #0000);
  position: absolute;
  inset: 0;
}

.app-card:hover {
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: #3ddc844d;
  transform: translateY(-4px);
}

.app-card:hover:before {
  opacity: 1;
}

.app-card-icon {
  border-radius: var(--radius-md);
  object-fit: cover;
  width: 72px;
  height: 72px;
  box-shadow: var(--shadow-sm);
  z-index: 1;
  margin-bottom: 12px;
  position: relative;
}

.app-card-title {
  line-clamp: 2;
  -webkit-line-clamp: 2;
  z-index: 1;
  -webkit-box-orient: vertical;
  margin-bottom: 4px;
  font-size: .85rem;
  font-weight: 600;
  display: -webkit-box;
  position: relative;
  overflow: hidden;
}

.app-card-dev {
  color: var(--text-muted);
  line-clamp: 1;
  -webkit-line-clamp: 1;
  z-index: 1;
  -webkit-box-orient: vertical;
  margin-bottom: 8px;
  font-size: .75rem;
  display: -webkit-box;
  position: relative;
  overflow: hidden;
}

.app-card-rating {
  color: var(--text-secondary);
  z-index: 1;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  display: flex;
  position: relative;
}

.app-card-rating .stars {
  color: #f59e0b;
}

.featured-scroll {
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 16px;
  padding-bottom: 12px;
  display: flex;
  overflow-x: auto;
}

.featured-scroll::-webkit-scrollbar {
  display: none;
}

.featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
  min-width: 300px;
  transition: all var(--transition-normal);
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  gap: 16px;
  padding: 20px;
  display: flex;
}

.featured-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #3ddc844d;
  transform: translateY(-2px);
}

.featured-card-icon {
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.featured-card-info h3 {
  margin-bottom: 4px;
  font-size: .95rem;
  font-weight: 600;
}

.featured-card-info p {
  color: var(--text-secondary);
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: .8rem;
  display: -webkit-box;
  overflow: hidden;
}

.featured-card-info .meta {
  color: var(--text-muted);
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: .75rem;
  display: flex;
}

.category-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  display: grid;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  display: flex;
}

.category-card:hover {
  background: var(--bg-card-hover);
  border-color: #3ddc844d;
}

.category-card .cat-icon {
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  display: flex;
}

.category-card .cat-name {
  font-size: .9rem;
  font-weight: 500;
}

.app-detail {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 24px;
}

.app-detail-header {
  text-align: center;
  border: 1px solid #ffffff0d;
  border-radius: 32px;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  padding: 40px 24px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.app-header-bg {
  filter: blur(25px) brightness(.85) saturate(1.4);
  z-index: 1;
  background-color: #16213e;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(1.2);
}

.app-header-overlay {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(#00000026 0%, #00000073 60%, #0009 100%);
  position: absolute;
  inset: 0;
}

.app-detail-header > :not(.app-header-bg):not(.app-header-overlay) {
  z-index: 2;
  position: relative;
}

.app-detail-icon {
  object-fit: cover;
  border: 1px solid #ffffff1a;
  border-radius: 28px;
  width: 128px;
  height: 128px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px #0006;
}

.app-detail-meta h1 {
  letter-spacing: -.02em;
  text-shadow: 0 4px 12px #0000004d;
  margin-bottom: 8px;
  font-family: Outfit, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
}

.app-detail-meta .developer {
  color: var(--accent);
  margin-bottom: 8px;
  font-size: .95rem;
  font-weight: 500;
}

.app-detail-meta .stats {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  display: flex;
}

.stat-badge {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  color: #ffffffe6;
  background: #ffffff1a;
  border: 1px solid #ffffff1a;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: .85rem;
  font-weight: 500;
  display: flex;
}

.stat-badge .stars {
  color: #f59e0b;
}

.app-hero-card {
  border: 1px solid #ffffff1a;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px #0000004d;
  text-align: left !important;
  background: var(--bg-card) !important;
  flex-direction: row !important;
  align-items: center !important;
  padding: 48px 40px 60px !important;
}

.app-header-bg {
  filter: blur(40px) brightness(.7) saturate(1.8);
  z-index: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  transition: all .5s;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(1.2);
}

.app-header-overlay {
  background: linear-gradient(to bottom, transparent 0%, var(--bg-primary) 100%);
  z-index: 1;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.hero-content-row {
  z-index: 2;
  perspective: 1000px;
  align-items: center;
  gap: 36px;
  width: 100%;
  display: flex;
  position: relative;
}

.app-icon-wrapper {
  width: 140px;
  height: 140px;
  transform-style: preserve-3d;
  border-radius: 32px;
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(.175, .885, .32, 1.275);
  position: relative;
}

.app-icon-wrapper:after {
  content: "";
  background: inherit;
  filter: blur(20px);
  opacity: .5;
  z-index: -1;
  border-radius: inherit;
  transition: opacity .4s;
  position: absolute;
  inset: -10px;
}

.app-icon-wrapper:hover {
  transform: translateY(-8px)rotateX(10deg)rotateY(-10deg);
}

.app-icon-wrapper:hover:after {
  opacity: .8;
}

.app-hero-card .app-detail-icon {
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-md);
  object-fit: cover;
  border: none;
  border-radius: 32px;
  margin-bottom: 0;
}

.hero-info {
  flex: 1;
  min-width: 0;
}

.hero-title {
  letter-spacing: -.02em;
  color: var(--text-primary);
  margin: 0 0 4px;
  font-family: Outfit, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-developer {
  color: var(--text-primary);
  opacity: .8;
  margin-bottom: 12px;
  font-size: .95rem;
  font-weight: 500;
}

.hero-badges {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  display: flex;
}

.hero-download-btn {
  color: #fff;
  cursor: pointer;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: #007aff;
  border: none;
  border-radius: 20px;
  align-items: center;
  gap: 8px;
  padding: 8px 28px;
  font-size: .95rem;
  font-weight: 700;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
  display: inline-flex;
  box-shadow: 0 4px 16px #007aff66;
}

.hero-download-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 6px 24px #007aff80;
}

.hero-download-btn:active:not(:disabled) {
  transform: scale(.97);
}

.hero-download-btn.preparing, .hero-download-btn.done {
  pointer-events: none;
  justify-content: center;
  min-width: 80px;
}

.hero-dl-spinner {
  border: 2.5px solid #ffffff4d;
  border-top-color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: .7s linear infinite spin;
}

.hero-share-btn {
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  z-index: 10;
  background: #ffffff1f;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: all .2s;
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
}

.hero-share-btn:hover {
  background: #ffffff38;
  transform: scale(1.08);
}

.qi-wrapper {
  z-index: 10;
  margin-top: -35px;
  margin-bottom: 32px;
  padding: 0 16px;
  position: relative;
}

.quick-info-strip {
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--border);
  border-radius: 24px;
  justify-content: space-around;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 24px 16px;
  display: flex;
  box-shadow: 0 12px 32px #00000026;
}

.qi-item {
  text-align: center;
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  transition: transform .2s;
  display: flex;
}

.qi-item:hover {
  transform: translateY(-2px);
}

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

.qi-value {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.3rem;
  font-weight: 800;
}

.qi-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: .75rem;
  font-weight: 600;
}

.qi-sub {
  color: var(--text-muted);
  margin-top: 1px;
  font-size: .7rem;
}

.qi-stars {
  gap: 1px;
  font-size: .7rem;
  display: flex;
}

.star-full {
  color: #ff9500;
}

.star-half {
  color: #ff9500;
  opacity: .6;
}

.star-empty {
  color: var(--text-muted);
  opacity: .4;
}

.qi-divider {
  background: linear-gradient(#0000, #ffffff1a, #0000);
  flex-shrink: 0;
  align-self: stretch;
  width: 1px;
}

.detail-section {
  opacity: 0;
  transition: opacity .5s, transform .5s;
  transform: translateY(20px);
}

.detail-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  letter-spacing: -.01em;
  margin-bottom: 20px;
  font-family: Outfit, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin-bottom: 0;
  overflow: hidden;
}

.detail-card-header {
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 0;
  display: flex;
}

.detail-card-header h2 {
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.detail-card-meta {
  color: var(--text-secondary);
  font-size: .85rem;
  font-weight: 500;
}

.detail-card-body {
  padding: 16px 24px 24px;
}

.whats-new-content {
  color: var(--text-secondary);
  font-size: .93rem;
  line-height: 1.6;
}

.read-more-btn {
  color: #007aff;
  cursor: pointer;
  background: none;
  border: none;
  margin-top: 4px;
  padding: 8px 0;
  font-size: .9rem;
  font-weight: 600;
  transition: opacity .2s;
}

.read-more-btn:hover {
  opacity: .7;
}

.info-cards-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  display: grid;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: left;
  border-radius: 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  transition: all .3s cubic-bezier(.25, .8, .25, 1);
  display: flex;
  position: relative;
  overflow: hidden;
}

.info-card:before {
  content: "";
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, -20%), #ffffff0f, transparent 40%);
  opacity: 0;
  pointer-events: none;
  height: 100%;
  transition: opacity .5s;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.info-card:hover {
  background: var(--bg-card-hover);
  border-color: #007aff4d;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px #00000026, 0 0 0 1px #007aff1a;
}

.info-card:hover:before {
  opacity: 1;
}

.info-card-icon {
  margin-bottom: 2px;
  font-size: 1.4rem;
}

.info-card-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: .72rem;
  font-weight: 600;
}

.info-card-value {
  color: var(--text-primary);
  word-break: break-all;
  font-size: .88rem;
  font-weight: 600;
}

.info-card-value.monospace {
  font-family: SF Mono, Fira Code, monospace;
}

.copy-btn-inline {
  cursor: pointer;
  color: var(--text-muted);
  opacity: .6;
  vertical-align: middle;
  background: none;
  border: none;
  margin-left: 4px;
  padding: 2px;
  transition: opacity .2s;
  display: inline-flex;
}

.copy-btn-inline:hover {
  opacity: 1;
  color: #007aff;
}

.floating-download-bar {
  z-index: 1000;
  pointer-events: none;
  transition: bottom .4s cubic-bezier(.34, 1.56, .64, 1);
  position: fixed;
  bottom: -80px;
  left: 0;
  right: 0;
}

.floating-download-bar.visible {
  pointer-events: auto;
  bottom: 24px;
}

.fdb-inner {
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  backdrop-filter: blur(20px) saturate(1.8);
  background: #1c1c1eeb;
  border: 1px solid #ffffff1a;
  border-radius: 20px;
  align-items: center;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  box-shadow: 0 8px 40px #0006;
}

.fdb-icon {
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
}

.fdb-info {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.fdb-title {
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .9rem;
  font-weight: 600;
  overflow: hidden;
}

.fdb-sub {
  color: #ffffff80;
  font-size: .75rem;
}

.fdb-btn {
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: #007aff;
  border: none;
  border-radius: 18px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  min-width: 70px;
  padding: 8px 24px;
  font-size: .88rem;
  font-weight: 700;
  transition: all .2s;
  display: flex;
}

.fdb-btn:hover:not(:disabled) {
  background: #0a84ff;
  transform: scale(1.05);
}

.fdb-btn.done {
  background: #34c759;
}

@media (max-width: 700px) {
  .app-hero-card {
    text-align: center !important;
    flex-direction: column !important;
    padding: 32px 20px !important;
  }

  .hero-content-row {
    text-align: center;
    flex-direction: column;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-share-btn {
    margin-top: 8px;
    position: relative;
  }

  .app-detail-icon {
    margin-bottom: 0 !important;
  }

  .quick-info-strip {
    border-radius: 16px;
    gap: 0;
    padding: 16px 4px;
  }

  .qi-value {
    font-size: .95rem;
  }

  .qi-label {
    color: var(--text-secondary);
    font-size: .65rem;
  }

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

  .floating-download-bar.visible {
    bottom: 16px;
  }

  .fdb-inner {
    margin: 0 16px;
  }
}

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

  .hero-title {
    font-size: 1.4rem;
  }
}

.screenshots-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 12px;
  display: flex;
  overflow-x: auto;
}

.screenshots-scroll::-webkit-scrollbar {
  display: none;
}

.screenshots-scroll img {
  border: 1px solid #ffffff1a;
  border-radius: 24px;
  flex-shrink: 0;
  width: auto;
  height: 480px;
  box-shadow: 0 10px 40px #00000080;
}

.download-section {
  margin: 32px 0;
}

.download-section h2 {
  text-align: center;
  margin-bottom: 24px;
  font-family: Outfit, sans-serif;
  font-size: 1.4rem;
}

.download-grid {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  display: flex;
}

.premium-download-btn {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #0a84ff 0%, #5e5ce6 100%);
  border: none;
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  font-family: Inter, sans-serif;
  text-decoration: none;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px #0a84ff40;
}

.premium-download-btn.sign-variant {
  background: var(--bg-input);
  color: var(--accent);
  box-shadow: none;
  border: 1px solid var(--border);
}

.premium-download-btn.sign-variant:hover {
  background: var(--bg-card-hover);
  box-shadow: 0 4px 16px var(--shadow-sm);
}

.dl-btn-bg {
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(135deg, #ffffff26 0%, #0000 50%, #ffffff1a 100%);
  transition: opacity .4s;
  position: absolute;
  inset: 0;
}

.premium-download-btn:hover .dl-btn-bg {
  opacity: 1;
}

.dl-btn-progress {
  transform-origin: 0;
  z-index: 1;
  background: #ffffff26;
  border-radius: 20px;
  transition: transform .3s;
  position: absolute;
  inset: 0;
  transform: scaleX(0);
}

.premium-download-btn.preparing .dl-btn-progress {
  transition: transform 2s;
  transform: scaleX(.7);
}

.premium-download-btn.done .dl-btn-progress {
  background: #fff3;
  transform: scaleX(1);
}

.premium-download-btn.done {
  background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
  box-shadow: 0 8px 24px #34c7594d;
}

.dl-btn-content {
  z-index: 2;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: 16px 24px;
  display: flex;
  position: relative;
}

.dl-btn-icon {
  border-radius: 14px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  font-size: 28px;
  display: flex;
}

.premium-download-btn:not(.sign-variant) .dl-btn-icon {
  color: #fff;
  background: #ffffff26;
}

.premium-download-btn.sign-variant .dl-btn-icon {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.dl-btn-text {
  text-align: left;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  display: flex;
}

.dl-btn-label {
  font-family: Outfit, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.premium-download-btn:not(.sign-variant) .dl-btn-label {
  color: #fff;
}

.premium-download-btn.sign-variant .dl-btn-label {
  color: var(--text-primary);
}

.dl-btn-sub {
  font-size: .8rem;
  font-weight: 500;
}

.premium-download-btn:not(.sign-variant) .dl-btn-sub {
  color: #fffc;
}

.premium-download-btn.sign-variant .dl-btn-sub {
  color: var(--text-secondary);
}

.dl-btn-arrow {
  transition: transform .3s, color .3s;
}

.premium-download-btn:not(.sign-variant) .dl-btn-arrow {
  color: #ffffffb3;
}

.premium-download-btn.sign-variant .dl-btn-arrow {
  color: var(--text-secondary);
}

.premium-download-btn:hover .dl-btn-arrow {
  transform: translateX(4px);
}

.premium-download-btn:not(.sign-variant):hover .dl-btn-arrow {
  color: #fff;
}

.premium-download-btn.sign-variant:hover .dl-btn-arrow {
  color: var(--text-primary);
}

.dl-btn-spinner {
  border: 3px solid #ffffff4d;
  border-top-color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 12px;
  animation: .8s linear infinite spin;
}

.dl-btn-check {
  color: #fff;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  display: flex;
}

.btn {
  color: var(--text-primary);
  border: 1px solid var(--border);
  cursor: pointer;
  background: none;
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: Inter, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  display: inline-flex;
}

.file-input-wrapper {
  transition: all .3s cubic-bezier(.25, .8, .25, 1);
}

.file-input-wrapper:hover {
  transform: translateY(-2px);
  border-color: var(--accent-border-hover) !important;
  background: var(--bg-card-hover) !important;
}

.btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0)scale(.98);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 8px 24px var(--accent-glow);
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-primary:active {
  filter: brightness(.95);
  transform: translateY(0)scale(.98);
}

.search-header-area {
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
  display: flex;
}

.search-hero {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
  display: flex;
}

.search-hero-text {
  flex: 1;
}

.search-source-header {
  align-items: center;
  gap: 16px;
  display: flex;
}

.search-source-icon {
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  box-shadow: 0 2px 8px #0003;
}

.search-input-wrapper {
  width: 100%;
  position: relative;
}

.search-input-wrapper input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  width: 100%;
  color: var(--text-primary);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  border-radius: 16px;
  outline: none;
  padding: 16px 20px 16px 52px;
  font-family: Inter, sans-serif;
  font-size: 1.1rem;
}

.search-input-wrapper input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  background: var(--bg-elevated);
}

.search-input-wrapper .search-icon {
  color: var(--text-muted);
  pointer-events: none;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.search-filters {
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 12px;
  padding-bottom: 4px;
  display: flex;
  overflow-x: auto;
}

.search-filters::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 20px;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: .9rem;
  font-weight: 500;
  display: flex;
}

.filter-pill:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.filter-pill.active {
  color: #007aff;
  background: #007aff1f;
  border-color: #007aff66;
}

.filter-pill-accent {
  text-decoration: none;
  color: #34c759 !important;
  background: #34c7591a !important;
  border-color: #34c7594d !important;
}

.filter-pill-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 12px #34c75926;
  background: #34c75933 !important;
  border-color: #34c75980 !important;
}

.filter-select {
  appearance: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  padding-right: 4px;
}

.app-list {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.app-list-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
  cursor: pointer;
  color: inherit;
  border-radius: 20px;
  align-items: center;
  gap: 16px;
  padding: 16px;
  text-decoration: none;
  display: flex;
}

.app-list-item:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
  border-color: #007aff4d;
  transform: translateY(-2px);
}

.load-more-btn {
  color: #007aff;
  cursor: pointer;
  letter-spacing: .02em;
  background: linear-gradient(135deg, #007aff1f, #5856d614);
  border: 1px solid #007aff40;
  border-radius: 99px;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: .92rem;
  font-weight: 700;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  animation: 2.5s ease-in-out infinite load-more-pulse;
  display: inline-flex;
  position: relative;
}

@keyframes load-more-pulse {
  0%, 100% {
    box-shadow: 0 0 #007aff00;
  }

  50% {
    box-shadow: 0 0 20px 2px #007aff1f;
  }
}

.load-more-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #007aff, #5856d6);
  border-color: #0000;
  animation: none;
  transform: translateY(-2px)scale(1.03);
  box-shadow: 0 6px 24px #007aff59;
}

.load-more-btn:active {
  transform: translateY(0)scale(.98);
}

.load-more-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  animation: none;
  transform: none;
}

.list-item-icon {
  object-fit: cover;
  width: 72px;
  height: 72px;
  box-shadow: var(--shadow-sm);
  background: #333;
  border-radius: 16px;
  flex-shrink: 0;
}

.list-item-info {
  flex: 1;
  min-width: 0;
}

.list-item-title {
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  overflow: hidden;
}

.list-item-meta {
  color: var(--text-secondary);
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: .85rem;
  display: flex;
}

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

.list-item-action {
  color: #007aff;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  background: #007aff1a;
  border-radius: 20px;
  flex-shrink: 0;
  padding: 8px 20px;
  font-size: .9rem;
  font-weight: 700;
}

.app-list-item:hover .list-item-action {
  color: #fff;
  background: #007aff;
  box-shadow: 0 4px 12px #007aff4d;
}

.download-btn .dl-icon {
  flex-shrink: 0;
  font-size: 24px;
}

.download-btn .dl-info {
  flex-direction: column;
  display: flex;
}

.download-btn .dl-label {
  font-size: .9rem;
  font-weight: 600;
}

.download-btn .dl-sub {
  color: #0009;
  font-size: .75rem;
  font-weight: 500;
}

.app-description {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 32px 0;
  padding: 24px;
}

.app-description h2 {
  margin-bottom: 16px;
  font-family: Outfit, sans-serif;
  font-size: 1.3rem;
}

.app-description .desc-content {
  color: var(--text-secondary);
  white-space: pre-wrap;
  font-size: .9rem;
  line-height: 1.7;
}

.app-description .desc-content.collapsed {
  max-height: 200px;
  position: relative;
  overflow: hidden;
}

.app-description .desc-content.collapsed:after {
  content: "";
  background: linear-gradient(transparent, var(--bg-card));
  height: 80px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.read-more-btn {
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: none;
  margin-top: 12px;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 500;
  display: inline-block;
}

.read-more-btn:hover {
  color: var(--accent-dim);
}

.markdown-content {
  color: var(--text-secondary);
  letter-spacing: -.01em;
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.6;
}

.markdown-content p {
  margin-bottom: .6em;
}

.markdown-content p:last-child {
  margin-bottom: 0;
}

.markdown-content strong {
  color: var(--text-primary);
  font-weight: 700;
}

.markdown-content em {
  font-style: italic;
}

.markdown-content ul, .markdown-content ol {
  margin-bottom: .8em;
  padding-left: 1.5em;
}

.markdown-content li {
  margin-bottom: .3em;
}

.markdown-content li::marker {
  color: var(--accent);
}

.markdown-content h1, .markdown-content h2, .markdown-content h3, .markdown-content h4 {
  color: var(--text-primary);
  margin: .8em 0 .4em;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

.markdown-content h1 {
  font-size: 1.3rem;
}

.markdown-content h2 {
  font-size: 1.15rem;
}

.markdown-content h3 {
  font-size: 1.05rem;
}

.markdown-content code {
  background: var(--bg-tertiary);
  border-radius: 6px;
  padding: 2px 6px;
  font-family: SF Mono, Monaco, monospace;
  font-size: .85em;
}

.markdown-content pre {
  background: var(--bg-tertiary);
  border-radius: 12px;
  margin-bottom: .8em;
  padding: 12px 16px;
  overflow-x: auto;
}

.markdown-content pre code {
  background: none;
  padding: 0;
}

.markdown-content a {
  color: var(--accent);
  text-decoration: none;
}

.markdown-content a:hover {
  text-decoration: underline;
}

.markdown-content blockquote {
  border-left: 3px solid var(--accent);
  color: var(--text-muted);
  margin-left: 0;
  padding-left: 16px;
  font-style: italic;
}

.markdown-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1em 0;
}

.search-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
}

.search-page h1 {
  margin-bottom: 24px;
  font-family: Outfit, sans-serif;
  font-size: 1.8rem;
}

.search-page h1 span {
  color: var(--accent);
}

.loading-grid {
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 20px;
  display: grid;
}

.skeleton {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.skeleton:after {
  content: "";
  background: linear-gradient(90deg, #0000 0%, #ffffff08 50%, #0000 100%);
  animation: 1.5s infinite shimmer;
  position: absolute;
  inset: 0;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-card {
  height: 180px;
}

.skeleton-featured {
  min-width: 300px;
  height: 105px;
}

.admin-layout {
  min-height: 100vh;
  display: flex;
}

.admin-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  flex-direction: column;
  flex-shrink: 0;
  width: 260px;
  height: 100vh;
  padding: 24px 0;
  display: flex;
  position: sticky;
  top: 0;
}

.admin-sidebar-brand {
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  padding: 0 20px 20px;
}

.admin-sidebar-brand h2 {
  align-items: center;
  gap: 8px;
  font-family: Outfit, sans-serif;
  font-size: 1.2rem;
  display: flex;
}

.admin-sidebar-brand .badge {
  background: var(--accent-gradient);
  color: #000;
  border-radius: var(--radius-full);
  padding: 2px 8px;
  font-size: .65rem;
  font-weight: 700;
}

.admin-nav {
  flex: 1;
  padding: 0 12px;
}

.admin-nav a {
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
  padding: 10px 16px;
  font-size: .88rem;
  display: flex;
}

.admin-nav a:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.admin-nav a.active {
  background: var(--accent-glow);
  color: var(--accent);
}

.admin-content {
  flex: 1;
  max-width: 1200px;
  padding: 32px;
}

.admin-header {
  margin-bottom: 32px;
}

.admin-header h1 {
  margin-bottom: 4px;
  font-family: Outfit, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.admin-header p {
  color: var(--text-secondary);
  font-size: .9rem;
}

.admin-login {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
  display: flex;
}

.admin-login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  width: 100%;
  max-width: 420px;
  padding: 48px 40px;
}

.admin-login-card h1 {
  margin-bottom: 8px;
  font-family: Outfit, sans-serif;
  font-size: 1.6rem;
}

.admin-login-card p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: .9rem;
}

.admin-login-card .login-icon {
  background: var(--accent-gradient);
  border-radius: var(--radius-md);
  width: 60px;
  height: 60px;
  box-shadow: var(--shadow-glow);
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px;
  font-size: 26px;
  display: flex;
}

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

.form-group label {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: .85rem;
  font-weight: 500;
  display: block;
}

.form-input {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 100%;
  color: var(--text-primary);
  transition: all var(--transition-normal);
  outline: none;
  padding: 12px 16px;
  font-family: Inter, sans-serif;
  font-size: .9rem;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

.btn {
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: 1px solid #0000;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: Inter, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  display: inline-flex;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #000;
  border: none;
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
}

.btn-danger {
  color: var(--danger);
  background: #ef444426;
  border-color: #ef44444d;
}

.btn-danger:hover {
  background: #ef444440;
}

.btn-sm {
  padding: 6px 14px;
  font-size: .8rem;
}

.admin-stat-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
  display: grid;
}

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

.admin-stat-card .stat-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
  font-size: .8rem;
}

.admin-stat-card .stat-value {
  color: var(--accent);
  font-family: Outfit, sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.admin-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-table-header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  display: flex;
}

.admin-table-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.admin-table-row {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-fast);
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  display: flex;
}

.admin-table-row:last-child {
  border-bottom: none;
}

.admin-table-row:hover {
  background: var(--bg-card-hover);
}

.admin-table-row .row-icon {
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.admin-table-row .row-info {
  flex: 1;
  min-width: 0;
}

.admin-table-row .row-title {
  font-size: .9rem;
  font-weight: 500;
}

.admin-table-row .row-sub {
  color: var(--text-muted);
  font-size: .78rem;
}

.admin-table-row .row-actions {
  gap: 8px;
  display: flex;
}

.add-app-form {
  gap: 12px;
  margin-bottom: 20px;
  display: flex;
}

.add-app-form input {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all var(--transition-normal);
  outline: none;
  flex: 1;
  padding: 10px 16px;
  font-family: Inter, sans-serif;
  font-size: .9rem;
}

.add-app-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.home-greeting {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

.greeting-inner {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  display: flex;
}

.greeting-date {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 4px;
  font-size: .85rem;
  font-weight: 600;
}

.greeting-title {
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.1;
}

.greeting-actions {
  flex-shrink: 0;
  gap: 10px;
  display: flex;
}

.action-pill {
  color: #007aff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  background: #007aff14;
  border: 1px solid #007aff33;
  border-radius: 99px;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s;
  display: inline-flex;
}

.action-pill:hover {
  background: #007aff29;
  border-color: #007aff66;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px #007aff26;
}

.action-pill-green {
  color: #34c759;
  background: #34c75914;
  border-color: #34c75933;
}

.action-pill-green:hover {
  background: #34c75929;
  border-color: #34c75966;
  box-shadow: 0 4px 16px #34c75926;
}

.action-pill-icon {
  font-size: 1rem;
}

.action-pill-count {
  color: #007aff;
  background: #007aff33;
  border-radius: 99px;
  justify-content: center;
  align-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: .7rem;
  font-weight: 700;
  display: inline-flex;
}

.home-featured-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.home-main {
  padding-bottom: 120px !important;
}

.home-section {
  opacity: 0;
  margin-bottom: 40px;
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
  transform: translateY(24px);
}

.home-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.home-section-header {
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  padding: 0 4px;
  display: flex;
}

.home-section-header h2 {
  letter-spacing: -.02em;
  margin: 0;
  font-family: Outfit, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
}

.see-all-btn {
  color: #007aff;
  white-space: nowrap;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}

.see-all-btn:hover {
  opacity: .7;
}

.new-updated-scroll {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  flex-direction: column;
  gap: 0;
  display: flex;
  overflow: hidden;
}

.new-card {
  color: var(--text-primary);
  border-bottom: .5px solid var(--border);
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  text-decoration: none;
  transition: background .2s;
  display: flex;
}

.new-card:last-child {
  border-bottom: none;
}

.new-card:hover {
  background: var(--bg-card-hover);
}

.new-card-icon {
  object-fit: cover;
  background: #222;
  border-radius: 13px;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  box-shadow: 0 2px 8px #00000026;
}

.new-card-info {
  flex: 1;
  min-width: 0;
}

.new-card-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 2px;
  font-size: .95rem;
  font-weight: 600;
  overflow: hidden;
}

.new-card-meta {
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .8rem;
  overflow: hidden;
}

.new-card-date {
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: .75rem;
}

.new-card-action {
  color: #007aff;
  text-transform: uppercase;
  letter-spacing: .3px;
  background: #007aff1a;
  border-radius: 99px;
  flex-shrink: 0;
  padding: 6px 16px;
  font-size: .78rem;
  font-weight: 700;
  transition: all .2s;
}

.new-card:hover .new-card-action {
  color: #fff;
  background: #007aff;
}

.top-charts-grid {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 0 24px;
  display: grid;
  overflow: hidden;
}

.chart-row {
  color: var(--text-primary);
  border-bottom: .5px solid var(--border);
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  text-decoration: none;
  transition: background .2s;
  display: flex;
}

.chart-row:hover {
  background: var(--bg-card-hover);
}

.chart-rank {
  color: var(--text-muted);
  text-align: center;
  flex-shrink: 0;
  width: 28px;
  font-family: Outfit, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.chart-icon {
  object-fit: cover;
  background: #222;
  border-radius: 13px;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  box-shadow: 0 2px 8px #00000026;
}

.chart-info {
  flex: 1;
  min-width: 0;
}

.chart-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 2px;
  font-size: .95rem;
  font-weight: 600;
  overflow: hidden;
}

.chart-sub {
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .8rem;
  overflow: hidden;
}

.chart-action {
  color: #007aff;
  text-transform: uppercase;
  letter-spacing: .3px;
  background: #007aff1a;
  border-radius: 99px;
  flex-shrink: 0;
  padding: 6px 16px;
  font-size: .78rem;
  font-weight: 700;
  transition: all .2s;
}

.chart-row:hover .chart-action {
  color: #fff;
  background: #007aff;
}

.browse-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  display: grid;
}

.browse-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 20px;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px 16px;
  text-decoration: none;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  position: relative;
  overflow: hidden;
}

.browse-card:before {
  content: "";
  opacity: 0;
  background: linear-gradient(135deg, #007aff0a, #0000);
  transition: opacity .3s;
  position: absolute;
  inset: 0;
}

.browse-card:hover {
  border-color: #007aff4d;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px #0000004d, 0 0 20px #007aff14;
}

.browse-card:hover:before {
  opacity: 1;
}

.browse-card-icon {
  object-fit: cover;
  z-index: 1;
  border-radius: 20px;
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
  position: relative;
  box-shadow: 0 4px 16px #0003;
}

.browse-card:hover .browse-card-icon {
  transform: scale(1.05);
}

.browse-card-title {
  line-clamp: 2;
  -webkit-line-clamp: 2;
  z-index: 1;
  -webkit-box-orient: vertical;
  margin-bottom: 4px;
  font-size: .85rem;
  font-weight: 600;
  display: -webkit-box;
  position: relative;
  overflow: hidden;
}

.browse-card-meta {
  color: var(--text-muted);
  z-index: 1;
  font-size: .73rem;
  position: relative;
}

.shimmer-block {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: 1.5s ease-in-out infinite shimmer;
}

.shimmer-card {
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  display: flex;
}

@media (max-width: 768px) {
  .home-greeting {
    padding: 20px 16px 0;
  }

  .greeting-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .greeting-title {
    font-size: 1.8rem;
  }

  .greeting-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .home-featured-wrap {
    padding: 16px 0 0;
  }

  .home-featured-wrap .featured-slider {
    border-radius: 0;
  }

  .home-section-header h2 {
    font-size: 1.3rem;
  }

  .top-charts-grid {
    grid-template-columns: 1fr;
  }

  .browse-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .browse-card {
    padding: 14px 8px 12px;
  }

  .browse-card-icon {
    border-radius: 16px;
    width: 64px;
    height: 64px;
  }

  .browse-card-title {
    font-size: .78rem;
  }
}

@media (max-width: 480px) {
  .greeting-title {
    font-size: 1.5rem;
  }

  .action-pill {
    padding: 8px 14px;
    font-size: .75rem;
  }

  .browse-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .browse-card-icon {
    width: 56px;
    height: 56px;
  }
}

:root[data-mode="light"] .home-greeting .greeting-title {
  background: linear-gradient(135deg, #1c1c1e 0%, #636366 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

:root[data-mode="light"] .new-card-icon, :root[data-mode="light"] .chart-icon {
  background: #f0f0f0;
  box-shadow: 0 2px 6px #00000014;
}

:root[data-mode="light"] .browse-card:hover {
  box-shadow: 0 8px 30px #00000014, 0 0 20px #007aff0f;
}

:root[data-mode="light"] .shimmer-block {
  background: linear-gradient(90deg, #ebebf0 25%, #f8f8fa 50%, #ebebf0 75%) 0 0 / 200% 100%;
  animation: 1.5s ease-in-out infinite shimmer;
}

.recent-page-header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  display: flex;
}

.recent-header-text {
  flex: 1;
}

.recent-back-link {
  color: #007aff;
  margin-bottom: 8px;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .2s;
  display: inline-block;
}

.recent-back-link:hover {
  opacity: .7;
}

.recent-title {
  letter-spacing: -.03em;
  margin: 0 0 6px;
  font-family: Outfit, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
}

.recent-subtitle {
  color: var(--text-muted);
  margin: 0;
  font-size: .9rem;
}

.recent-stats {
  flex-shrink: 0;
}

.recent-stat-chip {
  background: #007aff14;
  border: 1px solid #007aff26;
  border-radius: 16px;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  display: flex;
}

.recent-stat-num {
  color: #007aff;
  font-family: Outfit, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.recent-stat-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 2px;
  font-size: .7rem;
  font-weight: 600;
}

.recent-group-count {
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 500;
}

.recent-list-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  flex-direction: column;
  gap: 0;
  display: flex;
  overflow: hidden;
}

.recent-card-badges {
  flex-direction: column;
  flex-shrink: 0;
  align-items: flex-end;
  gap: 4px;
  display: flex;
}

@media (max-width: 768px) {
  .recent-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .recent-title {
    font-size: 1.6rem;
  }

  .recent-stat-chip {
    flex-direction: row;
    gap: 8px;
    padding: 8px 16px;
  }

  .recent-stat-num {
    font-size: 1.2rem;
  }
}

.footer {
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  padding: 40px 24px;
  font-size: .85rem;
}

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

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

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 80px 24px;
}

.empty-state .empty-icon {
  margin-bottom: 16px;
  font-size: 48px;
}

.empty-state h3 {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  padding: 14px 20px;
  font-size: .88rem;
  animation: .3s ease-out slideIn;
  position: fixed;
  bottom: 24px;
  right: 24px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
  display: grid;
}

.info-item {
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #ffffff08;
  border: 1px solid #ffffff0d;
  border-radius: 20px;
  padding: 20px;
}

.info-item .info-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-size: .75rem;
  font-weight: 600;
}

.info-item .info-value {
  color: var(--text-primary);
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .navbar-search, .navbar-links a span {
    display: none;
  }

  .app-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }

  .app-detail-header {
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .app-detail-meta .stats {
    justify-content: center;
  }

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

  .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .admin-sidebar {
    width: 70px;
    padding: 16px 0;
  }

  .admin-sidebar-brand h2 span, .admin-nav a span {
    display: none;
  }

  .admin-content {
    padding: 20px;
  }

  .screenshots-scroll img {
    height: 260px;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .app-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .app-card {
    padding: 12px 8px;
  }

  .app-card-icon {
    width: 56px;
    height: 56px;
  }

  .app-card-title {
    font-size: .78rem;
  }

  .featured-card {
    min-width: 260px;
  }
}

.back-link {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: .85rem;
  display: inline-flex;
}

.back-link:hover {
  color: var(--accent);
}

.category-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
}

.category-page h1 {
  margin-bottom: 8px;
  font-family: Outfit, sans-serif;
  font-size: 1.8rem;
}

.category-page .category-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pagination {
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  display: flex;
}

.pagination button {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 8px 16px;
  font-size: .85rem;
}

.pagination button:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
}

.pagination button.active {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
}

.pagination button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.featured-slider {
  background: #000;
  border: 1px solid #ffffff14;
  border-radius: 24px;
  width: 100%;
  height: 340px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px -10px #0009;
}

.slider-track {
  width: 100%;
  height: 100%;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
  display: flex;
}

.slider-item {
  min-width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.slider-content {
  background: linear-gradient(#0000 0%, #0003 50%, #000c 90%, #000000f2 100%);
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: 40px;
  display: flex;
  position: relative;
}

.slide-bg {
  z-index: 1;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100%;
  transition: transform 6s ease-out;
  position: absolute;
  top: 0;
  left: 0;
}

.slider-item:hover .slide-bg {
  transform: scale(1.05);
}

.slide-info {
  z-index: 10;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: #14141480;
  border: 1px solid #ffffff1a;
  border-radius: 24px;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  position: relative;
  box-shadow: 0 8px 32px #0003;
}

.slide-icon {
  object-fit: cover;
  border: 1px solid #ffffff1a;
  border-radius: 18px;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  box-shadow: 0 4px 20px #0006;
}

.slide-text {
  flex: 1;
}

.slide-text h3 {
  color: #fff;
  letter-spacing: -.02em;
  text-shadow: 0 2px 10px #0000004d;
  margin: 0 0 6px;
  font-family: Outfit, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.slide-text p {
  color: #ffffffd9;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}

.slide-action-btn {
  color: #000;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
  background: #fff;
  border: none;
  border-radius: 99px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  transition: all .2s;
  box-shadow: 0 4px 15px #fff3;
}

.slide-action-btn:hover {
  background: #f0f0f0;
  transform: scale(1.05);
  box-shadow: 0 6px 20px #ffffff4d;
}

.slider-dots {
  z-index: 20;
  gap: 10px;
  display: flex;
  position: absolute;
  bottom: 20px;
  right: 40px;
}

.slider-dots .dot {
  cursor: pointer;
  background: #ffffff4d;
  border: none;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  padding: 0;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 2px 4px #0003;
}

.slider-dots .dot.active {
  background: #fff;
  border-radius: 4px;
  width: 32px;
}

@media (max-width: 768px) {
  .featured-slider {
    border-radius: 0;
    width: auto;
    height: 320px;
    margin: -20px -24px 32px;
  }

  .slide-info {
    text-align: center;
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    backdrop-filter: blur(30px) saturate(180%);
    background: #0a0a0aa6;
    border: 1px solid #ffffff14;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .slide-text h3 {
    font-size: 1.6rem;
  }

  .slide-text p {
    font-size: .95rem;
  }

  .slider-dots {
    bottom: 24px;
    right: 50%;
    transform: translateX(50%);
  }
}

.section-header h2 {
  letter-spacing: -.01em;
  font-family: Outfit, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.app-row-card {
  background: #1c1c1e;
  border: 1px solid #ffffff0d;
  border-radius: 20px;
  min-width: 340px;
  padding: 16px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 12px #0003;
}

.app-row-card:hover {
  background: #252527;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #0000004d;
}

.app-row-icon {
  border-radius: 18px;
  width: 72px;
  height: 72px;
  box-shadow: 0 4px 12px #0003;
}

.app-row-title {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.app-row-meta {
  color: #98989d;
  font-size: .9rem;
}

.app-row-action {
  color: #007aff;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: #007aff1a;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: .8rem;
  font-weight: 700;
  transition: all .2s;
}

.app-row-card:hover .app-row-action {
  color: #fff;
  background: #007aff;
}

.bottom-nav {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 1000;
  background: #1c1c1ef2;
  border-top: .5px solid #ffffff26;
  justify-content: space-around;
  width: 100%;
  height: 83px;
  padding-bottom: 20px;
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  box-shadow: 0 -2px 10px #0000004d;
}

.bottom-nav-item {
  color: #999;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: .65rem;
  display: flex;
}

.bottom-nav-item.active {
  color: #007aff;
}

.nav-icon {
  margin-bottom: 2px;
  font-size: 1.5rem;
}

.nav-label {
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer {
    padding-bottom: 100px;
  }

  .navbar {
    display: none;
  }
}

@media (min-width: 769px) {
  .bottom-nav {
    display: none;
  }
}

.stats-bar {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 99px;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 12px 24px;
  display: flex;
}

.stat-item, .stat-btn {
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 8px;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s;
  display: flex;
}

.stat-btn:hover {
  color: var(--text-primary);
  background: #ffffff1a;
}

.stat-btn.active {
  color: #0a84ff;
  background: #0a84ff26;
}

.stat-divider {
  background: #fff3;
  width: 1px;
  height: 20px;
}

.stat-icon {
  font-size: 1.1rem;
}

.lightbox-overlay {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 2000;
  cursor: zoom-out;
  background: #000000e6;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  animation: .2s ease-out fadeIn;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
}

.lightbox-content {
  justify-content: center;
  align-items: center;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  position: relative;
}

.lightbox-image {
  object-fit: contain;
  border-radius: 12px;
  max-width: 100%;
  max-height: 90vh;
  animation: .3s cubic-bezier(.16, 1, .3, 1) scaleIn;
  box-shadow: 0 0 50px #000c;
}

.lightbox-close {
  color: #fff;
  cursor: pointer;
  z-index: 2001;
  background: #fff3;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 24px;
  transition: background .2s;
  display: flex;
  position: absolute;
  top: 20px;
  right: 20px;
}

.lightbox-close:hover {
  background: #fff6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@media (max-width: 900px) {
  .app-content-layout {
    grid-template-columns: 1fr;
  }
}

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

.recommended-sidebar h3 {
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  padding-bottom: 12px;
  font-family: Outfit, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.rec-list {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.rec-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding: 12px;
  text-decoration: none;
  transition: all .2s cubic-bezier(.25, .8, .25, 1);
  display: flex;
}

.rec-item:hover {
  background: var(--bg-card-hover);
  border-color: #007aff4d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #00000014;
}

.rec-icon {
  object-fit: cover;
  background: #333;
  border-radius: 10px;
  width: 48px;
  height: 48px;
}

.rec-info {
  flex: 1;
  min-width: 0;
}

.rec-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 2px;
  font-size: .9rem;
  font-weight: 600;
  overflow: hidden;
}

.rec-meta {
  color: var(--text-secondary);
  font-size: .75rem;
}

.rec-action {
  color: #007aff;
  background: #007aff1a;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 700;
}

.social-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  padding: 0 4px;
  display: grid;
}

.social-card-wrapper {
  flex-direction: column;
  display: flex;
}

.social-card {
  cursor: pointer;
  background: #1c1c1e;
  border-radius: 16px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  transition: all .2s;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px #00000026;
}

.social-card:hover {
  background: #2c2c2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #0000004d;
}

.social-card-accent {
  background: var(--social-color, #007aff);
  border-radius: 4px 0 0 4px;
  width: 4px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.social-card-icon {
  object-fit: cover;
  background: #333;
  border-radius: 12px;
  flex-shrink: 0;
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  height: 52px;
  box-shadow: 0 2px 8px #0003;
}

.social-card-emoji {
  background: #ffffff0f;
  border-radius: 12px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 52px;
  height: 52px;
  font-size: 24px;
  display: flex;
}

.social-card-emoji--hidden {
  display: none;
}

.social-card-emoji.show-fallback {
  display: flex !important;
}

.social-card-info {
  flex: 1;
  min-width: 0;
}

.social-card-name {
  color: #fff;
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 600;
}

.social-card-status {
  align-items: center;
  gap: 6px;
  display: flex;
}

.social-badge {
  border-radius: 20px;
  padding: 3px 10px;
  font-size: .75rem;
  font-weight: 600;
}

.social-badge--available {
  color: #34c759;
  background: #34c75926;
}

.social-badge--multi {
  color: #007aff;
  background: #007aff26;
}

.social-badge--none {
  color: #8e8e93;
  background: #8e8e9326;
}

.social-card--unavailable {
  opacity: .55;
}

.social-card--unavailable:hover {
  transform: none;
  box-shadow: 0 2px 8px #00000026;
}

.social-card-action {
  color: #007aff;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: #007aff26;
  border-radius: 20px;
  flex-shrink: 0;
  padding: 7px 16px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}

.social-card-action:hover {
  background: #007aff4d;
}

.social-card-expand {
  color: #8e8e93;
  cursor: pointer;
  background: #ffffff14;
  border: none;
  border-radius: 20px;
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: .7rem;
  transition: background .15s;
}

.social-card-expand:hover {
  color: #fff;
  background: #ffffff26;
}

.social-variants {
  flex-direction: column;
  gap: 6px;
  padding: 8px 0 0 16px;
  animation: .2s ease-out slideDown;
  display: flex;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.social-variant-card {
  color: #fff;
  background: #1c1c1e;
  border-left: 3px solid #007aff4d;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  text-decoration: none;
  transition: background .15s;
  display: flex;
}

.social-variant-card:hover {
  background: #2c2c2e;
}

.social-variant-icon {
  object-fit: cover;
  background: #333;
  border-radius: 10px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.social-variant-info {
  flex: 1;
  min-width: 0;
}

.social-variant-title {
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .9rem;
  font-weight: 600;
  overflow: hidden;
}

.social-variant-meta {
  color: #8e8e93;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .78rem;
  overflow: hidden;
}

.social-variant-action {
  color: #007aff;
  background: #007aff1f;
  border-radius: 14px;
  flex-shrink: 0;
  padding: 5px 12px;
  font-size: .75rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}

.top-loader-container {
  z-index: 99999;
  pointer-events: none;
  height: 3px;
  transition: opacity .3s;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.top-loader-bar {
  background: var(--accent-gradient);
  border-radius: 0 2px 2px 0;
  height: 100%;
  position: relative;
}

.top-loader-bar:after {
  content: "";
  background: linear-gradient(90deg, transparent, var(--accent));
  opacity: .8;
  border-radius: 0 2px 2px 0;
  width: 100px;
  height: 100%;
  animation: 1.5s ease-in-out infinite top-loader-shimmer;
  position: absolute;
  top: 0;
  right: 0;
}

.top-loader-glow {
  background: var(--accent);
  filter: blur(6px);
  opacity: .4;
  border-radius: 0 4px 4px 0;
  height: 6px;
  transition: width .4s;
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes top-loader-shimmer {
  0% {
    opacity: .4;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: .4;
  }
}

.premium-download-btn {
  cursor: pointer;
  border: none;
  border-radius: 18px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 18px 28px;
  font-family: Inter, sans-serif;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
  display: flex;
  position: relative;
  overflow: hidden;
}

.premium-download-btn .dl-btn-bg {
  z-index: 0;
  background: linear-gradient(135deg, #0a84ff 0%, #5e5ce6 50%, #bf5af2 100%);
  transition: opacity .4s;
  position: absolute;
  inset: 0;
}

.premium-download-btn:hover {
  transform: translateY(-3px)scale(1.02);
  box-shadow: 0 12px 40px #0a84ff59, 0 0 0 1px #0a84ff33;
}

.premium-download-btn:active {
  transform: translateY(-1px)scale(.99);
}

.premium-download-btn .dl-btn-progress {
  z-index: 1;
  background: #ffffff80;
  border-radius: 0 2px 2px 0;
  width: 0;
  height: 3px;
  transition: width .3s;
  position: absolute;
  bottom: 0;
  left: 0;
}

.premium-download-btn.preparing .dl-btn-progress {
  width: 100%;
  transition: width 2s cubic-bezier(.4, 0, .2, 1);
}

.premium-download-btn.preparing .dl-btn-bg {
  background: linear-gradient(135deg, #1c1c3a 0%, #2d2d5e 50%, #3d3d78 100%);
}

.premium-download-btn.done .dl-btn-bg {
  background: linear-gradient(135deg, #30d158 0%, #34c759 50%, #32d74b 100%);
}

.premium-download-btn.preparing, .premium-download-btn.done {
  cursor: default;
  transform: none;
}

.premium-download-btn.preparing:hover, .premium-download-btn.done:hover {
  box-shadow: none;
  transform: none;
}

.premium-download-btn .dl-btn-content {
  z-index: 2;
  color: #fff;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  display: flex;
  position: relative;
}

.dl-btn-icon {
  flex-shrink: 0;
  font-size: 26px;
  animation: 2s ease-in-out infinite dl-icon-float;
}

@keyframes dl-icon-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

.dl-btn-text {
  text-align: center;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

.dl-btn-label {
  letter-spacing: -.01em;
  font-size: 1rem;
  font-weight: 700;
}

.dl-btn-sub {
  opacity: .75;
  margin-top: 2px;
  font-size: .78rem;
  font-weight: 400;
}

.dl-btn-arrow {
  opacity: .7;
  flex-shrink: 0;
  animation: 1.5s ease-in-out infinite dl-arrow-bounce;
}

@keyframes dl-arrow-bounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.dl-btn-spinner {
  border: 3px solid #fff3;
  border-top-color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  animation: .8s linear infinite dl-spin;
}

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

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

.app-content-layout {
  flex-direction: column;
  gap: 32px;
  display: flex;
}

@media (min-width: 900px) {
  .app-content-layout {
    flex-direction: row;
    align-items: flex-start;
  }
}

.main-column {
  flex-direction: column;
  flex: 1;
  gap: 28px;
  min-width: 0;
  display: flex;
}

.dl-btn-check {
  color: #fff;
  flex-shrink: 0;
  animation: .4s cubic-bezier(.34, 1.56, .64, 1) dl-check-pop;
}

@keyframes dl-check-pop {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.premium-download-btn.sign-variant .dl-btn-bg {
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 50%, #5856d6 100%);
}

.premium-download-btn.sign-variant:hover {
  box-shadow: 0 12px 40px #0072ff59, 0 0 0 1px #0072ff33;
}

:root[data-mode="light"] .premium-download-btn .dl-btn-bg {
  background: linear-gradient(135deg, #007aff 0%, #5856d6 50%, #af52de 100%);
}

:root[data-mode="light"] .premium-download-btn:hover {
  box-shadow: 0 12px 40px #007aff4d, 0 0 0 1px #007aff26;
}

:root[data-mode="light"] .premium-download-btn.sign-variant .dl-btn-bg {
  background: linear-gradient(135deg, #0abfbc 0%, #007aff 50%, #5856d6 100%);
}

:root[data-mode="light"] .premium-download-btn.sign-variant:hover {
  box-shadow: 0 12px 40px #007aff4d, 0 0 0 1px #007aff26;
}

:root[data-mode="light"] .premium-download-btn.preparing .dl-btn-bg {
  background: linear-gradient(135deg, #e8e8f0 0%, #d8d8e8 50%, #c8c8d8 100%);
}

:root[data-mode="light"] .premium-download-btn.preparing .dl-btn-content {
  color: var(--text-primary);
}

:root[data-mode="light"] .premium-download-btn.preparing .dl-btn-spinner {
  border-color: #0000001a;
  border-top-color: var(--text-primary);
}

:root[data-mode="light"] .premium-download-btn.preparing .dl-btn-progress {
  background: #007aff66;
}

.theme-toggle {
  cursor: pointer;
  background: none;
  border: none;
  flex-shrink: 0;
  align-items: center;
  padding: 4px;
  display: flex;
}

.theme-toggle-track {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  border-radius: 14px;
  justify-content: space-between;
  align-items: center;
  width: 52px;
  height: 28px;
  padding: 0 6px;
  transition: background .4s;
  display: flex;
  position: relative;
  box-shadow: inset 0 1px 3px #0000004d;
}

.theme-toggle-track.light {
  background: linear-gradient(135deg, #87ceeb 0%, #60b3d1 100%);
  box-shadow: inset 0 1px 3px #0000001a;
}

.theme-toggle-icon {
  z-index: 1;
  font-size: 12px;
  line-height: 1;
  transition: opacity .3s;
}

.theme-toggle-track.dark .sun {
  opacity: .3;
}

.theme-toggle-track.dark .moon, .theme-toggle-track.light .sun {
  opacity: 1;
}

.theme-toggle-track.light .moon {
  opacity: .3;
}

.theme-toggle-thumb {
  background: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 1px 4px #0000004d;
}

.theme-toggle-track.light .theme-toggle-thumb {
  background: #fffde7;
  transform: translateX(24px);
  box-shadow: 0 1px 4px #00000026;
}

.review-section-wrapper {
  margin-top: 0;
}

.review-header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 24px 16px;
  display: flex;
}

.review-title {
  margin: 0 0 4px;
  font-family: Outfit, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.review-form-area {
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}

.review-form {
  align-items: flex-start;
  gap: 14px;
  display: flex;
}

.review-textarea, .reply-textarea {
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  width: 100%;
  color: var(--text-primary);
  resize: none;
  box-sizing: border-box;
  border-radius: 14px;
  outline: none;
  min-height: 90px;
  padding: 12px 14px 28px;
  font-family: inherit;
  font-size: .93rem;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}

.reply-textarea {
  min-height: 64px;
  padding: 10px 12px;
  font-size: .88rem;
}

.review-textarea:focus, .reply-textarea:focus {
  border-color: #007aff;
  box-shadow: 0 0 0 3px #007aff1f;
}

.review-textarea::placeholder, .reply-textarea::placeholder {
  color: var(--text-muted);
}

.review-submit-btn {
  color: #fff;
  cursor: pointer;
  background: #007aff;
  border: none;
  border-radius: 20px;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  font-size: .88rem;
  font-weight: 600;
  transition: all .2s;
  display: inline-flex;
}

.review-submit-btn:hover:not(:disabled) {
  background: #0a84ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #007aff4d;
}

.review-submit-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.review-spinner {
  border: 1.5px solid #ffffff4d;
  border-top-color: #fff;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  animation: .7s linear infinite spin;
  display: inline-block;
}

.review-login-prompt {
  text-align: center;
  background: var(--bg-secondary);
  border-radius: 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
  display: flex;
}

.review-login-btn {
  color: #fff;
  background: #007aff;
  border-radius: 20px;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
}

.review-login-btn:hover {
  background: #0a84ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #007aff4d;
}

.review-comments-list {
  padding: 0 24px 8px;
}

.vote-col {
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  gap: 2px;
  width: 36px;
  padding-top: 2px;
  display: flex;
}

.vote-col-ghost {
  justify-content: center;
  padding-top: 10px;
}

.vote-btn {
  cursor: pointer;
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  padding: 4px;
  transition: color .15s, background .15s;
  display: flex;
}

.vote-btn:hover:not(:disabled) {
  background: #8080801f;
}

.vote-btn.up.active {
  color: #ff6314;
}

.vote-btn.down.active {
  color: #6ea8fe;
}

.vote-btn:disabled {
  opacity: .5;
  cursor: default;
}

.vote-score {
  color: var(--text-secondary);
  text-align: center;
  min-width: 24px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
}

.vote-score-ghost {
  color: var(--text-muted);
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
}

.comment-card {
  gap: 10px;
  padding: 14px 0;
  display: flex;
}

.reply-card {
  padding: 10px 0;
}

.comment-meta-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  display: flex;
}

.comment-username {
  color: var(--text-primary);
  font-size: .88rem;
  font-weight: 600;
}

.comment-dot {
  color: var(--text-muted);
  font-size: .8rem;
}

.comment-time {
  color: var(--text-muted);
  font-size: .78rem;
}

.comment-body {
  color: var(--text-secondary);
  word-break: break-word;
  margin: 0 0 8px;
  font-size: .9rem;
  line-height: 1.55;
}

.comment-actions {
  align-items: center;
  gap: 12px;
  display: flex;
}

.comment-action-btn {
  cursor: pointer;
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  font-size: .78rem;
  font-weight: 600;
  transition: all .15s;
  display: inline-flex;
}

.comment-action-btn:hover {
  color: var(--text-secondary);
  background: #8080801a;
}

.comment-vote-summary {
  color: var(--text-muted);
  font-size: .76rem;
}

.reply-form {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 12px;
  display: flex;
}

.reply-cancel-btn {
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: .82rem;
  transition: all .15s;
}

.reply-cancel-btn:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.show-replies-btn {
  cursor: pointer;
  color: #007aff;
  background: none;
  border: none;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  padding: 4px 0;
  font-size: .78rem;
  font-weight: 600;
  transition: opacity .2s;
  display: inline-flex;
}

.show-replies-btn:hover {
  opacity: .7;
}

.replies-thread {
  border-left: 2px solid var(--border);
  margin-top: 4px;
  padding-left: 14px;
}

.review-empty {
  color: var(--text-muted);
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 48px 24px;
  font-size: .95rem;
  display: flex;
}

.review-empty p {
  margin: 0;
}

:root[data-mode="light"] .review-section-wrapper {
  background: #fff;
  border-color: #00000014;
}

:root[data-mode="light"] .review-textarea, :root[data-mode="light"] .reply-textarea {
  background: #f8f8f8;
  border-color: #0000001f;
}

:root[data-mode="light"] .review-textarea:focus, :root[data-mode="light"] .reply-textarea:focus {
  background: #fff;
}

:root[data-mode="light"] .review-login-prompt {
  background: #f5f5f7;
}

:root[data-mode="light"] .reply-form {
  background: #f5f5f7;
  border-color: #00000014;
}

:root[data-mode="light"] .replies-thread {
  border-color: #0000001f;
}

:root[data-mode="light"] .app-detail-header {
  border-color: #00000014;
}

:root[data-mode="light"] .app-header-bg {
  filter: blur(25px) brightness(1.2) saturate(1.4);
}

:root[data-mode="light"] .app-detail-icon {
  border-color: #0000001a;
  box-shadow: 0 8px 32px #00000026;
}

:root[data-mode="light"] .app-detail-meta h1 {
  text-shadow: 0 2px 8px #0000001a;
}

:root[data-mode="light"] .stat-badge {
  color: var(--text-primary);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #0000000f;
  border: 1px solid #00000014;
}

:root[data-mode="light"] .quick-info-strip {
  background: #fff;
  border-color: #00000014;
  box-shadow: 0 2px 12px #0000000f;
}

:root[data-mode="light"] .qi-divider {
  background: #00000014;
}

:root[data-mode="light"] .detail-card {
  background: #fff;
  border-color: #00000014;
  box-shadow: 0 1px 8px #0000000a;
}

:root[data-mode="light"] .info-card {
  background: #fff;
  border-color: #00000014;
}

:root[data-mode="light"] .info-card:hover {
  box-shadow: 0 4px 16px #00000014;
}

:root[data-mode="light"] .fdb-inner {
  background: #fffffff2;
  border-color: #0000001a;
  box-shadow: 0 8px 40px #00000026;
}

:root[data-mode="light"] .fdb-title {
  color: var(--text-primary);
}

:root[data-mode="light"] .fdb-sub {
  color: var(--text-secondary);
}

:root[data-mode="light"] .info-item {
  background: #00000005;
  border-color: #0000000f;
}

:root[data-mode="light"] .download-btn {
  background: var(--text-primary);
  color: #fff;
  box-shadow: 0 4px 20px #00000026;
}

:root[data-mode="light"] .download-btn:hover {
  background: #2c2c2e;
  box-shadow: 0 8px 30px #0003;
}

:root[data-mode="light"] .download-btn .dl-sub {
  color: #ffffffb3;
}

:root[data-mode="light"] .screenshots-scroll img {
  border-color: #00000014;
  box-shadow: 0 6px 24px #0000001f;
}

:root[data-mode="light"] .app-card {
  box-shadow: 0 1px 4px #0000000a;
}

:root[data-mode="light"] .app-card:hover {
  box-shadow: var(--shadow-md), 0 0 0 1px var(--border);
  border-color: #00000026;
}

:root[data-mode="light"] .app-card:before {
  background: linear-gradient(135deg, #00000005, #0000);
}

:root[data-mode="light"] .app-row-card {
  color: var(--text-primary);
  background: #fff;
  box-shadow: 0 2px 8px #0000000f;
}

:root[data-mode="light"] .app-row-title {
  color: var(--text-primary);
}

:root[data-mode="light"] .app-row-meta {
  color: var(--text-secondary);
}

:root[data-mode="light"] .list-item-icon {
  background: #e8e8ed;
}

:root[data-mode="light"] .app-list-item:hover {
  border-color: #00000026;
}

:root[data-mode="light"] .footer {
  border-top-color: var(--border);
  background: #e8e8ed;
}

:root[data-mode="light"] .skeleton:after {
  background: linear-gradient(90deg, #0000 0%, #0000000a 50%, #0000 100%);
}

:root[data-mode="light"] .featured-slider {
  background: #f0f0f0;
  border-color: #00000014;
  box-shadow: 0 12px 40px #0000001a;
}

:root[data-mode="light"] .admin-sidebar-brand .badge, :root[data-mode="light"] .hero-search button {
  color: #fff;
}

:root[data-mode="light"] .share-btn {
  background: #00000014 !important;
}

:root[data-mode="light"] .share-btn svg {
  stroke: var(--text-primary) !important;
}

.recommended-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  flex-shrink: 0;
  width: 320px;
  height: max-content;
  padding: 24px;
  position: sticky;
  top: 100px;
}

:root[data-mode="light"] .recommended-sidebar {
  background: var(--bg-card);
  border-color: var(--border);
}

@media (max-width: 900px) {
  .recommended-sidebar {
    width: 100%;
    position: static;
  }
}

:root[data-mode="light"] .app-content-layout {
  color: var(--text-primary);
}

:root[data-mode="light"] .review-card {
  background: var(--bg-card);
  border-color: var(--border);
}

:root[data-mode="light"] .toast {
  box-shadow: 0 8px 30px #0000001f;
}

:root[data-mode="light"] .lightbox-overlay {
  background: #000000d9;
}

.ai-bubble-btn {
  z-index: 9999;
  background: var(--accent-gradient);
  cursor: pointer;
  color: #000;
  border: none;
  border-radius: 50%;
  outline: none;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s;
  display: flex;
  position: fixed;
  bottom: 28px;
  right: 28px;
  box-shadow: 0 4px 24px #3ddc8473, 0 2px 8px #0000004d;
}

.ai-bubble-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px #3ddc8499, 0 2px 12px #0000004d;
}

.ai-bubble-btn.ai-bubble-open {
  transform: scale(.92);
  box-shadow: 0 2px 12px #3ddc844d;
}

.ai-bubble-icon {
  justify-content: center;
  align-items: center;
  display: flex;
}

.ai-bubble-dot {
  border: 2px solid var(--bg-primary);
  background: #ef4444;
  border-radius: 50%;
  width: 11px;
  height: 11px;
  animation: .4s ai-dot-pop;
  position: absolute;
  top: 6px;
  right: 6px;
}

@keyframes ai-dot-pop {
  0% {
    transform: scale(0);
  }

  70% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

.ai-bubble-pulse:after {
  content: "";
  border: 2px solid var(--accent);
  pointer-events: none;
  border-radius: 50%;
  animation: 2s ease-out infinite ai-pulse-ring;
  position: absolute;
  inset: -4px;
}

@keyframes ai-pulse-ring {
  0% {
    opacity: .8;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

.ai-panel {
  z-index: 9998;
  background: var(--bg-card);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  flex-direction: column;
  width: 370px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 120px);
  animation: .3s cubic-bezier(.34, 1.56, .64, 1) ai-slide-up;
  display: flex;
  position: fixed;
  bottom: 100px;
  right: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px #00000080, 0 0 0 1px #ffffff0a;
}

@keyframes ai-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px)scale(.95);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

.ai-panel-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 14px;
  display: flex;
}

.ai-panel-title {
  align-items: center;
  gap: 10px;
  display: flex;
}

.ai-avatar {
  background: var(--accent-gradient);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 16px;
  display: flex;
  box-shadow: 0 2px 8px #3ddc844d;
}

.ai-panel-name {
  color: var(--text-primary);
  font-size: .95rem;
  font-weight: 700;
}

.ai-tier-badge {
  margin-top: 1px;
  font-size: .72rem;
  font-weight: 600;
}

.ai-usage-count {
  color: var(--text-muted);
  font-weight: 400;
}

.ai-panel-close {
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  width: 30px;
  height: 30px;
  color: var(--text-secondary);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  transition: all .15s;
  display: flex;
}

.ai-panel-close:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.ai-messages {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 16px 14px;
  display: flex;
  overflow-y: auto;
}

.ai-messages::-webkit-scrollbar {
  width: 4px;
}

.ai-messages::-webkit-scrollbar-track {
  background: none;
}

.ai-messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.ai-message {
  align-items: flex-end;
  gap: 8px;
  display: flex;
}

.ai-message-user {
  flex-direction: row-reverse;
}

.ai-msg-avatar {
  background: var(--accent-gradient);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  font-size: 12px;
  display: flex;
}

.ai-msg-bubble {
  word-break: break-word;
  white-space: pre-wrap;
  border-radius: 18px;
  max-width: 80%;
  padding: 10px 14px;
  font-size: .875rem;
  line-height: 1.5;
}

.ai-message-user .ai-msg-bubble {
  background: var(--accent-gradient);
  color: #000;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.ai-message-assistant .ai-msg-bubble {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.ai-msg-text {
  display: block;
}

.ai-typing {
  align-items: center;
  gap: 5px;
  padding: 2px 0;
  display: flex;
}

.ai-typing span {
  background: var(--text-muted);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  animation: 1.2s infinite ai-type-bounce;
  display: block;
}

.ai-typing span:nth-child(2) {
  animation-delay: .2s;
}

.ai-typing span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes ai-type-bounce {
  0%, 80%, 100% {
    opacity: .5;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-6px);
  }
}

.ai-error-banner {
  color: #ef4444;
  background: #ef44441f;
  border: 1px solid #ef44444d;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: .8rem;
  display: flex;
}

.ai-error-banner button {
  cursor: pointer;
  color: #ef4444;
  background: none;
  border: none;
  flex-shrink: 0;
  padding: 0 4px;
  font-size: .85rem;
}

.ai-limit-wall {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-align: center;
  border-radius: 16px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  animation: .3s ai-slide-up;
  display: flex;
}

.ai-limit-icon {
  margin-bottom: 4px;
  font-size: 2rem;
}

.ai-limit-title {
  color: var(--text-primary);
  font-size: .95rem;
  font-weight: 700;
}

.ai-limit-desc {
  color: var(--text-secondary);
  max-width: 260px;
  font-size: .8rem;
  line-height: 1.5;
}

.ai-limit-actions {
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  display: flex;
}

.ai-limit-btn {
  text-align: center;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
  display: block;
}

.ai-limit-btn-primary {
  background: var(--accent-gradient);
  color: #000;
  box-shadow: 0 2px 8px #3ddc844d;
}

.ai-limit-btn-primary:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.ai-limit-btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.ai-limit-btn-secondary:hover {
  background: var(--bg-card-hover);
}

.ai-input-area {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  flex-direction: column;
  flex-shrink: 0;
  gap: 6px;
  padding: 10px 12px 12px;
  display: flex;
}

.ai-stop-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 8px;
  align-self: flex-start;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: .78rem;
  font-weight: 600;
  transition: all .15s;
  display: flex;
}

.ai-stop-btn:hover {
  color: #ef4444;
  border-color: #ef444466;
}

.ai-input-row {
  align-items: flex-end;
  gap: 8px;
  display: flex;
}

.ai-input {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  resize: none;
  border-radius: 14px;
  outline: none;
  flex: 1;
  max-height: 120px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: .875rem;
  line-height: 1.5;
  transition: border-color .15s, box-shadow .15s;
  overflow-y: auto;
}

.ai-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.ai-input:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.ai-input::placeholder {
  color: var(--text-muted);
}

.ai-send-btn {
  background: var(--accent-gradient);
  cursor: pointer;
  color: #000;
  border: none;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: all .15s;
  display: flex;
  box-shadow: 0 2px 8px #3ddc844d;
}

.ai-send-btn:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 4px 12px #3ddc8466;
}

.ai-send-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}

.ai-input-footer {
  color: var(--text-muted);
  text-align: center;
  font-size: .68rem;
}

:root[data-mode="light"] .ai-panel {
  box-shadow: 0 20px 60px #00000026, 0 0 0 1px #0000000f;
}

:root[data-mode="light"] .ai-bubble-btn {
  box-shadow: 0 4px 20px #3ddc8466, 0 2px 8px #00000026;
}

@media (max-width: 480px) {
  .ai-panel {
    width: auto;
    bottom: 90px;
    left: 8px;
    right: 8px;
  }

  .ai-bubble-btn {
    bottom: 20px;
    right: 16px;
  }
}

/*# sourceMappingURL=src_app_globals_91e4631d.css.map*/