/* ZARABUGORE - Cyberpunk Editorial Design */

/* Font fallbacks with size-adjust to reduce CLS during font loading */
@font-face {
  font-family: 'Orbitron Fallback';
  src: local('Arial Black'), local('Arial-Black');
  size-adjust: 92%;
  ascent-override: 105%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Space Grotesk Fallback';
  src: local('Arial'), local('Helvetica');
  size-adjust: 107%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Bebas Neue Fallback';
  src: local('Impact'), local('Arial Black');
  size-adjust: 75%;
  ascent-override: 110%;
  descent-override: 20%;
  line-gap-override: 0%;
}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a24;
  --text-primary: #e8e8f0;
  --text-secondary: #8888a0;
  --accent-cyan: #00f5ff;
  --accent-magenta: #ff00aa;
  --accent-purple: #8b5cf6;
  --gradient-neon: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
  --font-display: 'Orbitron', 'Orbitron Fallback', sans-serif;
  --font-body: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  --font-accent: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Scanlines overlay */
body.scanlines::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0.1) 4px
  );
  pointer-events: none;
  z-index: 1000;
}

/* Background mesh gradient */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 0, 170, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.5)); }
  50% { filter: drop-shadow(0 0 40px rgba(255, 0, 170, 0.7)); }
}

/* Glitch effect */
.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  -webkit-background-clip: text;
  background-clip: text;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--accent-magenta);
  animation: glitch1 2s infinite linear alternate-reverse;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch::after {
  left: -2px;
  text-shadow: 2px 0 var(--accent-cyan);
  animation: glitch2 3s infinite linear alternate-reverse;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-1px, 1px); }
  80% { transform: translate(1px, -1px); }
}

@keyframes glitch2 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(2px, -2px); }
  40% { transform: translate(-2px, 2px); }
  60% { transform: translate(1px, -1px); }
  80% { transform: translate(-1px, 1px); }
}

.tagline {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
  margin-top: 10px;
  text-transform: uppercase;
}

.holographic {
  background: linear-gradient(
    90deg,
    var(--accent-cyan),
    var(--accent-magenta),
    var(--accent-purple),
    var(--accent-cyan)
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: holographic 4s linear infinite;
}

@keyframes holographic {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* Main content */
.main-content {
  padding: 40px 0 80px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.neon-text {
  color: var(--accent-cyan);
  text-shadow:
    0 0 10px var(--accent-cyan),
    0 0 20px var(--accent-cyan),
    0 0 40px var(--accent-cyan);
}

/* Posts grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  min-height: 600px; /* Prevent CLS while loading */
}

/* Skeleton loading placeholders */
.posts-grid.loading-skeleton {
  min-height: auto;
}

.skeleton-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.skeleton-media {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-card) 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-content {
  padding: 20px;
}

.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-card) 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 10px;
}

.skeleton-line:last-child {
  width: 60%;
  margin-bottom: 0;
}

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

/* Post card */
.post-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  animation: cardAppear 0.6s ease-out backwards;
}

/* Post card link wrapper */
.post-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-neon);
  opacity: 0;
  transition: opacity 0.3s;
}

.post-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 245, 255, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 245, 255, 0.1);
}

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

@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation delays */
.post-card:nth-child(1) { animation-delay: 0.1s; }
.post-card:nth-child(2) { animation-delay: 0.2s; }
.post-card:nth-child(3) { animation-delay: 0.3s; }
.post-card:nth-child(4) { animation-delay: 0.4s; }
.post-card:nth-child(5) { animation-delay: 0.5s; }
.post-card:nth-child(6) { animation-delay: 0.6s; }
.post-card:nth-child(7) { animation-delay: 0.7s; }
.post-card:nth-child(8) { animation-delay: 0.8s; }
.post-card:nth-child(9) { animation-delay: 0.9s; }

/* Media container */
.post-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-secondary);
}

.post-media img,
.post-media video {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.post-card:hover .post-media img,
.post-card:hover .post-media video {
  transform: scale(1.05);
}

/* Video indicator */
.video-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.post-media:hover .video-indicator {
  opacity: 1;
}

.video-indicator::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 18px solid var(--accent-cyan);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

/* Media gallery for multiple images */
.media-gallery {
  display: grid;
  gap: 2px;
}

.media-gallery.count-2 {
  grid-template-columns: 1fr 1fr;
}

/* 3 photos: 1 big on top, 2 small on bottom */
.media-gallery.count-3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}

.media-gallery.count-3 .gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.media-gallery.count-3 .gallery-item:not(:first-child) {
  aspect-ratio: 1;
}

.media-gallery.count-4 {
  grid-template-columns: 1fr 1fr;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Post content */
.post-content {
  padding: 20px;
}

.post-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 15px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.post-text a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.3s;
}

.post-text a:hover {
  color: var(--accent-magenta);
}

/* Post footer with date and telegram link */
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* External footer - telegram link outside main card link (avoid nested <a>) */
.post-footer-external {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px 15px;
  margin-top: -5px;
}

.post-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-date::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-purple);
  border-radius: 50%;
}

/* Social Links - Unified Minimalist Style */
.telegram-link,
.vk-link,
.avito-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

.telegram-link:hover,
.vk-link:hover,
.avito-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.telegram-link svg,
.vk-link svg,
.avito-link svg {
  width: 18px;
  height: 18px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.telegram-link:hover svg,
.vk-link:hover svg,
.avito-link:hover svg {
  opacity: 1;
}

/* Loading */
.loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
  display: none;
}

.loading.active {
  display: block;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid var(--bg-card);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

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

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-secondary);
}

.empty-state h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 15px 0;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pagination-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-neon);
  opacity: 0;
  transition: opacity 0.3s;
}

.pagination-btn:hover:not(.disabled) {
  background: var(--bg-secondary);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 245, 255, 0.2);
}

.pagination-btn:hover:not(.disabled)::before {
  opacity: 1;
}

.pagination-btn.active {
  background: rgba(0, 245, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.pagination-btn.active::before {
  opacity: 1;
}

.pagination-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination-dots {
  color: var(--text-secondary);
  padding: 0 8px;
  font-family: var(--font-display);
}

/* Footer */
.footer {
  padding: 35px 0 25px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-secondary);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: var(--gradient-neon);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  min-height: 1.92rem; /* 1.6rem * 1.2 = prevent CLS */
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  min-height: 1.35rem; /* 0.9rem * 1.5 = prevent CLS */
}

.footer-legal {
  font-size: 0.75rem;
  color: #c0c0d0;
  margin-top: 5px;
  line-height: 1.4;
  min-height: 1.05rem; /* 0.75rem * 1.4 = prevent CLS */
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-nav a:hover {
  color: var(--accent-cyan);
  padding-left: 8px;
}

.footer-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
  opacity: 0;
}

.footer-nav a:hover::before {
  width: 4px;
  opacity: 1;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}


.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #c0c0d0;
}

/* Footer responsive */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }

  .footer-nav {
    text-align: center;
    align-items: center;
  }

  .footer-nav a:hover {
    padding-left: 0;
  }

  .footer-nav a::before {
    display: none;
  }

  .footer-contact {
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 0 25px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .footer-brand {
    gap: 8px;
  }

  .footer-logo {
    font-size: 1.4rem;
  }

  .footer-desc {
    font-size: 0.85rem;
  }

  .footer-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }

  .footer-nav a {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .footer-contact {
    margin-top: 5px;
  }

  .footer-bottom {
    padding-top: 20px;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }
}

.footer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Social links group in footer */
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* VK Promo Card */
.vk-promo-card {
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.1) 0%, rgba(0, 119, 255, 0.05) 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 119, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
  min-height: 280px;
}

.vk-promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0077ff, #00c8ff);
  opacity: 1;
}

.vk-promo-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 119, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 119, 255, 0.15);
}

.vk-promo-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0077ff, #00c8ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 119, 255, 0.3);
}

.vk-promo-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.vk-promo-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.vk-promo-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.vk-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #0077ff, #0066dd);
  border: none;
  border-radius: 25px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 119, 255, 0.3);
}

.vk-promo-btn:hover {
  background: linear-gradient(135deg, #0088ff, #0077ff);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 255, 0.4);
}

.vk-promo-btn svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* Header VK icon */
.nav-link.vk-nav {
  color: #0077ff;
}

.nav-link.vk-nav:hover {
  color: #00aaff;
  text-shadow: 0 0 10px rgba(0, 119, 255, 0.5);
}

.neon-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

.neon-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-neon);
  transition: width 0.3s;
}

.neon-link:hover {
  color: var(--accent-magenta);
  text-shadow: 0 0 10px var(--accent-magenta);
}

.neon-link:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .logo {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1rem;
    letter-spacing: 0.2em;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .post-content {
    padding: 15px;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* ===== TRUST & REVIEWS SECTION ===== */

/* Trust Block */
.trust-section {
  margin: 0;
  padding: 20px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-block {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.08) 0%, rgba(74, 222, 128, 0.02) 100%);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 16px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

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

.trust-stat-icon {
  width: 24px;
  height: 24px;
  color: #4ade80;
}

.trust-stat-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #4ade80;
}

.trust-stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 30px;
}

.trust-badge-icon {
  width: 20px;
  height: 20px;
  color: #4ade80;
}

.trust-badge-text {
  color: #4ade80;
  font-weight: 500;
  font-size: 0.9rem;
}

.trust-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0.05) 100%);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 30px;
  color: #4ade80;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.trust-link:hover {
  background: rgba(74, 222, 128, 0.2);
  border-color: rgba(74, 222, 128, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.2);
}

.trust-link svg {
  width: 18px;
  height: 18px;
}

/* Reviews Carousel */
.reviews-section {
  margin: 15px 0 0;
}

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

.reviews-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews-title svg {
  width: 24px;
  height: 24px;
  color: #4ade80;
}

.reviews-carousel {
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.review-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 300px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(74, 222, 128, 0.15);
  line-height: 1;
}

.review-text {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 15px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0a0a0f;
  font-size: 1rem;
}

.review-author-info {
  flex: 1;
}

.review-author-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.review-date {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.review-source {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #4ade80;
  font-size: 0.75rem;
}

.review-source svg {
  width: 14px;
  height: 14px;
}

/* Carousel Controls */
.reviews-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.review-nav-btn:hover {
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

.review-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.review-nav-btn svg {
  width: 20px;
  height: 20px;
}

.reviews-dots {
  display: flex;
  gap: 8px;
}

.review-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px;
  box-sizing: content-box;
}

.review-dot.active {
  background: #4ade80;
}

/* Trust Section Responsive */
@media (max-width: 900px) {
  .trust-block {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }

  .trust-stats {
    justify-content: center;
  }

  .review-card {
    flex: 0 0 calc(50% - 10px);
    min-width: 280px;
  }
}

@media (max-width: 600px) {
  .trust-stats {
    flex-direction: column;
    gap: 15px;
  }

  .trust-stat {
    justify-content: center;
  }

  .review-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .reviews-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .reviews-title {
    font-size: 1.2rem;
  }
}

/* ===== CUSTOM ORDER WIDGET ===== */

/* Floating trigger button */
.custom-order-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9) 0%, rgba(255, 0, 170, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4), 0 0 20px rgba(255, 0, 170, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: widgetPulse 3s ease-in-out infinite;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.custom-order-trigger:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5), 0 0 30px rgba(255, 0, 170, 0.3);
}

.custom-order-trigger.hidden {
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
}

.custom-order-trigger svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@keyframes widgetPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4), 0 0 20px rgba(255, 0, 170, 0.2); }
  50% { box-shadow: 0 8px 40px rgba(139, 92, 246, 0.6), 0 0 30px rgba(255, 0, 170, 0.4); }
}

/* Overlay */
.custom-order-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-order-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Panel */
.custom-order-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  max-height: 90vh;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px 24px 0 0;
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s;
  overflow: hidden;
  will-change: transform;
}

.custom-order-panel.active {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
}

.custom-order-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-neon);
}

/* Panel header */
.custom-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.custom-order-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.custom-order-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-order-close:hover {
  background: rgba(255, 0, 170, 0.1);
  border-color: rgba(255, 0, 170, 0.3);
  color: var(--accent-magenta);
}

.custom-order-close svg {
  width: 20px;
  height: 20px;
}

/* Panel content */
.custom-order-content {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

/* Features grid */
.custom-order-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.custom-order-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.custom-order-feature:hover {
  background: rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.2);
}

.custom-order-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 10px;
  color: var(--accent-cyan);
}

.custom-order-feature-icon svg {
  width: 20px;
  height: 20px;
}

.custom-order-feature-text .feature-title {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.custom-order-feature-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Brands section */
.custom-order-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
}

.custom-order-brands-label {
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.brand-tag {
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent-purple);
  transition: all 0.3s ease;
}

.brand-tag:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

.brand-tag.more {
  background: rgba(0, 245, 255, 0.1);
  border-color: rgba(0, 245, 255, 0.2);
  color: var(--accent-cyan);
}

/* Form */
.custom-order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.custom-order-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-order-form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.custom-order-form-group input,
.custom-order-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  resize: none;
}

.custom-order-form-group input:focus,
.custom-order-form-group textarea:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.05);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.custom-order-form-group input::placeholder,
.custom-order-form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.custom-order-form-group textarea {
  min-height: 100px;
}

/* Submit button */
.custom-order-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-magenta) 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.custom-order-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-magenta) 0%, var(--accent-cyan) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.custom-order-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.custom-order-submit:hover::before {
  opacity: 1;
}

.custom-order-submit span,
.custom-order-submit svg {
  position: relative;
  z-index: 1;
}

.custom-order-submit svg {
  width: 20px;
  height: 20px;
}

.custom-order-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.custom-order-submit.loading {
  pointer-events: none;
}

.custom-order-submit.loading span {
  opacity: 0;
}

.custom-order-submit.loading::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Success state */
.custom-order-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.custom-order-success.active {
  display: flex;
}

.custom-order-success-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(74, 222, 128, 0.05) 100%);
  border-radius: 50%;
  color: #4ade80;
  animation: successPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-order-success-icon svg {
  width: 40px;
  height: 40px;
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.custom-order-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #4ade80;
  margin-bottom: 12px;
}

.custom-order-success p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 300px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
  .custom-order-trigger {
    bottom: 80px;
    right: 16px;
    padding: 12px 18px;
    font-size: 0.85rem;
  }

  .custom-order-trigger span {
    display: none;
  }

  .custom-order-trigger svg {
    width: 24px;
    height: 24px;
  }

  .custom-order-panel {
    max-height: 95vh;
  }

  .custom-order-content {
    padding: 20px 16px;
  }

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

  .custom-order-title {
    font-size: 1.1rem;
  }
}
