.segmention {
    background-image: url(https://m-pegasus.com/img/segment_PC.png);
    background-repeat: no-repeat;
    background-size: 100% auto; /* full width, chiều cao auto */
    display: block !important;
    width: 100%; /* full width */
    height: auto; /* chiều cao tự động theo tỉ lệ ảnh */
    min-height: 110px; /* vẫn đảm bảo tối thiểu 81px */
    position: absolute;
    top: -45px; /* hoặc -30px nếu cần */
    left: 0;
    z-index: 10;
}
section.rankings {
    background-image: url(./images/sections/cenarioposguerra.jpg), linear-gradient(135deg, rgba(10, 93, 58, 0.7), rgba(10, 18, 6, 0.8));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    will-change: transform;
    padding: 2rem 0;
}
/* Nếu muốn responsive hơn, dùng media query */
@media (max-width: 768px) {
    .segmention {
        height: auto;
        min-height: 20px;
        top: -8px;
        background-size: 100% auto;
    }
	.systems-section-carroussel-item {
    border-width: 1px;
    border-style: dotted;
    border-image-slice: 1;
    background: #1e1e1eb8;
    border-image-source: linear-gradient(248.91deg, #FED84F 2%, #CB5500 98%);
   
    display: flex;
    flex-direction: column;
    transform: scale(1) translate(0);
    transform-origin: center;
    width: auto;
    min-height: 500px;
    overflow: hidden;
    margin: auto;
    transition: all .4s ease, width .4s ease, height .4s ease, filter .4s ease;
}
}
.onlineBlock-green:before {
    background: url(img//green-anim.png);
}
.onlineBlock:before {
    content: "";
    position: absolute;
    width: 215px;
    height: 215px;
    left: 50%;
    margin-left: -109px;
    top: -88px;
    z-index: 3;
    animation: 12s anim linear infinite!important;
}
.onlineBlock-green:after {
    background: url(img/server-icon-green.png);
}

.onlineBlock:after {
    content: "";
    position: absolute;
    width: 157px;
    height: 148px;
    left: 50%;
    margin-left: -94px;
    top: -79px;
    z-index: 3;
}
.onlineBlock-green {
    position: fixed;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    width: 50px;
    height: 50px;
}
.systems-section-carroussel-item {
    border-width: 1px;
    border-style: dotted;
    border-image-slice: 1;
    background: #1e1e1eb8;
    border-image-source: linear-gradient(248.91deg, #FED84F 2%, #CB5500 98%);
    width: 30vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: scale(1) translate(0);
    transform-origin: center;
    min-width: 380px;
    min-height: 500px;
    overflow: hidden;
    margin: auto;
    transition: all .4s ease, width .4s ease, height .4s ease, filter .4s ease;
}
@keyframes scale_change {
  0% {
    transform: scale(0.95);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(0.95);
  }
}
#videoOverlay {
  display: none; /* Ẩn mặc định */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

.video-container {
  position: relative;
  width: 80%;
  max-width: 900px;
}
.close-btn {
    position: absolute;
    top: -40px;
    right: -45px;
    width: 45px;
    height: 43px;
    background: url(https://game.gtimg.cn/images/lol/act/a20230519snowmoonchest/close.png) no-repeat center;
    background-size: contain;
    cursor: pointer;
    transition: transform 2s ease!important; /* Thời gian quay 1s */
}

.close-btn:hover {
    transform: rotate(360deg); /* Quay đúng 1 vòng */
}


@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
#overlayVideo {
    width: 100%;
    height: auto;
    border-image-source: linear-gradient(248.91deg, #FED84F 2%, #CB5500 98%);
    border-width: 1px;
    border-style: dotted;
    border-image-slice: 1;
}


    .play i {
        background: url(https://game.gtimg.cn/images/lol/act/a20230519snowmoonchest/play_btn.png) no-repeat center / 100% 100%;
        width: 127px;
        height: 127px;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
    }
    .play {
        width: 127px;
        height: 127px;
        display: block;
        position: absolute;
        left: 0;
        z-index: 11;
        right: 0;
        margin: auto;
        top: 0;
        bottom: 0;
        animation: scale_change 2s ease-in-out infinite forwards!important;
    }
    .webm_video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
.corner-card-image-top-right {
    width: 50px;
    height: 50px;
    position: absolute;
    rotate: 270deg;
    right: 0;
    top: 0;
    z-index: 50
}
.systems-section-carroussel-item-body {
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
    padding-top: .5em;
}
.corner-card-image-top-left {
    width: 50px;
    height: 50px;
    position: absolute;
    rotate: 180deg;
    top: 0;
    left: 0;
    z-index: 50
}

.corner-card-image-bottom-right {
    width: 50px;
    height: 50px;
    position: absolute;
    rotate: 90deg;
    bottom: 0;
    left: 0;
    z-index: 50
}

.corner-card-image-bottom-left {
    width: 50px;
    height: 50px;
    rotate: 0deg;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 50
}
@keyframes anim { 0% { transform: rotate(360deg); }
  100% { transform: rotate(-360deg); } }