/* LED24H - trang chủ: hero toàn chiều ngang, dải phiên bản, giới thiệu, lưới tính năng,
   khối nổi bật, bài viết mới, 2 thẻ lớn, FAQ, liên hệ. Màu theo style.css. */

.vbtn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px 22px; border-radius: 6px; border: 1px solid transparent; color: #fff; text-decoration: none; font: 800 15px "Segoe UI", Arial, sans-serif; letter-spacing: .8px; text-transform: uppercase; transition: background .15s, border-color .15s; }
.vbtn.green { background: var(--green); border-color: var(--green2); box-shadow: 0 10px 30px rgba(31, 143, 47, .35); }
.vbtn.green:hover { background: #23a336; }
.vbtn.ghost { background: rgba(255, 255, 255, .04); border-color: var(--line2); }
.vbtn.ghost:hover { border-color: var(--brand); background: rgba(242, 106, 60, .08); }
.vbtn.small { width: auto; padding: 11px 20px; font-size: 13px; }
.vtitle { text-align: center; font-size: 22px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 34px; color: #fff; }
.vkicker { display: block; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.vcenter { text-align: center; margin-top: 34px; }

/* 1. Hero */
.vhero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding: 46px 0 22px;
  background:
    linear-gradient(180deg, rgba(7, 8, 12, .78), rgba(11, 13, 18, .94) 70%, var(--bg)),
    url("/images/led24h-tao-vien.webp") center 30% / cover no-repeat; }
.vhero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px 360px at 50% 0%, rgba(242, 106, 60, .22), transparent 70%); }
.vhero .container { position: relative; z-index: 1; }
.vhero h1 { text-align: center; margin: 0; font-size: 44px; line-height: 1.15; font-weight: 800; letter-spacing: -.3px; }
.vhero-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.vhero-pills li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 2px solid rgba(255, 255, 255, .85); color: #fff; font-weight: 800; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; background: rgba(0, 0, 0, .35); }
.vhero-pills svg { width: 16px; height: 16px; fill: none; stroke: var(--brand); stroke-width: 2.4; }
.vhero-pills li:last-child svg { fill: var(--brand); }
.vhero-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 44px; align-items: center; margin-top: 34px; }
.vhero-shot { margin: 0; }
.vhero-shot img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line2); box-shadow: 0 30px 90px rgba(0, 0, 0, .65), 0 0 0 6px rgba(255, 255, 255, .03); }
.vhero-video { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line2); background: #000; box-shadow: 0 30px 90px rgba(0, 0, 0, .65), 0 0 0 6px rgba(255, 255, 255, .03); }
.vhero-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.vhero-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; display: block; }
.vhero-shot .vhero-play img { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; transition: transform .4s, filter .3s; }
.vhero-play:hover img { transform: scale(1.02); filter: brightness(.85); }
.vhero-play-btn { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(242, 106, 60, .25), 0 12px 40px rgba(0, 0, 0, .5); transition: transform .2s; animation: vheroPulse 2.2s ease-out infinite; }
.vhero-play-btn svg { width: 36px; height: 36px; fill: #fff; margin-left: 5px; }
.vhero-play:hover .vhero-play-btn { transform: scale(1.08); }
.vhero-play-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; text-align: left; color: #fff; font: 700 17px "Segoe UI", Arial, sans-serif; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75)); }
@keyframes vheroPulse { 0% { box-shadow: 0 0 0 0 rgba(242, 106, 60, .5), 0 12px 40px rgba(0, 0, 0, .5); } 100% { box-shadow: 0 0 0 22px rgba(242, 106, 60, 0), 0 12px 40px rgba(0, 0, 0, .5); } }
@media (prefers-reduced-motion: reduce) { .vhero-play-btn { animation: none; } }
.vhero-side { display: grid; gap: 12px; }
.vhero-lead { margin: 0 0 8px; font-size: 24px; line-height: 1.4; font-weight: 600; color: #fff; text-align: center; }
.vhero-meta { margin: 4px 0 0; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.6; }
.vhero-strip { margin: 34px 0 0; text-align: center; color: var(--soft); font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.vhero-strip b { color: #fff; margin-right: 6px; }
.vhero-strip i { color: var(--brand); font-style: normal; margin: 0 6px; }

/* 2. Dải phiên bản */
.vband { background: linear-gradient(90deg, #c94f22, var(--brand)); }
.vband .container { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.vband b { color: #fff; font-size: 22px; font-weight: 800; margin-right: auto; }
.vband-links { display: flex; gap: 10px; flex-wrap: wrap; }
.vband-links a { color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .75); padding: 8px 16px; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; border-radius: 4px; }
.vband-links a:hover { background: #fff; color: #c94f22; }

/* 3. Giới thiệu */
.vintro { padding: 64px 0; }
.vintro .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.vintro h2 { margin: 0 0 14px; font-size: 30px; }
.vintro p { color: var(--soft); margin: 0 0 14px; }
.vintro p b { color: #fff; }
.vintro-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* 4. Lưới tính năng */
.vfeatures { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0; }
.vfeature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.vfeature-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 26px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; transition: border-color .15s, transform .15s; }
.vfeature-grid li:hover { border-color: var(--brand-line); transform: translateY(-2px); }
.vfeature-grid svg { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--brand-bg); border: 1px solid var(--brand-line); color: var(--brand); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vfeature-grid b { color: #fff; font-size: 16px; }
.vfeature-grid span { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* 5. Khối nổi bật */
.vspot { padding: 64px 0; }
.vspot .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.vspot h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.25; }
.vspot p { color: var(--soft); margin: 0 0 22px; }

/* 6. Bài viết mới */
.vnews { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0; }
.vnews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.vnews article { display: flex; flex-direction: column; }
.vnews-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 1px solid var(--line2); background: #0e1016; }
.vnews-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.vnews article:hover .vnews-thumb img { transform: scale(1.04); }
.vnews h3 { margin: 16px 0 8px; font-size: 18px; line-height: 1.35; }
.vnews h3 a { color: #fff; text-decoration: none; }
.vnews h3 a:hover { color: #ffb08f; }
.vnews p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.55; flex: 1; }
.vmore { align-self: flex-start; color: #fff; background: var(--brand); text-decoration: none; padding: 7px 16px; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; border-radius: 4px; }
.vmore:hover { background: #ff7d4f; }

/* 6a. Thư viện mẫu - slide video */
.vlib { position: relative; padding: 64px 0; border-top: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(900px 420px at 15% 0%, rgba(242, 106, 60, .16), transparent 70%), radial-gradient(700px 400px at 100% 100%, rgba(120, 80, 255, .10), transparent 70%), var(--bg); }
.vlib-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.vlib-head h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.25; color: #fff; }
.vlib-head p { margin: 0; color: var(--soft); }
.vlib-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.vlib-stage { min-width: 0; }
.vlib-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #05060a; border: 1px solid var(--line2); box-shadow: 0 30px 90px rgba(0, 0, 0, .6), 0 0 0 6px rgba(255, 255, 255, .03); }
.vlib-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform 1.2s ease; pointer-events: none; }
.vlib-slide.on { opacity: 1; transform: none; }
.vlib-slide video { width: 100%; height: 100%; object-fit: cover; display: block; background: #05060a; }
.vlib-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 26px 26px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .78)); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.vlib-slide figcaption b { color: #fff; font-size: 24px; line-height: 1.3; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); transform: translateY(12px); opacity: 0; transition: transform .6s .25s, opacity .6s .25s; }
.vlib-slide.on figcaption b { transform: none; opacity: 1; }
.vlib-tag { background: var(--brand); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }
.vlib-nav { position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .2s, background .2s; z-index: 2; }
.vlib-nav svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.vlib-nav.prev { left: 16px; } .vlib-nav.next { right: 16px; }
.vlib-screen:hover .vlib-nav, .vlib-nav:focus-visible { opacity: 1; }
.vlib-nav:hover { background: var(--brand); border-color: var(--brand); }
.vlib-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .12); z-index: 2; }
.vlib-progress i { display: block; height: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); }
.vlib-count { position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(0, 0, 0, .5); color: var(--soft); font-size: 13px; padding: 4px 10px; border-radius: 20px; }
.vlib-count b { color: #fff; }
.vlib-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.vlib-thumbs::-webkit-scrollbar { display: none; }
.vlib-thumbs button { flex: 0 0 auto; width: 132px; aspect-ratio: 16 / 9; padding: 0; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; background: #0e1016; opacity: .55; transition: opacity .2s, border-color .2s; }
.vlib-thumbs button:hover { opacity: .9; }
.vlib-thumbs button.on { opacity: 1; border-color: var(--brand); }
.vlib-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vlib-thumbs span { display: block; padding: 6px; color: var(--soft); font-size: 11px; line-height: 1.3; text-align: left; }
.vlib-thumbs { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; padding-bottom: 8px; }
.vlib-thumbs::-webkit-scrollbar { display: block; height: 6px; }
.vlib-thumbs::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 3px; }
.vlib-thumbs button { position: relative; }
.vlib-thumbs button[hidden] { display: none; }
.vlib-thumbs em { position: absolute; left: 4px; top: 4px; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, .6); padding: 1px 6px; border-radius: 10px; }
.vlib-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.vlib-topics button { font: inherit; font-size: 13px; font-weight: 600; color: var(--soft); background: #0e1016; border: 1px solid var(--line2); border-radius: 20px; padding: 6px 14px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.vlib-topics button small { opacity: .7; font-size: 12px; margin-left: 2px; }
.vlib-topics button:hover { border-color: var(--brand); color: #fff; }
.vlib-topics button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.vlib-count em { font-style: normal; }
.vlib-side { display: grid; gap: 16px; padding: 26px 24px; border-radius: 12px; border: 1px solid var(--brand-line); background: radial-gradient(380px 200px at 100% 0%, rgba(242, 106, 60, .2), transparent 70%), var(--panel); }
.vlib-free { color: #fff; font-size: 19px; line-height: 1.35; }
.vlib-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.vlib-steps li { display: flex; gap: 14px; align-items: flex-start; }
.vlib-steps i { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; background: var(--brand); box-shadow: 0 0 0 4px rgba(242, 106, 60, .18); }
.vlib-steps b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.vlib-steps span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.vlib-side .vbtn { font-size: 14px; letter-spacing: .5px; padding: 14px 16px; }
.vlib-note { margin: -4px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .vlib-slide, .vlib-slide figcaption b { transition: none; } }

/* 7. Hai thẻ lớn */
.vduo { padding: 34px 0 60px; }
.vduo .container { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vduo-card { display: block; padding: 30px 32px; border-radius: 10px; text-decoration: none; color: #fff; border: 1px solid var(--brand-line); background: radial-gradient(420px 180px at 100% 0%, rgba(242, 106, 60, .22), transparent 70%), var(--panel); transition: transform .15s; }
.vduo-card.zalo { border-color: #1f3b66; background: radial-gradient(420px 180px at 100% 0%, rgba(0, 104, 255, .25), transparent 70%), var(--panel); }
.vduo-card.zalo .vkicker { color: #6ea8ff; }
.vduo-card:hover { transform: translateY(-2px); }
.vduo-card b { font-size: 20px; line-height: 1.4; }

#cau-hoi { scroll-margin-top: 70px; }
#lien-he { scroll-margin-top: 70px; }

@media (max-width: 1000px) {
  .vhero-body, .vintro .container, .vspot .container { grid-template-columns: 1fr; gap: 28px; }
  .vfeature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vnews-grid { grid-template-columns: 1fr 1fr; }
  .vhero-side { max-width: 520px; width: 100%; margin: 0 auto; }
  .vlib-body { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .vhero { padding-top: 30px; }
  .vhero h1 { font-size: 30px; }
  .vhero-pills li { font-size: 12px; padding: 5px 10px; }
  .vhero-lead { font-size: 19px; }
  .vband b { font-size: 18px; width: 100%; }
  .vintro, .vspot { padding: 44px 0; }
  .vfeatures, .vnews, .vlib { padding: 44px 0; }
  .vlib-head h2 { font-size: 24px; }
  .vlib-slide figcaption { padding: 40px 14px 14px; }
  .vlib-slide figcaption b { font-size: 16px; }
  .vlib-nav { opacity: 1; width: 38px; height: 38px; margin-top: -19px; }
  .vlib-nav.prev { left: 8px; } .vlib-nav.next { right: 8px; }
  .vlib-thumbs button { width: 104px; }
  .vlib-side { padding: 22px 18px; }
  .vfeature-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vfeature-grid li { padding: 18px 12px; }
  .vnews-grid, .vduo .container { grid-template-columns: 1fr; }
  .vtitle { font-size: 19px; margin-bottom: 24px; }
  .vintro h2, .vspot h2 { font-size: 25px; }
}
