/* 
  CondoFlow Premium Design System
  Theme: Deep Space & Glassmorphism
*/

:root {
  --primary: #3b82f6;
  --secondary: #10b981;
  --bg-dark: #020617;
  --card-glass: rgba(15, 23, 42, 0.45);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
}

/* Base Body Styling */
body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Glass Card Enhanced */
.glass {
  background: var(--card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass:hover {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Animated Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Background Flow Animation */
.gradient-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: 
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.15), transparent 60%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.15), transparent 60%),
    linear-gradient(to bottom, #020617, #0f172a);
}

/* Interaction Effects */
.portal-card-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s;
}

.portal-card-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}

.portal-card-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #020617;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Responsive Grid Tweaks */
@media (max-width: 768px) {
  .hero-glow {
    width: 200px;
    height: 200px;
  }
}