@font-face{font-family:'Roboto Condensed';src:url('/assets/fonts/RobotoCondensed-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Roboto Condensed';src:url('/assets/fonts/RobotoCondensed-Bold.ttf') format('truetype');font-weight:700;font-display:swap}

: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-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;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

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;
}

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;
}

#dqkh-page,
.dqks-page{
  width:100%;
  padding:35px 14px 0;
  color:var(--dqk-text);
  font-weight:700;
  letter-spacing:.16px;
}

#dqkh-page *,
#dqkh-page *::before,
#dqkh-page *::after,
.dqks-page *,
.dqks-page *::before,
.dqks-page *::after{
  box-sizing:border-box;
}

#dqkh-page a,
.dqks-page a{
  text-decoration:none!important;
}

.dqkh-wrap,
.dqks-wrap{
  width:min(1180px,100%);
  margin:0 auto;
}

.dqkh-hero,
.dqks-hero{
  position:relative;
  overflow:hidden;
  margin:0 0 20px;
  padding:20px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:16px;
  border:1px solid var(--dqk-border);
  border-radius:28px;
  background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(239,246,255,.72));
  box-shadow:var(--dqk-shadow);
  backdrop-filter:blur(18px);
}

.dqkh-hero::before,
.dqks-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 10% 0%,rgba(37,99,235,.15),transparent 32%),
    radial-gradient(circle at 92% 18%,rgba(22,163,74,.12),transparent 30%),
    linear-gradient(90deg,rgba(255,255,255,.55),transparent);
  pointer-events:none;
}

.dqkh-hero::after,
.dqks-hero::after{
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(37,99,235,.35),transparent);
}

.dqkh-logo,
.dqkh-hero-text,
.dqkh-bonus,
.dqks-logo,
.dqks-hero-text,
.dqks-bonus{
  position:relative;
  z-index:1;
}

.dqkh-logo,
.dqks-logo{
  width:64px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:22px;
  border:1px solid var(--dqk-border);
  background:
    linear-gradient(135deg,rgba(255,255,255,.95),rgba(219,234,254,.92)),
    linear-gradient(135deg,#2563eb,#16a34a);
  box-shadow:
    0 14px 28px rgba(37,99,235,.18),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.dqkh-logo span,
.dqks-logo span{
  position:relative;
  display:block;
  width:26px;
  height:26px;
  transform:rotate(45deg);
  border-radius:9px;
  background:linear-gradient(135deg,#2563eb,#38bdf8 48%,#16a34a);
  box-shadow:0 8px 16px rgba(37,99,235,.22);
}

.dqkh-logo span::after,
.dqks-logo span::after{
  content:"";
  position:absolute;
  inset:7px;
  border-radius:4px;
  background:#fff;
}

.dqkh-kicker,
.dqks-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:0 0 7px;
  color:var(--dqk-green2);
  font-size:12px;
  font-weight:700;
  letter-spacing:1.1px;
  text-transform:uppercase;
}

.dqkh-kicker::before,
.dqks-kicker::before{
  content:"";
  width:8px;
  height:8px;
  flex:0 0 auto;
  border-radius:999px;
  background:#22c55e;
  box-shadow:0 0 0 5px rgba(34,197,94,.14);
}

.dqkh-title,
.dqks-title{
  margin:0;
  color:#1e3a8a;
  font-size:15px;
  line-height:1.08;
  font-weight:700;
  letter-spacing:.1px;
  text-transform:uppercase;
}

.dqkh-bonus,
.dqks-bonus{
  min-width:220px;
  padding:12px 14px;
  border:1px solid rgba(34,197,94,.22);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(240,253,244,.92),rgba(255,255,255,.74));
  text-align:center;
  box-shadow:0 14px 30px rgba(22,163,74,.10);
}

.dqkh-bonus span,
.dqks-bonus span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:#dcfce7;
  color:var(--dqk-green2);
  border:1px solid var(--dqk-border);
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

.dqkh-bonus b,
.dqks-bonus b{
  display:block;
  margin-top:9px;
  color:#1d4ed8;
  font-size:15px;
  line-height:1.35;
  font-weight:700;
}

.dqkh-panel,
.dqks-panel{
  position:relative;
}

.dqkh-panel-head,
.dqks-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 16px;
}

.dqkh-panel-title,
.dqks-panel-title{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  margin:0;
  padding:0 18px;
  border:1px solid var(--dqk-border);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(239,246,255,.88));
  color:#1e3a8a;
  font-size:20px;
  line-height:1.2;
  font-weight:700;
  text-align:center;
  text-transform:uppercase;
  box-shadow:0 12px 26px rgba(37,99,235,.10);
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
  transform:none!important;
}

.dqkh-panel-title::before,
.dqks-panel-title::before{
  content:"";
  width:9px;
  height:9px;
  margin-right:9px;
  border-radius:999px;
  background:linear-gradient(135deg,#2563eb,#38bdf8);
  box-shadow:0 0 0 5px rgba(37,99,235,.12);
}

.dqkh-product-grid,
.dqks-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.dqkh-product,
.dqks-card{
  position:relative;
  min-width:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border:1px solid var(--dqk-border);
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.96));
  box-shadow:0 16px 34px rgba(15,23,42,.08);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  cursor:pointer;
}

.dqkh-product::before,
.dqks-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:24px;
  background:linear-gradient(135deg,rgba(37,99,235,.10),transparent 36%,rgba(56,189,248,.10));
  opacity:.7;
}

.dqkh-product:hover,
.dqks-card:hover{
  transform:translateY(-5px);
  border-color:rgba(37,99,235,.28);
  box-shadow:var(--dqk-shadow2);
}

.dqkh-thumb,
.dqks-thumb{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#eaf1fb;
  border-bottom:1px solid rgba(15,23,42,.08);
}

.dqkh-thumb::after,
.dqks-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 0%,rgba(255,255,255,.25),transparent 28%);
  pointer-events:none;
}

.dqkh-thumb img,
.dqks-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .28s ease,filter .28s ease;
}

.dqkh-buy-badge,
.dqks-badge{
  position:absolute;
  left:10px;
  bottom:10px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:25px;
  padding:0 10px;
  border:1px solid rgba(255,255,255,.70);
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:var(--dqk-green2);
  font-size:10px;
  font-weight:700;
  line-height:1;
  box-shadow:0 8px 16px rgba(15,23,42,.18);
  backdrop-filter:blur(8px);
  white-space:nowrap;
}

.dqkh-product-body,
.dqks-card-body{
  position:relative;
  z-index:1;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:11px;
  padding:13px;
}

.dqkh-product-info,
.dqks-info{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:auto;
  padding:10px;
  border:1px solid var(--dqk-border);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(248,251,255,.95),rgba(255,255,255,.92));
}

.dqkh-product-title,
.dqks-card-title{
  margin:0;
  color:#1d4ed8;
  font-size:15px;
  line-height:1.2;
  font-weight:700;
  text-align:center;
  text-transform:uppercase;
}

.dqkh-product-desc,
.dqks-card-desc{
  flex:1;
  margin:0;
  color:var(--dqk-muted);
  font-size:12px;
  line-height:1.45;
  text-align:center;
  font-weight:700;
}

.dqks-actions {
  display: grid;
  grid-template-columns: 2fr 1fr; 
  gap: 10px;
}

.dqks-guide {
  grid-column: 1 / -1; 
}

.dqks-select{
  width:100%;
  height:42px;
  padding:0 14px;
  border:1px solid var(--dqk-border);
  border-radius:17px;
  outline:none;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(239,246,255,.88));
  color:var(--dqk-text);
  font-size:14px;
  line-height:1;
  font-weight:700;
  letter-spacing:.16px;
  box-shadow:
    0 8px 18px rgba(37,99,235,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
  cursor:pointer;
}

.dqks-select:focus{
  border-color:rgba(37,99,235,.28);
  box-shadow:
    0 0 0 4px rgba(37,99,235,.10),
    0 13px 24px rgba(37,99,235,.12),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.dqkh-product-btn,
.dqks-btn{
  position:relative;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  width:100%;
  height:36px;
  min-height:36px;
  padding:0 16px;
  border:0;
  border-radius:17px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.22),transparent 38%),
    linear-gradient(135deg,#38bdf8 0%,#2563eb 46%,#1e40af 100%);
  color:#fff!important;
  font-size:14px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  white-space:nowrap;
  letter-spacing:.28px;
  text-transform:uppercase;
  box-shadow:
    0 6px 0 #123c96,
    0 16px 28px rgba(37,99,235,.32),
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -2px 0 rgba(15,23,42,.18);
  transform:translateY(0);
  transition:transform .12s ease,box-shadow .12s ease,filter .15s ease;
  text-decoration:none!important;
}

.dqkh-product-btn i,
.dqks-btn i {
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  margin-top: -1px;
}

.dqkh-product-btn::before,
.dqks-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.32),transparent);
  transform:translateX(-115%);
  transition:transform .55s ease;
}

.dqkh-product-btn::after,
.dqks-btn::after{
  content:"";
  position:absolute;
  inset:2px 2px auto 2px;
  height:45%;
  border-radius:15px 15px 9px 9px;
  background:linear-gradient(180deg,rgba(255,255,255,.26),transparent);
  pointer-events:none;
}

.dqkh-product:hover .dqkh-product-btn::before,
.dqks-card:hover .dqks-btn::before{
  transform:translateX(115%);
}

.dqkh-product-btn:hover,
.dqks-btn:hover{
  filter:brightness(1.07);
  transform:translateY(-1px);
  box-shadow:
    0 7px 0 #123c96,
    0 19px 32px rgba(37,99,235,.38),
    inset 0 1px 0 rgba(255,255,255,.48),
    inset 0 -2px 0 rgba(15,23,42,.18);
}

.dqkh-product-btn:active,
.dqks-btn:active{
  transform:translateY(5px);
  box-shadow:
    0 1px 0 #123c96,
    0 8px 16px rgba(37,99,235,.26),
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 2px 5px rgba(15,23,42,.18);
}

.dqkh-empty,
.dqks-empty{
  grid-column:1/-1;
  padding:18px;
  border:1px dashed rgba(37,99,235,.35);
  border-radius:18px;
  background:rgba(255,255,255,.76);
  color:var(--dqk-muted);
  text-align:center;
  font-size:14px;
  font-weight:700;
}

@media(max-width:1100px){
  .dqkh-product-grid,
  .dqks-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:820px){
  .dqkh-product-grid,
  .dqks-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:700px){
  #dqkh-page,
  .dqks-page{
    padding:25px 10px 0;
  }

  .dqkh-hero,
  .dqks-hero{
    grid-template-columns:52px 1fr;
    align-items:center;
    padding:14px;
    border-radius:24px;
    gap:12px;
    margin-bottom:15px;
  }

  .dqkh-logo,
  .dqks-logo{
    width:52px;
    height:52px;
    border-radius:18px;
  }

  .dqkh-logo span,
  .dqks-logo span{
    width:21px;
    height:21px;
    border-radius:7px;
  }

  .dqkh-logo span::after,
  .dqks-logo span::after{
    inset:6px;
  }

  .dqkh-kicker,
  .dqks-kicker{
    font-size:11px;
    margin-bottom:5px;
    letter-spacing:.9px;
  }

  .dqkh-title,
  .dqks-title{
    font-size:15px;
    line-height:1.12;
  }

  .dqkh-bonus,
  .dqks-bonus{
    grid-column:1 / -1;
    width:100%;
    min-width:0;
    padding:10px;
    border-radius:18px;
  }

  .dqkh-bonus span,
  .dqks-bonus span{
    white-space:normal;
    line-height:1.25;
    padding:6px 10px;
  }

  .dqkh-bonus b,
  .dqks-bonus b{
    margin-top:7px;
  }

  .dqkh-panel-head,
  .dqks-panel-head{
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px;
    margin-bottom:12px;
    text-align:left!important;
  }

  .dqkh-panel-title,
  .dqks-panel-title{
    width:auto!important;
    min-height:40px!important;
    padding:0 14px!important;
    font-size:17px!important;
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
    transform:none!important;
    letter-spacing:.2px!important;
  }

  .dqkh-product-grid,
  .dqks-grid{
    grid-template-columns:1fr!important;
    gap:13px;
  }

  .dqkh-product,
  .dqks-card{
    border-radius:22px;
  }

  .dqkh-product::before,
  .dqks-card::before{
    border-radius:22px;
  }

  .dqkh-product-body,
  .dqks-card-body{
    padding:12px;
    gap:10px;
  }

  .dqkh-product-info,
  .dqks-info{
    border-radius:17px;
  }

  .dqkh-buy-badge,
  .dqks-badge{
    min-height:23px;
    padding:0 8px;
    font-size:10px;
  }

  .dqkh-product-title,
  .dqks-card-title{
    font-size:14px;
  }

  /* Chiều cao cho các nút bấm (giữ nguyên 36px vì nó còn bóng 3D 6px ở dưới) */
  .dqks-btn,
  .dqkh-product-btn {
    height: 36px;
    min-height: 36px;
    border-radius: 17px;
    font-size: 13.5px;
  }

  /* Tăng chiều cao cho ô Chọn gói lên 42px (bằng 36px + 6px bóng của nút) để 2 bên cân bằng */
  .dqks-select {
    height: 42px;
    min-height: 42px;
    border-radius: 17px;
    font-size: 13.5px;
  }

  #dqkhPopup .dqkh-popup-actions,
  .dqks-popup-actions{
    grid-template-columns:1fr!important;
  }
}
