/*
 * Flareo Studio – Component Library
 * All reusable UI components: glassmorphism, buttons, cards, nav, forms, badges
 */

/* ============================================================
   GLASSMORPHISM SURFACES
   ============================================================ */
.glass {
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.08);
}

.glass-strong {
  background: linear-gradient(160deg, oklch(0.18 0.03 280 / 0.7), oklch(0.1 0.02 280 / 0.5));
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.1);
}

/* ============================================================
   GLOW EFFECTS
   ============================================================ */
.glow-purple {
  box-shadow:
    0 0 30px -2px oklch(0.62 0.27 305 / 0.5),
    inset 0 1px 0 oklch(1 0 0 / 0.1);
}

.glow-blue {
  box-shadow:
    0 0 30px -2px oklch(0.7 0.2 240 / 0.5),
    inset 0 1px 0 oklch(1 0 0 / 0.1);
}

.ring-neon {
  box-shadow:
    inset 0 0 0 1px oklch(0.62 0.27 305 / 0.4),
    0 0 20px -4px oklch(0.62 0.27 305 / 0.6);
}

/* ============================================================
   BUTTONS
   ============================================================ */

/* Base button reset */
.flr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--flr-font);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  border-radius: var(--flr-radius-full);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.flr-btn:hover  { transform: scale(1.03); }
.flr-btn:active { transform: scale(0.98); }

/* Primary — gradient fill */
.flr-btn-primary {
  background: linear-gradient(135deg, var(--flr-primary), var(--flr-secondary));
  color: var(--flr-primary-fg);
  box-shadow: 0 0 30px -2px oklch(0.62 0.27 305 / 0.5);
}

.flr-btn-primary:hover {
  box-shadow: 0 0 40px -2px oklch(0.62 0.27 305 / 0.7);
}

/* Ghost / glass */
.flr-btn-ghost {
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.08);
  color: var(--flr-fg);
}

.flr-btn-ghost:hover {
  box-shadow:
    inset 0 0 0 1px oklch(0.62 0.27 305 / 0.4),
    0 0 20px -4px oklch(0.62 0.27 305 / 0.6);
}

/* Small variant */
.flr-btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

/* Icon-only round button */
.flr-btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--flr-radius-full);
  display: grid;
  place-items: center;
}

/* WooCommerce button alignment */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  font-family: var(--flr-font);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.875rem 1.75rem;
  border-radius: var(--flr-radius-full);
  background: linear-gradient(135deg, var(--flr-primary), var(--flr-secondary));
  color: var(--flr-primary-fg) !important;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px -4px oklch(0.62 0.27 305 / 0.4);
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px -2px oklch(0.62 0.27 305 / 0.6);
  background: linear-gradient(135deg, var(--flr-primary), var(--flr-secondary));
  color: var(--flr-primary-fg) !important;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.flr-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--flr-z-nav);
  padding-block: 1.25rem;
  transition: padding 0.5s ease;
}

.flr-nav.scrolled {
  padding-block: 0.75rem;
}

.flr-nav.scrolled .flr-nav-pill {
  background: linear-gradient(160deg, oklch(0.18 0.03 280 / 0.7), oklch(0.1 0.02 280 / 0.5));
}

.flr-nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--flr-radius-full);
  padding: 0.625rem 1.25rem;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.08);
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  transition: background 0.5s ease;
}

/* Logo */
.flr-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.flr-logo-icon {
  position: relative;
  width: 2rem;
  height: 2rem;
}

.flr-logo-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--flr-primary), var(--flr-secondary));
  animation: flr-pulse-glow 3s ease-in-out infinite;
}

.flr-logo-icon-inner {
  position: absolute;
  inset: 3px;
  border-radius: 0.35rem;
  background: var(--flr-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background-clip: text;
  -webkit-background-clip: text;
}

.flr-logo-icon-letter {
  background: linear-gradient(135deg, oklch(0.78 0.22 305), oklch(0.78 0.2 240));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.75rem;
  font-weight: 700;
}

.flr-logo-text {
  display: none;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .flr-logo-text { display: block; }
}

.flr-logo-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--flr-fg);
}

.flr-logo-byline {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--flr-muted-fg);
}

/* Desktop nav links */
.flr-nav-links {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .flr-nav-links { display: flex; }
}

.flr-nav-link {
  position: relative;
  color: var(--flr-muted-fg);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.2s;
}

.flr-nav-link:hover,
.flr-nav-link.active {
  color: var(--flr-fg);
}

.flr-nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--flr-primary), var(--flr-secondary));
  margin-inline: auto;
  transition: width 0.3s ease;
}

.flr-nav-link:hover::after,
.flr-nav-link.active::after {
  width: 100%;
}

/* Mobile menu */
.flr-mobile-menu {
  display: none;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--flr-radius-xl);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.1);
  background: linear-gradient(160deg, oklch(0.18 0.03 280 / 0.7), oklch(0.1 0.02 280 / 0.5));
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
}

.flr-mobile-menu.open { display: grid; }

.flr-mobile-link {
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  color: var(--flr-fg);
  text-decoration: none;
  transition: background 0.2s;
}

.flr-mobile-link:hover {
  background: oklch(1 0 0 / 0.05);
}

.flr-mobile-link.span-2 {
  grid-column: 1 / -1;
  text-align: center;
  background: linear-gradient(135deg, var(--flr-primary), var(--flr-secondary));
  color: var(--flr-primary-fg);
}

/* ============================================================
   CARDS
   ============================================================ */
.flr-card {
  border-radius: var(--flr-radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flr-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px oklch(0.62 0.27 305 / 0.4),
    0 0 20px -4px oklch(0.62 0.27 305 / 0.6);
}

/* Project card — full-bleed image, overlay text */
.flr-project-card {
  position: relative;
  border-radius: var(--flr-radius-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(160deg, oklch(0.18 0.03 280 / 0.7), oklch(0.1 0.02 280 / 0.5));
  border: 1px solid oklch(1 0 0 / 0.1);
}

.flr-project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.flr-project-card:hover img {
  transform: scale(1.1);
}

.flr-project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--flr-bg) 0%, oklch(0.07 0.01 280 / 0.3) 40%, transparent 100%);
}

.flr-project-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.08);
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  border-radius: var(--flr-radius-full);
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.flr-project-card-body {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
}

.flr-project-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--flr-fg);
  line-height: 1.2;
}

.flr-project-card-cta {
	margin-top: 0.75rem;
	font-size: 0.75rem;
	color: var(--flr-primary);
	text-transform: uppercase;
	letter-spacing: 0.2em;
}

/* Projects page — alternating row media */
.flr-project-row-media { transition: transform 1s ease; }
.flr-project-row:hover .flr-project-row-media { transform: scale(1.05); }

/* Social platform card */
.flr-social-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--flr-radius-xl);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.08);
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  transition: box-shadow 0.3s, transform 0.3s;
}

.flr-social-card:hover {
  box-shadow:
    inset 0 0 0 1px oklch(0.62 0.27 305 / 0.4),
    0 0 20px -4px oklch(0.62 0.27 305 / 0.6);
  transform: translateY(-4px);
}

.flr-social-card-glow {
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(2rem);
  transition: opacity 0.3s;
}

.flr-social-card:hover .flr-social-card-glow { opacity: 0.6; }

.flr-social-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.flr-social-card-name  { font-size: 1rem; font-weight: 600; margin-top: 1.25rem; }
.flr-social-card-handle { font-size: 0.75rem; color: var(--flr-muted-fg); margin-top: 0.125rem; }
.flr-social-card-meta  { display: flex; justify-content: space-between; font-size: 0.75rem; margin-top: 1rem; }
.flr-social-card-count { color: var(--flr-muted-fg); }
.flr-social-card-arrow { color: oklch(1 0 0 / 0.6); transition: transform 0.2s; }

.flr-social-card:hover .flr-social-card-arrow { transform: translateX(4px); }

/* ============================================================
   BADGES & LABELS
   ============================================================ */
.flr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--flr-radius-full);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.08);
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--flr-muted-fg);
}

.flr-badge-dot {
  position: relative;
  display: inline-flex;
}

.flr-badge-dot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--flr-primary);
  opacity: 0.75;
  animation: flr-ping 2s cubic-bezier(0,0,0.2,1) infinite;
}

.flr-badge-dot-core {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--flr-primary);
}

/* Section label (with leading line) */
.flr-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--flr-muted-fg);
}

.flr-section-label::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--flr-primary), var(--flr-secondary));
}

/* ============================================================
   STAT COUNTER WIDGET
   ============================================================ */
.flr-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 28rem;
}

.flr-stat-value {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 600;
  background: linear-gradient(135deg, oklch(0.78 0.22 305), oklch(0.78 0.2 240));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.flr-stat-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--flr-muted-fg);
  margin-top: 0.25rem;
}

/* ============================================================
   FLOATING BADGES (hero overlay)
   ============================================================ */
.flr-float-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  padding-right: 1.25rem;
  border-radius: var(--flr-radius-xl);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.1);
  background: linear-gradient(160deg, oklch(0.18 0.03 280 / 0.7), oklch(0.1 0.02 280 / 0.5));
}

.flr-float-badge-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.flr-float-badge-sub  { font-size: 0.75rem; color: var(--flr-muted-fg); }
.flr-float-badge-val  { font-size: 0.875rem; font-weight: 600; }

/* ============================================================
   FORMS
   ============================================================ */
.flr-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flr-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--flr-fg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.flr-input,
.flr-textarea,
.flr-select {
  width: 100%;
  border-radius: var(--flr-radius-full);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: var(--flr-font);
  color: var(--flr-fg);
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.08);
  outline: none;
  transition: box-shadow 0.2s;
}

.flr-textarea {
  border-radius: var(--flr-radius-xl);
  resize: vertical;
}

.flr-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.flr-input::placeholder,
.flr-textarea::placeholder {
  color: oklch(0.65 0.03 280 / 0.5);
}

.flr-input:focus,
.flr-textarea:focus,
.flr-select:focus {
  box-shadow:
    inset 0 0 0 1px oklch(0.62 0.27 305 / 0.4),
    0 0 20px -4px oklch(0.62 0.27 305 / 0.6);
}

/* ============================================================
   TABS
   ============================================================ */
.flr-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 auto 2rem;
  width: fit-content;
  padding: 0.375rem;
  border-radius: var(--flr-radius-full);
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.08);
}

.flr-tab {
  padding: 0.5rem 1rem;
  border-radius: var(--flr-radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--flr-muted-fg);
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.flr-tab:hover { color: var(--flr-fg); }

.flr-tab.active,
.flr-tab[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(to right, oklch(0.62 0.27 305), oklch(0.7 0.2 240));
  border-color: transparent;
  box-shadow: 0 0 30px -2px oklch(0.62 0.27 305 / 0.5);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.flr-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--flr-z-modal);
  background: oklch(0.07 0.01 280 / 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  place-items: center;
  padding: 1.5rem;
  cursor: zoom-out;
}

.flr-lightbox.open {
  display: grid;
}

.flr-lightbox img {
  max-height: 85vh;
  max-width: 90vw;
  border-radius: var(--flr-radius-2xl);
  box-shadow: 0 0 60px oklch(0.62 0.27 305 / 0.6);
}

.flr-lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.875rem;
  color: var(--flr-muted-fg);
  white-space: nowrap;
}

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.flr-marquee-wrap {
  border-top: 1px solid oklch(1 0 0 / 0.06);
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
  padding-block: 1.25rem;
  overflow: hidden;
}

.flr-marquee-track {
  display: flex;
  width: max-content;
  animation: flr-marquee 40s linear infinite;
}

.flr-marquee-item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-inline: 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.flr-marquee-text { color: oklch(1 0 0 / 0.4); }
.flr-marquee-dot  { color: var(--flr-primary); }

/* ============================================================
   HERO IMAGE CARD
   ============================================================ */
.flr-hero-image-card {
  border-radius: var(--flr-radius-2xl);
  overflow: hidden;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.1);
  background: linear-gradient(160deg, oklch(0.18 0.03 280 / 0.7), oklch(0.1 0.02 280 / 0.5));
  padding: 0.375rem;
}

.flr-hero-image-inner {
  position: relative;
  height: 100%;
  border-radius: 1.4rem;
  overflow: hidden;
}

.flr-hero-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flr-hero-image-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--flr-bg) 0%, oklch(0.07 0.01 280 / 0.1) 40%, transparent 100%);
}

/* Now Playing widget */
.flr-now-playing {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  border-radius: var(--flr-radius-xl);
  padding: 1rem;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.1);
  background: linear-gradient(160deg, oklch(0.18 0.03 280 / 0.7), oklch(0.1 0.02 280 / 0.5));
}

.flr-now-playing-header { display: flex; align-items: center; justify-content: space-between; }
.flr-now-playing-sub    { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--flr-muted-fg); }
.flr-now-playing-title  { font-size: 0.875rem; font-weight: 500; margin-top: 0.125rem; }
.flr-now-playing-play   {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--flr-radius-full);
  background: linear-gradient(135deg, var(--flr-primary), var(--flr-secondary));
  display: grid; place-items: center;
  box-shadow: 0 0 20px -2px oklch(0.62 0.27 305 / 0.5);
}
.flr-now-playing-play-icon {
  display: block;
  width: 0; height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid white;
}
.flr-now-playing-bar {
  margin-top: 0.75rem;
  height: 0.25rem;
  border-radius: var(--flr-radius-full);
  background: oklch(1 0 0 / 0.1);
  overflow: hidden;
}
.flr-now-playing-progress {
  height: 100%;
  border-radius: var(--flr-radius-full);
  background: linear-gradient(90deg, var(--flr-primary), var(--flr-secondary));
}

/* ============================================================
   DASHBOARD / STATS
   ============================================================ */
.flr-stat-card {
  border-radius: var(--flr-radius-xl);
  padding: 1.25rem;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.1);
  background: linear-gradient(160deg, oklch(0.18 0.03 280 / 0.7), oklch(0.1 0.02 280 / 0.5));
}

.flr-progress-bar {
  width: 100%;
  height: 0.375rem;
  border-radius: var(--flr-radius-full);
  background: oklch(1 0 0 / 0.08);
  overflow: hidden;
}

.flr-progress-fill {
  height: 100%;
  border-radius: var(--flr-radius-full);
  background: linear-gradient(90deg, var(--flr-primary), var(--flr-secondary));
  width: 0;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Animated bar chart */
.flr-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 8rem;
}

.flr-bar-col {
  flex: 1;
  border-radius: var(--flr-radius-sm) var(--flr-radius-sm) 0 0;
  background: linear-gradient(to top, var(--flr-primary), var(--flr-secondary));
  opacity: 0.8;
  height: 0;
  transition: height 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.flr-footer {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid oklch(1 0 0 / 0.06);
}

.flr-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
}

@media (max-width: 1024px) {
  .flr-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .flr-footer-grid { grid-template-columns: 1fr; }
}

.flr-footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--flr-fg);
  margin-bottom: 1rem;
}

.flr-footer-link {
  display: block;
  font-size: 0.875rem;
  color: var(--flr-muted-fg);
  text-decoration: none;
  padding-block: 0.25rem;
  transition: color 0.2s;
}

.flr-footer-link:hover { color: var(--flr-fg); }

.flr-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: var(--flr-muted-fg);
}

.flr-social-links {
  display: flex;
  gap: 0.75rem;
}

.flr-social-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--flr-radius-full);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid oklch(1 0 0 / 0.08);
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: var(--flr-muted-fg);
  text-decoration: none;
  transition: color 0.2s, box-shadow 0.2s;
}

.flr-social-icon:hover {
  color: var(--flr-fg);
  box-shadow: 0 0 12px -2px oklch(0.62 0.27 305 / 0.5);
}

/* ============================================================
   CURSOR GLOW
   ============================================================ */
#flr-cursor-glow {
  position: fixed;
  pointer-events: none;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  z-index: var(--flr-z-cursor);
  mix-blend-mode: screen;
  opacity: 0.4;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    oklch(0.7 0.25 305 / 0.35) 0%,
    oklch(0.7 0.2 240 / 0.15) 30%,
    transparent 70%
  );
  transition: transform 0.1s linear;
}

@media (max-width: 768px) {
  #flr-cursor-glow { display: none; }
}

/* ============================================================
   ORB BACKGROUNDS
   ============================================================ */
.flr-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: flr-orb 20s ease-in-out infinite;
}

.flr-orb-purple {
  background: var(--flr-primary-30);
  filter: blur(120px);
}

.flr-orb-blue {
  background: var(--flr-secondary-30);
  filter: blur(140px);
  animation-delay: -7s;
}

/* ============================================================
   PARTICLES
   ============================================================ */
.flr-particle {
  position: absolute;
  border-radius: 50%;
  background: oklch(0.7 0.25 305 / 0.4);
  box-shadow: 0 0 6px oklch(0.7 0.25 305 / 0.6);
  animation: flr-float-particle 10s linear infinite;
  pointer-events: none;
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.flr-gallery-masonry { column-count: 1; column-gap: 1.25rem; }
@media (min-width: 640px)  { .flr-gallery-masonry { column-count: 2; } }
@media (min-width: 1024px) { .flr-gallery-masonry { column-count: 3; } }

.flr-gallery-item:hover .flr-gallery-item-media   { transform: scale(1.1); }
.flr-gallery-item:hover .flr-gallery-item-overlay { opacity: 0.9; }
.flr-gallery-item:hover .flr-gallery-item-caption { opacity: 1; transform: translateY(0); }

.flr-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.flr-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.flr-content-card:hover .flr-content-card-play { opacity: 1; }
.flr-content-card:hover img { transform: scale(1.08); }

/* Bento-style content grid — matches content.html's auto-rows bento layout */
.flr-content-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; gap: 1.25rem; }
.flr-content-bento > div:nth-child(1),
.flr-content-bento > div:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.flr-content-bento .flr-content-card { position: absolute; inset: 0; aspect-ratio: auto; }
.flr-content-bento > div { position: relative; }
@media (max-width: 900px) {
  .flr-content-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
}
@media (max-width: 600px) {
  .flr-content-bento { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .flr-content-bento > div:nth-child(1),
  .flr-content-bento > div:nth-child(5) { grid-column: span 1; grid-row: span 1; }
}
