
/* ===== HIỆU ỨNG ÁNH SÁNG QUÉT ===== */
.shine-effect{
  position:relative;
  overflow:hidden;
}

/* lớp ánh sáng */
.shine-effect::after{
  content:"";
  position:absolute;
  top:0;
  left:-80%;
  width:40%;
  height:100%;

  background:linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.65) 50%,
    rgba(255,255,255,0) 100%
  );

  transform:skewX(-25deg);
  pointer-events:none;

  /* AUTO chạy */
  animation:shineAuto 3s linear infinite;
}

/* hover vẫn chạy nhanh hơn */
.shine-effect:hover::after{
  animation:shineHover 0.9s ease;
}

/* animation AUTO */
@keyframes shineAuto{
  0%{
    left:-80%;
  }
  25%{
    left:130%;
  }
  100%{
    left:130%;
  }
}

/* animation khi hover */
@keyframes shineHover{
  0%{
    left:-80%;
  }
  100%{
    left:130%;
  }
}
.home-content {
    /* NỀN & KHUNG */
    background: transparent !important;
    padding: 25px 30px;
    border-radius: 18px;
    border: 4px solid #0066cc;

    /* NEON XANH */
    box-shadow:
        0 0 15px rgba(0, 102, 204, .8),
        0 0 35px rgba(0, 102, 204, .6),
        0 0 60px rgba(51, 153, 255, .5);

    /* TEXT */
    font-size: 18px;
    line-height: 1.6;

    /* SCROLL */
    max-height: 520px;
    overflow-y: auto;

    /* TỐI ƯU CHUYỂN ĐỘNG */
    transition: box-shadow .3s ease, border-color .3s ease;
}

/* ===============================
   SCROLLBAR XANH – GỌN NHẸ
   =============================== */
.home-content::-webkit-scrollbar {
    width: 10px;
}
.home-content::-webkit-scrollbar-track,
.home-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
}
.home-content::-webkit-scrollbar-track {
    background: rgba(0, 102, 204, .15);
}
.home-content::-webkit-scrollbar-thumb {
    background: #0066cc;
}
.home-content::-webkit-scrollbar-thumb:hover {
    background: #3399ff;
}

/* ===============================
   HOVER – NEON XANH NHẤP NHÁY
   =============================== */
.home-content:hover {
    animation: blueNeonFlicker .9s infinite alternate;
}

@keyframes blueNeonFlicker {
    0% {
        box-shadow:
            0 0 10px rgba(0, 102, 204, .4),
            0 0 22px rgba(0, 102, 204, .25);
        border-color: #0066cc;
    }
    50% {
        box-shadow:
            0 0 20px rgba(0, 102, 204, .85),
            0 0 45px rgba(0, 102, 204, .6);
        border-color: #3399ff;
    }
    100% {
        box-shadow:
            0 0 30px rgba(0, 102, 204, 1),
            0 0 70px rgba(51, 153, 255, .9);
        border-color: #66b3ff;
    }
}
:root {
  --primary-arrow-color: #0000;
  --badge-bg-color: #FF0002 ;
  --badge-font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --badge-font-size: 10px;
  --badge-text-color: #fff;
}

.header-button .button {
    display: inline-block;
    color: #111;
    height: 35px;
    line-height: 32px;
    text-align: center;
    position: relative;
    cursor: pointer;
    background: gold !important;
    border: 2px solid #fff;
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
    transition: transform .3s, box-shadow .3s, background-color .3s, color .3s, opacity .3s;
    animation: 1.5s ease-in-out infinite zoom, 1.5s infinite alternate glow;
}
@keyframes zoom {0%, 100% {transform: scale(1);}50% {transform: scale(1.1);}60%, 80% {transform: scale(1.1) rotate(-2deg);}70%, 90% {transform: scale(1.1) rotate(2deg);}}@keyframes glow {20% {box-shadow: 0 0 30px 5px red;}50% {box-shadow: 0 0 30px 5px #f30;}90% {box-shadow: 0 0 30px 5px #ff0;}100% {box-shadow: 0 0 30px 10px #0f0;}}

.header-button-1 .header-button:before {
  content: 'Nhận lượt quay PG';
  width: 110%;
  margin-left: -13px;
}

.header-button-2 .header-button:before {
  content: '+100%';
  width: 50%;
  margin-left: 39px;
}

@keyframes zoomInOut {
  0% { 
    transform: scale(1) translateZ(0); 
  }
  50% { 
    transform: scale(1.1) translateZ(0); 
  }
  100% { 
    transform: scale(1) translateZ(0); 
  }
}

.header-button-1 .header-button:after,
.header-button-2 .header-button:after, .header-button-km .header-button:after {
  content: '';
  position: absolute;
  display: block;
  top: -8px;
  width: 5px !important;
  height: 5px;
  border: 5.5px solid transparent;
  border-right-color: var(--primary-arrow-color);
  transform: rotate(59deg);
  background: var(--badge-bg-color);
  z-index: 12;
}

.header-button-2 .header-button:after {
  content: '';
  position: absolute;
  display: block;
  top: -8px;
  width: 5px !important;
  height: 5px;
  border: 5.5px solid transparent;
  border-right-color: var(--primary-arrow-color);
  transform: rotate(59deg);
  background: var(--badge-bg-color);
  z-index: 12;
}


.header-button-1 .header-button:before, .header-button-2 .header-button:before, .header-button-km .header-button:before {
    position: absolute;
    background: var(--badge-bg-color);
    font-family: var(--badge-font-family);
    font-size: var(--badge-font-size);
    color: var(--badge-text-color);
    line-height: normal;
    border-radius: 50px;
    padding: 3px;
    margin-top: -13px;
    z-index: 13;
    animation: zoomInOut 1.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    transition: transform 0.3s ease;
    text-align: center;
    will-change: transform;
    font-weight: bold;
    top: -7px;
}

.header-button-1 .header-button:after {
  left: 30px;
}

.header-button-2 .header-button:after {
  left: 58px;
}
