

/* === Patch FW-1: taller cards + cool-light background for stories === */
.stories-bs, #stories {
  position: relative;
  background-image:
    radial-gradient(60rem 40rem at 15% -10%, rgba(85,193,255,.18), transparent 55%),
    radial-gradient(50rem 30rem at 85% -20%, rgba(94,241,164,.16), transparent 55%),
    linear-gradient(rgba(9,11,16,.65), rgba(9,11,16,.65)),
    url("assets/stories/bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (prefers-color-scheme: light) {
  .stories-bs, #stories {
    background-image:
      radial-gradient(60rem 40rem at 15% -10%, rgba(11,132,255,.12), transparent 55%),
      radial-gradient(50rem 30rem at 85% -20%, rgba(13,187,114,.10), transparent 55%),
      linear-gradient(rgba(247,249,255,.85), rgba(247,249,255,.85)),
      url("assets/stories/bg.jpg");
  }
}
html.light .stories-bs, body.light .stories-bs, [data-theme="light"] .stories-bs,
html.light #stories, body.light #stories, [data-theme="light"] #stories {
  background-image:
    radial-gradient(60rem 40rem at 15% -10%, rgba(11,132,255,.12), transparent 55%),
    radial-gradient(50rem 30rem at 85% -20%, rgba(13,187,114,.10), transparent 55%),
    linear-gradient(rgba(247,249,255,.85), rgba(247,249,255,.85)),
    url("assets/stories/bg.jpg");
}
/* Make cards a bit taller. Works for both custom .story-card and Bootstrap .card.story-card */
.story-card, .card.story-card { min-height: 360px; }
.story-card .card-img-top, .card.story-card .card-img-top { height: 190px; object-fit: cover; }
.story-card:hover, .card.story-card:hover {
  box-shadow: 0 18px 40px rgba(0,0,0,.25), 0 0 0 1px rgba(85,193,255,.15);
}


/* === Patch v12: Futuristic gradient + animated particles + glass cards === */
.stories-bs, #stories {
  position: relative;
  overflow: hidden;
  /* Deep-space gradient base (works in dark/light) */
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(85,193,255,.14), transparent 60%),
    radial-gradient(1000px 600px at 90% -20%, rgba(94,241,164,.12), transparent 60%),
    linear-gradient(180deg, rgba(9,11,16,.95), rgba(9,11,16,.92));
}
@media (prefers-color-scheme: light) {
  .stories-bs, #stories {
    background:
      radial-gradient(1200px 700px at 10% -10%, rgba(11,132,255,.12), transparent 60%),
      radial-gradient(1000px 600px at 90% -20%, rgba(13,187,114,.10), transparent 60%),
      linear-gradient(180deg, rgba(247,249,255,.95), rgba(247,249,255,.92));
  }
}
html.light .stories-bs, body.light .stories-bs, [data-theme="light"] .stories-bs,
html.light #stories, body.light #stories, [data-theme="light"] #stories {
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(11,132,255,.12), transparent 60%),
    radial-gradient(1000px 600px at 90% -20%, rgba(13,187,114,.10), transparent 60%),
    linear-gradient(180deg, rgba(247,249,255,.95), rgba(247,249,255,.92));
}

/* Particle canvas layer */
#stories .particles-canvas, .stories-bs .particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Elevate content above particles */
#stories .container, .stories-bs .container { position: relative; z-index: 1; }

/* Glassmorphism for cards (works for Bootstrap .card.story-card and custom .story-card) */
.card.story-card, .story-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (prefers-color-scheme: light) {
  .card.story-card, .story-card {
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(0,0,0,0.06);
  }
}
html.light .card.story-card, html.light .story-card,
body.light .card.story-card, body.light .story-card,
[data-theme="light"] .card.story-card, [data-theme="light"] .story-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.06);
}
.card.story-card:hover, .story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  border-color: rgba(85,193,255,.35);
}

/* Neon border glow via pseudo-element */
.card.story-card::after, .story-card::after {
  content: "";
  position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(120deg, rgba(94,241,164,.6), rgba(85,193,255,.6));
  filter: blur(18px); opacity: 0; transition: opacity .2s ease;
  z-index: -1;
}
.card.story-card:hover::after, .story-card:hover::after { opacity: .35; }

/* Maintain the increased height from the previous patch */
.card.story-card, .story-card { min-height: 360px; }
.card.story-card .card-img-top, .story-card .card-img-top { height: 190px; object-fit: cover; }


/* === Patch v13: target #feedback + .tcard, futuristic bg + glass cards === */
#feedback {
  position: relative;
  overflow: hidden;
  padding-top: clamp(42px, 5vw, 72px);
  padding-bottom: clamp(42px, 5vw, 72px);
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(85,193,255,.14), transparent 60%),
    radial-gradient(1000px 600px at 90% -20%, rgba(94,241,164,.12), transparent 60%),
    linear-gradient(180deg, rgba(9,11,16,.96), rgba(9,11,16,.93)),
    url("assets/stories/bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (prefers-color-scheme: light) {
  #feedback {
    background:
      radial-gradient(1200px 700px at 10% -10%, rgba(11,132,255,.12), transparent 60%),
      radial-gradient(1000px 600px at 90% -20%, rgba(13,187,114,.10), transparent 60%),
      linear-gradient(180deg, rgba(247,249,255,.94), rgba(247,249,255,.90)),
      url("assets/stories/bg.jpg");
  }
}
html.light #feedback, body.light #feedback, [data-theme="light"] #feedback {
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(11,132,255,.12), transparent 60%),
    radial-gradient(1000px 600px at 90% -20%, rgba(13,187,114,.10), transparent 60%),
    linear-gradient(180deg, rgba(247,249,255,.94), rgba(247,249,255,.90)),
    url("assets/stories/bg.jpg");
}
#feedback .particles-canvas { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:0; }
#feedback .container, #feedback .feedback-rail-wrap { position:relative; z-index:1; }
#feedback .tcard {
  position: relative;
  min-height: 360px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (prefers-color-scheme: light) {
  #feedback .tcard {
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(0,0,0,0.06);
  }
}
html.light #feedback .tcard, body.light #feedback .tcard, [data-theme="light"] #feedback .tcard {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.06);
}
#feedback .tcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  border-color: rgba(85,193,255,.35);
}
#feedback .tcard::after {
  content: "";
  position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(120deg, rgba(94,241,164,.6), rgba(85,193,255,.6));
  filter: blur(18px); opacity: 0; transition: opacity .2s ease; z-index:-1;
}
#feedback .tcard:hover::after { opacity: .35; }


/* === Patch v14: Fix container height + card clipping + neon headline === */
#feedback {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
#feedback .feedback-rail-wrap { overflow: visible !important; }

#feedback .tcard {
  min-height: 340px; /* slightly reduced */
}
#feedback .tcard:hover {
  transform: translateY(-6px); /* smaller lift */
}

/* Neon gradient headline */
#feedback h2, #feedback .section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #5ef1a4, #55c1ff, #b173ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  text-shadow: 0 0 12px rgba(85,193,255,0.6),
               0 0 24px rgba(94,241,164,0.4),
               0 0 36px rgba(177,115,255,0.25);
}
@media (prefers-color-scheme: light) {
  #feedback h2, #feedback .section-title {
    text-shadow: 0 0 8px rgba(11,132,255,0.45),
                 0 0 20px rgba(13,187,114,0.35);
  }
}


/* === Patch v15: stop hover clipping by removing upward movement === */

/* More vertical room so even large shadows never clip */
#feedback { padding-top: 6rem; padding-bottom: 5rem; }

/* Make sure no wrapper clips the card glow */
#feedback .feedback-rail-wrap,
#feedback .container,
#feedback .row { overflow: visible !important; }

/* Keep cards slightly shorter so grid has slack */
#feedback .tcard { min-height: 320px; }

/* Remove upward translate on hover to prevent top from hiding;
   use glow/shadow only (no vertical movement) */
#feedback .tcard:hover {
  transform: none; /* was translateY(-6px) */
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
  border-color: rgba(85,193,255,.35);
}

/* Optional: tiny scale from center for a subtle effect that won't hit top edge */
@media (hover: hover) {
  #feedback .tcard { will-change: transform, box-shadow; transform-origin: center center; }
  #feedback .tcard:hover { transform: scale(1.01); }
}


/* === Patch v28: Light-mode readability for Cryptocurrency Recovery cards === */
@media (prefers-color-scheme: light) {
  #services .card, 
  #services .service-card, 
  #services .tcard, 
  #services .item-card {
    color: rgba(20,22,30,0.94) !important;
    background: rgba(255,255,255,0.75) !important;
    border-color: rgba(0,0,0,0.08) !important;
  }
  #services .card p,
  #services .card li,
  #services .service-card p,
  #services .service-card li,
  #services .tcard p,
  #services .tcard li,
  #services .item-card p,
  #services .item-card li {
    color: rgba(20,22,30,0.92) !important;
  }
  #services .card h3, #services .card h4, #services .card h5,
  #services .service-card h3, #services .service-card h4, #services .service-card h5,
  #services .tcard h3, #services .tcard h4, #services .tcard h5,
  #services .item-card h3, #services .item-card h4, #services .item-card h5 {
    color: rgba(12,14,22,0.98) !important;
  }
  #services .card a { color: #0b74ff !important; text-decoration-color: rgba(11,116,255,0.35); }
  #services .card .text-muted, #services .card .muted, #services .card small {
    color: rgba(26,30,40,0.65) !important;
  }
  #services .btn, #services button, #services .btn-primary {
    color: #0a0c10 !important;
  }
}

html.light #services .card,
body.light #services .card,
[data-theme="light"] #services .card {
  color: rgba(20,22,30,0.94) !important;
  background: rgba(255,255,255,0.75) !important;
  border-color: rgba(0,0,0,0.08) !important;
}
html.light #services .card p, body.light #services .card p, [data-theme="light"] #services .card p,
html.light #services .card li, body.light #services .card li, [data-theme="light"] #services .card li {
  color: rgba(20,22,30,0.92) !important;
}
html.light #services .card h3, html.light #services .card h4, html.light #services .card h5,
body.light #services .card h3, body.light #services .card h4, body.light #services .card h5,
[data-theme="light"] #services .card h3, [data-theme="light"] #services .card h4, [data-theme="light"] #services .card h5 {
  color: rgba(12,14,22,0.98) !important;
}
html.light #services .card .text-muted, body.light #services .card .text-muted, [data-theme="light"] #services .card .text-muted,
html.light #services .card small, body.light #services .card small, [data-theme="light"] #services .card small {
  color: rgba(26,30,40,0.65) !important;
}
html.light #services .btn, body.light #services .btn, [data-theme="light"] #services .btn {
  color: #0a0c10 !important;
}
