/* ============================================================
   GayTrip Asia — Stylesheet v4
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; background: #F5F4F0; color: #1A1A1A; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }

:root {
  --blue: #1B4FE4; --blue-light: #EEF2FF;
  --green: #16A34A; --red: #DC2626; --amber: #D97706;
  --cat-stay-fg: #0D7A5F; --cat-stay-bg: #E6F7F3;
  --cat-bar-fg: #5C4FBF;  --cat-bar-bg: #F0EEFF;
  --cat-sauna-fg: #C45329; --cat-sauna-bg: #FDF0EB;
  --cat-other-fg: #5A5A5A; --cat-other-bg: #F0F0EE;
  --border: rgba(0,0,0,.10); --border-focus: rgba(0,0,0,.25);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07); --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px;
  --text-2: #555; --text-3: #888;
}

/* ===== AGE GATE ===== */
.age-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(135deg, #0F172A 0%, #1a3a8f 50%, #5b1a8f 100%);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}
.age-gate-card {
  background: #fff; border-radius: 20px; padding: 2.5rem 2rem;
  max-width: 480px; width: 100%; text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}
.age-gate-icon { font-size: 48px; margin-bottom: 1rem; }
.age-gate-title { font-size: 22px; font-weight: 800; margin-bottom: 1rem; }
.age-gate-text { font-size: 13px; color: var(--text-2); line-height: 1.7; margin-bottom: 1.75rem; text-align: left; }
.age-gate-actions { display: flex; flex-direction: column; gap: 10px; }
.age-btn { padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 700; border: none; cursor: pointer; transition: all .15s; }
.age-btn-yes { background: var(--blue); color: #fff; }
.age-btn-yes:hover { background: #1440CC; transform: translateY(-1px); }
.age-btn-no { background: #F5F4F0; color: var(--text-2); border: 1px solid var(--border); }
.age-btn-no:hover { background: #eee; }

/* ===== PRIDE BAR ===== */
.pride-bar { height: 4px; background: linear-gradient(90deg,#E40303 0%,#FF8C00 20%,#FFED00 40%,#008026 60%,#004DFF 80%,#750787 100%); }

/* ===== HEADER ===== */
.header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.header-inner { max-width: 1020px; margin: 0 auto; padding: .75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#004DFF,#750787); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.logo-text { font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.logo-sub  { font-size: 11px; color: var(--text-3); }
.header-right { display: flex; align-items: center; gap: 8px; }
.user-info-bar { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.user-name-bar { font-weight: 600; color: #1A1A1A; font-size: 13px; }
.btn-sm { padding: 5px 12px; font-size: 12px; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #0F172A 0%, #1a3a8f 45%, #5b1a8f 100%); padding: 3rem 1.25rem 2.5rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.hero-inner { max-width: 1020px; margin: 0 auto; position: relative; }
.hero-pride-dots { font-size: 24px; margin-bottom: 1rem; letter-spacing: 8px; }
.hero-title { font-size: 2.25rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: .875rem; letter-spacing: -.5px; }
.hero-sub { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 1.75rem; }
.hero-btn { background: #fff; color: #1B4FE4; font-weight: 700; font-size: 14px; padding: 10px 24px; border-radius: 30px; border: none; box-shadow: 0 4px 16px rgba(0,0,0,.25); transition: transform .15s, box-shadow .15s; }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; border: none; transition: all .15s; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1440CC; }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.btn-success { background: var(--green); color: #fff; padding: 5px 12px; font-size: 12px; }
.btn-success:hover { background: #15803D; }
.btn-danger  { background: var(--red); color: #fff; padding: 5px 12px; font-size: 12px; }
.btn-danger:hover  { background: #B91C1C; }
.btn-warn    { background: var(--amber); color: #fff; padding: 5px 12px; font-size: 12px; }
.btn-ghost   { background: transparent; border: 1px solid var(--border); color: var(--text-2); }
.btn-ghost:hover { border-color: var(--border-focus); color: #1A1A1A; }

/* ===== MAIN ===== */
.main { max-width: 1020px; margin: 0 auto; padding: 1.25rem; }

/* ===== STATS ===== */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 1.25rem; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: .875rem 1rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat-num   { font-size: 24px; font-weight: 800; color: var(--blue); }
.stat-label { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* ===== FILTERS ===== */
.filter-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.25rem; margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-row + .filter-row { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--border); }
.filter-label { font-size: 12px; color: var(--text-3); min-width: 60px; flex-shrink: 0; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 4px 13px; border-radius: 20px; font-size: 12px; font-weight: 500; border: 1px solid var(--border); background: #F5F4F0; color: var(--text-2); transition: all .15s; }
.chip:hover { border-color: var(--border-focus); color: #1A1A1A; }
.chip.active-r { background: var(--blue); color: #fff; border-color: var(--blue); }
.chip.active-c { background: #5C4FBF; color: #fff; border-color: #5C4FBF; }

/* ===== SEARCH & SORT ===== */
.search-sort { display: flex; gap: 8px; align-items: center; margin-bottom: 1rem; }
.search-wrap { position: relative; flex: 1; }
.search-wrap input { width: 100%; padding: 8px 12px 8px 34px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; font-size: 13px; outline: none; transition: border-color .15s; }
.search-wrap input:focus { border-color: var(--blue); }
.search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 15px; pointer-events: none; }
.sort-wrap select { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px; font-size: 13px; background: #fff; outline: none; }
.count-label { font-size: 12px; color: var(--text-3); white-space: nowrap; }

/* ===== REVIEW CARDS ===== */
.reviews-grid { display: grid; gap: 14px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .15s, box-shadow .15s; box-shadow: var(--shadow-sm); }
.review-card:hover { border-color: rgba(0,0,0,.18); box-shadow: var(--shadow-md); }

/* Card images */
.card-images { display: flex; overflow: hidden; gap: 2px; }
.card-images img { flex: 1; object-fit: cover; min-width: 0; cursor: zoom-in; transition: opacity .15s; }
.card-images img:hover { opacity: .9; }
.card-img-1 { height: 260px; }
.card-img-2 { height: 220px; }
.card-img-2 img:first-child { flex: 2; }
.card-img-3 { height: 210px; }
.card-img-3 img:first-child { flex: 2; }

.card-body { padding: 1rem 1.25rem; }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 8px; }
.card-dest    { font-size: 16px; font-weight: 700; letter-spacing: -.2px; }
.card-country { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.card-meta    { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.stars { display: flex; gap: 1px; }
.star.on  { color: #F5A623; }
.star.off { color: #DDD; }
.badge-row { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.badge { font-size: 10px; padding: 2px 9px; border-radius: 20px; font-weight: 600; white-space: nowrap; }
.badge-stay  { background: var(--cat-stay-bg);  color: var(--cat-stay-fg); }
.badge-bar   { background: var(--cat-bar-bg);   color: var(--cat-bar-fg); }
.badge-sauna { background: var(--cat-sauna-bg); color: var(--cat-sauna-fg); }
.badge-oth   { background: var(--cat-other-bg); color: var(--cat-other-fg); }
.badge-r-sea { background: #EBF3FF; color: #185FA5; }
.badge-r-ea  { background: #EDFAEE; color: #166534; }
.badge-r-sa  { background: #FEF9EE; color: #92400E; }
.badge-r-ca  { background: #F5F0FF; color: #5B21B6; }
.badge-r-au  { background: #FDF2F8; color: #86198F; }
.badge-r-oth { background: #F5F5F4; color: #57534E; }
.card-content { font-size: 13px; color: #444; line-height: 1.75; margin-bottom: 10px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--border); }
.card-author { display: flex; align-items: center; gap: 8px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,#004DFF,#750787); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.user-post-count { font-size: 11px; color: var(--text-3); }
.helpful-btn { display: flex; align-items: center; gap: 4px; background: none; border: 1px solid var(--border); padding: 3px 10px; border-radius: 20px; font-size: 11px; color: var(--text-2); transition: all .15s; }
.helpful-btn:hover { border-color: var(--green); color: var(--green); }
.helpful-btn.voted { background: #F0FDF4; border-color: var(--green); color: var(--green); }
.share-btn { display:flex;align-items:center;background:none;border:1px solid var(--border);padding:3px 8px;border-radius:20px;font-size:13px;color:var(--text-3);transition:all .15s; }
.share-btn:hover { border-color:var(--blue);color:var(--blue); }

/* ===== EMPTY / LOADING ===== */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-3); font-size: 14px; }
.empty-icon  { font-size: 42px; margin-bottom: .75rem; opacity: .5; }
.loading     { text-align: center; padding: 3rem 1rem; color: var(--text-3); font-size: 14px; }

/* ===== NOTICE ===== */
.notice-banner { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: var(--radius-md); padding: .75rem 1rem; font-size: 13px; color: #92400E; margin-bottom: 1rem; }

/* ===== MODAL ===== */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 1rem; overflow-y: auto; }
.modal { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 480px; margin: auto; box-shadow: var(--shadow-md); }
.modal-head { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; z-index: 1; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal-head h2 { font-size: 16px; font-weight: 700; }
.btn-close { background: none; border: none; font-size: 18px; color: var(--text-3); padding: 2px; }
.btn-close:hover { color: #1A1A1A; }
.modal-body { padding: 1.5rem; }

/* ===== FORM ===== */
.form-group { margin-bottom: 1rem; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-label { font-size: 12px; color: var(--text-2); font-weight: 600; display: block; margin-bottom: 4px; }
.form-control { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px; font-size: 13px; background: #fff; color: #1A1A1A; outline: none; transition: border-color .15s; }
.form-control:focus { border-color: var(--blue); }
textarea.form-control { resize: vertical; min-height: 100px; }
.star-pick { display: flex; gap: 5px; margin-top: 3px; }
.sp { background: none; border: none; font-size: 26px; color: #DDD; transition: color .1s; padding: 0; line-height: 1; }
.sp.on, .sp:hover { color: #F5A623; }

/* ===== UPLOAD ===== */
.upload-zone { border: 1.5px dashed rgba(0,0,0,.2); border-radius: var(--radius-md); padding: 1.25rem; text-align: center; cursor: pointer; transition: all .15s; margin-top: 4px; }
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--blue); background: var(--blue-light); }
.upload-zone-icon { font-size: 26px; margin-bottom: 6px; }
.upload-zone-text { font-size: 13px; color: var(--text-2); }
.upload-zone-sub  { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.preview-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.preview-item  { position: relative; width: 72px; height: 72px; }
.preview-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.preview-del { position: absolute; top: -5px; right: -5px; width: 18px; height: 18px; background: var(--red); border: none; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ===== LIGHTBOX ===== */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 200; display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox img { max-width: 94vw; max-height: 92vh; object-fit: contain; border-radius: 6px; }

/* ===== TOAST ===== */
.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; padding: 10px 18px; border-radius: var(--radius-md); font-size: 13px; font-weight: 600; color: #fff; z-index: 9998; box-shadow: var(--shadow-md); animation: slideUp .25s ease; max-width: 320px; }
@keyframes slideUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ===== ADMIN ===== */
.login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #0F172A; }
.login-card { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem 2rem; width: 100%; max-width: 360px; text-align: center; box-shadow: 0 24px 64px rgba(0,0,0,.4); }
.login-logo  { font-size: 36px; margin-bottom: 1rem; }
.login-title { font-size: 20px; font-weight: 700; margin-bottom: .25rem; }
.login-sub   { font-size: 13px; color: var(--text-3); margin-bottom: 1.5rem; }
.login-error { background: #FEF2F2; color: var(--red); font-size: 12px; padding: .5rem .75rem; border-radius: var(--radius-sm); margin-bottom: 10px; font-weight: 500; }
.admin-header { background: #0F172A; padding: 0 1.5rem; }
.admin-header-inner { max-width: 1100px; margin: 0 auto; padding: .875rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-logo { font-size: 15px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.admin-nav-btn { font-size: 12px; padding: 5px 12px; border-radius: var(--radius-sm); font-weight: 500; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.7); background: transparent; transition: all .15s; }
.admin-nav-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.admin-main { max-width: 1100px; margin: 0 auto; padding: 1.5rem; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 1.5rem; }
.admin-stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: .875rem 1.25rem; border-left: 3px solid var(--border); box-shadow: var(--shadow-sm); }
.admin-stat.s-pending  { border-left-color: var(--amber); }
.admin-stat.s-approved { border-left-color: var(--green); }
.admin-stat.s-rejected { border-left-color: var(--red); }
.admin-stat.s-total    { border-left-color: var(--blue); }
.admin-stat-num   { font-size: 28px; font-weight: 800; }
.admin-stat-label { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.admin-stat.s-pending  .admin-stat-num { color: var(--amber); }
.admin-stat.s-approved .admin-stat-num { color: var(--green); }
.admin-stat.s-rejected .admin-stat-num { color: var(--red); }
.admin-stat.s-total    .admin-stat-num { color: var(--blue); }
.tab-bar { display: flex; gap: 2px; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.tab-btn { padding: 9px 16px; font-size: 13px; font-weight: 600; border: none; background: none; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all .15s; display: flex; align-items: center; gap: 6px; }
.tab-btn:hover { color: #1A1A1A; }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; background: #EF4444; color: #fff; font-size: 10px; border-radius: 9px; padding: 0 5px; font-weight: 700; }
.tab-btn.active .tab-count { background: var(--blue); }
.admin-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.admin-card-head { padding: .875rem 1.25rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--border); background: #FAFAFA; }
.admin-card-dest { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.admin-card-meta { font-size: 12px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.admin-card-actions { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.admin-card-body { padding: 1rem 1.25rem; }
.admin-card-text { font-size: 13px; color: #444; line-height: 1.75; margin-bottom: 10px; }
.admin-card-imgs { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-card-imgs img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; cursor: zoom-in; }
.status-badge { font-size: 11px; padding: 2px 9px; border-radius: 20px; font-weight: 600; }
.sb-pending  { background: #FFFBEB; color: var(--amber); }
.sb-approved { background: #F0FDF4; color: var(--green); }
.sb-rejected { background: #FEF2F2; color: var(--red); }

/* ===== SUB-RATINGS ===== */
.sub-ratings-form { display: grid; gap: 8px; margin-top: 4px; }
.sr-form-row { display: flex; align-items: center; gap: 10px; }
.sr-form-label { font-size: 12px; color: var(--text-2); font-weight: 600; min-width: 90px; }
.sp-sub { background: none; border: none; font-size: 20px; color: #DDD; transition: color .1s; padding: 0; line-height: 1; cursor: pointer; }
.sp-sub.on, .sp-sub:hover { color: #F5A623; }
.sub-ratings-display { display: grid; gap: 5px; margin: 8px 0; padding: 10px 12px; background: #FAFAF8; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.sr-display-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.sr-display-label { color: var(--text-3); min-width: 82px; font-weight: 500; }
.sr-display-stars { display: flex; gap: 1px; }
.sr-display-star.on  { color: #F5A623; font-size: 11px; }
.sr-display-star.off { color: #E0E0E0; font-size: 11px; }
.sr-display-num { color: var(--text-3); font-size: 11px; }

/* ===== LOCATION / COMMENTS ===== */
.card-location { font-size: 12px; color: var(--text-3); margin-bottom: 6px; display: flex; flex-direction: column; gap: 3px; }
.card-location span { display: flex; align-items: flex-start; gap: 5px; }
.comments-section { border-top: 1px solid var(--border); }
.comments-toggle { padding: 8px 1.25rem; font-size: 12px; color: var(--blue); cursor: pointer; display: flex; align-items: center; gap: 5px; transition: background .15s; user-select: none; font-weight: 600; }
.comments-toggle:hover { background: var(--blue-light); }
.comments-body { padding: 0 1.25rem 1rem; }
.comment-card { padding: 10px 0; border-bottom: 1px solid var(--border); }
.comment-card:last-of-type { border-bottom: none; }
.comment-head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.comment-avatar { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg,#008026,#004DFF); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 8px; font-weight: 700; }
.comment-avatar.admin-av { background: linear-gradient(135deg,#1B4FE4,#750787); }
.comment-author { font-size: 12px; font-weight: 600; }
.comment-date   { font-size: 11px; color: var(--text-3); }
.admin-tag { font-size: 10px; background: var(--blue-light); color: var(--blue); padding: 1px 6px; border-radius: 10px; font-weight: 700; }
.comment-text { font-size: 13px; color: #444; line-height: 1.6; }
.comment-form { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.comment-form-title { font-size: 12px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.comment-actions { display: flex; gap: 6px; margin-top: 8px; }
.btn-comment { background: var(--blue); color: #fff; border: none; padding: 6px 14px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; cursor: pointer; }
.btn-comment:hover { background: #1440CC; }

/* ===== ADMIN POSTS ===== */
.admin-posts-section { margin-bottom: 1.5rem; }
.admin-posts-heading { font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.admin-post-card { background: linear-gradient(135deg, #0F172A 0%, #1e3a5f 100%); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow-md); margin-bottom: 10px; }
.admin-post-images { display: flex; height: 160px; gap: 2px; overflow: hidden; }
.admin-post-images img { flex: 1; object-fit: cover; min-width: 0; cursor: zoom-in; }
.admin-post-body { padding: 1rem 1.25rem; }
.admin-post-badge { display: inline-flex; align-items: center; background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-bottom: 6px; }
.admin-post-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.admin-post-meta  { font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.admin-post-content { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.7; }
.admin-post-location { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 8px; display: flex; flex-direction: column; gap: 3px; }
.admin-post-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.admin-post-form h3 { font-size: 15px; font-weight: 700; margin-bottom: 1.25rem; }
.comment-admin-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.25rem; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.comment-admin-meta { font-size: 12px; color: var(--text-3); margin-bottom: 6px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.comment-admin-text { font-size: 13px; color: #444; line-height: 1.6; margin-bottom: 10px; }
.comment-admin-actions { display: flex; gap: 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .stats-row, .admin-stats { grid-template-columns: repeat(2,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; }
  .search-sort { flex-wrap: wrap; }
  .admin-card-head { flex-direction: column; }
  .admin-card-actions { width: 100%; }
  .hero-title { font-size: 1.6rem; }
  .card-img-1 { height: 220px; }
  .header-right { gap: 6px; }
  .logo-sub { display: none; }
}

/* ===== BROWSE LAYOUT ===== */
.browse-layout { display: grid; grid-template-columns: 200px 1fr 220px; gap: 0; min-height: 500px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.country-panel { border-right: 1px solid var(--border); background: #FAFAF8; overflow-y: auto; max-height: 70vh; }
.country-panel-head { padding: .875rem 1rem; font-size: 12px; font-weight: 700; color: var(--text-3); border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #FAFAF8; }
.country-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 1rem; cursor: pointer; transition: background .12s; border-bottom: 1px solid var(--border); }
.country-item:hover { background: #F0EFF9; }
.country-item.active { background: var(--blue-light); border-left: 3px solid var(--blue); }
.country-name { font-size: 13px; font-weight: 600; color: #1A1A1A; }
.country-count { font-size: 11px; background: var(--border); padding: 1px 7px; border-radius: 10px; color: var(--text-3); font-weight: 600; }
.country-item.active .country-count { background: var(--blue); color: #fff; }

.titles-panel { overflow-y: auto; max-height: 70vh; }
.titles-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 300px; color: var(--text-3); text-align: center; font-size: 14px; font-weight: 600; }
.title-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 1.25rem; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .12s; gap: 1rem; }
.title-item:hover { background: var(--blue-light); }
.title-item-main { flex: 1; min-width: 0; }
.title-item-dest { font-size: 14px; font-weight: 700; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.title-item-meta { display: flex; gap: 4px; flex-wrap: wrap; }
.title-item-right { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }

@media (max-width: 640px) {
  .browse-layout { grid-template-columns: 1fr; }
  .country-panel { max-height: 200px; border-right: none; border-bottom: 1px solid var(--border); }
  .titles-panel { max-height: none; }
}

/* ===== RECENT PANEL ===== */
.recent-panel { border-left: 1px solid var(--border); background: #FAFAF8; overflow-y: auto; max-height: 70vh; }
.recent-panel-head { padding: .875rem 1rem; font-size: 12px; font-weight: 700; color: var(--text-3); border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #FAFAF8; }
.recent-item { padding: 12px 1rem; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .12s; }
.recent-item:hover { background: var(--blue-light); }
.recent-item-dest { font-size: 13px; font-weight: 700; color: #1A1A1A; margin-bottom: 2px; }
.recent-item-country { font-size: 11px; color: var(--text-3); margin-bottom: 4px; }
.recent-item-snippet { font-size: 12px; color: #555; line-height: 1.5; margin-bottom: 5px; }
.recent-item-meta { font-size: 11px; color: var(--text-3); display: flex; align-items: center; gap: 4px; }

@media (max-width: 768px) {
  .browse-layout { grid-template-columns: 1fr; }
  .recent-panel { border-left: none; border-top: 1px solid var(--border); max-height: 300px; }
}

/* ===== HERO CYBERPUNK ===== */
.hero-cyber {
  position: relative;
  background: #080810;
  padding: 3.5rem 1.25rem 3rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(180,0,255,.3);
}
.cyber-grid-lines {
  position: absolute; inset: 0; z-index: 0; opacity: .04;
  background-image: linear-gradient(rgba(180,0,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(180,0,255,1) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cyber-scanlines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.1) 2px, rgba(0,0,0,.1) 4px);
}
.cyber-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.cyber-particle { position: absolute; border-radius: 50%; animation: cpFloat linear infinite; }
@keyframes cpFloat {
  0%   { transform: translateY(200px) translateX(0); opacity: 0; }
  10%  { opacity: .7; }
  90%  { opacity: .7; }
  100% { transform: translateY(-20px) translateX(var(--drift)); opacity: 0; }
}
.corner-cyber {
  position: absolute; width: 18px; height: 18px;
  border-color: rgba(180,0,255,.7); border-style: solid; z-index: 4;
}
.corner-cyber.corner-tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.corner-cyber.corner-tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.corner-cyber.corner-bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.corner-cyber.corner-br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }
.hero-cyber-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cyber-flags {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 8px; margin-bottom: 1.25rem;
  animation: flagsFloat 3s ease-in-out infinite;
}
@keyframes flagsFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
.cf { font-size: 24px; display: inline-block; animation: cfPulse 2s ease-in-out infinite; }
@keyframes cfPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }
.cyber-gmap {
  font-size: 80px; font-weight: 900; color: #fff;
  letter-spacing: -3px; line-height: 1; margin-bottom: 6px;
  font-family: system-ui, -apple-system, sans-serif;
  animation: neonGlow 3s ease-in-out infinite;
}
@keyframes neonGlow {
  0%,100% { text-shadow: 0 0 15px rgba(180,0,255,.9), 0 0 30px rgba(255,0,150,.5), 0 0 60px rgba(180,0,255,.3); }
  50%     { text-shadow: 0 0 25px rgba(180,0,255,1), 0 0 50px rgba(255,0,150,.8), 0 0 100px rgba(180,0,255,.4); }
}
.cyber-tagline { font-size: 11px; color: rgba(255,255,255,.45); letter-spacing: 4px; text-transform: uppercase; margin-bottom: .75rem; }
.cyber-neon-line {
  height: 1px; margin: .75rem auto 1.5rem;
  background: linear-gradient(90deg, transparent, rgba(180,0,255,.9), rgba(255,0,150,.9), transparent);
  animation: neonLine 2s ease-in-out infinite;
}
@keyframes neonLine { 0%,100%{width:80px;opacity:.6} 50%{width:220px;opacity:1} }
.cyber-stats { display: flex; justify-content: center; align-items: center; gap: 1.25rem; margin-bottom: 1.75rem; }
.cstat { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cstat-num {
  font-size: 28px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #b400ff, #ff007a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cstat-label { font-size: 10px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 1.5px; }
.cstat-div { width: 1px; height: 36px; background: rgba(180,0,255,.35); }
.cyber-search-wrap { position: relative; max-width: 440px; margin: 0 auto 1.25rem; }
.cyber-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 15px; z-index: 1; }
.cyber-search-input {
  width: 100%; padding: 12px 16px 12px 44px; box-sizing: border-box;
  background: rgba(255,255,255,.06); border: 1px solid rgba(180,0,255,.4);
  border-radius: 30px; color: #fff; font-size: 13px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.cyber-search-input::placeholder { color: rgba(255,255,255,.3); }
.cyber-search-input:focus { border-color: rgba(180,0,255,.9); box-shadow: 0 0 0 3px rgba(180,0,255,.15); }
.cyber-cta {
  background: linear-gradient(135deg, #b400ff, #ff007a);
  color: #fff; border: none; padding: 12px 30px;
  border-radius: 30px; font-size: 14px; font-weight: 700;
  cursor: pointer; letter-spacing: .5px;
  animation: ctaPulse 3s ease-in-out infinite;
  transition: transform .15s;
}
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(180,0,255,.4); }
  50%     { box-shadow: 0 6px 30px rgba(180,0,255,.7), 0 0 40px rgba(255,0,150,.3); }
}
.cyber-cta:hover { transform: translateY(-2px); }

@media (max-width: 640px) {
  .cyber-gmap { font-size: 56px; }
  .cstat-num { font-size: 22px; }
  .cyber-stats { gap: .875rem; }
}

/* ===== POST RATINGS ===== */
.post-avg-rating { display:flex;align-items:center;gap:10px;margin:12px 0 8px;padding:10px 12px;background:rgba(180,0,255,.1);border-radius:8px;border:1px solid rgba(180,0,255,.25); }
.post-avg-stars { display:flex;gap:2px; }
.post-avg-num { font-size:13px;color:rgba(255,255,255,.8);font-weight:600; }
.post-comments-list { margin:8px 0 12px;display:flex;flex-direction:column;gap:6px; }
.post-comment-item { background:rgba(255,255,255,.06);border-radius:8px;padding:8px 10px;border:1px solid rgba(255,255,255,.08); }
.post-comment-head { display:flex;align-items:center;gap:8px;margin-bottom:4px;flex-wrap:wrap; }
.post-comment-author { font-size:12px;font-weight:600;color:rgba(255,255,255,.8); }
.post-comment-stars { display:flex;gap:1px; }
.post-comment-date { font-size:11px;color:rgba(255,255,255,.35);margin-left:auto; }
.post-comment-text { font-size:12px;color:rgba(255,255,255,.65);line-height:1.5; }
.post-rating-form { margin-top:14px;padding-top:14px;border-top:1px dashed rgba(180,0,255,.3); }
.prf-title { font-size:12px;font-weight:700;color:rgba(255,255,255,.7);margin-bottom:8px;letter-spacing:.5px; }
.prf-stars { display:flex;gap:4px;margin-bottom:10px; }
.prf-star { background:none;border:none;font-size:24px;color:rgba(255,255,255,.3);cursor:pointer;padding:0;line-height:1;transition:color .1s; }
.prf-star:hover { color:#F5A623; }
.prf-author::placeholder { color:rgba(255,255,255,.3) !important; }
.prf-comment::placeholder { color:rgba(255,255,255,.3) !important; }

/* ===== SKELETON LOADING ===== */
@keyframes skeletonPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.skeleton {
  background: linear-gradient(90deg, #1a0a2e 25%, #2d1054 50%, #1a0a2e 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
  border-radius: 8px;
}
.skeleton-card {
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}
.skeleton-title  { height: 20px; width: 60%; margin-bottom: 12px; }
.skeleton-line   { height: 14px; width: 100%; margin-bottom: 8px; }
.skeleton-line.short { width: 40%; }
.skeleton-badge  { height: 22px; width: 80px; margin-bottom: 10px; border-radius: 20px; }

/* ===== EMPTY STATE ===== */
.empty-country-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #a78bfa;
  text-align: center;
  gap: 16px;
}
.empty-country-state .empty-icon-big {
  font-size: 56px;
  animation: floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.empty-country-state h3 {
  font-size: 18px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0;
}
.empty-country-state p {
  font-size: 14px;
  color: #a78bfa;
  margin: 0;
  max-width: 240px;
  line-height: 1.6;
}

/* ===== SCROLL TO TOP ===== */
#scrollTopBtn {
  position: fixed;
  bottom: 28px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 0 18px rgba(124,58,237,0.6);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
}
#scrollTopBtn.visible {
  opacity: 1;
  transform: translateY(0);
}
#scrollTopBtn:hover {
  box-shadow: 0 0 28px rgba(236,72,153,0.8);
  transform: translateY(-3px);
}
/* ===== END PRIORITY HIGH ===== */

/* ===== HOVER ANIMATION CARD ===== */
.review-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.review-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 32px rgba(124,58,237,0.35), 0 0 0 1px rgba(124,58,237,0.3) !important;
}

/* ===== VIEWS COUNTER ===== */
.view-count {
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ===== REACTION BUTTONS ===== */
.reactions-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(124,58,237,0.15);
}
.reaction-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(124,58,237,0.3);
  background: rgba(124,58,237,0.08);
  color: #a78bfa;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.reaction-btn:hover {
  background: rgba(124,58,237,0.2);
  border-color: #7c3aed;
  transform: scale(1.08);
}
.reaction-btn.reacted {
  background: rgba(124,58,237,0.3);
  border-color: #7c3aed;
  color: #e2e8f0;
  font-weight: 600;
}
.reaction-btn .r-count {
  font-weight: 700;
  min-width: 14px;
  text-align: center;
}

/* ===== MARQUEE BANNER ===== */
.marquee-wrap {
  background: rgba(124,58,237,0.12);
  border-top: 1px solid rgba(124,58,237,0.25);
  border-bottom: 1px solid rgba(124,58,237,0.25);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 28px;
  font-size: 13px;
  color: #c4b5fd;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}
.marquee-item:hover { color: #f0abfc; }
.marquee-item .m-stars { color: #f59e0b; font-size: 11px; }
.marquee-item .m-sep { color: rgba(124,58,237,0.5); margin: 0 4px; }
/* ===== END MEDIUM PRIORITY ===== */

/* ===== COUNT-UP GLOW ===== */
@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 10px rgba(124,58,237,0.8), 0 0 20px rgba(124,58,237,0.4); }
  50% { text-shadow: 0 0 20px rgba(236,72,153,1), 0 0 40px rgba(236,72,153,0.6), 0 0 60px rgba(236,72,153,0.3); }
}
.cstat-num {
  animation: glowPulse 2.5s ease-in-out infinite;
}

/* ===== CURSOR TRAIL ===== */
.cursor-dot {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 99999;
  mix-blend-mode: screen;
  animation: dotFade 0.6s ease forwards;
}
@keyframes dotFade {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0); }
}

/* ===== CARD TILT (base) ===== */
.review-card, .title-item, .admin-post-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ===== MOBILE REDESIGN ===== */
@media (max-width: 768px) {

  html { font-size: 17px; }

  /* Header */
  .header-inner { padding: .875rem 1rem; }
  .logo-text { font-size: 16px; }
  .logo-sub { display: none; }
  .btn-sm { padding: 7px 14px; font-size: 13px; }
  #openModal { padding: 7px 14px; font-size: 13px; }

  /* Hero cyberpunk */
  .hero-cyber { padding: 2.5rem 1rem 2rem; }
  .hero-cyber-inner { max-width: 100% !important; }
  #globeCanvas { display: none !important; }
  .cyber-gmap { font-size: 72px !important; }
  .cyber-tagline { font-size: 12px; letter-spacing: 2px; }
  .cstat-num { font-size: 28px !important; }
  .cstat-label { font-size: 11px; }
  .cyber-stats { gap: 1.5rem; }
  .cyber-search-wrap { max-width: 100%; margin-bottom: 1rem; }
  .cyber-search-input { font-size: 15px; padding: 14px 14px 14px 44px; }
  .cyber-cta { font-size: 15px; padding: 14px 28px; width: 100%; max-width: 320px; }
  .cf { font-size: 28px; }

  /* Marquee */
  .marquee-item { font-size: 14px; padding: 0 20px; }

  /* Main */
  .main { padding: 1rem; }

  /* Filter chips */
  .filter-section { margin-bottom: 1rem; }
  .filter-row { gap: 8px; flex-wrap: wrap; }
  .chip { padding: 7px 16px; font-size: 13px; }
  .filter-label { font-size: 13px; min-width: 70px; }

  /* Search sort */
  .search-sort { flex-wrap: wrap; gap: 8px; }
  .search-wrap input { font-size: 15px; padding: 11px 12px 11px 36px; }
  .sort-wrap select { font-size: 14px; padding: 10px 12px; }
  .count-label { font-size: 13px; }

  /* Browse layout — stack dọc */
  .browse-layout {
    grid-template-columns: 1fr !important;
    border-radius: 12px;
  }
  .country-panel {
    max-height: 220px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }
  .country-panel-head { font-size: 14px; padding: 1rem; }
  .country-item { padding: .875rem 1rem; }
  .country-name { font-size: 15px; }
  .country-count { font-size: 13px; padding: 2px 10px; }

  .titles-panel { max-height: none !important; }
  .title-item { padding: 1rem; gap: 10px; }
  .title-item-dest { font-size: 16px; }
  .title-item-meta { gap: 6px; }

  .recent-panel {
    border-left: none !important;
    border-top: 1px solid var(--border);
    max-height: none !important;
  }
  .recent-panel-head { font-size: 14px; padding: 1rem; }
  .recent-item { padding: .875rem 1rem; }
  .recent-item-dest { font-size: 15px; }
  .recent-item-snippet { font-size: 13px; }
  .recent-item-meta { font-size: 12px; }

  /* Review cards */
  .review-card { border-radius: 14px; }
  .card-dest { font-size: 18px; }
  .card-country { font-size: 13px; }
  .card-content { font-size: 14px; line-height: 1.8; }
  .badge { font-size: 11px; padding: 3px 11px; }
  .helpful-btn { font-size: 13px; padding: 5px 14px; }
  .share-btn { font-size: 14px; padding: 5px 10px; }
  .avatar { width: 34px; height: 34px; font-size: 13px; }

  /* Reactions */
  .reactions-row { gap: 8px; }
  .reaction-btn { font-size: 13px; padding: 6px 12px; }

  /* Modal */
  .modal { border-radius: 20px 20px 0 0; max-width: 100% !important; margin: auto 0 0 !important; }
  .modal-head { padding: 1.25rem 1.25rem .75rem; }
  .modal-head h2 { font-size: 18px; }
  .modal-body { padding: 1rem 1.25rem 2rem; }
  .form-control { font-size: 16px; padding: 12px; }
  .form-label { font-size: 14px; margin-bottom: 6px; }
  .sp { font-size: 32px; }

  /* Admin posts */
  .admin-post-title { font-size: 20px; }
  .admin-post-content { font-size: 14px; line-height: 1.8; }
  .admin-post-badge { font-size: 12px; }

  /* Empty state */
  .empty-country-state h3 { font-size: 20px; }
  .empty-country-state p { font-size: 15px; }
  .empty-icon-big { font-size: 64px; }

  /* Toast */
  .toast { bottom: 1rem; right: 1rem; left: 1rem; font-size: 14px; max-width: 100%; }

  /* Scroll top btn */
  #scrollTopBtn { width: 50px; height: 50px; font-size: 22px; bottom: 20px; right: 16px; }
}

@media (max-width: 380px) {
  .cyber-gmap { font-size: 58px !important; }
  .cstat-num { font-size: 24px !important; }
  .chip { font-size: 12px; padding: 6px 12px; }
}
/* ===== END MOBILE REDESIGN ===== */

/* ===== BROWSE TABS (mobile) ===== */
.browse-tabs { display: none; }

@media (max-width: 768px) {
  /* Browse tabs */
  .browse-tabs {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    margin-bottom: 0;
  }
  .browse-tab {
    flex: 1;
    padding: 12px 6px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    background: none;
    color: var(--text-3);
    border-bottom: 3px solid transparent;
    transition: all .2s;
    cursor: pointer;
  }
  .browse-tab.active {
    color: #7c3aed;
    border-bottom-color: #7c3aed;
    background: rgba(124,58,237,0.05);
  }

  /* Browse layout mobile */
  .browse-layout {
    border-radius: 0 0 12px 12px !important;
  }
  .country-panel,
  .titles-panel,
  .recent-panel {
    display: none;
  }
  .country-panel.tab-active,
  .titles-panel.tab-active,
  .recent-panel.tab-active {
    display: block;
    max-height: none !important;
    border: none !important;
  }

  /* Sticky filter */
  .sticky-filter {
    position: sticky;
    top: 56px;
    z-index: 90;
    background: #f5f4f0;
    padding: 10px 1rem;
    margin: 0 -1rem;
    border-bottom: 1px solid var(--border);
  }

  /* Search full width */
  .search-sort {
    flex-direction: column;
    gap: 10px;
  }
  .search-wrap {
    width: 100%;
  }
  .search-wrap input {
    width: 100%;
    font-size: 16px;
    padding: 13px 13px 13px 40px;
  }
  .sort-wrap {
    width: 100%;
  }
  .sort-wrap select {
    width: 100%;
    font-size: 15px;
    padding: 11px 14px;
  }

  /* Card content bigger */
  .card-content { font-size: 15px; line-height: 1.85; }
  .card-dest { font-size: 19px; }
  .card-body { padding: 1.1rem; }

  /* Bottom nav */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }
  .bottom-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: all .15s;
  }
  .bottom-nav-btn.active .bottom-nav-icon,
  .bottom-nav-btn.active .bottom-nav-label {
    color: #7c3aed;
  }
  .bottom-nav-icon { font-size: 22px; line-height: 1; }
  .bottom-nav-label { font-size: 11px; font-weight: 600; color: var(--text-3); }

  .bottom-nav-center {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    border-radius: 16px;
    margin: 6px 8px;
    padding: 8px;
  }
  .bottom-nav-center .bottom-nav-icon,
  .bottom-nav-center .bottom-nav-label {
    color: #fff !important;
  }

  /* Padding bottom để không bị nav che */
  .main { padding-bottom: 90px !important; }
  #scrollTopBtn { bottom: 80px !important; }
}

/* Desktop: ẩn bottom nav và browse tabs */
@media (min-width: 769px) {
  .bottom-nav { display: none; }
  .browse-tabs { display: none; }
}
/* ===== END MOBILE UI ===== */

/* ===== FOOTER ===== */
.site-footer {
  background: #0d001a;
  border-top: 1px solid rgba(124,58,237,0.3);
  margin-top: 3rem;
  padding: 2rem 1.25rem 1.5rem;
}
.footer-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo { font-size: 32px; }
.footer-name {
  font-size: 16px;
  font-weight: 700;
  color: #e2e8f0;
}
.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 13px;
  color: #a78bfa;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: #f0abfc; }
.footer-sep { color: rgba(255,255,255,0.2); }
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
  max-width: 500px;
}

@media (max-width: 768px) {
  .site-footer { margin-bottom: 70px; padding: 1.5rem 1rem 1rem; }
  .footer-links { gap: 8px; }
  .footer-links a { font-size: 14px; }
  .footer-copy { font-size: 12px; }
}
/* ===== END FOOTER ===== */
