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

:root {
  --grad1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --grad2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --grad3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --grad4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --grad5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --grad6: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
  --grad7: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  --grad8: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  --primary: #764ba2;
  --accent: #f5576c;
  --shadow-3d: 0 20px 60px rgba(0,0,0,0.15), 0 6px 20px rgba(0,0,0,0.1);
  --shadow-hover: 0 30px 80px rgba(0,0,0,0.2), 0 10px 30px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: #0f0c29; color: #333; overflow-x: hidden; }

/* ===== ANIMATED BG ===== */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(120,40,200,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(245,87,108,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(79,172,254,0.1) 0%, transparent 50%);
  animation: bgPulse 8s ease-in-out infinite alternate;
}
@keyframes bgPulse {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}

/* ===== OVERLAY ===== */
.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 99; backdrop-filter: blur(4px);
}
.overlay.show { display: block; }

/* ===== SIDEBAR ===== */
.sidebar {
  width: 275px; height: 100vh; background: rgba(15,12,41,0.97);
  backdrop-filter: blur(20px); border-right: 1px solid rgba(255,255,255,0.08);
  position: fixed; top: 0; left: 0; overflow-y: auto;
  z-index: 200; transform: translateX(-275px);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.sidebar.open { transform: translateX(0); box-shadow: 8px 0 40px rgba(0,0,0,0.5); }
.sidebar-header {
  background: var(--grad1); padding: 18px 16px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 2;
}
.sidebar-logo-text { font-size: 18px; font-weight: 800; color: white; line-height: 1.2; }
.sidebar-logo-text span { font-size: 11px; display: block; opacity: 0.8; font-weight: 400; }
.sidebar-close {
  background: rgba(255,255,255,0.15); border: none; color: white;
  font-size: 18px; width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.sidebar-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }
.sidebar-section { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.sidebar-section-title {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.3);
  letter-spacing: 1.5px; padding: 8px 16px 4px; text-transform: uppercase;
}
.sidebar a {
  display: flex; align-items: center; gap: 10px; padding: 9px 16px;
  text-decoration: none; color: rgba(255,255,255,0.7); font-size: 13px;
  transition: all 0.2s; border-left: 3px solid transparent;
}
.sidebar a:hover, .sidebar a.active {
  background: rgba(255,255,255,0.07); color: white;
  border-left-color: #f5576c;
}
.sidebar a .icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }

/* ===== STICKY HEADER ===== */
.sticky-top { position: sticky; top: 0; z-index: 50; }
.topbar {
  background: rgba(15,12,41,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 16px; height: 56px;
  display: flex; align-items: center; gap: 12px;
}
.hamburger {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  color: white; font-size: 20px; cursor: pointer;
  padding: 6px 10px; border-radius: 10px; line-height: 1;
  transition: background 0.2s, transform 0.2s; flex-shrink: 0;
}
.hamburger:hover { background: rgba(255,255,255,0.2); transform: scale(1.05); }
.topbar h2 {
  font-size: 18px; font-weight: 800; flex: 1;
  background: linear-gradient(90deg, #f093fb, #f5576c, #4facfe);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.topbar-right { display: flex; align-items: center; gap: 6px; }
.topbar-right a {
  color: rgba(255,255,255,0.75); text-decoration: none; font-size: 12px;
  padding: 5px 12px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s; white-space: nowrap;
}
.topbar-right a:hover { background: rgba(255,255,255,0.1); color: white; }

/* SEARCH BAR */
.search-bar {
  background: rgba(15,12,41,0.9); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 8px 14px; display: flex; align-items: center; gap: 0;
}
.search-bar input {
  flex: 1; padding: 10px 16px;
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.12);
  border-right: none; border-radius: 25px 0 0 25px;
  color: white; font-size: 13.5px; outline: none;
  font-family: 'Poppins', sans-serif; transition: border 0.2s, background 0.2s;
}
.search-bar input::placeholder { color: rgba(255,255,255,0.4); }
.search-bar input:focus { border-color: rgba(245,87,108,0.6); background: rgba(255,255,255,0.12); }
.search-bar .search-btn {
  padding: 10px 20px; background: var(--grad2); color: white; border: none;
  border-radius: 0 25px 25px 0; cursor: pointer; font-size: 13px;
  font-weight: 700; font-family: 'Poppins', sans-serif;
  transition: opacity 0.2s, transform 0.2s; white-space: nowrap; flex-shrink: 0;
}
.search-bar .search-btn:hover { opacity: 0.9; transform: scale(1.02); }
.search-bar .clear-btn {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); border: none;
  border-radius: 50%; width: 32px; height: 32px; cursor: pointer;
  font-size: 14px; margin-left: 8px; display: none;
  align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.2s;
}
.search-bar .clear-btn.show { display: flex; }
.search-bar .clear-btn:hover { background: rgba(255,255,255,0.2); }

/* ===== MAIN ===== */
.main { min-height: 100vh; }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 60px 20px 50px; text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particles span {
  position: absolute; border-radius: 50%;
  animation: float linear infinite;
  opacity: 0.6;
}
@keyframes float {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2);
  color: white; padding: 6px 18px; border-radius: 20px;
  font-size: 12px; font-weight: 600; margin-bottom: 20px;
  animation: fadeDown 0.6s ease;
}
@keyframes fadeDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
.hero h1 {
  font-size: 42px; font-weight: 900; color: white; line-height: 1.2;
  margin-bottom: 16px; animation: fadeUp 0.7s ease 0.1s both;
}
.hero h1 span {
  background: linear-gradient(90deg, #f093fb, #f5576c, #4facfe, #43e97b);
  background-size: 300% 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; animation: gradShift 4s ease infinite;
}
@keyframes gradShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.hero p {
  font-size: 16px; color: rgba(255,255,255,0.75); max-width: 540px;
  margin: 0 auto 28px; line-height: 1.7; animation: fadeUp 0.7s ease 0.2s both;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.7s ease 0.3s both; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad2); color: white; padding: 13px 28px;
  border-radius: 30px; font-weight: 700; text-decoration: none; font-size: 14px;
  box-shadow: 0 8px 30px rgba(245,87,108,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(245,87,108,0.5); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.25); color: white;
  padding: 13px 28px; border-radius: 30px; font-weight: 600;
  text-decoration: none; font-size: 14px; transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.hero-stats {
  display: flex; justify-content: center; gap: 0;
  margin-top: 40px; animation: fadeUp 0.7s ease 0.4s both;
}
.hero-stat {
  padding: 16px 32px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num { font-size: 28px; font-weight: 900; color: white; }
.hero-stat .lbl { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ===== SECTION ===== */
.section { padding: 32px 16px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.section-title {
  font-size: 20px; font-weight: 800; color: white;
  display: flex; align-items: center; gap: 8px;
}
.section-title::after {
  content: ''; display: block; width: 40px; height: 3px;
  background: var(--grad2); border-radius: 2px; margin-left: 4px;
}
.view-all {
  font-size: 12px; color: rgba(255,255,255,0.6); text-decoration: none;
  font-weight: 600; padding: 5px 14px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15); transition: all 0.2s;
}
.view-all:hover { background: rgba(255,255,255,0.1); color: white; }

/* ===== 3D CATEGORY CARDS ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
.card {
  position: relative; border-radius: 18px; padding: 20px 10px 16px;
  text-align: center; cursor: pointer; text-decoration: none; color: white;
  display: block; overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.2);
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: 18px;
  background: inherit; filter: blur(0); z-index: -1;
}
.card::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s; z-index: 1;
}
.card:hover::after { left: 150%; }
.card:hover {
  transform: translateY(-8px) rotateX(5deg) scale(1.04);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 8px 20px rgba(0,0,0,0.3);
}
.card .icon { font-size: 34px; margin-bottom: 8px; display: block; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }
.card .label { font-size: 11.5px; font-weight: 700; line-height: 1.3; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }

/* Card gradient variants */
.card:nth-child(8n+1)  { background: var(--grad1); }
.card:nth-child(8n+2)  { background: var(--grad2); }
.card:nth-child(8n+3)  { background: var(--grad3); }
.card:nth-child(8n+4)  { background: var(--grad4); }
.card:nth-child(8n+5)  { background: var(--grad5); }
.card:nth-child(8n+6)  { background: var(--grad6); }
.card:nth-child(8n+7)  { background: var(--grad7); color: #333; }
.card:nth-child(8n+8)  { background: var(--grad8); color: #333; }

/* ===== 3D WISH CARDS ===== */
.wish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.wish-card {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform-style: preserve-3d;
}
.wish-card:hover {
  transform: translateY(-10px) rotateX(3deg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  border-color: rgba(245,87,108,0.4);
}
.wish-card .thumb {
  width: 100%; height: 140px; display: flex;
  align-items: center; justify-content: center; font-size: 60px;
  position: relative; overflow: hidden;
}
.wish-card:nth-child(6n+1) .thumb { background: linear-gradient(135deg, #667eea33, #764ba233); }
.wish-card:nth-child(6n+2) .thumb { background: linear-gradient(135deg, #f093fb33, #f5576c33); }
.wish-card:nth-child(6n+3) .thumb { background: linear-gradient(135deg, #4facfe33, #00f2fe33); }
.wish-card:nth-child(6n+4) .thumb { background: linear-gradient(135deg, #43e97b33, #38f9d733); }
.wish-card:nth-child(6n+5) .thumb { background: linear-gradient(135deg, #fa709a33, #fee14033); }
.wish-card:nth-child(6n+6) .thumb { background: linear-gradient(135deg, #a18cd133, #fbc2eb33); }
.wish-card .thumb .thumb-icon {
  font-size: 64px; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
  animation: iconBob 3s ease-in-out infinite;
}
@keyframes iconBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.wish-card .info { padding: 14px 14px 8px; }
.wish-card .info h3 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 6px; }
.wish-card .info p { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.5; }
.wish-card .actions { padding: 8px 12px 6px; display: flex; gap: 6px; }
.wish-card .actions-2 { padding: 0 12px 12px; }

.btn-share {
  flex: 1; padding: 9px 6px; background: var(--grad2); color: white;
  border: none; border-radius: 10px; font-size: 12px; cursor: pointer;
  font-weight: 700; font-family: 'Poppins', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap;
  box-shadow: 0 4px 15px rgba(245,87,108,0.3);
}
.btn-share:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,87,108,0.4); }
.btn-copy {
  flex: 1; padding: 9px 6px; background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; font-size: 12px; cursor: pointer; font-weight: 700;
  font-family: 'Poppins', sans-serif; transition: all 0.2s; white-space: nowrap;
}
.btn-copy:hover { background: rgba(255,255,255,0.18); color: white; }
.btn-customize {
  width: 100%; padding: 9px 6px;
  background: linear-gradient(135deg, rgba(102,126,234,0.2), rgba(118,75,162,0.2));
  color: #a78bfa; border: 1.5px solid rgba(167,139,250,0.3);
  border-radius: 10px; font-size: 12px; cursor: pointer; font-weight: 700;
  font-family: 'Poppins', sans-serif; transition: all 0.2s;
}
.btn-customize:hover { background: linear-gradient(135deg, rgba(102,126,234,0.35), rgba(118,75,162,0.35)); color: white; border-color: rgba(167,139,250,0.6); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 32px 20px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(118,75,162,0.2) 0%, transparent 70%);
}
.page-hero h1 { font-size: 26px; font-weight: 900; color: white; margin-bottom: 8px; position: relative; }
.page-hero p { font-size: 13px; color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto; position: relative; }

/* ===== HOW IT WORKS ===== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: calc(16.66% + 8px); right: calc(16.66% + 8px);
  height: 2px;
  background: linear-gradient(90deg, rgba(245,87,108,0.5), rgba(79,172,254,0.5));
  z-index: 0; pointer-events: none;
}
.how-card {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
  padding: 22px 12px 18px; text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative; z-index: 1;
}
.how-card:hover { transform: translateY(-6px); border-color: rgba(245,87,108,0.35); box-shadow: 0 12px 32px rgba(245,87,108,0.15); }
.how-step {
  width: 30px; height: 30px; background: var(--grad2); border-radius: 50%;
  font-size: 13px; font-weight: 800; color: white;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; box-shadow: 0 4px 12px rgba(245,87,108,0.4);
}
.how-card .how-icon { font-size: 32px; margin-bottom: 8px; display: block; }
.how-card h3 { font-size: 14px; font-weight: 800; color: white; margin-bottom: 5px; }
.how-card p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* ===== MODAL ===== */
.modal-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  z-index: 300; align-items: center; justify-content: center; padding: 16px;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: rgba(22,21,62,0.97); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 24px;
  width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: modalIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalIn { from{transform:scale(0.85) translateY(30px);opacity:0} to{transform:scale(1) translateY(0);opacity:1} }
.modal-header {
  background: var(--grad1); padding: 18px 18px; border-radius: 24px 24px 0 0;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0;
}
.modal-header h3 { font-size: 16px; font-weight: 700; color: white; }
.modal-close {
  background: rgba(255,255,255,0.15); border: none; color: white;
  font-size: 18px; width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }
.modal-body { padding: 20px; }
.modal-body label {
  display: block; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.8px;
}
.modal-body input, .modal-body textarea {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 12px; color: white; font-size: 14px; margin-bottom: 14px;
  outline: none; transition: border 0.2s, background 0.2s;
  font-family: 'Poppins', sans-serif;
}
.modal-body input::placeholder, .modal-body textarea::placeholder { color: rgba(255,255,255,0.3); }
.modal-body input:focus, .modal-body textarea:focus {
  border-color: rgba(167,139,250,0.6); background: rgba(255,255,255,0.1);
}
.modal-body textarea { height: 90px; resize: vertical; }
.wish-preview {
  background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(118,75,162,0.15));
  border: 2px dashed rgba(167,139,250,0.3); border-radius: 16px;
  padding: 20px; text-align: center; margin-bottom: 18px;
  min-height: 110px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
}
.wish-preview .preview-icon { font-size: 44px; }
.wish-preview .preview-text {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9);
  line-height: 1.7; white-space: pre-wrap; text-align: left; width: 100%;
}
.modal-actions { display: flex; gap: 8px; }
.modal-actions button {
  flex: 1; padding: 12px 8px; border: none; border-radius: 12px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: 'Poppins', sans-serif; transition: transform 0.2s, box-shadow 0.2s;
}
.modal-actions button:hover { transform: translateY(-2px); }
.btn-wa { background: linear-gradient(135deg, #25D366, #128C7E); color: white; box-shadow: 0 4px 15px rgba(37,211,102,0.3); }
.btn-modal-copy { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.15) !important; }
.btn-modal-share { background: var(--grad2); color: white; box-shadow: 0 4px 15px rgba(245,87,108,0.3); }

/* ===== CONTENT PAGES ===== */
.content-page { max-width: 700px; margin: 28px auto; padding: 0 16px 40px; }
.content-page h1 { font-size: 22px; font-weight: 800; color: white; margin-bottom: 14px; }
.content-page p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.65); margin-bottom: 14px; }
.content-page .feature-list { list-style: none; margin: 14px 0; }
.content-page .feature-list li {
  padding: 10px 0; font-size: 13.5px; color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.content-page .feature-list li::before { content: "✅ "; }
.contact-form {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 18px;
  padding: 24px; margin-top: 20px;
}
.contact-form label { display: block; font-size: 11px; font-weight: 700; margin-bottom: 6px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.8px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px; color: white; font-size: 14px; margin-bottom: 14px;
  outline: none; transition: border 0.2s; font-family: 'Poppins', sans-serif;
}
.contact-form select option { background: #1a1a2e; color: white; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(245,87,108,0.5); }
.contact-form textarea { height: 110px; resize: vertical; }
.contact-form button {
  width: 100%; padding: 13px; background: var(--grad2); color: white;
  border: none; border-radius: 12px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 25px rgba(245,87,108,0.35); transition: transform 0.2s, box-shadow 0.2s;
}
.contact-form button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245,87,108,0.45); }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 20px; right: 16px;
  background: rgba(22,21,62,0.95); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1); color: white;
  padding: 12px 18px; border-radius: 12px; font-size: 13px;
  opacity: 0; transform: translateY(16px); transition: all 0.3s;
  z-index: 999; max-width: calc(100vw - 32px); font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ===== FOOTER ===== */
footer {
  background: rgba(0,0,0,0.5); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.07); margin-top: 40px;
}
.footer-inner {
  max-width: 700px; margin: 0 auto;
  padding: 28px 20px 22px; text-align: center;
}
.footer-brand {
  font-size: 18px; font-weight: 800; margin-bottom: 5px;
  background: linear-gradient(90deg, #f093fb, #f5576c);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-links {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px 12px; margin-bottom: 16px;
}
.footer-links a {
  color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13px;
  padding: 5px 14px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1); transition: all 0.2s;
}
.footer-links a:hover { background: rgba(255,255,255,0.08); color: white; border-color: rgba(255,255,255,0.2); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.22); }

/* ===== FLOATING SHAPES (decorative) ===== */
.floating-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.shape {
  position: absolute; border-radius: 50%; opacity: 0.07;
  animation: shapeDrift 20s ease-in-out infinite;
}
@keyframes shapeDrift {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  33%      { transform: translate(30px,-20px) rotate(120deg); }
  66%      { transform: translate(-20px,30px) rotate(240deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 13px; }
  .hero-stat { padding: 12px 16px; }
  .hero-stat .num { font-size: 22px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .card { padding: 14px 6px 12px; }
  .card .icon { font-size: 28px; }
  .card .label { font-size: 10.5px; }
  .wish-grid { grid-template-columns: 1fr; }
  .modal-actions { flex-direction: column; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid::before { display: none; }
  .how-card { padding: 14px 16px; display: flex; align-items: center; gap: 12px; text-align: left; }
  .how-step { flex-shrink: 0; margin: 0; }
  .how-card .how-icon { font-size: 26px; margin: 0; flex-shrink: 0; }
  .how-card h3 { font-size: 13px; margin-bottom: 2px; }
  .how-card p { font-size: 11.5px; }
  .topbar h2 { font-size: 15px; }
  .topbar-right { display: none; }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 22px; }
}

/* ===== HOME PAGE CATEGORY CARDS ===== */
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.home-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  cursor: default;
}
.home-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border-color: rgba(245,87,108,0.35);
}

/* gradient top strip per card */
.home-card:nth-child(8n+1) .home-card-top { background: var(--grad1); }
.home-card:nth-child(8n+2) .home-card-top { background: var(--grad2); }
.home-card:nth-child(8n+3) .home-card-top { background: var(--grad3); }
.home-card:nth-child(8n+4) .home-card-top { background: var(--grad4); }
.home-card:nth-child(8n+5) .home-card-top { background: var(--grad5); }
.home-card:nth-child(8n+6) .home-card-top { background: var(--grad6); }
.home-card:nth-child(8n+7) .home-card-top { background: var(--grad7); }
.home-card:nth-child(8n+8) .home-card-top { background: var(--grad8); }

.home-card-top {
  padding: 22px 18px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.home-card-top::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.home-card-icon {
  font-size: 52px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
  animation: iconBob 3s ease-in-out infinite;
  line-height: 1;
}
.home-card-badge {
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.3);
}

.home-card-body {
  padding: 16px 18px 12px;
  flex: 1;
}
.home-card-title {
  font-size: 16px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}
.home-card-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin-bottom: 10px;
}
.home-card-preview {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  font-style: italic;
  line-height: 1.5;
  border-left: 2px solid rgba(255,255,255,0.15);
  padding-left: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-card-actions {
  padding: 0 14px 16px;
  display: flex;
  gap: 8px;
}
.hca-browse {
  flex: 1;
  padding: 10px 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
}
.hca-browse:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}
.hca-wish {
  flex: 1;
  padding: 10px 8px;
  background: var(--grad2);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 15px rgba(245,87,108,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.hca-wish:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245,87,108,0.5);
}

/* ===== RESPONSIVE HOME GRID ===== */
@media (max-width: 600px) {
  .home-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .home-card-icon { font-size: 38px; }
  .home-card-title { font-size: 13px; }
  .home-card-desc { display: none; }
  .home-card-preview { display: none; }
  .home-card-top { padding: 16px 12px 14px; }
  .home-card-body { padding: 10px 12px 8px; }
  .home-card-actions { padding: 0 10px 12px; gap: 6px; }
  .hca-browse, .hca-wish { font-size: 11px; padding: 8px 4px; }
}
@media (max-width: 380px) {
  .home-grid { grid-template-columns: 1fr; }
}

/* ===== HOW TO PERSONALIZE BOX ===== */
.how-to-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0 16px 32px;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(102,126,234,0.18), rgba(245,87,108,0.12));
  border: 1px solid rgba(167,139,250,0.35);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(102,126,234,0.15);
}
.how-to-icon {
  font-size: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(245,87,108,0.4));
  animation: iconBob 3s ease-in-out infinite;
}
.how-to-content h4 {
  font-size: 15px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}
.how-to-content p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}
.how-to-content strong {
  color: #f093fb;
  font-weight: 700;
}
@media (max-width: 480px) {
  .how-to-box { margin: 0 10px 24px; padding: 16px; gap: 12px; }
  .how-to-icon { font-size: 28px; }
  .how-to-content h4 { font-size: 14px; }
  .how-to-content p { font-size: 12.5px; }
}

/* ===== CATEGORY PAGE — 3-button action row ===== */
.hca-share {
  background: linear-gradient(135deg, rgba(79,172,254,0.2), rgba(0,242,254,0.15)) !important;
  color: rgba(255,255,255,0.85) !important;
  border-color: rgba(79,172,254,0.3) !important;
}
.hca-share:hover {
  background: linear-gradient(135deg, rgba(79,172,254,0.35), rgba(0,242,254,0.3)) !important;
  color: white !important;
}
.hca-copy {
  background: linear-gradient(135deg, rgba(67,233,123,0.15), rgba(56,249,215,0.12)) !important;
  color: rgba(255,255,255,0.85) !important;
  border-color: rgba(67,233,123,0.3) !important;
}
.hca-copy:hover {
  background: linear-gradient(135deg, rgba(67,233,123,0.3), rgba(56,249,215,0.25)) !important;
  color: white !important;
}

/* 3-col action row on category cards */
.home-card .home-card-actions {
  flex-wrap: nowrap;
}
.home-card .home-card-actions .hca-browse,
.home-card .home-card-actions .hca-wish {
  font-size: 11.5px;
  padding: 9px 4px;
}

/* wish-grid alias (keep for backward compat) */
.wish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

@media (max-width: 600px) {
  .home-card .home-card-actions { flex-wrap: wrap; }
  .home-card .home-card-actions .hca-browse { flex: 1 1 45%; }
  .home-card .home-card-actions .hca-wish   { flex: 1 1 100%; }
}

/* hero stat small text fix */
.hero-stat .num { word-break: break-word; }
.hero-stat .num[data-small] { font-size: 16px; }
