/* Opinyx — premium UI (spec/ui-polished.md) */

:root {
  --opx-gradient-start: #1e3c72;
  --opx-gradient-end: #2a5298;
  --opx-gradient-deep: #0f2744;
  --opx-glow-blue: rgba(59, 130, 246, 0.45);
  --opx-glow-soft: 0 8px 32px rgba(30, 60, 114, 0.18);
  --opx-glow-card: 0 0 0 1px rgba(99, 102, 241, 0.12), 0 20px 50px rgba(30, 60, 114, 0.12);
  --opx-success: #22c55e;
  --opx-danger: #ef4444;
  --opx-warning: #f59e0b;
  --opx-bg: #f8fafc;
  --opx-card: #ffffff;
  --opx-border: #e5e7eb;
  --opx-shadow: 0 4px 24px rgba(30, 60, 114, 0.08);
  --opx-shadow-hover: 0 20px 48px rgba(30, 60, 114, 0.2), 0 0 40px rgba(59, 130, 246, 0.15);
  --opx-radius: 12px;
  --opx-radius-lg: 16px;
  --opx-transition: 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.2rem rgba(42, 82, 152, 0.35);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
}

.opinyx-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--opx-bg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #0f172a;
}

/* ——— Sticky glass navbar ——— */
.opinyx-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow var(--opx-transition);
}

.opinyx-header.opinyx-header--scrolled {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.14), 0 0 1px rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.opinyx-nav .navbar {
  min-height: 64px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  background: rgba(30, 60, 114, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--opx-transition), box-shadow var(--opx-transition);
}

.opinyx-header.opinyx-header--scrolled .opinyx-nav .navbar {
  background: rgba(30, 60, 114, 0.96);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.18);
}

.opinyx-nav .navbar-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.opinyx-nav .nav-link {
  font-weight: 500;
  opacity: 0.92;
  transition:
    opacity var(--opx-transition),
    transform var(--opx-transition),
    color var(--opx-transition);
}

.opinyx-nav .nav-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.opinyx-nav .btn-opx-google {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.45rem 1rem;
  background: #fff;
  color: var(--opx-gradient-start);
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform var(--opx-transition), box-shadow var(--opx-transition), background var(--opx-transition);
}

.opinyx-nav .btn-opx-google:hover {
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  color: var(--opx-gradient-end);
}

.opinyx-nav .btn-opx-google:active {
  transform: scale(0.98);
}

.opinyx-footer {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-color: var(--opx-border) !important;
}

/* ——— Hero (premium + glow) ——— */
.opinyx-hero--premium {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding: 3.25rem 1rem 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(96, 165, 250, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 100% 50%, rgba(59, 130, 246, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 0% 80%, rgba(14, 165, 233, 0.18) 0%, transparent 45%),
    linear-gradient(165deg, var(--opx-gradient-deep) 0%, var(--opx-gradient-start) 38%, var(--opx-gradient-end) 72%, #1a4a7a 100%);
}

@media (min-width: 768px) {
  .opinyx-hero--premium {
    padding: 4.25rem 1.5rem 5rem;
  }
}

.opinyx-hero__aurora {
  position: absolute;
  inset: -40%;
  background:
    conic-gradient(from 200deg at 50% 50%, rgba(59, 130, 246, 0.15), transparent 35%, rgba(147, 197, 253, 0.12), transparent 65%, rgba(56, 189, 248, 0.1), transparent);
  animation: opx-aurora-shift 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.opinyx-hero__glow-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.opinyx-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  animation: opx-orb-pulse 6s ease-in-out infinite;
}

.opinyx-hero__orb--a {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: rgba(96, 165, 250, 0.5);
  top: -12%;
  left: -8%;
  animation-delay: 0s;
}

.opinyx-hero__orb--b {
  width: min(45vw, 360px);
  height: min(45vw, 360px);
  background: rgba(34, 211, 238, 0.25);
  bottom: -5%;
  right: -10%;
  animation-delay: 1.5s;
}

.opinyx-hero__orb--c {
  width: min(35vw, 280px);
  height: min(35vw, 280px);
  background: rgba(129, 140, 248, 0.35);
  top: 40%;
  left: 35%;
  animation-delay: 0.8s;
}

.opinyx-hero__parallax-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.opinyx-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.opinyx-hero__waves-svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  opacity: 0.2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='0.35' d='M0,120L60,118C120,116,240,112,360,101.3C480,91,600,74,720,69.3C840,65,960,74,1080,80C1200,86,1320,89,1380,90.7L1440,92L1440,200L1380,200C1320,200,1200,200,1080,200C960,200,840,200,720,200C600,200,480,200,360,200C240,200,120,200,60,200L0,200Z'/%3E%3C/svg%3E")
    bottom center / 100% 100% no-repeat;
}

.opinyx-hero__inner--glass {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.opinyx-hero__glass {
  padding: 1.75rem 1.35rem 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.opx-hero-enter {
  animation: opx-hero-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.opinyx-hero__glass-float {
  animation: opx-hero-float 10s ease-in-out 1s infinite;
}

@media (min-width: 768px) {
  .opinyx-hero__glass {
    padding: 2.25rem 2.5rem 2.5rem;
  }
}

.opinyx-hero__title--xl {
  font-size: clamp(2.25rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.opinyx-hero__sub--spaced {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.55;
  opacity: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.opinyx-hero__actions--center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn-opx-google-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  background: #fff;
  color: #1e3a5f;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  transition: transform var(--opx-transition), box-shadow var(--opx-transition), filter var(--opx-transition);
}

.btn-opx-google-hero:hover {
  color: #0f172a;
  filter: brightness(1.03);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(59, 130, 246, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.btn-opx-google-hero:active {
  transform: scale(0.97);
}

.opx-google-mark {
  flex-shrink: 0;
}

.btn-opx-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, var(--opx-gradient-end) 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform var(--opx-transition), box-shadow var(--opx-transition), filter var(--opx-transition);
}

.btn-opx-primary:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.btn-opx-primary:active {
  transform: scale(0.98);
}

.btn-opx-glow:hover {
  box-shadow:
    0 8px 28px rgba(59, 130, 246, 0.35),
    0 0 40px rgba(96, 165, 250, 0.25);
}

.btn-opx-outline-light:active {
  transform: scale(0.97);
}

.btn-opx-press:active {
  transform: scale(0.96);
}

.btn-opx-outline-light {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
  transition: background var(--opx-transition), border-color var(--opx-transition), transform var(--opx-transition);
}

.btn-opx-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.12);
}

.opx-glow-border {
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.12), var(--opx-shadow);
  transition: box-shadow var(--opx-transition);
}

.opx-glow-border:hover {
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.22), 0 12px 40px rgba(30, 60, 114, 0.12);
}

/* ——— Section spacing ——— */
.opinyx-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .opinyx-section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
}

/* ——— Category tabs (pills + horizontal scroll) ——— */
.opinyx-category-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.35rem;
  margin-bottom: 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.opinyx-category-scroll::-webkit-scrollbar {
  height: 4px;
}

.opinyx-category-scroll::-webkit-scrollbar-thumb {
  background: rgba(30, 60, 114, 0.25);
  border-radius: 4px;
}

.opinyx-category-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--opx-border);
  background: #eef2f7;
  color: #334155;
  text-decoration: none;
  transition: background var(--opx-transition), color var(--opx-transition), border-color var(--opx-transition), transform var(--opx-transition);
}

.opinyx-category-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.opinyx-category-pill--active {
  background: linear-gradient(135deg, var(--opx-gradient-start), var(--opx-gradient-end));
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(30, 60, 114, 0.35);
}

.opinyx-category-pill--active:hover {
  color: #fff !important;
  filter: brightness(1.05);
}

/* ——— Poll grid ——— */
.opinyx-poll-grid {
  --opx-grid-gap: 20px;
  display: flex;
  flex-wrap: wrap;
  margin: calc(var(--opx-grid-gap) / -2);
}

.opinyx-poll-grid > [class*="col"] {
  padding: calc(var(--opx-grid-gap) / 2);
}

/* ——— Premium poll card ——— */
.poll-premium-card {
  position: relative;
  background: var(--opx-card);
  border-radius: var(--opx-radius-lg);
  border: 1px solid var(--opx-border);
  box-shadow: var(--opx-shadow);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color var(--opx-transition);
}

.poll-premium-card:hover {
  transform: translateY(-8px) scale(1.012);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow:
    var(--opx-shadow-hover),
    0 0 0 1px rgba(147, 197, 253, 0.25),
    0 0 48px rgba(59, 130, 246, 0.12);
}

.poll-premium-card:active {
  transform: translateY(-4px) scale(1.005);
}

.poll-premium-card--compact .poll-premium-card__media {
  height: 100px;
}

.poll-premium-card__media {
  position: relative;
  display: block;
  height: 150px;
  overflow: hidden;
  background: linear-gradient(145deg, #1e3c72 0%, #2a5298 50%, #3b6cb5 100%);
}

@media (min-width: 992px) {
  .poll-premium-card__media {
    height: 160px;
  }
}

.poll-premium-card__media-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(195deg, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.08) 45%, transparent 70%);
  pointer-events: none;
  transition: opacity var(--opx-transition);
}

.poll-premium-card:hover .poll-premium-card__media-gradient {
  opacity: 0.92;
}

.poll-premium-card__media-inner {
  position: relative;
  z-index: 3;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.poll-premium-card:hover .poll-premium-card__media-inner {
  transform: scale(1.08);
}

.poll-premium-card__media-initial {
  font-size: clamp(3rem, 8vw, 4.5rem);
  opacity: 0.3;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
}

.poll-premium-card__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.poll-premium-card:hover .poll-premium-card__media-img {
  transform: scale(1.06);
}

.poll-premium-card__media-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
  background-image: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 12px,
    rgba(255, 255, 255, 0.04) 12px,
    rgba(255, 255, 255, 0.04) 13px
  );
  pointer-events: none;
}

.poll-premium-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.75rem;
}

.poll-premium-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.poll-premium-card__title a {
  color: #0f172a;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--opx-transition);
}

.poll-premium-card__title a:hover {
  color: var(--opx-gradient-end);
}

.poll-premium-card__cta {
  margin-top: auto;
  width: 100%;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, var(--opx-gradient-start), var(--opx-gradient-end));
  text-align: center;
  text-decoration: none;
  display: block;
  box-shadow: 0 4px 12px rgba(30, 60, 114, 0.25);
  transition: transform var(--opx-transition), box-shadow var(--opx-transition), filter var(--opx-transition);
}

.poll-premium-card__cta:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 60, 114, 0.3);
}

.poll-premium-card__cta:active {
  transform: scale(0.98);
}

/* ——— Share row (poll cards) ——— */
.opx-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
  margin-top: 0.15rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.poll-premium-card--compact .opx-share {
  padding-top: 0.15rem;
  margin-top: 0;
}

.opx-share__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.opx-share__btns {
  display: flex;
  gap: 0.5rem;
}

.opx-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition:
    transform var(--opx-transition),
    box-shadow var(--opx-transition),
    filter var(--opx-transition);
}

.opx-share__btn:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.6);
  outline-offset: 2px;
}

.opx-share__btn--wa {
  color: #fff;
  background: linear-gradient(145deg, #22c55e, #16a34a);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.opx-share__btn--fb {
  color: #fff;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.opx-share__btn:hover {
  transform: translateY(-2px) scale(1.06);
  filter: brightness(1.05);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18), 0 0 24px rgba(59, 130, 246, 0.2);
}

.opx-share__btn:active {
  transform: scale(0.94);
}

.opx-share__icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform var(--opx-transition);
}

.opx-share__btn:hover .opx-share__icon {
  transform: scale(1.08);
}

.poll-premium-card--compact .opx-share__btn {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border-radius: 10px;
}

.opinyx-badge-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(30, 60, 114, 0.08);
  color: var(--opx-gradient-start);
  border: 1px solid rgba(30, 60, 114, 0.12);
}

.opinyx-badge-trending {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, var(--opx-warning));
  color: #422006;
}

/* ——— Vote bars ——— */
.vote-bar {
  margin-bottom: 0.5rem;
}

.vote-bar-track {
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.vote-bar-fill {
  height: 100%;
  border-radius: 999px;
  width: 0;
  min-width: 0;
  transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.vote-bar--revealed .vote-bar-fill {
  width: var(--vote-pct, 0%);
}

.vote-bar-fill--success {
  background: linear-gradient(90deg, #16a34a, var(--opx-success));
}

.vote-bar-fill--danger {
  background: linear-gradient(90deg, #dc2626, var(--opx-danger));
}

.vote-bar-fill--blue {
  background: linear-gradient(90deg, var(--opx-gradient-start), #3b82f6);
}

/* ——— Stagger reveal ——— */
.reveal-row {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Suggested horizontal scroll ——— */
.opinyx-suggested-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.opinyx-suggested-scroll > .opinyx-suggested-item {
  flex: 0 0 min(85vw, 320px);
  scroll-snap-align: start;
  min-width: 0;
}

.opinyx-poll-card-wrap--inline {
  min-width: 0;
}

@media (min-width: 768px) {
  .opinyx-suggested-scroll > .opinyx-suggested-item {
    flex: 0 0 280px;
  }
}

/* ——— Bottom CTA ——— */
.opinyx-bottom-cta {
  margin-top: 2.5rem;
  padding: 2.5rem 1.25rem;
  text-align: center;
  border-radius: var(--opx-radius-lg);
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.06), rgba(42, 82, 152, 0.08));
  border: 1px solid var(--opx-border);
}

.opinyx-bottom-cta h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.opinyx-bottom-cta p {
  color: #64748b;
  margin-bottom: 1.25rem;
}

/* ——— Legacy / shared ——— */
.opinyx-badge {
  background: linear-gradient(90deg, var(--opx-gradient-start), var(--opx-gradient-end));
  color: #fff;
}

.opinyx-empty {
  border-radius: var(--opx-radius-lg);
  background: rgba(255, 255, 255, 0.85);
  border: 1px dashed var(--opx-border);
}

/* Detail page poll card */
.card.shadow-sm {
  border-radius: var(--opx-radius-lg);
  border: 1px solid var(--opx-border);
}

@keyframes opx-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes opx-aurora-shift {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: rotate(18deg) scale(1.06);
    opacity: 0.75;
  }
}

@keyframes opx-orb-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.65;
  }
}

@keyframes opx-hero-enter {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes opx-hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
