/* Bún 888 — Dating Landing Page Styles (Light theme refresh) */
:root {
  /* Light palette */
  --bg: #f7f9fc; /* fallback if gradient not supported */
  --panel: #ffffff;
  --panel-2: #f6f8fb;
  --text: #0f1729; /* slate-900 */
  --text-muted: #64748b; /* slate-500 */
  --text-muted-strong: #52606a; /* slightly stronger muted for readability */
  --accent: #ff6aa7;
  --accent-2: #7c5cff;
  --success: #16a34a;
  --danger: #ef4444;

  --ring: rgba(255, 106, 167, 0.35);
  --shadow-1: 0 6px 24px rgba(15, 23, 42, 0.08);
  --shadow-2: 0 12px 40px rgba(15, 23, 42, 0.12);

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 22px;

  --gap-s: 12px;
  --gap: 20px;
  --gap-l: 32px;
  --max-w: 1100px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  /* Two-tone top-to-bottom */
  background: linear-gradient(180deg, #fff7fb 0%, #f3f8ff 100%);
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }

.container { width: min(100% - 32px, var(--max-w)); margin-inline: auto; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(90deg, #ff6aa7, #7c5cff);
  backdrop-filter: saturate(130%) blur(8px);
  border-bottom: 1px solid #e2e8f0;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display:flex; align-items: center; gap:10px; text-decoration: none; color: var(--text); font-weight: 700; }
.logo { font-size: 20px; letter-spacing: 0.3px; }
.tagline { font-size: 14px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.6px; }

/* Header slogan + logo beside it */
.slogan { 
  font-size: 18px; 
  font-weight: 900; 
  letter-spacing: 1px; 
  text-transform: uppercase; 
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); 
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent; 
  white-space: nowrap;
}
.logohead { 
  height: 28px; 
  width: auto; 
  object-fit: contain; 
  filter: drop-shadow(0 6px 18px rgba(124,92,255,.25));
}

@media (max-width: 600px) {
  .slogan { font-size: 13px; letter-spacing: .8px; }
  .logohead { height: 22px; }
}

.nav-menu ul { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; align-items: center; }
.nav-menu a { color: var(--text); text-decoration: none; opacity: 0.9; padding: 8px 10px; border-radius: 8px; }
.nav-menu a:hover { background: rgba(255,255,255,0.15); }

.hamburger { display: none; position: relative; width: 42px; height: 36px; border: 1px solid #e2e8f0; background: var(--panel-2); border-radius: 10px; cursor: pointer; }
.hamburger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, top .25s, opacity .25s; }
.hamburger span:nth-child(1){ top: 11px; }
.hamburger span:nth-child(2){ top: 17px; }
.hamburger span:nth-child(3){ top: 23px; }
.hamburger[aria-expanded="true"] span:nth-child(1){ top: 17px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ top: 17px; transform: rotate(-45deg); }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: linear-gradient(180deg, rgba(2,6,23,0.02), rgba(2,6,23,0) 40%); }
.section-title { font-size: clamp(22px, 2.6vw, 32px); margin: 0 0 22px; letter-spacing: .2px; }
.section-actions { margin-top: 16px; }

/* Top CTA (centered; mobile-friendly) */
.top-cta { display: flex; gap: 12px; justify-content: center; align-items: center; padding: 10px 0 8px; margin-top: 10px; }

/* Hero */
.hero { position: relative; overflow: clip; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.hero-text h1 { font-size: clamp(28px, 4.6vw, 48px); line-height: 1.1; margin: 0 0 10px; }
.hero-text p { color: var(--text-muted); margin: 0 0 18px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; list-style: none; padding: 10px 0 0; margin: 0; color: var(--text-muted); font-size: 14px; justify-content: center; }
.accent { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-visual { position: relative; height: 360px; display: grid; place-items: center; }
.bubble { position: absolute; border-radius: 50%; filter: blur(24px); opacity: .45; }
.b1 { width: 240px; height: 240px; background: #c7d2fe; left: 10%; top: 8%; }
.b2 { width: 300px; height: 300px; background: #fecdd3; right: -4%; top: 26%; }
.b3 { width: 180px; height: 180px; background: #a7f3d0; right: 35%; bottom: -10%; opacity: .35; }
.device-card { position: relative; width: min(92%, 360px); background: var(--panel); border: 1px solid #e2e8f0; border-radius: 26px; box-shadow: var(--shadow-2); overflow: hidden; }
.device-header { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #eef2f7; background: linear-gradient(180deg, rgba(2,6,23,0.04), transparent); }
.device-header span { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in oklab, var(--text-muted), transparent 20%); }
.device-body { padding: 16px; display: grid; gap: 10px; background:
  radial-gradient(220px 80px at 80% -10%, rgba(255,106,167,.12), transparent 60%),
  radial-gradient(220px 80px at 10% 110%, rgba(124,92,255,.12), transparent 60%),
  var(--panel);
}
.mini-profile { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--panel-2); border: 1px solid #e6ebf2; border-radius: 14px; }
.mini-profile .name { font-weight: 700; }
.mini-profile .meta { color: var(--text-muted); font-size: 13px; }

/* Grid / Cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(12, 1fr); }
.features > * { grid-column: span 4; }
.profiles > * { grid-column: span 4; }
.stories > * { grid-column: span 4; }

.card { background: var(--panel); border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-1); }
/* Subtle elevation & hover to make cards feel tangible */
.card { transition: transform .12s ease, box-shadow .12s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(15,23,42,0.12); }
.card.feature .icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; margin-bottom: 10px; background: linear-gradient(135deg, rgba(255,106,167,.15), rgba(124,92,255,.15)); color: var(--text); }
.card.profile { display: flex; gap: 14px; align-items: center; }
.card.quote p { margin: 0; font-style: italic; }
.card.quote footer { margin-top: 10px; color: var(--text-muted); font-size: 14px; }

/* Avatars */
.avatar { width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, #e5e7eb, #f3f4f6); border: 1px solid #e5e7eb; position: relative; overflow: hidden; }
.avatar.xl { width: 100px; height: 120px; border-radius: 0; }
.avatar::after { content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center; color: var(--text); font-weight: 800; letter-spacing: .5px; pointer-events: none; }
.avatar:not([data-initials])::after { content: none; display: none; }

/* Center the hero avatar within the hero card */
#hero-avatar { margin: 0 auto; align-self: center; justify-self: center; }

.info h3 { margin: 0 0 6px; }
.info p { margin: 0 0 8px; color: var(--text-muted); }
.chips { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.chips li { padding: 5px 10px; border-radius: 999px; border: 1px solid #e5e7eb; color: var(--text-muted); font-size: 12px; background: #f8fafc; }

/* CTA */
.cta { background: linear-gradient(180deg, rgba(255,106,167,.10), rgba(124,92,255,.10)); border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.cta-inner { text-align: center; display: grid; gap: 8px; }

/* Buttons */
.btn { --bg: var(--panel-2); --fg: var(--text); --bd: #cbd5e1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 12px; color: var(--fg); background: var(--bg); border: 1px solid var(--bd); cursor: pointer; font-weight: 700; text-decoration: none; transition: transform .06s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary { --bg: linear-gradient(90deg, var(--accent), var(--accent-2)); --bd: transparent; box-shadow: 0 8px 24px var(--ring); color: #0a0b0f; }
.btn.primary { transition: transform .12s ease, box-shadow .12s ease; }
.btn.primary:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(124,92,255,0.16); }
.btn.secondary { --bg: #eef2f7; --bd: #d6deea; }
.btn.ghost { --bg: transparent; --bd: #cbd5e1; }
.btn.link { --bg: transparent; --bd: transparent; color: var(--text); font-weight: 600; padding: 8px 10px; }
.btn.lg { padding: 12px 18px; font-size: 15px; }
.btn.full { width: 100%; }

/* Footer */
.footer { padding: 36px 0; background: var(--panel); border-top: 1px solid #e2e8f0; }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.footer-grid .col { grid-column: span 4; }
.brand.small .logo { font-size: 18px; }
.brand.small .tagline { font-size: 12px; letter-spacing: 0.5px; }
.muted { color: var(--text-muted); }
.muted.strong { color: var(--text-muted-strong); }
.small { font-size: 12px; }
.center { text-align: center; }

/* Modal */
.modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; z-index: 100; }
.modal[aria-hidden="true"] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); backdrop-filter: blur(6px); }
.modal-dialog { position: relative; width: min(100%, 480px); background: var(--panel); border: 1px solid #e2e8f0; border-radius: var(--radius-l); box-shadow: var(--shadow-2); overflow: hidden; }
.modal-content { padding: 22px; }
.modal-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 12px; border: 1px solid #e2e8f0; background: var(--panel-2); color: var(--text); cursor: pointer; }

/* Form */
.form { display: grid; gap: 14px; margin-top: 10px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; }
.field input, .field select { padding: 12px 14px; border-radius: 12px; background: #ffffff; border: 1px solid #cbd5e1; color: var(--text); outline: none; }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%), linear-gradient(135deg, #94a3b8 50%, transparent 50%); background-position: calc(100% - 18px) 16px, calc(100% - 12px) 16px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.error { color: var(--danger); height: 15px; font-size: 12px; }

/* Button small */
.btn.small { padding: 6px 10px; font-size: 12px; }


/* Utilities */
.hero-gradient { position: absolute; inset: 0 0 -40px; background: radial-gradient(700px 200px at 40% 0%, rgba(124,92,255,.12), transparent 70%); pointer-events: none; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; height: 300px; }
}
@media (max-width: 900px) {
  .hamburger { display: inline-block; }
  .nav-menu { position: absolute; top: 58px; right: 16px; left: 16px; background: var(--panel); border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: var(--shadow-2); transform-origin: top right; transform: scale(.98); opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s; }
  .nav-menu ul { flex-direction: column; align-items: stretch; padding: 10px; }
  .nav-menu.open { transform: scale(1); opacity: 1; pointer-events: auto; }

  .grid { grid-template-columns: 1fr 1fr; }
  .features > *, .profiles > *, .stories > * { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .col { grid-column: span 1; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .top-cta { padding-top: 6px; }
}

/* Accessibility focus */
:focus-visible { outline: 0; box-shadow: 0 0 0 4px var(--ring); border-radius: 10px; }

/* ---------------- App (dashboard) styles ---------------- */
body.app { background: #f7f9fc; }
.app-main { width: min(100% - 24px, 900px); margin: 0 auto; padding: 16px 0 96px; }

/* Home enhancements */
.home-grid { grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 10px; }
.home-grid .home-card { grid-column: span 4; display:flex; gap:12px; align-items:flex-start; }
.home-card .hc-icon { width: 44px; height: 44px; border-radius: 12px; display:grid; place-items:center; background:#ffe4e6; color:#9d174d; border:1px solid #fecdd3; }
.home-card h4 { margin: 0 0 4px; }
@media (max-width: 900px){ .home-grid .home-card { grid-column: span 6; } }
@media (max-width: 600px){ .home-grid .home-card { grid-column: span 12; } }

.home-cta { margin-top: 12px; border: 1px solid #e6ebf2; background: linear-gradient(90deg, rgba(255,106,167,.08), rgba(124,92,255,.08)); }
.home-cta-inner { display:flex; align-items:center; justify-content: space-between; gap: 10px; }
.home-cta-title { font-weight: 900; letter-spacing: .2px; }
.home-cta-sub { color: var(--text-muted); font-weight: 700; }

.home-kpis { margin-top: 12px; }
.kpi-grid { display:grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.kpi { grid-column: span 3; text-align:center; padding: 10px; border:1px solid #e6ebf2; border-radius: 12px; background: #ffffff; }
.kpi-num { font-size: 22px; font-weight: 900; }
.kpi-label { color: var(--text-muted); font-size: 12px; }
@media (max-width: 900px){ .kpi { grid-column: span 6; } }
@media (max-width: 600px){ .kpi { grid-column: span 12; } }

/* Tabs */
.tab-content { display: none; animation: fadeIn .2s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: .6; transform: translateY(4px);} to { opacity: 1; transform: none; } }

/* Hero card */
.app-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.app-hero-top { display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; width: 100%; }
.app-hero.card { padding: 24px; border: 1px solid #e6ebf2; border-radius: 20px; background: linear-gradient(180deg, #ffffff, #f7f9fc); box-shadow: 0 10px 28px rgba(15,23,42,0.06); }

/* Center avatar inside tab hero section */
.tab-avatar-frame { width: 100%; min-height: 140px; display: flex; justify-content: center; align-items: center; }
@media (max-width: 600px){ .tab-avatar-frame { min-height: 160px; } }

/* Ensure the info block and progress can span full width within the hero section */
.app-hero-top > div:last-of-type { width: 100%; }
.app-hero-top .progress { width: 100%; }
.hello { margin: 0 0 4px; font-size: clamp(24px, 3.6vw, 34px); font-weight: 900; letter-spacing: .2px; }
.progress { height: 8px; background: #eef2f7; border-radius: 999px; overflow: hidden; }
.progress .bar { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: inherit; }
.stats { display: flex; gap: 12px; align-items: center; justify-content: center; width: 100%; margin-top: 6px; }
.stat { background: var(--panel-2); border: 1px solid #e6ebf2; border-radius: 14px; padding: 12px; }
.stat-label { color: var(--text-muted); font-size: 12px; }
.stat-value { font-weight: 900; font-size: 22px; margin-top: 4px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 8px; }

.app-hero .muted.small { font-size: 13px; font-weight: 700; color: var(--text-muted-strong); }
@media (max-width: 600px){
  .app-hero { grid-template-columns: 1fr; }
  .stats { grid-column: auto; justify-self: center; }
  .hero-actions { grid-column: auto; justify-self: center; justify-content: center; }
}

/* Lists */
.section-list { margin-top: 10px; }
.subtle-heading { color: var(--text-muted); font-size: 12px; letter-spacing: .8px; margin: 0 0 6px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-bottom: 1px solid #eef2f7; }
.list li:last-child { border-bottom: 0; }
.list .left { display: flex; gap: 10px; align-items: center; }
.badge { font-size: 12px; color: var(--text-muted); }
.list.big li { background: var(--panel); border: 1px solid #e6ebf2; border-radius: 14px; margin-bottom: 10px; }
.list .ti { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #eef2f7; }
.list .ti img { width: 22px; height: 22px; object-fit: cover; border-radius: 6px; display: block; }

/* Make quick task icons look more like real app logos (crisper & dimensional) */
#quick-task-list .ti { width: 36px; height: 36px; border-radius: 10px; background: #ffffff; border: 1px solid #e5e7eb; box-shadow: 0 2px 8px rgba(15,23,42,0.08); overflow: hidden; }
#quick-task-list .ti img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }

/* Travel */
.travel-grid { grid-template-columns: repeat(12, 1fr); gap: 14px; }
.travel-grid .card { grid-column: span 6; display: grid; gap: 8px; }
.travel-banner { height: 120px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,106,167,.25), rgba(124,92,255,.25)); border: 1px solid #e6ebf2; }
.travel-head { display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 800; }

@media (max-width: 700px){
  .travel-grid .card { grid-column: span 12; }
}

/* Home Travel Showcase */
.tour-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tour-card { grid-column: span 4; background: var(--panel); border: 1px solid #e2e8f0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; cursor: pointer; }
.tour-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.tour-img { aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; transition: transform .3s ease; }
.tour-card:hover .tour-img { transform: scale(1.02); }
.tour-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0), rgba(15,23,42,.06)); }
.tour-body { padding: 16px; display: grid; gap: 8px; }
.tour-title { margin: 0; font-size: 18px; letter-spacing: .2px; }
.tour-subtitle { margin: 0; color: var(--text-muted); font-size: 14px; }
.tour-price { display: grid; gap: 4px; align-items: center; margin: 4px 0 2px; }
.price-strike { position: relative; display: block; height: 16px; }
.price-strike::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, #cbd5e1, #cbd5e1 14px, #e5e7eb 14px, #e5e7eb 26px); transform: translateY(-50%); }
.sponsor-tag { font-size: 11px; color: var(--text-muted); font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }

/* Tour modal */
.tour-modal-cover { height: 180px; border-radius: 14px; background-size: cover; background-position: center; border: 1px solid #e2e8f0; margin-bottom: 10px; }

/* Travel detail modal (app) */
.travel-detail-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.travel-detail-gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; border: 1px solid #e2e8f0; }
.travel-detail-text p { margin: 0 0 10px; }
@media (max-width: 600px){ .travel-detail-gallery { grid-template-columns: 1fr; } .travel-detail-gallery img{ height: 160px; } }

@media (max-width: 1000px) { .tour-card { grid-column: span 6; } }
@media (max-width: 600px) { .tour-grid { grid-template-columns: 1fr; } .tour-card { grid-column: span 12; } }

/* Tabbar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; height: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(0,1fr)); gap: 6px; padding: 6px 10px; background: color-mix(in oklab, #ffffff 85%, transparent); backdrop-filter: blur(8px) saturate(120%); border-top: 1px solid #e2e8f0; z-index: 40; }
.tab-item { display: grid; place-items: center; gap: 2px; border: 0; background: transparent; color: var(--text); font-weight: 800; border-radius: 12px; }
.tab-item .ti { font-size: 18px; }
.tab-item.active { color: var(--text); background: rgba(2,6,23,0.04); }

/* Utilities app */
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }

/* Signature image at home bottom center (static, no movement) */
.home-corner { position: relative; right: auto; left: auto; bottom: auto; z-index: 1; opacity: .95; pointer-events: none; display: grid; place-items: center; margin: 12px 0 8px; }
.home-corner img { width: 120px; height: auto; display: block; filter: drop-shadow(0 6px 16px rgba(15,23,42,.18)); }
@media (max-width: 600px){ .home-corner img { width: 96px; } }

/* Lucky wheel */
/* Legacy layout (still supported) */
.wheel-wrap{ position:relative; width:340px; height:340px; margin:0 auto; }
#wheel-canvas{ width:340px; height:340px; border-radius:50%; background:#ffffff; border:8px solid #f3f4f6; box-shadow: var(--shadow-2); }
.wheel-pointer{ position:absolute; left:50%; top:-6px; transform:translateX(-50%); width:0; height:0; border-left:12px solid transparent; border-right:12px solid transparent; border-bottom:20px solid #d4af37; filter: drop-shadow(0 2px 2px rgba(0,0,0,.15)); }
.wheel-center{ position:absolute; left:50%; top:50%; transform:translate(-50%, -50%); border-radius:999px; background:#ff007a; color:#fff; padding:12px 25px; border:none; font-size:18px; box-shadow: 0 8px 24px var(--ring); cursor:pointer; }

/* Themed layout (match user's sample) */
.wheel-theme { max-width: 430px; margin: 0 auto; text-align: center; }
.wheel-theme .top-panel { display:flex; justify-content: space-between; font-size: 22px; padding: 10px; font-weight: bold; }
.wheel-theme .numbers { letter-spacing: 5px; color: #ff007a; }
.wheel-theme .timer { color: #1e90ff; }
.wheel-theme h1, .wheel-theme h2 { margin: 5px 0; }
.wheel-theme .tabs { margin: 15px 0; }
.wheel-theme .tab { padding: 10px 18px; border-radius: 20px; border: none; background: #e6e6e6; margin: 0 5px; font-size: 16px; cursor: pointer; }
.wheel-theme .tab.active { background: #ff007a; color: #fff; }
.wheel-container { position: relative; width: 350px; height: 350px; margin: 20px auto 0; }
#wheelCanvas { width: 350px; height: 350px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #ccc; display:block; margin:0 auto; }
.wheel-container .wheel-pointer { position:absolute; left:50%; top:-6px; transform:translateX(-50%); width:0; height:0; border-left:12px solid transparent; border-right:12px solid transparent; border-bottom:20px solid #d4af37; filter: drop-shadow(0 2px 2px rgba(0,0,0,.15)); }
#spinBtn { margin-top: 15px; padding: 12px 25px; background: #ff007a; color: #fff; border: none; border-radius: 20px; font-size: 18px; cursor: pointer; }

/* ---------------- Seller (Muamau) ---------------- */
.seller-header { display:flex; justify-content: space-between; align-items: center; gap: 10px; margin: 6px 0 10px; }
.seller-search { margin: 8px 0; }
.seller-search input { width: 100%; padding: 12px 14px; border-radius: 12px; background: #ffffff; border: 1px solid #cbd5e1; outline: none; }
.seller-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }

.seller-tabs { display:flex; gap: 8px; align-items: center; border-bottom: 1px solid #e6ebf0; padding-bottom: 6px; margin: 8px 0 12px; }
/* Inline stats at the right of tabs */
.seller-stats { margin-left: auto; padding: 6px 10px; border-radius: 999px; background: var(--panel-2); border: 1px solid #e6ebf0; color: var(--text-muted); font-size: 13px; line-height: 1; white-space: nowrap; }
.seller-tab { border: 0; background: transparent; color: var(--text-muted); padding: 8px 12px; border-radius: 999px; cursor: pointer; font-weight: 700; }
.seller-tab.active { background: rgba(124,92,255,.12); color: var(--text); }

.seller-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.seller-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.seller-item .left { display: flex; gap: 12px; align-items: flex-start; }
.seller-item .title { margin-bottom: 6px; }
.seller-item .price-line { font-size: 14px; }
.seller-item .right { display: grid; gap: 8px; justify-items: end; }
.status-badge { display:inline-flex; align-items:center; gap:6px; padding: 3px 8px; border-radius: 999px; background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; font-size: 12px; font-weight: 800; }
.profit-box { margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: #ecfdf5; border: 1px solid #bbf7d0; color: #065f46; font-weight: 700; }

/* Bulk bar above bottom tabbar */
.seller-bulk { position: fixed; left: 12px; right: 12px; bottom: 80px; background: var(--panel); border: 1px solid #e2e8f0; border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; z-index: 39; }
.seller-bulk[aria-hidden="true"]{ display: none; }
.seller-bulk .bulk-actions { display: flex; gap: 8px; }

@media (max-width: 600px){
  .seller-item { flex-direction: column; }
  .seller-item .right { width: 100%; display:flex; justify-content: space-between; align-items:center; }
}

/* Skeleton shimmer */
.skeleton { background: linear-gradient(90deg,#f3f4f6,#eef2f7,#f3f4f6); background-size: 200% 100%; animation: shine 1.2s linear infinite; }
@keyframes shine { from { background-position: 200% 0 } to { background-position: -200% 0 } }

/* Polish: card & primary button hover per feedback */
.card { border-radius: 16px; box-shadow: 0 6px 20px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04); transition: transform .12s ease, box-shadow .12s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(15,23,42,0.10); }

.btn.primary { background: linear-gradient(90deg, #ff6aa7, #7c5cff); box-shadow: 0 8px 24px rgba(124,92,255,0.12); transition: transform .12s ease, box-shadow .12s ease; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(124,92,255,0.18); }

/* Intro modal styling */
.intro-dialog { width: min(100%, 440px); }
.intro-content { background: linear-gradient(180deg, #ffffff, #f7f9fc); border: 1px solid #e2e8f0; border-radius: 16px; color: #0f1729; box-shadow: 0 8px 30px rgba(15,23,42,0.08); }
.intro-title { font-family: 'Alex Brush', cursive; font-size: 40px; font-weight: 500; line-height: 55px; color: #ed1c7b; margin: 0 0 8px; }
.intro-list { list-style: none; padding-left: 0; margin: 0; display: grid; gap: 8px; }
.intro-list li { display: grid; gap: 4px; }
.intro-key { color: #ed1c7b; font-weight: 800; }
.intro-desc { color: #0f1729; }

/* Typography/heading scale */
.section-title { font-size: clamp(26px, 3.2vw, 40px); }

/* Reduce motion and soften hovers */
.card:hover { transform: none; box-shadow: 0 8px 24px rgba(15,23,42,0.10); }
.btn.primary:hover { transform: none; box-shadow: 0 10px 24px rgba(124,92,255,0.18); }
.skeleton { animation-duration: 2.2s; animation-timing-function: ease-in-out; }
.tour-card:hover .tour-img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .skeleton { animation: none !important; }
  .card:hover, .btn.primary:hover { transform: none !important; }
}

/* Profile (Cập nhật thông tin) — larger fonts, spacing, light panel */
#tab-profile .form.card { 
  padding: 24px; 
  border-radius: 20px; 
  border: 1px solid #e6eff7; 
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 12px 34px rgba(15,23,42,.06);
}
#tab-profile .form { gap: 18px; }
#tab-profile .field label { font-size: 14px; font-weight: 800; color: var(--text); }
#tab-profile .field input, #tab-profile .field select { 
  height: 48px; font-size: 15px; padding: 12px 16px; 
  border-radius: 14px; border-color: #dbe4f0; background: #ffffff;
}
#tab-profile .field input::placeholder { color: #94a3b8; }
#tab-profile .btn { border-radius: 14px; font-size: 15px; padding: 12px 18px; width: 100%; }
#tab-profile .btn + .btn { margin-top: 8px; }
#tab-profile .btn:not(.primary) { background: #f1f5f9; border-color: #e2e8f0; color: #0f1729; }
#tab-profile .btn.primary { box-shadow: 0 10px 24px rgba(124,92,255,0.16); }
#tab-profile .btn.primary:hover { box-shadow: 0 12px 28px rgba(124,92,255,0.2); }

/* Rounder inputs on small screens */
@media (max-width: 480px){
  #tab-profile .form.card { padding: 18px; border-radius: 18px; }
  #tab-profile .field input, #tab-profile .field select { height: 46px; font-size: 14px; }
}

/* Member Summary (tab-profile) */
.member-summary.card { padding: 0; border: 0; background: transparent; box-shadow: none; }
.member-summary .ms-top { background: linear-gradient(180deg, #c084fc, #a78bfa); color: #ffffff; border-radius: 18px; padding: 16px 16px 18px; box-shadow: 0 14px 36px rgba(88,28,135,.18); position: relative; }
.member-summary .ms-title { text-align: center; font-weight: 900; letter-spacing: .3px; margin-bottom: 6px; }
.member-summary .ms-meta { display: flex; justify-content: space-between; font-size: 12px; opacity: .95; }
.member-summary .ms-meta-right { }
.member-summary .ms-balance { text-align: center; margin-top: 8px; }
.member-summary .ms-balance-label { font-size: 12px; opacity: .95; }
.member-summary .ms-balance-value { font-size: 50px; font-weight: 900; line-height: 1; margin: 6px 0 10px; }
.member-summary .ms-withdraw { width: 180px; margin: 6px auto 0; background: #ffffff !important; color: #6b21a8 !important; border: 0; box-shadow: 0 10px 24px rgba(88,28,135,.22); }
.member-summary .ms-withdraw:hover { box-shadow: 0 12px 28px rgba(88,28,135,.28); }

/* Settings list (profile menu) */
.settings-list { margin-top: 8px; }
.settings-list li { cursor: pointer; background: #ffffff; }
.settings-list li + li { border-top: 1px solid #eef2f7; }
.settings-list li .ti { 
  width: 36px; height: 36px; 
  display: grid; place-items: center;
  border-radius: 12px; 
  background: #ffffff; 
  border: 1px solid #e6ebf0; 
  box-shadow: 0 6px 18px rgba(15,23,42,.08);
  color: var(--text);
}
.settings-list li .ti svg { width: 20px; height: 20px; stroke: #0f1729; }
.settings-list li:hover { background: #fbfdff; }
.settings-list .chev { color: #94a3b8; font-weight: 900; }

/* Accent colors per row */
.settings-list li#pm-activity .ti { background: #e0f2fe; }
.settings-list li#pm-password .ti { background: #fee2e2; }
.settings-list li#pm-withdraw-history .ti { background: #fef9c3; }
.settings-list li#pm-bank .ti { background: #e9d5ff; }
.settings-list li#pm-rewards .ti { background: #dcfce7; }
.settings-list li#pm-logout .ti { background: #ffe4e6; }

/* Make Options heading larger */
#profile-menu .section-title { font-size: clamp(30px, 3.6vw, 44px); }

/* Service (Travel tab replaced by Service Package) */
.service-wrap { grid-column: 1 / -1; }
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; align-items: stretch; }
.service-grid .service-card { grid-column: span 6; }
@media (max-width: 700px){ .service-grid .service-card { grid-column: span 12; } }
.service-card { 
  padding: 18px 18px 20px; border-radius: 18px; 
  border: 1px solid #fecdd3; 
  background: linear-gradient(180deg, #fff1f5, #ffffff);
  box-shadow: 0 8px 28px rgba(236,72,153,0.10), 0 2px 6px rgba(15,23,42,0.04);
  color: var(--text);
}
.service-badge { display:inline-block; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .5px; color: #9d174d; background: #ffe4e6; border: 1px solid #fecdd3; }
.service-title {
  margin: 10px 0 8px; text-align: center; font-weight: 900;
  color: #9d174d; letter-spacing: .3px;
  padding: 10px 14px; border-radius: 14px; 
  background: #ffe4e6; border: 1px solid #fecdd3; 
}
.service-tagline { margin: 6px 0 12px; color: #be185d; font-weight: 700; }
.service-subline { text-align: center; color: var(--text-muted-strong); line-height: 1.45; margin: 6px 0 8px; }
.service-subline strong { display: block; color: #9d174d; letter-spacing: .3px; font-weight: 900; margin-bottom: 4px; }
.service-section { margin-top: 10px; }
.service-head { font-weight: 900; color: #0f1729; margin-bottom: 6px; }
.service-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.service-list li { line-height: 1.5; }
.service-price { margin-top: 12px; padding-top: 8px; border-top: 1px dashed #fecdd3; }
/* 3 tabs for service packages (Gói 1, Gói 2, Gói 3) */
.svc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 10px; }
.svc-tab { 
  padding: 10px 0; border-radius: 12px; border: 2px solid #fecdd3; 
  background: #ffffff; color: #9d174d; font-weight: 900; letter-spacing: .3px; cursor: pointer; 
}
.svc-tab.active { background: #ffe4e6; border-color: #fb7185; box-shadow: inset 0 4px 14px rgba(236,72,153,.15); }
.svc-tab:focus-visible { outline: 0; box-shadow: 0 0 0 4px var(--ring); }
@media (max-width: 600px){ .svc-tab{ padding: 8px 0; font-size: 14px; } }

@media (max-width: 600px){
  .service-card { padding: 16px; border-radius: 16px; }
  .service-title { font-size: 18px; }
}

/* ---------------- Giới thiệu (Ghép Đôi Thần Tốc) ---------------- */
.gdt-hero { 
  background: linear-gradient(180deg, #fff1f5, #ffffff); 
  border: 1px solid #fecdd3; 
}
.gdt-hero .lead { color: #be185d; font-weight: 700; margin: 6px 0 0; }
.gdt-banner img { width: 100%; height: auto; display: block; border-radius: 16px; }

/* Achievements */
.gdt-achievements { }
.gdt-stats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gdt-stat { grid-column: span 4; text-align: center; padding: 14px; border-radius: 14px; border: 1px solid #fecdd3; background: linear-gradient(180deg, #fff1f5, #ffffff); box-shadow: 0 6px 22px rgba(236,72,153,.12); }
.gdt-stat .num { font-size: clamp(22px, 3.4vw, 34px); font-weight: 900; color: #9d174d; line-height: 1; }
.gdt-stat .label { color: var(--text-muted-strong); font-size: 13px; margin-top: 6px; }
@media (max-width: 900px){ .gdt-stat { grid-column: span 6; } }
@media (max-width: 560px){ .gdt-stat { grid-column: span 12; } }

/* Partners */
.gdt-logos { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; align-items: center; }
.gdt-logos img { grid-column: span 3; height: 44px; width: 100%; object-fit: contain; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 6px; filter: saturate(110%); transition: transform .15s ease, filter .15s ease; }
.gdt-logos img:hover { transform: scale(1.02); filter: none; }
@media (max-width: 700px){ .gdt-logos img { grid-column: span 6; } }

/* Table */
.stat-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.stat-table thead th { background: #ffe4e6; color: #9d174d; text-align: left; padding: 10px; border-bottom: 1px solid #fecdd3; }
.stat-table tbody td { padding: 10px; border-bottom: 1px solid #eef2f7; }
.stat-table tbody tr:nth-child(odd) { background: #fff; }
.stat-table .pos { color: #166534; font-weight: 800; }
.stat-table .neg { color: #b91c1c; font-weight: 800; }

/* Ratings */
.rating-list { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.rating-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.rating-list li > span:first-child { font-weight: 700; color: var(--text); white-space: nowrap; }
.rating-list .bar { height: 10px; border-radius: 999px; background: #f1f5f9; position: relative; overflow: hidden; border: 1px solid #e2e8f0; }
.rating-list .bar i { position: absolute; left: 0; top: 0; bottom: 0; display: block; background: linear-gradient(90deg, #ff6aa7, #7c5cff); border-radius: inherit; }
.rating-list .score { font-weight: 900; color: #334155; }
@media (max-width: 560px){ .rating-list li { grid-template-columns: 1fr; } .rating-list .score { justify-self: end; } }

/* Responsive additions per feedback */
@media (max-width: 768px){
  .container { width: 90%; }
}
@media (max-width: 480px){
  .container { width: 100%; padding: 10px; }
  .image { width: 100%; height: auto; }
  .button { display: block; width: 100%; margin-top: 10px; }
}
