/* =========================================
   UIverse — Main Stylesheet
   ========================================= */

/* ---------- CSS Variables ---------- */
:root {
  --color-bg: #050510;
  --color-bg-secondary: rgba(10, 10, 25, 0.7);
  --color-bg-card: rgba(15, 15, 30, 0.6);
  --color-bg-card-hover: rgba(20, 20, 40, 0.8);
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.12);
  --color-text: #eaeaf0;
  --color-text-muted: #6b6b80;
  --color-text-secondary: #9d9db5;
  --color-primary: #ff2d55;
  --color-primary-light: #ff4d6d;
  --color-secondary: #00d4ff;
  --color-accent: #00d4ff;
  --color-gradient-1: #ff2d55;
  --color-gradient-2: #00d4ff;
  --color-gradient-3: #ff2d55;
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --header-height: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --shadow-glow: 0 0 60px rgba(255, 45, 85, 0.15);
  --shadow-glow-cyan: 0 0 60px rgba(0, 212, 255, 0.15);
  --transition: 0.2s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- Global Video Background ---------- */
.global-video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.global-video-bg canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: none;
}

.global-video-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(5, 5, 16, 0.25);
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-bg-card-hover);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

/* =========================================
   HEADER
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(5, 5, 16, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 45, 85, 0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(5, 5, 16, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 45, 85, 0.05);
}

.header__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity var(--transition);
}
.header__logo:hover {
  opacity: 0.85;
}
.header__logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 40%, var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.header__nav-link i {
  font-size: 0.8rem;
}
.header__nav-link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}
.header__nav-link.active {
  color: var(--color-text);
  background: rgba(255, 45, 85, 0.12);
}

/* Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header__search-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.header__search-btn:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-border);
}

.header__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.header__btn--ghost {
  color: var(--color-text-secondary);
}
.header__btn--ghost:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}
.header__btn--primary {
  background: linear-gradient(135deg, var(--color-primary), #cc0040);
  color: #fff;
  box-shadow: 0 2px 12px rgba(255, 45, 85, 0.3);
}
.header__btn--primary:hover {
  box-shadow: 0 4px 20px rgba(255, 45, 85, 0.5);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.header__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}
.header__mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* User Menu (logged-in state) */
.header__user-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  cursor: default;
  flex-shrink: 0;
  overflow: hidden;
}
.header__user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Search Overlay */
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 12px 24px 20px;
  background: rgba(10, 10, 15, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.search-overlay__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-hover);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}
.search-overlay__icon {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.search-overlay__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--color-text);
  font-size: 0.95rem;
  font-family: var(--font-family);
}
.search-overlay__input::placeholder {
  color: var(--color-text-muted);
}
.search-overlay__kbd {
  padding: 3px 8px;
  font-size: 0.7rem;
  font-family: var(--font-family);
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 24px 60px;
  overflow: hidden;
}

/* Animated Background */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background-color: transparent;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.5; /* Added contrast for the text */
  pointer-events: none;
}

.hero__gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.18;
  z-index: 1;
}
.hero__gradient--1 {
  width: 600px;
  height: 600px;
  background: var(--color-gradient-1);
  top: -200px;
  left: -100px;
  animation: floatBlob 12s ease-in-out infinite;
}
.hero__gradient--2 {
  width: 500px;
  height: 500px;
  background: var(--color-gradient-2);
  bottom: -150px;
  right: -100px;
  animation: floatBlob 15s ease-in-out infinite reverse;
}
.hero__gradient--3 {
  width: 400px;
  height: 400px;
  background: var(--color-gradient-3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatBlob 10s ease-in-out infinite;
  opacity: 0.08;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Floating Cards */
.hero__floating-elements {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: rgba(10, 10, 25, 0.55);
  border: 1px solid rgba(255, 45, 85, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: floatCard 8s ease-in-out infinite;
  pointer-events: auto;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.floating-card:hover {
  border-color: rgba(255, 45, 85, 0.4);
  box-shadow: 0 8px 40px rgba(255, 45, 85, 0.15), inset 0 1px 0 rgba(255,255,255,0.08);
}

.floating-card--1 {
  top: 18%;
  left: 6%;
  animation-delay: 0s;
}
.floating-card--2 {
  top: 30%;
  right: 8%;
  animation-delay: -2s;
}
.floating-card--3 {
  bottom: 28%;
  left: 8%;
  animation-delay: -4s;
}
.floating-card--4 {
  top: 55%;
  right: 5%;
  animation-delay: -1s;
}
.floating-card--5 {
  bottom: 12%;
  right: 15%;
  animation-delay: -3s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

/* Demo Components inside floating cards */
.demo-btn--neon {
  padding: 10px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 0 8px rgba(255, 45, 85, 0.5);
  box-shadow: 0 0 10px rgba(255, 45, 85, 0.2), inset 0 0 10px rgba(255, 45, 85, 0.1);
  font-family: var(--font-family);
}
.demo-btn--neon:hover {
  background: var(--color-primary);
  box-shadow: 0 0 30px rgba(255, 45, 85, 0.5), inset 0 0 15px rgba(255, 45, 85, 0.2);
}

/* Demo Toggle */
.demo-toggle input { display: none; }
.demo-toggle label {
  display: block;
  width: 48px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}
.demo-toggle label::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.demo-toggle input:checked + label {
  background: var(--color-primary);
}
.demo-toggle input:checked + label::after {
  transform: translateX(22px);
}

/* Demo Loader */
.demo-loader {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Demo Checkbox */
.demo-checkbox input { display: none; }
.demo-checkbox label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--color-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.demo-checkbox label svg {
  width: 16px;
  height: 16px;
  opacity: 1;
  transition: opacity 0.2s ease;
}
.demo-checkbox input:not(:checked) + label {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.demo-checkbox input:not(:checked) + label svg {
  opacity: 0;
}

/* Demo Input */
.demo-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.demo-input i {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Hero Content */
.hero__container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  background: rgba(255, 45, 85, 0.12);
  border: 1px solid rgba(255, 45, 85, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-bottom: 22px;
  animation: fadeInDown 0.8s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 18px rgba(255, 45, 85, 0.15);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--font-heading);
}
.hero__badge i:first-child {
  font-size: 0.6rem;
}
.hero__badge i:last-child {
  font-size: 0.52rem;
  opacity: 0.6;
}

/* Title */
.hero__title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero__title-gradient {
  background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2), var(--color-gradient-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Subtitle */
.hero__subtitle {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Search Bar */
.hero__search {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 5px 5px 5px 16px;
  gap: 10px;
  animation: fadeInUp 0.8s ease 0.3s both;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.hero__search:focus-within {
  border-color: rgba(255, 45, 85, 0.4);
  box-shadow: 0 0 24px rgba(255, 45, 85, 0.1);
}
.hero__search-icon {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  flex-shrink: 0;
}
.hero__search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--color-text);
  font-size: 0.78rem;
  font-family: var(--font-family);
}
.hero__search-input::placeholder {
  color: var(--color-text-muted);
}
.hero__search-btn {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--color-primary), #cc0040);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-family);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(255, 45, 85, 0.3);
}
.hero__search-btn:hover {
  box-shadow: 0 4px 20px rgba(255, 45, 85, 0.5);
  transform: translateY(-1px);
}

/* CTAs */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.3s both;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}
.hero__cta--primary {
  background: linear-gradient(135deg, var(--color-primary), #cc0040);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 45, 85, 0.35);
}
.hero__cta--primary:hover {
  box-shadow: 0 6px 30px rgba(255, 45, 85, 0.5);
  transform: translateY(-2px);
}
.hero__cta--secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  border: 1px solid rgba(0, 212, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero__cta--secondary:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
  transform: translateY(-2px);
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  background: linear-gradient(135deg, #fff, var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__stat-number::after {
  content: '+';
  -webkit-text-fill-color: var(--color-primary-light);
  font-weight: 700;
}
.hero__stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 2px;
}
.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(255, 45, 85, 0.5), transparent);
}

/* Tags */
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(8, 8, 18, 0.65);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  animation: tagPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Staggered entrance */
.hero__tag:nth-child(1) { animation-delay: 0.55s; }
.hero__tag:nth-child(2) { animation-delay: 0.62s; }
.hero__tag:nth-child(3) { animation-delay: 0.69s; }
.hero__tag:nth-child(4) { animation-delay: 0.76s; }
.hero__tag:nth-child(5) { animation-delay: 0.83s; }
.hero__tag:nth-child(6) { animation-delay: 0.90s; }
.hero__tag:nth-child(7) { animation-delay: 0.97s; }
.hero__tag:nth-child(8) { animation-delay: 1.04s; }
.hero__tag:nth-child(9) { animation-delay: 1.11s; }

/* Pink cycle */
.hero__tag:nth-child(3n+1) {
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.35), inset 0 0 14px rgba(255, 45, 85, 0.07);
}
.hero__tag:nth-child(3n+1) i { color: rgba(255, 77, 109, 0.85); }

/* Cyan cycle */
.hero__tag:nth-child(3n+2) {
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.35), inset 0 0 14px rgba(0, 212, 255, 0.07);
}
.hero__tag:nth-child(3n+2) i { color: rgba(0, 212, 255, 0.85); }

/* Pink-Cyan mix */
.hero__tag:nth-child(3n) {
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.25), inset 0 0 14px rgba(0, 212, 255, 0.07);
}
.hero__tag:nth-child(3n) i { color: rgba(0, 212, 255, 0.85); }

/* Hover states */
.hero__tag:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.07);
}
.hero__tag:nth-child(3n+1):hover {
  background: rgba(255, 45, 85, 0.15);
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.6), 0 0 22px rgba(255, 45, 85, 0.25), inset 0 0 18px rgba(255, 45, 85, 0.1);
}
.hero__tag:nth-child(3n+2):hover {
  background: rgba(0, 212, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.6), 0 0 22px rgba(0, 212, 255, 0.25), inset 0 0 18px rgba(0, 212, 255, 0.1);
}
.hero__tag:nth-child(3n):hover {
  background: rgba(255, 45, 85, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.5), 0 0 22px rgba(0, 212, 255, 0.2), inset 0 0 18px rgba(255, 45, 85, 0.08);
}

@keyframes tagPop {
  from { opacity: 0; transform: scale(0.8) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
  .floating-card--4,
  .floating-card--5 {
    display: none;
  }
}

@media (max-width: 900px) {
  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(5, 5, 16, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .header__nav-link {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }
  .header__mobile-toggle {
    display: flex;
  }
  .header__btn--ghost {
    display: none;
  }
  .floating-card {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero__title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  .hero__subtitle {
    font-size: 0.82rem;
  }
  .hero__search {
    padding: 4px 4px 4px 14px;
    gap: 6px;
  }
  .hero__search-input {
    font-size: 0.72rem;
  }
  .hero__search-btn {
    padding: 7px 14px;
    font-size: 0.68rem;
  }
  .header__container {
    padding: 0 16px;
  }
}
