/* Genflosnow Shared Styles */

/* ================================
   CSS Variables
   ================================ */
:root {
  --bg: #050816;
  --panel: rgba(15, 23, 42, 0.6);
  --panel-solid: #0f172a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.5);
  --card-bg: rgba(2, 6, 23, 0.4);
  --text-main: #ffffff;
  --text-muted2: #a1a1aa;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: radial-gradient(1200px 500px at 10% 0%, rgba(59, 130, 246, 0.18), transparent 60%), var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ================================
   Ambient Orbs
   ================================ */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  animation: float 20s infinite alternate;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-glow);
  top: 10%;
  left: 10%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(147, 51, 234, 0.2);
  bottom: 10%;
  right: 10%;
  animation-delay: -5s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -50px) scale(1.1);
  }
  100% {
    transform: translate(-20px, 30px) scale(0.9);
  }
}

/* ================================
   Navbar
   ================================ */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 24px 5%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 16px;
}

.logo {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #ffffff, #d1d5db);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ================================
   Buttons
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  user-select: none;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px 0 var(--primary-glow);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.6);
}

.btn-ghost {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ================================
   Auth Actions
   ================================ */
.auth-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-actions span.welcome {
  font-size: 15px;
  color: var(--text-muted2);
}

.auth-actions strong {
  color: var(--text-main);
  font-weight: 600;
}

/* ================================
   Utility Classes
   ================================ */
.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 24px;
  width: 100%;
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
}
