/* ==========================================================================
   Pools – Página educativa sobre pools de liquidez
   ========================================================================== */

/* Desactivar min-height 100vh y evitar scrollbars internos en secciones */
body.page-pools .section {
  min-height: auto !important;
  overflow: hidden !important;
}

body.page-pools main {
  overflow-x: hidden;
}

/* Hero CTA intro – mismo estilo que "Hecho para quien valora el control" del Home */
.pools-hero-cta {
  background-image: url('../img/pool-de-liquidez-background.webp') !important;
  margin-top: var(--header-total, 120px);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-2xl);
  position: relative;
}

.pools-hero-cta::before {
  background: linear-gradient(
    180deg,
    rgba(14, 45, 80, 0.25) 0%,
    rgba(14, 45, 80, 0.4) 50%,
    rgba(14, 45, 80, 0.5) 100%
  ) !important;
}

/* Monedas flotantes ETH/USDC animadas */
.pools-hero-cta__coins {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.pools-hero-cta__coin {
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  animation: pool-coin-float 4s ease-in-out infinite;
}

.pools-hero-cta__coin--eth img { filter: drop-shadow(0 0 8px rgba(98, 126, 234, 0.4)); }
.pools-hero-cta__coin--usdc img { filter: drop-shadow(0 0 8px rgba(39, 117, 202, 0.4)); }

.pools-hero-cta__coin img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.5;
}

.pools-hero-cta__coin:hover img {
  opacity: 0.8;
}

/* Posiciones: izquierda y derecha del texto */
.pools-hero-cta__coin--1 { left: 8%; top: 20%; width: 56px; height: 56px; animation-delay: 0s; }
.pools-hero-cta__coin--2 { right: 10%; top: 25%; width: 52px; height: 52px; animation-delay: 0.5s; }
.pools-hero-cta__coin--3 { left: 5%; bottom: 30%; width: 44px; height: 44px; animation-delay: 1s; }
.pools-hero-cta__coin--4 { right: 8%; bottom: 25%; width: 48px; height: 48px; animation-delay: 1.5s; }
.pools-hero-cta__coin--5 { left: 12%; top: 50%; width: 40px; height: 40px; animation-delay: 2s; }
.pools-hero-cta__coin--6 { right: 15%; top: 45%; width: 42px; height: 42px; animation-delay: 2.5s; }

@keyframes pool-coin-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-12px) scale(1.05); opacity: 1; }
}

.pools-hero-cta > .container {
  position: relative;
  z-index: 2;
}

/* Contenido principal – sin min-height 100vh para evitar scroll innecesario */
.section--pools-page.pools-page {
  min-height: auto !important;
  padding: var(--space-xl) 0 var(--space-2xl);
  overflow: visible;
}

.section--pools-page .container {
  max-width: min(92%, 1200px);
  margin: 0 auto;
}

.pools-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .pools-page__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-xl);
  }
}

.pools-page__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 100%;
  text-align: left;
}

.pools-page__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  margin: 0;
  line-height: 1.2;
}

.pools-page__lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: left;
  max-width: 100%;
  margin: 0;
}

.pool-diagram {
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .pool-diagram {
    margin: 0 auto;
    max-width: 480px;
    padding: var(--space-md);
  }
}

.pool-diagram__img,
.pool-diagram__svg {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Sección ¿Qué es Uniswap? – Glassmorphism tipo vidrio, formas abstractas    */
/* -------------------------------------------------------------------------- */

.section--uniswap {
  padding: var(--space-2xl) 0;
  background: linear-gradient(165deg, #050c14 0%, #0a1628 25%, var(--accent, #0e2d50) 55%, #0a1f3a 85%, #061525 100%);
  position: relative;
  overflow: hidden;
}

/* Formas abstractas de fondo – colores de marca (azul, gris) */
.uniswap-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.uniswap-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
  animation: uniswap-shape-float 18s ease-in-out infinite;
}

.uniswap-bg-shape--1 {
  width: min(100vw, 650px);
  height: min(100vw, 650px);
  background: radial-gradient(circle, rgba(14, 45, 80, 0.6) 0%, rgba(10, 31, 58, 0.25) 45%, transparent 75%);
  top: -25%;
  right: -15%;
  animation-delay: 0s;
}

.uniswap-bg-shape--2 {
  width: min(85vw, 550px);
  height: min(85vw, 550px);
  background: radial-gradient(circle, rgba(70, 100, 140, 0.35) 0%, rgba(14, 45, 80, 0.2) 50%, transparent 75%);
  bottom: -20%;
  left: -10%;
  animation-delay: -6s;
}

.uniswap-bg-shape--3 {
  width: min(60vw, 400px);
  height: min(60vw, 400px);
  background: radial-gradient(circle, rgba(175, 175, 175, 0.15) 0%, rgba(14, 45, 80, 0.1) 50%, transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -12s;
}

@keyframes uniswap-shape-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  33% { transform: translate(4%, -3%) scale(1.04); opacity: 0.65; }
  66% { transform: translate(-3%, 4%) scale(0.96); opacity: 0.6; }
}

.uniswap-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.uniswap-bg__logo {
  width: clamp(320px, 55vw, 560px);
  height: auto;
  opacity: 0.12;
  filter: brightness(1.3);
  animation: uniswap-logo-pulse 10s ease-in-out infinite;
}

@keyframes uniswap-logo-pulse {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50% { opacity: 0.18; transform: scale(1.02); }
}

.uniswap-section .container {
  max-width: min(92%, 900px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Panel glassmorphism – estilo vidrio esmerilado */
.uniswap-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(40px) saturate(1.2);
  -webkit-backdrop-filter: blur(40px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: var(--space-xl);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
    inset 1px 0 0 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.15);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.uniswap-glass:hover {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(48px) saturate(1.3);
  -webkit-backdrop-filter: blur(48px) saturate(1.3);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.28),
    inset 1px 0 0 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.2);
}

.uniswap-glass__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.02em;
}

.uniswap-glass__lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 var(--space-lg);
  line-height: 1.5;
}

.uniswap-glass__body {
  margin-bottom: var(--space-xl);
}

.uniswap-glass__body p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 var(--space-md);
}

.uniswap-glass__body p:last-child {
  margin-bottom: 0;
}

.uniswap-glass__body strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.uniswap-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: 0;
}

@media (min-width: 640px) {
  .uniswap-pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

.uniswap-pillar--glass {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: uniswap-pillar-in 0.6s ease-out both;
}

.uniswap-pillar--glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.uniswap-pillar--glass:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.uniswap-pillar--glass:hover::before {
  opacity: 1;
}

.uniswap-pillar--glass:hover .uniswap-pillar__icon {
  transform: scale(1.12) rotate(5deg);
  color: #fff;
}

.uniswap-pillar:nth-child(1) { animation-delay: 0.1s; }
.uniswap-pillar:nth-child(2) { animation-delay: 0.2s; }
.uniswap-pillar:nth-child(3) { animation-delay: 0.3s; }

.uniswap-pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: rgba(255, 255, 255, 0.75);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
  flex-shrink: 0;
}

.uniswap-pillar__icon svg {
  width: 36px;
  height: 36px;
}

.uniswap-pillar__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  line-height: 1.3;
  transition: color 0.2s ease;
}

@keyframes uniswap-pillar-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* -------------------------------------------------------------------------- */
/* Sección Por qué Arbitrum y Base – Logo 3D cortado a la derecha, glass      */
/* -------------------------------------------------------------------------- */

.section--arbitrum-base {
  padding: var(--space-2xl) var(--space-md);
  background: linear-gradient(165deg, #040a12 0%, #071428 30%, #0b1b32 60%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}

.arbitrum-base__bg {
  position: absolute;
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  width: 88%;
  max-width: 1300px;
  height: 125%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 0;
}

.arbitrum-base__bg-logo {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  opacity: 0.55;
  filter: brightness(0.75);
}

.arbitrum-base__wrap {
  max-width: min(94%, 1100px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Panel glassmorphism – tono más oscuro para buen contraste */
.arbitrum-base__glass {
  background: rgba(10, 31, 58, 0.82);
  backdrop-filter: blur(36px) saturate(1.2);
  -webkit-backdrop-filter: blur(36px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: var(--space-xl);
  max-width: 560px;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
    inset 1px 0 0 0 rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.arbitrum-base__glass:hover {
  background: rgba(10, 31, 58, 0.9);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
}

.arbitrum-base__title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-md);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.arbitrum-base__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

/* Carousel pequeño – Menores costos / Mayor velocidad / Mejor experiencia */
.arbitrum-carousel-wrap {
  overflow: hidden;
  max-width: 100%;
}

.arbitrum-carousel {
  position: relative;
}

.arbitrum-carousel__track {
  display: flex;
  gap: var(--space-sm);
  width: max-content;
  padding: var(--space-xs) 0;
  animation: arbitrum-scroll 28s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.arbitrum-carousel-wrap:hover .arbitrum-carousel__track {
  animation-play-state: paused;
}

/* 9 pills = 3 copias; movemos 1/3 del track para loop infinito sin hueco */
@keyframes arbitrum-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-33.333%, 0, 0); }
}

.arbitrum-pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(10, 31, 58, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  min-width: 160px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.arbitrum-pill:hover {
  background: rgba(10, 31, 58, 0.95);
  border-color: rgba(255, 255, 255, 0.25);
}

.arbitrum-pill__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #fff;
}

.arbitrum-pill__icon svg {
  width: 20px;
  height: 20px;
}

.arbitrum-pill__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Sección ¿Qué es Arbitrum?                                                  */
/* -------------------------------------------------------------------------- */

.section--arbitrum-what {
  position: relative;
  padding: var(--space-2xl) var(--space-md);
  overflow: hidden;
}

.arbitrum-what__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #040a12 0%, #071428 25%, #0b1b32 55%, #0a1628 85%, #061525 100%);
  z-index: 0;
}

.arbitrum-what__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(14, 45, 80, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}

/* Logo a todo el borde izquierdo, como la sección anterior */
.arbitrum-what__logo-wrap {
  position: absolute;
  top: 50%;
  left: -22%;
  transform: translateY(-50%);
  width: 88%;
  max-width: 1300px;
  height: 125%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  z-index: 0;
}

.arbitrum-what__logo-img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  opacity: 0.55;
  filter: brightness(0.75);
  transform: scaleX(-1);
}

.arbitrum-what__wrap {
  position: relative;
  z-index: 1;
  max-width: min(92%, 640px);
  margin-left: 52%;
  margin-right: var(--space-md);
}

.arbitrum-what__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-lg);
  line-height: 1.2;
}

.arbitrum-what__card {
  border-radius: 20px;
  padding: var(--space-xl);
}

.arbitrum-what__card--glass {
  background: rgba(10, 31, 58, 0.65);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.arbitrum-what__card--glass:hover {
  background: rgba(10, 31, 58, 0.75);
  border-color: rgba(255, 255, 255, 0.18);
}

.arbitrum-what__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .arbitrum-what__logo-wrap {
    left: -25%;
    width: 100%;
    min-height: 380px;
  }

  .arbitrum-what__wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: min(94%, 520px);
    text-align: center;
  }
}

/* -------------------------------------------------------------------------- */
/* Sección ¿Qué es Base? – invertida, tonos claros                             */
/* -------------------------------------------------------------------------- */

.section--base-what {
  position: relative;
  padding: var(--space-2xl) var(--space-md);
  overflow: hidden;
}

.base-what__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #e8eef5 0%, #f0f4f9 30%, #e2e8f0 70%, #dbe2ec 100%);
  z-index: 0;
}

.base-what__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(14, 45, 80, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.8;
  pointer-events: none;
}

.base-what__logo-wrap {
  position: absolute;
  top: 50%;
  right: -22%;
  transform: translateY(-50%);
  width: 88%;
  max-width: 1300px;
  height: 125%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 0;
}

.base-what__logo-img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
  opacity: 0.5;
  filter: brightness(0.9);
}

.base-what__wrap {
  position: relative;
  z-index: 1;
  max-width: min(92%, 640px);
  margin-right: 52%;
  margin-left: var(--space-md);
}

.base-what__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 var(--space-lg);
  line-height: 1.2;
}

.base-what__card {
  border-radius: 20px;
  padding: var(--space-xl);
}

.base-what__card--glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px) saturate(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.1);
  border: 1px solid rgba(14, 45, 80, 0.12);
  box-shadow:
    0 20px 56px rgba(14, 45, 80, 0.08),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
}

.base-what__card--glass:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(14, 45, 80, 0.18);
}

.base-what__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #1e293b;
}

@media (max-width: 768px) {
  .base-what__logo-wrap {
    right: -25%;
    width: 100%;
    min-height: 380px;
  }

  .base-what__wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: min(94%, 520px);
    text-align: center;
  }
}

/* -------------------------------------------------------------------------- */
/* Sección Por qué stablecoins y estos pares                                  */
/* -------------------------------------------------------------------------- */

.section--pairs {
  position: relative;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  overflow: hidden;
}

.pairs-tech-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #050c14 0%, #0a1628 25%, #0e2d50 50%, #0a1f3a 75%, #061525 100%);
  z-index: 0;
}

.pairs-tech-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 45, 80, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 45, 80, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}

.pairs-tech-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(39, 117, 202, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pairs-section .container {
  position: relative;
  z-index: 1;
  max-width: min(92%, 1200px);
  margin: 0 auto;
}

.pairs-section .section__title {
  color: #fff;
}

.pairs-section .section__lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
}

/* Cards glassmorphism innovador */
.pairs-glass-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.pairs-glass-card {
  position: relative;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(14, 45, 80, 0.5) 0%, rgba(39, 117, 202, 0.2) 50%, rgba(14, 45, 80, 0.4) 100%);
  background-clip: padding-box;
  box-shadow:
    0 0 40px rgba(39, 117, 202, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.pairs-glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(39,117,202,0.3), rgba(255,255,255,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.8;
}

.pairs-glass-card__glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(39, 117, 202, 0.1), transparent 30%);
  animation: pairs-glow-rotate 12s linear infinite;
}

@keyframes pairs-glow-rotate {
  to { transform: rotate(360deg); }
}

.pairs-glass-card__content {
  position: relative;
  background: rgba(10, 31, 58, 0.5);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-radius: 23px;
  padding: var(--space-xl);
  min-height: 100%;
}

.pairs-glass-card:hover .pairs-glass-card__content {
  background: rgba(10, 31, 58, 0.65);
}

.pairs-glass-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--space-md);
  line-height: 1.3;
}

.pairs-glass-card__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.pairs-glass-card--1 .pairs-glass-card__content { border-left: 3px solid rgba(39, 117, 202, 0.6); }
.pairs-glass-card--2 .pairs-glass-card__content { border-left: 3px solid rgba(98, 126, 234, 0.6); }

.pairs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.pairs-item {
  padding: var(--space-md);
  text-align: center;
  animation: pairs-float 3s ease-in-out infinite;
}

.pairs-item:nth-child(2) {
  animation-delay: 0.5s;
}

@keyframes pairs-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.pairs-item__icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  display: block;
  object-fit: contain;
}

.pairs-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin: var(--space-lg) auto 0;
  max-width: 520px;
}
