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

:root {
  --bg-darkest: #07060A;
  --bg-primary: #0F0E17;
  --bg-secondary: #1C1A27;
  --bg-card: rgba(28, 26, 39, 0.65);
  
  --accent-primary: #FF2E93; /* Romantic Pink */
  --accent-secondary: #FF5E62; /* Hot Coral */
  --accent-love-grad: linear-gradient(135deg, #FF2E93 0%, #FF5E62 100%);
  --accent-purple: #833AB4;
  --accent-purple-grad: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCB045 100%);
  --accent-gold: #FFD700;
  
  --text-main: #FFFFFF;
  --text-muted: #9E9BB0;
  --text-dark: #12111A;
  
  --glass-bg: rgba(28, 26, 39, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-glow: 0 8px 32px 0 rgba(255, 46, 147, 0.15);
  
  --sitrc-color: #00F0FF;
  --siem-color: #39FF14;
  --sipt-color: #FF007F;
  --su-color: #FFD700;
  --sip-color: #9D00FF;
  
  --glow-1: rgba(131, 58, 180, 0.15);
  --glow-2: rgba(255, 46, 147, 0.15);
  --glow-3: rgba(15, 14, 23, 1);
  
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-darkest);
  background-image: 
    radial-gradient(at 10% 20%, var(--glow-1) 0px, transparent 50%),
    radial-gradient(at 90% 80%, var(--glow-2) 0px, transparent 50%),
    radial-gradient(at 50% 50%, var(--glow-3) 0px, transparent 100%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Premium App Frame Wrapper for Desktop */
.app-container {
  width: 100%;
  max-width: 440px;
  height: 100vh;
  max-height: 900px;
  background-color: var(--bg-primary);
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 120px rgba(255, 46, 147, 0.1);
  border-radius: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

@media (max-width: 480px) {
  .app-container {
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }
}

/* Header Area */
.app-header {
  height: 68px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  z-index: 10;
  background: rgba(15, 14, 23, 0.8);
  backdrop-filter: blur(10px);
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  background: var(--accent-love-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-logo svg {
  width: 24px;
  height: 24px;
  fill: url(#love-grad-fill);
}

.header-action {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
}

.header-action:hover, .header-action:active {
  color: var(--text-main);
  background: rgba(255, 46, 147, 0.1);
  border-color: var(--accent-primary);
  transform: scale(1.05);
}

/* Main Content Area containing Views */
.app-content {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* Views Management */
.view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96) translateY(10px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  padding: 16px 20px;
  overflow-y: auto;
}

.view.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
  z-index: 5;
}

/* Bottom Navigation Bar */
.app-nav {
  height: calc(72px + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(28, 26, 39, 0.85);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 10;
  position: relative;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.nav-item svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-item span {
  font-size: 0.65rem;
  font-weight: 500;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s ease;
  position: absolute;
  bottom: 6px;
}

.nav-item.active {
  color: var(--accent-primary);
  background: rgba(255, 46, 147, 0.08);
}

.nav-item.active svg {
  transform: translateY(-8px) scale(1.1);
  color: var(--accent-primary);
}

.nav-item.active span {
  opacity: 1;
  transform: translateY(0);
}

/* BADGE */
.badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent-primary);
  color: var(--text-main);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  border: 1.5px solid var(--bg-secondary);
  box-shadow: 0 0 10px rgba(255, 46, 147, 0.5);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ========================================================
   1. SPLASH & ONBOARDING VIEW
   ======================================================== */
.splash-view {
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 100;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 40px;
}

.splash-logo-container {
  margin-bottom: 24px;
  animation: float-logo 3s ease-in-out infinite;
}

@keyframes float-logo {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

.splash-logo-icon {
  width: 100px;
  height: 100px;
  fill: url(#love-grad-fill);
  filter: drop-shadow(0 0 25px rgba(255, 46, 147, 0.4));
}

.splash-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
  background: var(--accent-love-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
  font-weight: 400;
}

.campus-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 40px;
}

.primary-btn {
  background: var(--accent-love-grad);
  color: var(--text-main);
  border: none;
  padding: 16px 36px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  max-width: 280px;
  box-shadow: 0 10px 25px rgba(255, 46, 147, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.primary-btn:hover, .primary-btn:active {
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 46, 147, 0.5);
}

.secondary-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  max-width: 280px;
  margin-top: 12px;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

/* ONBOARDING FORM */
.onboarding-view {
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}

.form-header {
  margin-bottom: 24px;
}

.form-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px rgba(255, 46, 147, 0.2);
}

.form-select {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 1rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239E9BB0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 18px;
  transition: all 0.3s ease;
}

.form-select:focus {
  border-color: var(--accent-primary);
}

.grid-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.grid-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 12px 6px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.grid-btn.active {
  background: var(--accent-love-grad);
  border-color: transparent;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(255, 46, 147, 0.25);
}

/* AVATAR SELECTOR */
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 5px;
}

.avatar-option {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--glass-border);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-option svg, .avatar-option img {
  width: 85%;
  height: 85%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-option.active {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
  transform: scale(1.1);
  background: rgba(255, 46, 147, 0.1);
}

/* INTERESTS TAG SELECTOR */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-btn.active {
  background: rgba(255, 46, 147, 0.12);
  border-color: var(--accent-primary);
  color: var(--text-main);
}


/* ========================================================
   2. EXPLORE / SWIPE VIEW
   ======================================================== */
.explore-view {
  padding: 8px 12px 16px 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Cards Stack */
.cards-deck {
  flex: 1;
  position: relative;
  width: 100%;
  margin-bottom: 16px;
  perspective: 1000px;
}

.swipe-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transform-origin: bottom center;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.15), 
              opacity 0.3s ease;
  cursor: grab;
}

.swipe-card:active {
  cursor: grabbing;
}

/* Card Stack visual layering */
.swipe-card:nth-last-child(1) {
  z-index: 3;
  transform: translate3d(0, 0, 0) scale(1);
}
.swipe-card:nth-last-child(2) {
  z-index: 2;
  transform: translate3d(0, -12px, -30px) scale(0.96);
  opacity: 0.9;
}
.swipe-card:nth-last-child(3) {
  z-index: 1;
  transform: translate3d(0, -24px, -60px) scale(0.92);
  opacity: 0.6;
}
.swipe-card:nth-last-child(n+4) {
  z-index: 0;
  transform: translate3d(0, -36px, -90px) scale(0.88);
  opacity: 0;
}

.card-avatar-wrapper {
  flex: 1;
  background: linear-gradient(135deg, #1C1A27 0%, #12111A 100%);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.card-avatar-wrapper svg, .card-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.swipe-card:hover .card-avatar-wrapper svg,
.swipe-card:hover .card-avatar-wrapper img {
  transform: scale(1.03);
}

.college-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  gap: 6px;
}

.college-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.card-info {
  padding: 24px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, 
    rgba(15, 14, 23, 0.95) 0%, 
    rgba(15, 14, 23, 0.7) 60%, 
    rgba(15, 14, 23, 0) 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}

.card-main-info {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.card-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.card-year {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.card-sub-info {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-bio {
  font-size: 0.9rem;
  color: #E2E1E6;
  line-height: 1.4;
  margin: 4px 0;
  font-weight: 300;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.card-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.05);
  color: #D3D2D9;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
}

/* Swipe Actions Bottom Panel */
.action-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 4px;
}

.btn-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

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

.btn-dislike {
  background: rgba(255, 94, 98, 0.1);
  border: 2px solid #FF5E62;
  color: #FF5E62;
}

.btn-dislike:hover, .btn-dislike:active {
  background: #FF5E62;
  color: var(--text-main);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 94, 98, 0.4);
}

.btn-undo {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255,255,255,0.12);
  color: var(--text-main);
}

.btn-undo:hover, .btn-undo:active {
  background: rgba(255, 46, 147, 0.12);
  color: var(--accent-primary);
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(255, 46, 147, 0.25);
}

.btn-like {
  background: rgba(255, 46, 147, 0.1);
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
}

.btn-like:hover, .btn-like:active {
  background: var(--accent-love-grad);
  color: var(--text-main);
  transform: scale(1.15);
  box-shadow: 0 10px 25px rgba(255, 46, 147, 0.5);
}

.btn-super {
  width: 46px;
  height: 46px;
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn-super:hover, .btn-super:active {
  background: var(--accent-gold);
  color: var(--text-dark);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* Swipe animations (Classes added by JS) */
.swiped-left {
  transform: translate3d(-150%, 0, 0) rotate(-20deg) !important;
  opacity: 0 !important;
}

.swiped-right {
  transform: translate3d(150%, 0, 0) rotate(20deg) !important;
  opacity: 0 !important;
}

.swiped-up {
  transform: translate3d(0, -150%, 0) scale(0.9) !important;
  opacity: 0 !important;
}

/* Empty Deck State */
.empty-deck {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 40px 20px;
}

.empty-deck-icon {
  width: 72px;
  height: 72px;
  fill: var(--text-muted);
  margin-bottom: 20px;
  opacity: 0.5;
  animation: pulse-empty 2s infinite;
}

@keyframes pulse-empty {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.empty-deck h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.empty-deck p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 24px;
}


/* ========================================================
   3. CONFESSIONS BOARD (CONFESSIFY)
   ======================================================== */
.confessions-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0px;
}

.confessions-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--glass-border);
  background: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 10;
}

.confessions-title {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.confessions-title svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-primary);
}

.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.explore-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 18px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(15,14,23,0.92);
}

.filter-chip {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.filter-chip.active {
  background: var(--accent-love-grad);
  color: var(--text-main);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255, 46, 147, 0.2);
}

.confessions-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.confession-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.confession-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 46, 147, 0.2);
}

.confession-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-love-grad);
}

.confession-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.confession-id {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-secondary);
  letter-spacing: 0.5px;
}

.confession-timestamp {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.confession-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-main);
  word-break: break-word;
  white-space: pre-wrap;
}

.confession-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.confession-stats {
  display: flex;
  gap: 16px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.stat-item svg {
  width: 16px;
  height: 16px;
}

.stat-item:hover {
  color: var(--text-main);
}

.stat-item.active-liked {
  color: var(--accent-primary);
  font-weight: 600;
}

.stat-item.active-liked svg {
  fill: var(--accent-primary);
  filter: drop-shadow(0 0 4px var(--accent-primary));
}

.confession-college-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
}

/* Floating Write Button */
.floating-write-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--accent-love-grad);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 24px rgba(255, 46, 147, 0.4);
  cursor: pointer;
  z-index: 15;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  color: white;
}

.floating-write-btn:hover {
  transform: scale(1.08) rotate(90deg);
}

.floating-write-btn svg {
  width: 24px;
  height: 24px;
}

/* Confession Post Modal Drawer */
.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-radius: 30px 30px 0 0;
  padding: 24px;
  z-index: 55;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.drawer-overlay.active .drawer {
  transform: translateY(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.drawer-title {
  font-size: 1.2rem;
  font-weight: 800;
}

.drawer-close {
  cursor: pointer;
  color: var(--text-muted);
}

.confession-textarea {
  width: 100%;
  height: 120px;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 14px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  resize: none;
  margin-bottom: 16px;
  transition: border-color 0.3s ease;
}

.confession-textarea:focus {
  border-color: var(--accent-primary);
}


/* ========================================================
   4. MATCHES & CHATS VIEW
   ======================================================== */
.chats-view {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chats-section-header {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin: 16px 20px 8px 20px;
}

/* Horizontal Matches List */
.matches-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 20px 12px 20px;
  border-bottom: 1px solid var(--glass-border);
}

.match-avatar-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.avatar-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 2.5px;
  background: var(--accent-love-grad);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(255, 46, 147, 0.2);
}

.avatar-ring::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

.avatar-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-secondary);
}

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

.match-avatar-circle span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Chats List */
.chats-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 8px;
}

.chat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.chat-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.chat-item-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
}

.chat-item-avatar svg, .chat-item-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-item-row1 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.chat-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.chat-item-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-item-msg {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.chat-item-msg.unread {
  color: var(--text-main);
  font-weight: 600;
}

.chat-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  margin-left: 8px;
  box-shadow: 0 0 8px var(--accent-primary);
}

/* Active Chat Window Page (Overlays full frame when open) */
.active-chat-window {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 60;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.active-chat-window.active {
  transform: translateX(0);
}

.chat-window-header {
  height: 68px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(28, 26, 39, 0.75);
  backdrop-filter: blur(10px);
  gap: 12px;
}

.btn-back-chat {
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.btn-back-chat:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-main);
}

.chat-header-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.chat-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-secondary);
}

.chat-header-avatar svg, .chat-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-header-meta {
  display: flex;
  flex-direction: column;
}

.chat-header-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.chat-header-status {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-header-status.online {
  color: var(--siem-color);
  font-weight: 500;
}

/* Chat Messages Content */
.chat-messages-area {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(255, 46, 147, 0.04) 0px, transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(131, 58, 180, 0.04) 0px, transparent 35%);
}

.msg-bubble-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 75%;
}

.msg-bubble-wrapper.sent {
  align-self: flex-end;
}

.msg-bubble-wrapper.received {
  align-self: flex-start;
}

.msg-bubble {
  padding: 12px 16px;
  font-size: 0.9rem;
  line-height: 1.4;
  border-radius: 20px;
  word-break: break-word;
}

.sent .msg-bubble {
  background: var(--accent-love-grad);
  color: var(--text-main);
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 10px rgba(255, 46, 147, 0.2);
}

.received .msg-bubble {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.msg-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  padding: 0 4px;
}

.sent .msg-time {
  text-align: right;
}

/* Typing Indicator */
.typing-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 18px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typing-bounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Chat Input bar */
.chat-input-bar {
  height: 68px;
  border-top: 1px solid var(--glass-border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
}

.chat-input {
  flex: 1;
  height: 44px;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 0 18px;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 8px;
  background: rgba(15,14,23,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.quick-reply-btn {
  padding: 8px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text-main);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-reply-btn:hover {
  background: rgba(255,46,147,0.12);
  border-color: rgba(255,46,147,0.25);
}

.chat-input:focus {
  border-color: var(--accent-primary);
}

.btn-send-msg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-love-grad);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: white;
  box-shadow: 0 4px 10px rgba(255, 46, 147, 0.3);
  transition: transform 0.2s ease;
}

.btn-send-msg:active {
  transform: scale(0.92);
}

.btn-send-msg svg {
  width: 18px;
  height: 18px;
}


/* ========================================================
   5. CAMPUS HANGOUTS VIEW
   ======================================================== */
.hangouts-view {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0px;
}

.hangouts-header {
  padding: 12px 20px;
  border-bottom: 1px solid var(--glass-border);
  background: var(--bg-primary);
}

.hangouts-title {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hangouts-title svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-primary);
}

.hangouts-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.user-checkin-banner {
  background: linear-gradient(135deg, rgba(255, 46, 147, 0.1) 0%, rgba(131, 58, 180, 0.1) 100%);
  border: 1px dashed var(--accent-primary);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.user-checkin-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-checkin-title {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent-primary);
  letter-spacing: 0.5px;
}

.user-checkin-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-checkout {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-checkout:hover {
  background: rgba(255, 94, 98, 0.15);
  border-color: #FF5E62;
  color: #FF5E62;
}

.hangout-spot-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.hangout-spot-card.user-active-spot {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(255, 46, 147, 0.15);
}

.spot-banner {
  height: 110px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background-size: cover;
  background-position: center;
}

.spot-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.spot-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.spot-active-count {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.spot-active-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  animation: pulse-badge 1.5s infinite;
}

.spot-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spot-description {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.spot-avatars-row {
  display: flex;
  align-items: center;
  gap: -8px;
}

.spot-mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--bg-secondary);
  background: var(--bg-primary);
  overflow: hidden;
  margin-left: -8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.spot-mini-avatar:first-child {
  margin-left: 0;
}

.spot-mini-avatar svg, .spot-mini-avatar img {
  width: 100%;
  height: 100%;
}

.spot-mini-avatar.more-count {
  background: var(--bg-secondary);
  border-color: var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
}

.btn-checkin {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.btn-checkin:hover {
  background: rgba(255, 46, 147, 0.08);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.hangout-spot-card.user-active-spot .btn-checkin {
  background: var(--accent-love-grad);
  border: none;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 46, 147, 0.25);
}


/* ========================================================
   6. MY PROFILE VIEW
   ======================================================== */
.profile-view {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent-love-grad);
}

.profile-avatar-wrapper {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--accent-primary);
  padding: 3px;
  background: var(--bg-primary);
  margin-bottom: 16px;
  box-shadow: var(--glass-glow);
}

.profile-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

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

.profile-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.profile-dept {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.profile-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
  max-width: 280px;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
}

.profile-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-stat-box:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.06);
}

.profile-stat-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.profile-stat-label {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.profile-completion {
  margin-top: 18px;
}

.profile-completion-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin-top: 10px;
}

.profile-completion-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, #00FFCC, #FF2E93);
  transition: width 0.4s ease;
}

.profile-completion-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Profile List Menu */
.profile-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 14px 18px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255,255,255,0.15);
}

.menu-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.menu-item-left svg {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
}

.menu-item-right {
  color: var(--text-muted);
}


/* ========================================================
   7. MATCH OVERLAY POPUP
   ======================================================== */
.match-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 6, 10, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.match-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.match-congrats {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 8px;
  animation: scale-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.match-overlay h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 40px;
  text-align: center;
  background: var(--accent-love-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: scale-up 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.match-portraits {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: -20px;
  margin-bottom: 48px;
  position: relative;
}

.match-portrait {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid var(--bg-darkest);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  overflow: hidden;
  background: var(--bg-secondary);
}

.match-portrait svg, .match-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-portrait-user {
  transform: translateX(15px) rotate(-8deg);
  border-color: var(--accent-primary);
  animation: slide-in-left-portrait 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.2) forwards;
  z-index: 2;
}

.match-portrait-other {
  transform: translateX(-15px) rotate(8deg);
  border-color: var(--accent-gold);
  animation: slide-in-right-portrait 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.2) forwards;
  z-index: 1;
}

.match-heart-badge {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-love-grad);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(255, 46, 147, 0.5);
  z-index: 3;
  animation: heart-pop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.3) 0.4s both;
}

.match-heart-badge svg {
  width: 22px;
  height: 22px;
  fill: white;
}

@keyframes scale-up {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slide-in-left-portrait {
  0% { transform: translateX(-100px) rotate(-30deg); opacity: 0; }
  100% { transform: translateX(15px) rotate(-8deg); opacity: 1; }
}

@keyframes slide-in-right-portrait {
  0% { transform: translateX(100px) rotate(30deg); opacity: 0; }
  100% { transform: translateX(-15px) rotate(8deg); opacity: 1; }
}

@keyframes heart-pop {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.match-tagline {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 40px;
  max-width: 240px;
  line-height: 1.4;
}

.match-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-items: center;
}

/* UTILITY CLASSES */
.hidden {
  display: none !important;
}

.no-select {
  user-select: none;
}

/* ========================================================
   UNIQUE FEATURES - NEW GEN-Z ADDITIONS
   ======================================================== */

/* Header Right Group */
.header-right-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Streak Badge */
.streak-badge {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 165, 0, 0.15);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFA500;
  cursor: pointer;
  animation: streak-pulse 3s ease-in-out infinite;
}

@keyframes streak-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 165, 0, 0); }
  50% { box-shadow: 0 0 12px rgba(255, 165, 0, 0.4); }
}

/* Roulette Button in Header */
.roulette-btn {
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

.roulette-btn:hover {
  transform: rotate(20deg) scale(1.2);
}

/* Header Notif Dot */
.header-notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  border: 1.5px solid var(--bg-primary);
  animation: pulse-badge 1.5s infinite;
}

/* ========================================================
   VIBE STORIES ROW
   ======================================================== */
.vibe-stories-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0 10px 0;
  scrollbar-width: none;
  flex-shrink: 0;
}

.vibe-stories-row::-webkit-scrollbar {
  display: none;
}

.story-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.story-bubble:active {
  transform: scale(0.94);
}

.story-avatar-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  padding: 3px;
  background: var(--accent-love-grad);
  position: relative;
  transition: all 0.3s ease;
}

.story-avatar-ring.watched {
  background: rgba(255, 255, 255, 0.1);
}

.story-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-secondary);
  overflow: hidden;
  border: 2px solid var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-avatar-inner svg {
  width: 100%;
  height: 100%;
}

.story-mood-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--bg-secondary);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  border: 1.5px solid var(--bg-primary);
}

.story-name {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 54px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Story Viewer Popup */
.story-viewer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.story-viewer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.story-viewer-card {
  width: 85%;
  max-width: 340px;
  background: var(--bg-secondary);
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(255, 46, 147, 0.2);
  animation: story-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes story-pop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.story-viewer-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--accent-primary);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 46, 147, 0.4);
}

.story-viewer-avatar svg {
  width: 100%;
  height: 100%;
}

.story-viewer-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.story-viewer-mood {
  font-size: 1rem;
  background: rgba(255, 46, 147, 0.1);
  border: 1px solid rgba(255, 46, 147, 0.3);
  border-radius: 20px;
  padding: 6px 16px;
  color: var(--accent-primary);
  font-weight: 600;
}

.story-viewer-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.story-viewer-compat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.compat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.compat-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
}

.compat-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: var(--accent-love-grad);
  transition: width 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.compat-score-text {
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--accent-love-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.story-viewer-close {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 12px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.story-viewer-close:hover {
  background: rgba(255, 46, 147, 0.1);
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* ========================================================
   MOOD SELECTOR (Onboarding)
   ======================================================== */
.mood-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mood-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mood-btn.active {
  background: rgba(255, 46, 147, 0.15);
  border-color: var(--accent-primary);
  color: var(--text-main);
  box-shadow: 0 0 10px rgba(255, 46, 147, 0.2);
}

/* Onboarding tip text */
.vibe-year-tip {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 2px solid var(--accent-primary);
}

/* Mood badge on swipe card */
.card-mood-badge {
  position: absolute;
  top: 20px;
  right: 16px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  z-index: 5;
}

/* Compatibility pill on card */
.card-compat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 46, 147, 0.15);
  border: 1px solid rgba(255, 46, 147, 0.3);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
}

/* ========================================================
   BLIND DATE ROULETTE
   ======================================================== */
.roulette-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.roulette-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.roulette-modal {
  background: var(--bg-secondary);
  border-radius: 28px;
  padding: 28px 24px;
  width: 86%;
  max-width: 340px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(131, 58, 180, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.roulette-header {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--accent-purple-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.roulette-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.roulette-wheel {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--accent-purple-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 0 30px rgba(131, 58, 180, 0.5);
}

.roulette-wheel.spinning .roulette-spinner {
  animation: spin-wheel 0.8s cubic-bezier(0.55, 0, 1, 0.45) infinite;
}

@keyframes spin-wheel {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

.roulette-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: story-pop 0.5s ease;
}

.roulette-matched-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-purple);
  box-shadow: 0 0 20px rgba(131, 58, 180, 0.5);
}

.roulette-matched-avatar svg {
  width: 100%;
  height: 100%;
}

.roulette-matched-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.roulette-matched-vibe {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(131, 58, 180, 0.1);
  border: 1px solid rgba(131, 58, 180, 0.2);
  padding: 4px 12px;
  border-radius: 12px;
}

.roulette-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  align-items: center;
}

/* ========================================================
   CAMPUS PULSE OVERLAY
   ======================================================== */
.pulse-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 150;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.pulse-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.pulse-modal {
  background: var(--bg-secondary);
  border-radius: 28px 28px 0 0;
  padding: 24px;
  width: 100%;
  border: 1px solid var(--glass-border);
  border-bottom: none;
  max-height: 80%;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.pulse-overlay.active .pulse-modal {
  transform: translateY(0);
}

.pulse-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.pulse-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  margin-bottom: 10px;
}

.pulse-emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pulse-text {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.4;
}

.pulse-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.pulse-tag {
  display: inline-block;
  background: rgba(255, 46, 147, 0.1);
  color: var(--accent-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  margin-right: 4px;
}

/* ========================================================
   SECRET ADMIRER TOAST
   ======================================================== */
.admirer-toast {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-120px);
  background: rgba(28, 26, 39, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 46, 147, 0.4);
  border-radius: 20px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 300;
  box-shadow: 0 8px 30px rgba(255, 46, 147, 0.3);
  min-width: 240px;
  max-width: 320px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
}

.admirer-toast.show {
  transform: translateX(-50%) translateY(0);
}

.admirer-toast-icon {
  font-size: 1.3rem;
}

.admirer-toast-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========================================================
   TRUTH OR DARE (in Match Overlay)
   ======================================================== */
.match-truth-dare {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 4px;
}

.truth-dare-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.truth-dare-btn {
  background: rgba(255, 215, 0, 0.1);
  border: 1.5px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.truth-dare-btn:hover {
  background: var(--accent-gold);
  color: var(--text-dark);
  transform: scale(1.04);
}

/* ========================================================
   RIZZ SCORE (Profile View)
   ======================================================== */
.rizz-score-banner {
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.15) 0%, rgba(255, 46, 147, 0.15) 100%);
  border: 1px solid rgba(255, 46, 147, 0.25);
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
}

.rizz-score-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rizz-score-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.rizz-score-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-love-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.rizz-score-rank {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.rizz-score-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 12px rgba(255, 46, 147, 0.6));
}

/* ========================================================
   CAMPUS ANTHEM on Card
   ======================================================== */
.card-anthem {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.card-anthem-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-love-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
  animation: spin-disc 3s linear infinite;
}

@keyframes spin-disc {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ========================================================
   TRUTH OR DARE GAME IN CHAT
   ======================================================== */
.tod-prompt {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 94, 98, 0.08) 100%);
  border: 1.5px solid rgba(255, 215, 0, 0.3);
  border-radius: 18px;
  padding: 14px 18px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tod-type-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 10px;
  width: fit-content;
}

.tod-type-badge.truth {
  background: rgba(0, 240, 255, 0.15);
  color: #00F0FF;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.tod-type-badge.dare {
  background: rgba(255, 94, 98, 0.15);
  color: #FF5E62;
  border: 1px solid rgba(255, 94, 98, 0.3);
}

.tod-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.tod-skip {
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  transition: color 0.2s ease;
}

.tod-skip:hover {
  color: var(--accent-primary);
}

/* ========================================================
   THEME VIBES (Unique Styling Configurations)
   ======================================================== */

/* Neon Cyberpunk 👾 */
body[data-theme="cyber"] {
  --bg-darkest: #040306;
  --bg-primary: #0A0813;
  --bg-secondary: #120F24;
  --bg-card: rgba(18, 15, 36, 0.75);
  
  --accent-primary: #00F0FF; /* Electric Cyan */
  --accent-secondary: #9D00FF; /* Cyber Purple */
  --accent-love-grad: linear-gradient(135deg, #00F0FF 0%, #9D00FF 100%);
  --accent-purple: #9D00FF;
  --accent-purple-grad: linear-gradient(135deg, #9D00FF 0%, #FF007F 100%);
  --accent-gold: #FF00FF; /* Neon Magenta as replacement */
  
  --text-main: #FFFFFF;
  --text-muted: #8E8AAB;
  
  --glass-bg: rgba(18, 15, 36, 0.6);
  --glass-border: rgba(0, 240, 255, 0.15);
  --glass-glow: 0 8px 32px 0 rgba(0, 240, 255, 0.2);
  
  --glow-1: rgba(157, 0, 255, 0.2);
  --glow-2: rgba(0, 240, 255, 0.2);
  --glow-3: rgba(10, 8, 19, 1);
}

/* Sunset Blaze 🌅 */
body[data-theme="sunset"] {
  --bg-darkest: #0F0707;
  --bg-primary: #170E0E;
  --bg-secondary: #271A1A;
  --bg-card: rgba(39, 26, 26, 0.75);
  
  --accent-primary: #FFA500; /* Amber Orange */
  --accent-secondary: #FF5E62; /* Hot Coral */
  --accent-love-grad: linear-gradient(135deg, #FFA500 0%, #FF5E62 100%);
  --accent-purple: #D35400;
  --accent-purple-grad: linear-gradient(135deg, #E67E22 0%, #F1C40F 100%);
  --accent-gold: #FFD700;
  
  --text-main: #FFF4E6;
  --text-muted: #C0A9A9;
  
  --glass-bg: rgba(39, 26, 26, 0.6);
  --glass-border: rgba(255, 165, 0, 0.15);
  --glass-glow: 0 8px 32px 0 rgba(255, 165, 0, 0.2);
  
  --glow-1: rgba(255, 94, 98, 0.2);
  --glow-2: rgba(255, 165, 0, 0.2);
  --glow-3: rgba(23, 14, 14, 1);
}

/* Forest Mystic 🌿 */
body[data-theme="forest"] {
  --bg-darkest: #050A08;
  --bg-primary: #0B130F;
  --bg-secondary: #14241C;
  --bg-card: rgba(20, 36, 28, 0.75);
  
  --accent-primary: #10AC84; /* Emerald Mint */
  --accent-secondary: #FFD700; /* Gold */
  --accent-love-grad: linear-gradient(135deg, #10AC84 0%, #2ED573 100%);
  --accent-purple: #0F6F54;
  --accent-purple-grad: linear-gradient(135deg, #10AC84 0%, #FFD700 100%);
  --accent-gold: #FFD700;
  
  --text-main: #E6F4F0;
  --text-muted: #9EAEA6;
  
  --glass-bg: rgba(20, 36, 28, 0.6);
  --glass-border: rgba(16, 172, 132, 0.15);
  --glass-glow: 0 8px 32px 0 rgba(16, 172, 132, 0.2);
  
  --glow-1: rgba(16, 172, 132, 0.2);
  --glow-2: rgba(255, 215, 0, 0.1);
  --glow-3: rgba(11, 19, 15, 1);
}

/* Teal Aurora 🌌 */
body[data-theme="aurora"] {
  --bg-darkest: #06090E;
  --bg-primary: #0C121C;
  --bg-secondary: #172233;
  --bg-card: rgba(23, 34, 51, 0.75);
  
  --accent-primary: #00FFCC; /* Teal Waves */
  --accent-secondary: #9B59B6; /* Deep Lavender */
  --accent-love-grad: linear-gradient(135deg, #00FFCC 0%, #9B59B6 100%);
  --accent-purple: #34495E;
  --accent-purple-grad: linear-gradient(135deg, #00FFCC 0%, #3498DB 100%);
  --accent-gold: #F1C40F;
  
  --text-main: #E6FBF7;
  --text-muted: #9FAFB6;
  
  --glass-bg: rgba(23, 34, 51, 0.6);
  --glass-border: rgba(0, 255, 204, 0.15);
  --glass-glow: 0 8px 32px 0 rgba(0, 255, 204, 0.2);
  
  --glow-1: rgba(155, 89, 182, 0.2);
  --glow-2: rgba(0, 255, 204, 0.2);
  --glow-3: rgba(12, 18, 28, 1);
}

/* Velvet Crimson 🌹 */
body[data-theme="crimson"] {
  --bg-darkest: #0B0405;
  --bg-primary: #14070A;
  --bg-secondary: #240F13;
  --bg-card: rgba(36, 15, 19, 0.75);
  
  --accent-primary: #E50914; /* Velvet Red */
  --accent-secondary: #FFD700; /* Champagne Gold */
  --accent-love-grad: linear-gradient(135deg, #E50914 0%, #FFD700 100%);
  --accent-purple: #8B0000;
  --accent-purple-grad: linear-gradient(135deg, #E50914 0%, #FFD700 100%);
  --accent-gold: #FFD700;
  
  --text-main: #FFF0F2;
  --text-muted: #BDA3A6;
  
  --glass-bg: rgba(36, 15, 19, 0.6);
  --glass-border: rgba(229, 9, 20, 0.15);
  --glass-glow: 0 8px 32px 0 rgba(229, 9, 20, 0.2);
  
  --glow-1: rgba(229, 9, 20, 0.2);
  --glow-2: rgba(255, 215, 0, 0.1);
  --glow-3: rgba(20, 7, 10, 1);
}

/* Vampire Goth 🧛 */
body[data-theme="dracula"] {
  --bg-darkest: #0D0D14;
  --bg-primary: #14141F;
  --bg-secondary: #222232;
  --bg-card: rgba(34, 34, 50, 0.75);
  
  --accent-primary: #BD93F9; /* Dracula Orchid */
  --accent-secondary: #FF5555; /* Dracula Blood */
  --accent-love-grad: linear-gradient(135deg, #BD93F9 0%, #FF5555 100%);
  --accent-purple: #6272A4;
  --accent-purple-grad: linear-gradient(135deg, #BD93F9 0%, #50FA7B 100%);
  --accent-gold: #F1FA8C;
  
  --text-main: #F8F8F2;
  --text-muted: #9DA3B0;
  
  --glass-bg: rgba(34, 34, 50, 0.6);
  --glass-border: rgba(189, 147, 249, 0.15);
  --glass-glow: 0 8px 32px 0 rgba(189, 147, 249, 0.2);
  
  --glow-1: rgba(189, 147, 249, 0.2);
  --glow-2: rgba(255, 85, 85, 0.2);
  --glow-3: rgba(20, 20, 31, 1);
}

/* ========================================================
   12. NEW ADVANCED GEN-Z FEATURES STYLES
   ======================================================== */

/* Profile Picture Uploader & Previews */
.profile-pic-upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
  border: 1px dashed var(--glass-border);
  border-radius: 20px;
  padding: 16px;
  margin-top: 6px;
  transition: all 0.3s ease;
}

.profile-pic-upload-container:hover {
  border-color: var(--accent-primary);
  background: rgba(255, 46, 147, 0.03);
}

.upload-btn-label {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.upload-btn-label:hover {
  background: var(--accent-love-grad);
  border-color: transparent;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 46, 147, 0.3);
}

.upload-preview {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--accent-primary);
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 20px rgba(255, 46, 147, 0.3);
  animation: glow-pulse 2s infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 46, 147, 0.3); }
  50% { box-shadow: 0 0 24px rgba(255, 46, 147, 0.6); }
}

.profile-img-uploaded {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Custom Upload Avatar in other circular containers */
.story-avatar-inner img,
.chat-item-avatar img,
.chat-header-avatar img,
.profile-avatar-inner img,
.match-avatar-circle img,
.spot-mini-avatar img,
.roulette-matched-avatar img,
.story-viewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Search results and elements */
.search-results-list {
  padding-bottom: 20px;
}

.search-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 12px 16px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.search-item-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 46, 147, 0.4);
  box-shadow: 0 6px 20px rgba(255, 46, 147, 0.1);
}

.search-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-card-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-darkest);
  border: 2px solid var(--glass-border);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.search-card-avatar svg, .search-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-card-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.search-card-dept {
  font-size: 0.78rem;
  color: var(--accent-secondary);
  font-weight: 500;
}

.search-card-college {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.search-card-slide-btn {
  background: var(--accent-love-grad);
  border: none;
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 46, 147, 0.3);
  transition: all 0.3s ease;
}

.search-card-slide-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(255, 46, 147, 0.5);
}

/* Style optgroups inside form selects */
.form-select optgroup {
  background: var(--bg-primary);
  color: var(--accent-primary);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  margin-top: 8px;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-main);
  font-weight: 400;
  padding: 8px;
}

