@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
  --color-primary: #CC0D89;
  --color-primary-glow: rgba(204, 13, 137, 0.5);
  --color-secondary: #673DE6;
  --color-accent: #00FF87;
  --color-accent-glow: rgba(0, 255, 135, 0.4);
  --color-dark-bg: #0A0A0E;
  --color-card-bg: rgba(22, 22, 29, 0.7);
  --color-border: rgba(255, 255, 255, 0.1);
  --font-display: 'Outfit', sans-serif;
  --font-hero: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0A0A0E;
}
::-webkit-scrollbar-thumb {
  background: #2A2A36;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #CC0D89;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-dark-bg);
  color: #F3F4F6;
  overflow-x: hidden;
  selection-background-color: #CC0D89;
  selection-color: #FFFFFF;
}

::selection {
  background: #CC0D89;
  color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-display);
}

.font-hero {
  font-family: var(--font-hero);
}

/* Glassmorphism */
.glass-panel {
  background: rgba(22, 22, 29, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-glow {
  background: rgba(26, 26, 36, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(204, 13, 137, 0.3);
  box-shadow: 0 10px 30px -10px rgba(204, 13, 137, 0.2);
}

/* Gradient Texts */
.text-gradient-bro {
  background: linear-gradient(135deg, #FF3399 0%, #CC0D89 40%, #8C85FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #CC0D89; /* Fallback */
}

.text-gradient-neon {
  background: linear-gradient(135deg, #00FF87 0%, #60EFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #00FF87; /* Fallback */
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFDF00 0%, #FF8C00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #FFDF00; /* Fallback */
}

/* Glow effects */
.glow-pink {
  box-shadow: 0 0 35px -5px rgba(204, 13, 137, 0.5);
}

.glow-green {
  box-shadow: 0 0 35px -5px rgba(0, 255, 135, 0.4);
}

.glow-purple {
  box-shadow: 0 0 35px -5px rgba(103, 61, 230, 0.4);
}

/* Continuous Marquee (Hardware-Accelerated Infinite Loop) */
@keyframes marqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  user-select: none;
}

.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  animation: marqueeScroll 26s linear infinite;
  will-change: transform;
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

/* Pulsing Badge */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 255, 135, 0);
  }
}

.pulse-indicator {
  animation: pulseGlow 2s infinite;
}

/* Card hover animation */
.post-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(204, 13, 137, 0.5);
  box-shadow: 0 20px 35px -10px rgba(204, 13, 137, 0.25);
}

.post-card img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover img {
  transform: scale(1.05);
}

/* Floating animation */
@keyframes floatUp {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

.floating-sticker {
  animation: floatUp 4s ease-in-out infinite;
}

.floating-sticker-alt {
  animation: floatUp 5s ease-in-out infinite reverse;
}

/* Custom Checkbox / Radio styling */
input[type="radio"]:checked + label {
  border-color: #CC0D89;
  background-color: rgba(204, 13, 137, 0.15);
  color: #FFFFFF;
}

/* Modal animation */
#postModal {
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#postModal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#postModal:not(.hidden) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mode Transition */
.mode-transition {
  transition: all 0.3s ease-in-out;
}
