/* Singh Matrimonial - Updated App.css */

:root {
  /* Mobile Deep-Blue + Peach Theme */
  --deep-blue: #041630;
  --deep-blue-2: #0a2342;
  --ink: #000000;
  --peach: #FFDAB9;
  --peach-soft: #FFF5EE;
  --peach-dark: #FFCCB6;
  --danger: #FF3B30;
  
  /* Transparency & Surfaces */
  --muted: rgba(255, 255, 255, 0.65);
  --muted2: rgba(255, 255, 255, 0.45);
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 218, 185, 0.12);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --overlay-gradient: linear-gradient(transparent, rgba(4, 22, 48, 0.2), rgba(4, 22, 48, 0.95));
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, var(--deep-blue) 0%, var(--ink) 100%);
  color: #FFFFFF;
  min-height: 100vh;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }

/* Layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  width: 100%;
}

/* Navbar / Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px;
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background: rgba(4, 22, 48, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 218, 185, 0.16);
  border: 1px solid rgba(255, 218, 185, 0.25);
  color: var(--peach);
  font-size: 20px;
}

/* Buttons */
.btn {
  border: 0;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:active { transform: scale(0.96); }

.btn-primary {
  background: linear-gradient(135deg, var(--peach-soft), var(--peach), var(--peach-dark));
  color: var(--deep-blue);
  box-shadow: 0 8px 20px rgba(255, 218, 185, 0.15);
}

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

.btn-danger {
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.25);
  color: #FFB3B3;
}

/* Dashboard Cards - Matches Mobile UI */
.list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.profile-card {
  position: relative;
  height: 450px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--deep-blue-2);
  border: 1px solid var(--card-border);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow);
}

.profile-card:hover {
  transform: translateY(-10px);
}

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

.card-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-gradient);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
}

/* Like Button on Card */
.like-btn-circle {
  position: absolute;
  bottom: 24px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: rgba(4, 22, 48, 0.85);
  border: 1.5px solid var(--peach);
  color: var(--peach);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.like-btn-circle.active {
  background: rgba(255, 59, 48, 0.2);
  border-color: var(--danger);
  color: var(--danger);
}

/* Inputs & Forms */
.input {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 218, 185, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #FFFFFF;
  padding: 16px 20px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}

.input:focus {
  border-color: var(--peach);
  background: rgba(255, 255, 255, 0.1);
}

.input::placeholder { color: rgba(255, 218, 185, 0.35); }

.label {
  display: block;
  color: var(--peach);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 15px 0 8px;
}

/* Components */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.card-pad { padding: 20px; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 218, 185, 0.2);
  background: rgba(255, 218, 185, 0.1);
  color: var(--peach);
  font-weight: 600;
  font-size: 13px;
}

.divider {
  height: 1px;
  background: rgba(255, 218, 185, 0.1);
  margin: 20px 0;
}

.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  background: rgba(10, 35, 66, 0.95);
  border: 1px solid var(--peach);
  padding: 14px 24px;
  border-radius: 18px;
  color: #FFFFFF;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 45px rgba(0,0,0,0.5);
  display: none;
  font-weight: 600;
}

.toast.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { bottom: 0; opacity: 0; }
  to { bottom: 30px; opacity: 1; }
}

/* Media Queries */
@media (max-width: 768px) {
  .container { padding: 16px; }
  .topbar { padding: 12px 16px; }
  .list { grid-template-columns: 1fr; }
  .profile-card { height: 500px; }
  .btn { padding: 10px 14px; }
}