/* ============================================
   VERDEY - Cosmic Transmission Terminal
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Crimson+Pro:ital,wght@0,400;0,500;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

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

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

body {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

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

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

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

/* ============================================
   2. Custom Properties - Nebula Ink Theme
   ============================================ */
:root {
  /* Dark Mode (Default) */
  --void: #0a0a0f;
  --void-light: #12121a;
  --void-lighter: #1a1a26;
  --nebula: #7c3aed;
  --nebula-bright: #8b5cf6;
  --nebula-dim: #5b21b6;
  --starlight: #f0e6ff;
  --starlight-dim: #c4b5fd;
  --transmission: #fbbf24;
  --aurora: #06b6d4;
  --aurora-dim: #0891b2;

  /* Semantic Colors */
  --bg-primary: var(--void);
  --bg-secondary: var(--void-light);
  --bg-card: var(--void-lighter);
  --text-primary: var(--starlight);
  --text-secondary: var(--starlight-dim);
  --text-muted: #8b8b9e;
  --accent: var(--nebula);
  --accent-bright: var(--nebula-bright);

  /* Effects */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.5);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Crimson Pro', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --header-height: 80px;
  --mobile-nav-height: 72px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   3. Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-style: italic;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.font-mono {
  font-family: var(--font-mono);
  font-size: 0.85em;
  letter-spacing: 0.02em;
}

/* ============================================
   4. Noise Texture Overlay
   ============================================ */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   5. Layout Utilities
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   6. Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: linear-gradient(to bottom, var(--bg-primary), transparent);
  padding: var(--space-lg);
  transition: background-color 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--nebula);
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.5), 0 0 40px rgba(124, 58, 237, 0.3);
  transition: all var(--transition-base);
}

.logo:hover {
  color: var(--accent-bright);
  text-shadow: 0 0 25px rgba(139, 92, 246, 0.6), 0 0 50px rgba(139, 92, 246, 0.4);
}

.nav-desktop {
  display: none;
  gap: var(--space-xl);
  list-style: none;
}

.nav-desktop a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: color var(--transition-base);
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text-primary);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

/* Nav Filter Buttons */
.nav-filter {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
}

.nav-filter:hover {
  color: var(--text-primary);
}

.nav-filter.active {
  color: var(--accent-bright);
  background: rgba(124, 58, 237, 0.15);
}

.nav-divider {
  width: 1px;
  height: 16px;
  background: rgba(124, 58, 237, 0.3);
  align-self: center;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

/* ============================================
   7. Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-3xl) var(--space-lg);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* Cosmic Mode */
.hero-background[data-mode="cosmic"] {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(124, 58, 237, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.25) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(91, 33, 182, 0.2) 0%, transparent 60%),
    linear-gradient(to bottom, var(--void) 0%, var(--void-light) 100%);
}

.hero-background[data-mode="cosmic"]::before {
  content: '';
  position: absolute;
  inset: -100%;
  background:
    radial-gradient(circle at 30% 40%, rgba(124, 58, 237, 0.15) 0%, transparent 35%),
    radial-gradient(circle at 70% 60%, rgba(6, 182, 212, 0.1) 0%, transparent 30%);
  animation: nebulaDrift 30s ease-in-out infinite alternate;
}

.hero-background[data-mode="cosmic"]::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 60% 30%, rgba(251, 191, 36, 0.05) 0%, transparent 25%);
  animation: nebulaDrift 25s ease-in-out infinite alternate-reverse;
}

@keyframes nebulaDrift {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(80px, 40px) scale(1.15) rotate(3deg);
  }
}

/* Star particles */
.hero-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-stars::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,0.8), transparent),
    radial-gradient(2px 2px at 30% 50%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 50% 30%, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 70% 70%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 15% 80%, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 85% 15%, rgba(255,255,255,0.4), transparent);
  background-size: 300px 300px;
  animation: starFloat 100s linear infinite;
  opacity: 0.6;
}

@keyframes starFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-300px); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  animation: heroReveal 1.5s ease-out;
}

@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  animation: heroTaglineReveal 1.5s ease-out 0.3s backwards;
}

@keyframes heroTaglineReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: heroSubReveal 1.5s ease-out 0.6s backwards;
}

@keyframes heroSubReveal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* ============================================
   8. Content Grid
   ============================================ */
.content-section {
  padding: var(--space-3xl) 0;
  padding-bottom: calc(var(--mobile-nav-height) + var(--space-3xl));
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-2xl);
  }
}

/* ============================================
   10. Content Cards
   ============================================ */
.content-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition-bounce),
    box-shadow var(--transition-base);
  opacity: 0;
  transform: translateY(40px);
}

.content-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out,
    box-shadow var(--transition-base);
}

.content-card.hidden {
  display: none;
}

.content-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}

.content-card:hover .card-glow {
  opacity: 1;
}

.card-glow {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--nebula), var(--aurora));
  opacity: 0;
  z-index: -1;
  filter: blur(15px);
  transition: opacity var(--transition-base);
  animation: breatheGlow 3s ease-in-out infinite;
}

@keyframes breatheGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.02);
  }
}

.content-card:hover .card-glow {
  animation: breatheGlowHover 2s ease-in-out infinite;
}

@keyframes breatheGlowHover {
  0%, 100% {
    opacity: 0.6;
    filter: blur(15px);
  }
  50% {
    opacity: 0.8;
    filter: blur(20px);
  }
}

.card-link {
  display: block;
  height: 100%;
}

.card-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.content-card:hover .card-image img {
  transform: scale(1.08);
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(10, 10, 15, 0.8) 100%
  );
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  color: white;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--transmission);
  margin-bottom: var(--space-xs);
  display: inline-block;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.card-excerpt {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-sm);
  display: block;
}

/* ============================================
   11. About Section
   ============================================ */
.about-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
}

.about-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: center;
}

.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto var(--space-xl);
  border: 3px solid var(--accent);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

.about-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: var(--space-lg);
}

/* ============================================
   12. Subscribe Section
   ============================================ */
.subscribe-section {
  padding: var(--space-3xl) 0;
  text-align: center;
}

.subscribe-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.subscribe-subtitle {
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 500px) {
  .subscribe-form {
    flex-direction: row;
  }
}

.subscribe-input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.subscribe-input::placeholder {
  color: var(--text-muted);
}

.subscribe-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

.subscribe-button {
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.subscribe-button:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

/* ============================================
   13. Modal
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: translateY(50px) scale(0.95);
  transition: transform var(--transition-bounce);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-base);
}

.modal-close:hover {
  background: var(--accent);
  transform: rotate(90deg);
}

.modal-image {
  width: 100%;
  max-height: 50vh;
  object-fit: contain;
}

.modal-body {
  padding: var(--space-xl);
  max-height: 40vh;
  overflow-y: auto;
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--transmission);
  margin-bottom: var(--space-sm);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.modal-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.modal-text {
  color: var(--text-secondary);
  line-height: 1.8;
}

.modal-text p {
  margin-bottom: var(--space-md);
}

.modal-text pre {
  font-family: var(--font-body);
  white-space: pre-wrap;
  line-height: 1.8;
}

/* ============================================
   14. Mobile Bottom Navigation
   ============================================ */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--mobile-nav-height);
  background: var(--bg-card);
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }

  .content-section {
    padding-bottom: var(--space-3xl);
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-sm);
  transition: color var(--transition-base);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--accent-bright);
}

.mobile-nav-item svg {
  width: 24px;
  height: 24px;
}

/* Mobile Filter Buttons */
.mobile-filter {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: transparent;
  border: none;
  padding: var(--space-sm);
  transition: color var(--transition-base);
}

.mobile-filter.active {
  color: var(--accent-bright);
}

/* ============================================
   15. Footer
   ============================================ */
.footer {
  padding: var(--space-xl) 0;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.footer a {
  color: var(--accent);
  transition: color var(--transition-base);
}

.footer a:hover {
  color: var(--accent-bright);
}

/* ============================================
   16. Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* Body scroll lock when modal is open */
body.modal-open {
  overflow: hidden;
}

/* ============================================
   17. Holographic Effects
   ============================================ */

/* Holographic gradient animation for logo */
.logo {
  background: linear-gradient(
    90deg,
    #7c3aed 0%,
    #06b6d4 20%,
    #fbbf24 40%,
    #ec4899 60%,
    #7c3aed 80%,
    #06b6d4 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: holoShift 8s ease-in-out infinite;
  text-shadow: none;
}

.logo:hover {
  animation: holoShift 3s ease-in-out infinite;
  text-shadow: none;
}

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

/* Holographic avatar border */
.about-avatar {
  border: 3px solid transparent;
  background:
    linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
    linear-gradient(
      135deg,
      #7c3aed 0%,
      #06b6d4 25%,
      #fbbf24 50%,
      #ec4899 75%,
      #7c3aed 100%
    ) border-box;
  background-size: 100% 100%, 300% 300%;
  animation: holoBorder 6s ease-in-out infinite;
  box-shadow:
    0 0 20px rgba(124, 58, 237, 0.3),
    0 0 40px rgba(6, 182, 212, 0.2),
    0 0 60px rgba(251, 191, 36, 0.1);
}

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

/* Holographic card hover effect */
.content-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(124, 58, 237, 0.3) 25%,
    rgba(6, 182, 212, 0.3) 50%,
    rgba(251, 191, 36, 0.3) 75%,
    transparent 100%
  );
  background-size: 400% 400%;
  -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;
  transition: opacity 0.5s ease;
  z-index: 2;
  pointer-events: none;
}

.content-card:hover::before {
  opacity: 1;
  animation: holoCardBorder 3s ease-in-out infinite;
}

@keyframes holoCardBorder {
  0%, 100% { background-position: 0% 0%; }
  25% { background-position: 100% 0%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 100%; }
}

/* Holographic hero text accent */
.hero-tagline {
  position: relative;
}

.hero-tagline::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #7c3aed,
    #06b6d4,
    #fbbf24,
    #ec4899,
    transparent
  );
  background-size: 200% 100%;
  animation: holoLine 4s ease-in-out infinite;
  border-radius: 2px;
}

@keyframes holoLine {
  0%, 100% { background-position: 0% 50%; opacity: 0.6; }
  50% { background-position: 100% 50%; opacity: 1; }
}

/* Holographic subscribe button */
.subscribe-button {
  position: relative;
  background: linear-gradient(
    135deg,
    #7c3aed 0%,
    #5b21b6 100%
  );
  overflow: hidden;
}

.subscribe-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.subscribe-button:hover::before {
  transform: translateX(100%);
}

/* Prismatic light rays in hero */
.hero-prism {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  pointer-events: none;
  opacity: 0.15;
  z-index: 0;
}

.hero-prism::before,
.hero-prism::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 400px;
  transform-origin: top center;
}

.hero-prism::before {
  background: linear-gradient(
    180deg,
    transparent,
    #7c3aed 20%,
    #06b6d4 40%,
    #fbbf24 60%,
    #ec4899 80%,
    transparent
  );
  transform: rotate(-30deg);
  animation: prismWave 8s ease-in-out infinite;
}

.hero-prism::after {
  left: 50px;
  background: linear-gradient(
    180deg,
    transparent,
    #ec4899 20%,
    #fbbf24 40%,
    #06b6d4 60%,
    #7c3aed 80%,
    transparent
  );
  transform: rotate(-25deg);
  animation: prismWave 8s ease-in-out infinite 0.5s;
}

@keyframes prismWave {
  0%, 100% { opacity: 0.3; transform: rotate(-30deg) translateY(0); }
  50% { opacity: 0.6; transform: rotate(-25deg) translateY(20px); }
}

/* Additional prism rays */
.hero-prism-2 {
  position: absolute;
  bottom: 30%;
  left: 5%;
  width: 200px;
  height: 200px;
  pointer-events: none;
  opacity: 0.1;
  z-index: 0;
}

.hero-prism-2::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 300px;
  background: linear-gradient(
    180deg,
    transparent,
    #06b6d4,
    #7c3aed,
    transparent
  );
  transform: rotate(40deg);
  transform-origin: bottom center;
  animation: prismWave2 10s ease-in-out infinite;
}

@keyframes prismWave2 {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.5; }
}

/* Iridescent footer accent */
.footer {
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #7c3aed,
    #06b6d4,
    #fbbf24,
    #ec4899,
    #7c3aed,
    transparent
  );
  background-size: 200% 100%;
  animation: holoLine 6s ease-in-out infinite;
}
