/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --bg-color: #030308;
  --text-primary: #ffffff;
  --text-secondary: #9ea2b6;
  --accent-pink: #ff2a85;
  --accent-cyan: #00f0ff;
  --accent-purple: #8f00ff;
  --card-bg: rgba(8, 8, 16, 0.18);
  --card-border: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(255, 255, 255, 0.03);
  --input-border: rgba(255, 255, 255, 0.1);
  --input-focus: #00f0ff;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  background: linear-gradient(135deg, #18052b 0%, #300220 50%, #030308 100%);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Background Ambient Glow Blobs */
.glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.85;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  transition: transform 0.8s ease-out;
}

.glow-pink {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--accent-pink) 0%, rgba(255, 42, 133, 0) 70%);
  top: -10%;
  right: -5%;
  animation: float-slow 20s infinite ease-in-out alternate;
}

.glow-purple {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-purple) 0%, rgba(143, 0, 255, 0) 70%);
  bottom: -15%;
  left: -10%;
  animation: float-slow 25s infinite ease-in-out infinite-reverse;
}

.glow-cyan {
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, var(--accent-cyan) 0%, rgba(0, 240, 255, 0) 70%);
  top: 30%;
  left: 30%;
  opacity: 0.6;
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 10%) scale(1.1); }
  100% { transform: translate(-5%, -5%) scale(0.9); }
}

/* Main Layout Wrapper */
.login-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Top Status Badge */
.badge-container {
  animation: fadeInDown 0.8s ease;
}

.status-badge {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #00f0ff;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

/* Card Glow Wrapper */
.card-glow-wrapper {
  width: 100%;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.2) 100%);
  position: relative;
  transition: var(--transition-smooth);
  animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -35px -35px 90px -15px rgba(34, 211, 238, 0.22), 
              35px 35px 90px -15px rgba(236, 72, 153, 0.22);
}

.card-glow-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple), var(--accent-cyan));
  z-index: -1;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.5s ease;
}

.card-glow-wrapper:hover::before {
  opacity: 0.45;
}

/* Login Card Content */
.login-card {
  background: rgba(12, 6, 20, 0.25);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 27px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Card Header */
.card-header {
  text-align: center;
}

.brand-logo {
  height: 64px;
  max-width: 100%;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 12px rgba(255, 42, 133, 0.25));
  transition: var(--transition-smooth);
}

.brand-logo:hover {
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.45));
  transform: scale(1.02);
}

.brand-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
}

/* Form Styles */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.forgot-link {
  font-size: 0.8rem;
  color: var(--accent-pink);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.forgot-link:hover {
  text-shadow: 0 0 8px rgba(255, 42, 133, 0.6);
  opacity: 0.9;
}

/* Inputs styling */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(12, 6, 20, 0.4);
  border: 1px solid rgba(143, 0, 255, 0.15);
  border-radius: 12px;
  transition: var(--transition-smooth);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.input-wrapper:hover {
  border-color: rgba(143, 0, 255, 0.4);
  background: rgba(12, 6, 20, 0.55);
}

.input-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.input-wrapper input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 16px 16px 48px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 400;
}

.input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* Password Toggle Icon Button */
.password-toggle {
  background: none;
  border: none;
  outline: none;
  position: absolute;
  right: 16px;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.password-toggle:hover {
  color: var(--text-primary);
}

.password-toggle svg {
  width: 20px;
  height: 20px;
}

/* Interactive focus glow border */
.focus-border {
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #22d3ee, #ec4899);
  transition: width 0.4s ease, left 0.4s ease;
  pointer-events: none;
}

.input-wrapper input:focus ~ .focus-border {
  width: 100%;
  left: 0;
}

.input-wrapper input:focus {
  color: #fff;
}

.input-wrapper:has(input:focus) {
  border-color: transparent;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.06);
}

.input-wrapper:has(input:focus) .input-icon {
  color: #22d3ee;
}

/* Error message styling */
.error-msg {
  font-size: 0.8rem;
  color: var(--accent-pink);
  margin-top: 2px;
  font-weight: 600;
  display: none;
  animation: fadeInUp 0.3s ease;
}

.input-group.has-error .input-wrapper {
  border-color: rgba(255, 42, 133, 0.4);
  background: rgba(255, 42, 133, 0.02);
}

.input-group.has-error .error-msg {
  display: block;
}

/* Submit Action Button */
.submit-btn {
  margin-top: 8px;
  background: #ffffff;
  color: #030308;
  border: none;
  outline: none;
  padding: 16px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-radius 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              box-shadow 0.3s ease,
              transform 0.3s ease;
}

.submit-btn .btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.submit-btn:hover {
  background: #f5f5f5;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.submit-btn:hover .btn-icon {
  transform: translateX(4px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn.loading {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-icon {
  display: none !important;
}

.submit-btn.loading .spinner {
  display: block;
}

.spinner {
  display: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #22d3ee;
  border-right-color: #ec4899;
  border-bottom-color: #a855f7;
  animation: spin 1s linear infinite, pulse-scale 1.5s ease-in-out infinite alternate;
}

.success-check {
  display: none;
  width: 24px;
  height: 24px;
  color: #030308;
}

.submit-btn.success {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 0;
  background: #ffffff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
  animation: success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.submit-btn.success .btn-text,
.submit-btn.success .btn-icon,
.submit-btn.success .spinner {
  display: none !important;
}

.submit-btn.success .success-check {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-scale {
  0% { transform: rotate(0) scale(0.9); }
  100% { transform: rotate(360deg) scale(1.1); }
}

@keyframes success-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); box-shadow: 0 0 45px rgba(255, 255, 255, 1); }
  100% { transform: scale(1); }
}

/* Status message cycling styles */
.status-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 24px;
  margin-top: 12px;
  overflow: hidden;
}

.status-message {
  font-size: 0.9rem;
  font-weight: 600;
  color: #22d3ee;
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.status-message.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide Up Out Card transition */
.card-glow-wrapper.slide-up-out {
  transform: translateY(-80px) scale(0.94);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

/* Divider styling */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.divider span {
  padding: 0 16px;
}

.social-logins {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Google Button styling */
.google-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #030308;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.google-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.google-btn:active {
  transform: translateY(0);
}

.google-logo {
  flex-shrink: 0;
  display: block;
}

/* Footer vibes */
.login-footer {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.25);
  animation: fadeInUp 1s ease 0.4s both;
}

/* Animations */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive adjustment */
@media (max-width: 480px) {
  .login-card {
    padding: 32px 24px;
    gap: 24px;
  }
  
  .brand-title {
    font-size: 2.5rem;
  }
}

.login-card.hidden {
  display: none !important;
}

.submit-btn.recovery-btn {
  background: var(--accent-purple);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(143, 0, 255, 0.2);
}

.submit-btn.recovery-btn:hover {
  background: #a146eb;
  box-shadow: 0 0 25px rgba(143, 0, 255, 0.45);
}

.recovery-footer {
  text-align: center;
  margin-top: 8px;
}

.recovery-back-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.recovery-back-link:hover {
  color: var(--text-primary);
}

.recovery-back-link .link-highlight {
  color: var(--accent-pink);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.recovery-back-link:hover .link-highlight {
  text-shadow: 0 0 8px rgba(255, 42, 133, 0.6);
}

/* Aura Feed Page Styles */
.feed-body {
  overflow-y: scroll;
  display: block;
  min-height: 100vh;
  padding-bottom: 96px; /* Space for floating bottom nav */
}

/* Top App Bar */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(3, 3, 8, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.aura-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}

.aura-score-widget {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.15);
}

.aura-score-widget:hover {
  transform: scale(1.05);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.35);
}

.aura-score-widget:active {
  transform: scale(0.98);
}

.score-icon {
  font-size: 0.95rem;
}

.score-value {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent-cyan);
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
}

/* Pulsing effect when score updates */
.aura-score-widget.pulse {
  animation: widget-pulse 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes widget-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); box-shadow: 0 0 35px var(--accent-cyan); }
  100% { transform: scale(1); }
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transition: var(--transition-smooth);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
}

.notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--accent-pink);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-color);
}

/* Feed layout */
.feed-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
  position: relative;
}

/* Moments horizontal row */
.moments-section {
  width: 100%;
  overflow: hidden;
}

.moments-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px;
  scrollbar-width: none;
}

.moments-scroll::-webkit-scrollbar {
  display: none;
}

.moment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.avatar-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 2.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.ring-unseen {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.ring-seen {
  background: rgba(255, 255, 255, 0.12);
}

.ring-add {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.25);
}

.ring-add:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.03);
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.add-moment-icon {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.moment-user {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Post Cards */
.post-card {
  background: rgba(8, 8, 16, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.post-meta {
  display: flex;
  flex-direction: column;
}

.post-username {
  font-weight: 600;
  font-size: 0.9rem;
}

.post-time {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.curator-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-purple);
  background: rgba(143, 0, 255, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.post-media-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-caption {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
}

.post-actions {
  display: flex;
  gap: 14px;
}

.action-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.action-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Dope Active State */
.dope-btn.active {
  background: rgba(255, 42, 133, 0.06);
  border-color: rgba(255, 42, 133, 0.4);
  color: var(--accent-pink);
  box-shadow: 0 0 15px rgba(255, 42, 133, 0.25);
  animation: dope-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dope-btn.active .zap-icon {
  fill: var(--accent-pink);
  transform: scale(1.2) rotate(15deg);
}

@keyframes dope-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Bottom Tab Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: 440px;
  background: rgba(8, 8, 16, 0.4);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  height: 68px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.nav-item svg {
  width: 22px;
  height: 22px;
  transition: var(--transition-smooth);
}

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

.nav-item.active svg {
  transform: scale(1.1);
}

/* Glowing underline indicator */
.nav-indicator {
  position: absolute;
  bottom: 2px;
  width: 16px;
  height: 3px;
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple));
  border-radius: 10px;
  opacity: 0;
  transform: scaleX(0);
  transition: var(--transition-smooth);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.nav-item.active .nav-indicator {
  opacity: 1;
  transform: scaleX(1);
}

/* Center elevated create button */
.create-post-item {
  width: 58px;
  height: 58px;
  transform: translateY(-14px);
}

.create-post-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 5px 20px rgba(0, 240, 255, 0.45);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.create-post-btn svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.create-post-item:hover .create-post-btn {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.6);
}

/* Fullscreen Story overlay */
.story-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  display: none;
  align-items: center;
  justify-content: center;
}

.story-overlay.active {
  display: flex;
}

.story-container {
  width: 100%;
  max-width: 480px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #000;
}

.story-progress-bar {
  position: absolute;
  top: 16px;
  left: 16px;
  width: calc(100% - 32px);
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  overflow: hidden;
  z-index: 10;
}

.story-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-pink));
  transition: width 0.1s linear;
}

.story-header {
  position: absolute;
  top: 28px;
  left: 16px;
  width: calc(100% - 32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.story-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.story-username {
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
}

.story-close-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-close-btn svg {
  width: 24px;
  height: 24px;
}

.story-media {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050508;
}

.story-media img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
