/*
Theme Name: ArkadaşBul
Theme URI: https://arkadasbul.com
Author: Custom
Description: Özel arkadaş bulma ve eşleşme teması - Profil, sohbet, eşleşme, premium üyelik
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: arkadasbul
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --primary: #ff4b6e;
  --primary-dark: #e03558;
  --primary-light: #ff8fa3;
  --secondary: #7c3aed;
  --secondary-dark: #6d28d9;
  --accent: #f59e0b;
  --bg: #0f0f13;
  --bg-card: #1a1a24;
  --bg-card2: #22222f;
  --text: #f0f0f5;
  --text-muted: #8888aa;
  --border: #2e2e42;
  --success: #10b981;
  --danger: #ef4444;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-pink: 0 4px 24px rgba(255,75,110,0.25);
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; }

/* =============================================
   LAYOUT
   ============================================= */
.ab-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ab-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ab-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ab-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ab-flex { display: flex; align-items: center; }
.ab-flex-between { display: flex; align-items: center; justify-content: space-between; }
.ab-gap-8 { gap: 8px; }
.ab-gap-12 { gap: 12px; }
.ab-gap-16 { gap: 16px; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.ab-gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   BUTTONS
   ============================================= */
.ab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.ab-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: var(--shadow-pink);
}
.ab-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,75,110,0.4); }

.ab-btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.ab-btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.ab-btn-ghost { background: transparent; color: var(--text-muted); }
.ab-btn-ghost:hover { color: var(--primary); }

.ab-btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.ab-btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.ab-btn-full { width: 100%; justify-content: center; }

.ab-btn-like {
  background: linear-gradient(135deg, var(--primary), #ff7a00);
  color: white;
  border-radius: 50%;
  width: 56px; height: 56px;
  padding: 0;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(255,75,110,0.4);
}
.ab-btn-pass {
  background: var(--bg-card2);
  color: var(--text-muted);
  border-radius: 50%;
  width: 56px; height: 56px;
  padding: 0;
  justify-content: center;
  font-size: 1.3rem;
  border: 1.5px solid var(--border);
}
.ab-btn-like:hover { transform: scale(1.1) rotate(-5deg); }
.ab-btn-pass:hover { border-color: var(--danger); color: var(--danger); }

/* =============================================
   CARDS
   ============================================= */
.ab-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.ab-card:hover { border-color: rgba(255,75,110,0.3); box-shadow: var(--shadow-pink); }

/* =============================================
   NAVBAR
   ============================================= */
.ab-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,15,19,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 70px;
}
.ab-navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ab-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ab-nav-links { display: flex; align-items: center; gap: 8px; }
.ab-nav-link {
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}
.ab-nav-link:hover, .ab-nav-link.active { color: var(--text); background: var(--bg-card); }
.ab-nav-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  cursor: pointer;
}
.ab-nav-notif {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}
.ab-notif-badge {
  position: absolute;
  top: -3px; right: -3px;
  width: 16px; height: 16px;
  background: var(--primary);
  border-radius: 50%;
  font-size: 0.6rem;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700;
  border: 2px solid var(--bg);
}
.ab-hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text); font-size: 1.5rem; }

/* =============================================
   HERO
   ============================================= */
.ab-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}
.ab-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(124,58,237,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 30% 70%, rgba(255,75,110,0.12) 0%, transparent 50%);
}
.ab-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.ab-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ab-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,75,110,0.12);
  border: 1px solid rgba(255,75,110,0.25);
  color: var(--primary-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.ab-hero-title { margin-bottom: 20px; }
.ab-hero-desc { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.ab-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.ab-hero-stats { display: flex; gap: 32px; margin-top: 48px; }
.ab-stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.ab-stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* Hero Cards (floating profile cards) */
.ab-hero-cards {
  position: relative;
  height: 500px;
}
.ab-hero-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ab-hero-card-main {
  width: 260px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.ab-hero-card-sm1 {
  width: 180px;
  top: 10%;
  left: 5%;
  transform: rotate(-8deg);
  z-index: 2;
  opacity: 0.85;
}
.ab-hero-card-sm2 {
  width: 180px;
  bottom: 10%;
  right: 5%;
  transform: rotate(6deg);
  z-index: 2;
  opacity: 0.85;
}
.ab-profile-img-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 120%;
  overflow: hidden;
}
.ab-profile-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-profile-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.ab-hero-card-info { padding: 14px; }
.ab-hero-card-name { font-weight: 700; font-size: 1rem; }
.ab-hero-card-sub { font-size: 0.8rem; color: var(--text-muted); }
.ab-online-dot {
  width: 10px; height: 10px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
  box-shadow: 0 0 6px var(--success);
}
.ab-match-badge {
  position: absolute;
  bottom: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: var(--shadow-pink);
  z-index: 10;
}

/* =============================================
   MATCH SECTION (Keşfet)
   ============================================= */
.ab-section { padding: 80px 0; }
.ab-section-header { text-align: center; margin-bottom: 48px; }
.ab-section-tag {
  display: inline-block;
  background: rgba(255,75,110,0.1);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.ab-section-title { margin-bottom: 12px; }
.ab-section-desc { color: var(--text-muted); max-width: 500px; margin: 0 auto; }

/* Profile Cards Grid */
.ab-profiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

.ab-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.ab-profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pink); border-color: rgba(255,75,110,0.3); }

.ab-profile-card-img {
  position: relative;
  padding-bottom: 130%;
  overflow: hidden;
}
.ab-profile-card-img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.ab-grad-1 { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.ab-grad-2 { background: linear-gradient(135deg, #1a0a1e, #2d1b33); }
.ab-grad-3 { background: linear-gradient(135deg, #0a1628, #1a2a4a); }
.ab-grad-4 { background: linear-gradient(135deg, #1e0a0a, #3d1515); }

.ab-online-indicator {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--success);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(16,185,129,0.4);
}
.ab-premium-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}
.ab-profile-card-body { padding: 16px; }
.ab-profile-card-name { font-weight: 700; font-size: 1.05rem; margin-bottom: 2px; }
.ab-profile-card-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; }
.ab-profile-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.ab-tag {
  background: rgba(255,75,110,0.1);
  color: var(--primary-light);
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255,75,110,0.2);
}
.ab-profile-card-actions { display: flex; gap: 8px; }
.ab-profile-card-actions .ab-btn { flex: 1; }

/* =============================================
   SWIPE / MATCH CARD
   ============================================= */
.ab-swipe-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.ab-swipe-card-stack {
  position: relative;
  width: 340px;
  height: 480px;
}
.ab-swipe-card {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: grab;
}
.ab-swipe-card:nth-child(2) { transform: rotate(-3deg) translateY(10px) scale(0.97); z-index: 1; }
.ab-swipe-card:nth-child(3) { transform: rotate(2deg) translateY(20px) scale(0.94); z-index: 0; }
.ab-swipe-card.top { z-index: 2; }
.ab-swipe-card-img { width: 100%; height: 65%; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 6rem; }
.ab-swipe-card-info { padding: 20px; }
.ab-swipe-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.ab-swipe-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.ab-swipe-bio { font-size: 0.88rem; color: var(--text-muted); }
.ab-swipe-actions { display: flex; gap: 16px; align-items: center; justify-content: center; }
.ab-swipe-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -8px;
}

/* =============================================
   CHAT
   ============================================= */
.ab-chat-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  height: calc(100vh - 70px);
  margin-top: 70px;
}
.ab-chat-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.ab-chat-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.ab-chat-search {
  width: 100%;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-top: 12px;
  outline: none;
}
.ab-chat-search:focus { border-color: var(--primary); }
.ab-chat-list { overflow-y: auto; flex: 1; }
.ab-chat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
}
.ab-chat-item:hover { background: var(--bg-card2); }
.ab-chat-item.active { background: rgba(255,75,110,0.08); border-left: 3px solid var(--primary); }
.ab-chat-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-card2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  position: relative;
}
.ab-chat-avatar-online::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 2px;
  width: 10px; height: 10px;
  background: var(--success);
  border-radius: 50%;
  border: 2px solid var(--bg-card);
}
.ab-chat-item-info { flex: 1; min-width: 0; }
.ab-chat-item-name { font-weight: 600; font-size: 0.95rem; }
.ab-chat-item-preview { font-size: 0.82rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-chat-item-time { font-size: 0.75rem; color: var(--text-muted); flex-shrink: 0; }
.ab-chat-unread {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--primary);
  color: white;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.ab-chat-main {
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.ab-chat-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ab-chat-header-user { display: flex; align-items: center; gap: 12px; }
.ab-chat-header-name { font-weight: 700; }
.ab-chat-header-status { font-size: 0.8rem; color: var(--success); }
.ab-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ab-msg { display: flex; gap: 10px; max-width: 70%; }
.ab-msg-me { align-self: flex-end; flex-direction: row-reverse; }
.ab-msg-them { align-self: flex-start; }
.ab-msg-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-card2); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.ab-msg-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.ab-msg-me .ab-msg-bubble { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; border-bottom-right-radius: 4px; }
.ab-msg-them .ab-msg-bubble { background: var(--bg-card); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.ab-msg-time { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; text-align: right; }
.ab-msg-them .ab-msg-time { text-align: left; }

.ab-chat-input-area {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.ab-chat-input {
  flex: 1;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 24px;
  font-size: 0.9rem;
  resize: none;
  outline: none;
  max-height: 120px;
  line-height: 1.5;
}
.ab-chat-input:focus { border-color: var(--primary); }
.ab-chat-send {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.ab-chat-send:hover { transform: scale(1.1); }

/* =============================================
   PROFILE
   ============================================= */
.ab-profile-page { padding-top: 100px; padding-bottom: 60px; }
.ab-profile-cover {
  height: 240px;
  background: linear-gradient(135deg, rgba(255,75,110,0.3), rgba(124,58,237,0.3));
  border-radius: var(--radius);
  margin-bottom: -60px;
  position: relative;
  overflow: hidden;
}
.ab-profile-cover-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.ab-profile-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-left: 32px;
}
.ab-profile-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--bg-card2);
  border: 4px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.ab-profile-avatar-edit {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  border: 2px solid var(--bg);
}
.ab-profile-info-bar { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 32px 24px; }
.ab-profile-name-wrap { padding-left: 0; }
.ab-profile-main-name { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; }
.ab-profile-main-meta { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }
.ab-profile-body { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 0 32px; }
.ab-profile-sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.ab-profile-sidebar-card h4 { margin-bottom: 12px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.ab-profile-stat-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.ab-profile-stat-row:last-child { border-bottom: none; }
.ab-profile-stat-label { font-size: 0.85rem; color: var(--text-muted); }
.ab-profile-stat-val { font-size: 0.85rem; font-weight: 600; }

/* Photos Grid */
.ab-photos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ab-photo-item {
  aspect-ratio: 1;
  background: var(--bg-card2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.ab-photo-item:hover { opacity: 0.8; }
.ab-photo-add {
  border: 2px dashed var(--border);
  color: var(--text-muted);
  font-size: 1.5rem;
}
.ab-photo-add:hover { border-color: var(--primary); color: var(--primary); }

/* =============================================
   PREMIUM
   ============================================= */
.ab-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ab-pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.ab-pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(255,75,110,0.08), rgba(124,58,237,0.08));
  box-shadow: var(--shadow-pink);
  transform: translateY(-8px);
}
.ab-pricing-card:hover { transform: translateY(-4px); }
.ab-pricing-card.featured:hover { transform: translateY(-12px); }
.ab-pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.ab-pricing-name { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 8px; }
.ab-pricing-price { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.ab-pricing-price span { font-size: 1rem; color: var(--text-muted); font-family: var(--font-body); }
.ab-pricing-period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.ab-pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.ab-pricing-features li { padding: 8px 0; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.ab-pricing-features li:last-child { border-bottom: none; }
.ab-feat-check { color: var(--success); }
.ab-feat-x { color: var(--text-muted); }

/* =============================================
   FORMS / MODALS
   ============================================= */
.ab-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.ab-modal-overlay.open { opacity: 1; pointer-events: all; }
.ab-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  width: 90%;
  max-width: 460px;
  transform: translateY(20px);
  transition: var(--transition);
}
.ab-modal-overlay.open .ab-modal { transform: translateY(0); }
.ab-modal-title { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 8px; }
.ab-modal-sub { color: var(--text-muted); margin-bottom: 28px; font-size: 0.9rem; }
.ab-form-group { margin-bottom: 16px; }
.ab-form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.ab-form-input {
  width: 100%;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.ab-form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,75,110,0.1); }
.ab-form-divider { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin: 20px 0; position: relative; }
.ab-form-divider::before, .ab-form-divider::after {
  content: ''; position: absolute;
  top: 50%; width: calc(50% - 20px);
  height: 1px; background: var(--border);
}
.ab-form-divider::before { left: 0; }
.ab-form-divider::after { right: 0; }
.ab-form-footer { text-align: center; font-size: 0.88rem; color: var(--text-muted); margin-top: 20px; }
.ab-form-footer a { color: var(--primary); font-weight: 600; }

/* =============================================
   FEATURES SECTION
   ============================================= */
.ab-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ab-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.ab-feature-card:hover { border-color: rgba(255,75,110,0.3); transform: translateY(-2px); }
.ab-feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(255,75,110,0.15), rgba(124,58,237,0.15));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  border: 1px solid rgba(255,75,110,0.2);
}
.ab-feature-title { font-weight: 700; margin-bottom: 8px; }
.ab-feature-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   MATCH ANIMATION
   ============================================= */
.ab-match-popup {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.ab-match-popup.show { opacity: 1; pointer-events: all; }
.ab-match-popup-title { font-family: var(--font-display); font-size: 3rem; font-weight: 700; text-align: center; }
.ab-match-popup-sub { color: var(--text-muted); text-align: center; }
.ab-match-avatars { display: flex; align-items: center; gap: 20px; }
.ab-match-av {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--bg-card2);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-pink);
}
.ab-match-heart { font-size: 2.5rem; animation: heartbeat 0.6s ease infinite alternate; }
@keyframes heartbeat { from { transform: scale(1); } to { transform: scale(1.2); } }

/* =============================================
   FOOTER
   ============================================= */
.ab-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 80px;
}
.ab-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.ab-footer-brand { }
.ab-footer-logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.ab-footer-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 260px; }
.ab-footer-heading { font-weight: 700; margin-bottom: 16px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.ab-footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ab-footer-links li a { font-size: 0.88rem; color: var(--text-muted); transition: var(--transition); }
.ab-footer-links li a:hover { color: var(--primary); }
.ab-footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.ab-footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.ab-footer-socials { display: flex; gap: 12px; }
.ab-social-btn {
  width: 36px; height: 36px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}
.ab-social-btn:hover { border-color: var(--primary); color: var(--primary); }

/* =============================================
   UTILITY
   ============================================= */
.ab-mt-8 { margin-top: 8px; }
.ab-mt-16 { margin-top: 16px; }
.ab-mt-24 { margin-top: 24px; }
.ab-mb-8 { margin-bottom: 8px; }
.ab-mb-16 { margin-bottom: 16px; }
.ab-mb-24 { margin-bottom: 24px; }
.ab-text-center { text-align: center; }
.ab-text-muted { color: var(--text-muted); }
.ab-hidden { display: none; }
.ab-page { display: none; }
.ab-page.active { display: block; }
.ab-pulse { animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.6} }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .ab-features-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .ab-pricing-card.featured { transform: none; }
  .ab-footer-grid { grid-template-columns: 1fr 1fr; }
  .ab-profile-body { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .ab-hero-content { grid-template-columns: 1fr; text-align: center; }
  .ab-hero-cards { display: none; }
  .ab-hero-actions { justify-content: center; }
  .ab-hero-stats { justify-content: center; }
  .ab-nav-links { display: none; }
  .ab-hamburger { display: block; }
  .ab-features-grid { grid-template-columns: 1fr; }
  .ab-chat-layout { grid-template-columns: 1fr; }
  .ab-chat-sidebar { display: none; }
  .ab-footer-grid { grid-template-columns: 1fr; }
  .ab-profiles-grid { grid-template-columns: repeat(2, 1fr); }
}
