/* ==========================================================================
   SHOP ROSI MOD (X.VINACHEAT.COM) - Authentic Theme Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,400;0,700;1,700&display=swap');
@import url('https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css');

:root {
  --dqk-text: #0b1220;
  --dqk-muted: #64748b;
  --dqk-soft: #f8fafc;
  --dqk-card: #ffffff;
  --dqk-blue: #2563eb;
  --dqk-blue2: #1d4ed8;
  --dqk-cyan: #38bdf8;
  --dqk-green: #16a34a;
  --dqk-green2: #15803d;
  --dqk-amber: #f59e0b;
  --dqk-amber2: #d97706;
  --dqk-border: #86efac;
  --dqk-border-soft: rgba(15, 23, 42, .10);
  --dqk-border-blue: rgba(37, 99, 235, .18);
  --dqk-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  --dqk-shadow2: 0 22px 55px rgba(37, 99, 235, .18);
  --dqk-radius: 24px;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, input, select, textarea, button {
  font-family: 'Roboto Condensed', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--dqk-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(37,99,235,.16), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(56,189,248,.18), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 48%, #f8fafc 100%) !important;
  overflow-x: hidden;
  font-weight: 700;
  letter-spacing: .16px;
  position: relative;
}

/* Subtle 36px grid pattern overlay exactly like vinacheat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37,99,235,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.045) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 72%);
  z-index: -1;
}

/* ==========================================================================
   1. SITE HEADER (VINACHEAT EXACT)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid rgba(134, 239, 172, .55);
  background:
    radial-gradient(circle at 8% 0%, rgba(37,99,235,.16), transparent 30%),
    radial-gradient(circle at 96% 12%, rgba(22,163,74,.14), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(239,246,255,.85));
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #86efac;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(22, 163, 74, .2);
}

.brand-badge {
  display: flex;
  flex-direction: column;
  padding: 5px 14px;
  background: #ffffff;
  border: 1px solid #86efac;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
}

.brand-title {
  font-size: 13px;
  font-weight: 700;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

.brand-dot {
  width: 7px;
  height: 7px;
  background-color: #16a34a;
  border-radius: 50%;
  display: inline-block;
}

.brand-sub {
  font-size: 11px;
  font-weight: 700;
  color: #1e3a8a;
  letter-spacing: .5px;
}

.menu-pc {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .04);
  transition: all .2s ease;
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}

.btn-nav-home {
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}
.btn-nav-bank {
  border: 1px solid #fed7aa;
  color: #c2410c;
}
.btn-nav-card {
  border: 1px solid #bbf7d0;
  color: #15803d;
}
.btn-nav-admin {
  border: 1px solid #86efac;
  color: #16a34a;
}

/* ==========================================================================
   2. MAIN WRAPPER & HERO CARD
   ========================================================================== */
#dqkh-page {
  width: 100%;
  padding: 28px 16px 20px;
}

.dqkh-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.dqkh-hero {
  background: linear-gradient(135deg, rgba(236,253,245,.85), rgba(240,249,255,.9));
  border: 1px solid rgba(134, 239, 172, .65);
  border-radius: 20px;
  padding: 22px 28px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, .04);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}

.dqkh-donut-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e0f2fe;
  border: 4px solid #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(56, 189, 248, .3);
}

.dqkh-donut-inner {
  width: 18px;
  height: 18px;
  background: #0284c7;
  border-radius: 50%;
}

.dqkh-kicker {
  font-size: 13px;
  font-weight: 700;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px 0;
}

.dqkh-title {
  margin: 0;
  font-size: 23px;
  font-weight: 800;
  color: #0b1220;
  letter-spacing: .2px;
}

/* ==========================================================================
   3. SECTION HEADER & CATEGORY TAG
   ========================================================================== */
.dqkh-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.dqkh-panel-title {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
  border-radius: 9999px;
  padding: 6px 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin: 0;
}

.dqkh-panel-title .dot {
  width: 6px;
  height: 6px;
  background-color: #0284c7;
  border-radius: 50%;
}

/* Category Filter Buttons */
.category-filter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-btn {
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  transition: all .2s ease;
}

.cat-btn.active, .cat-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
}

/* ==========================================================================
   4. PRODUCT GRID & CARDS (VINACHEAT AUTHENTIC)
   ========================================================================== */
.dqkh-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 35px;
}

.dqkh-product {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}

.dqkh-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(37, 99, 235, .18);
  border-color: rgba(37, 99, 235, .25);
}

.dqkh-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  background: #0f172a;
  overflow: hidden;
  display: block;
}

.dqkh-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.dqkh-product:hover .dqkh-thumb img {
  transform: scale(1.04);
}

.dqkh-product-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dqkh-product-info {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 16px;
  padding: 12px 14px;
  text-align: center;
  margin-bottom: 14px;
}

.dqkh-product-title {
  margin: 0 0 3px 0;
  font-size: 16px;
  font-weight: 800;
  color: #1e3a8a;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.dqkh-product-desc {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .3px;
}

/* Action Buttons inside Card */
.dqkh-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

.btn-dqk-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .28);
  transition: all .2s ease;
}

.btn-dqk-download:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .38);
}

.btn-dqk-getkey {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: none;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(245, 158, 11, .28);
  transition: all .2s ease;
}

.btn-dqk-getkey:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(245, 158, 11, .38);
}

.btn-dqk-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
}

.btn-dqk-detail:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   5. VINACHEAT AUTHENTIC POPUP (dqkh-popup)
   ========================================================================== */
.dqkh-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.dqkh-popup-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 24px;
  width: min(500px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(15, 23, 42, .25);
  border: 1px solid rgba(134, 239, 172, .5);
  animation: popupScale .25s ease-out;
}

@keyframes popupScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.dqkh-popup-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.dqkh-popup-x:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

.dqkh-popup-image {
  text-align: center;
  margin-bottom: 12px;
}

.dqkh-popup-image img {
  max-width: 90px;
  height: auto;
  margin: 0 auto;
}

.dqkh-popup-title {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 800;
  color: #0b1220;
  text-align: center;
}

/* ==========================================================================
   6. FOOTER (VINACHEAT EXACT)
   ========================================================================== */
.dqk-footer {
  width: min(1180px, 100%);
  margin: 0 auto 35px;
  padding: 0 16px;
}

.dqk-footer-wrap {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(134, 239, 172, .6);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 24px 28px;
}

.dqk-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

.dqk-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.dqk-footer-btn i {
  color: #2563eb;
  font-size: 14px;
}

.dqk-footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.dqk-footer-column h3 {
  font-size: 13px;
  font-weight: 800;
  color: #0b1220;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.dqk-footer-column a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 8px;
  transition: color .2s ease;
}

.dqk-footer-column a:hover {
  color: #2563eb;
}

/* ==========================================================================
   7. FLOATING SOCIAL BUTTONS (BOTTOM RIGHT)
   ========================================================================== */
.floating-social-box {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1000;
}

.social-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .3);
  transition: transform .2s ease;
}

.social-btn:hover {
  transform: scale(1.1);
}

.social-btn img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.social-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  animation: pulseRing 2s infinite cubic-bezier(0.45, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}
