html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}
html, body, div, span,
h1, h2, p,img,
a, i,ul, li,label,button,
table, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    vertical-align: middle;
    list-style: none;
    box-sizing: border-box;
}
a {
    background-color: transparent;
}
b,
strong {
    font-weight: bolder;
}
button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
}
button,
input { /* 1 */
    overflow: visible;
}
button,
select { /* 1 */
    text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}
textarea {
    overflow: auto;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[hidden] {
    display: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a {
    text-decoration: none;
}
.full {
    width: 100%;
}
.flex {
    display: flex;
    align-items: center;
}
html, body {
    background: #751313;
    max-width: 750px;
    margin: 0 auto;
    font-size: 50px;
}
body {
    /* background: #a12f2f  url("../image/sbg.png");  */
    background: #a12f2f;
    background-size: 160px 160px;
    min-height: 100vh;
       background-blend-mode: soft-light;
}
.wraper {
    position: relative;
    padding-bottom: .2rem;
}
.header {
    /*position: fixed;*/
    /*top: 0;*/
    /*left: 0;*/
    /*z-index: 9;*/
    width: 100%;
    background: #a12f2f;
    height: .84rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wraper .logo {
    width: 2.8rem;
}
.swiper-banner {
    overflow: hidden;
}
.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: .2rem;
}
.swiper-slide {
    text-align: center;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide img {
    width: 100%;
}

.swiper-banner .swiper-pagination-bullet {
    background: #a8a0a0;
    opacity: 1;
}
.swiper-banner .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #fe7a7a;
}

.main-content {
    width: 92%;
    margin: 0 auto;
}
.notice {
    display: flex;
    align-items: center;
    font-size: .26rem;
    color: #ff7a7a;
    background: #7c2020;
    height: .5rem;
    line-height: .5rem;
    padding: 0 .2rem;
    border-radius: 30px;
    margin-bottom: .2rem;
}
.notice .gg {
    width: 0.42rem;
    margin-right: .2rem;
    height: 100%;
}
.marquee-wrap {
    height: 100%;
}
.net-wrapper {
    /*margin-bottom: .4rem;*/
}
.net-wrapper ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #7c2020;
    padding: .08rem .08rem .08rem .2rem;
    font-size: .24rem;
    color: #fff;
    border-radius: 50px;
    margin-bottom: .2rem;
}

.net-wrapper .img1 {
    width: .4rem;
    margin-right: .24rem;
}
.net-wrapper span {
    display: inline-block;
    color: #fbf2bf;
    min-width: 0.8rem;
}
.net-wrapper .button {
    width: 1.28rem;
    /* margin-left: 0.4rem; */
}
.pp1 {
    font-size: .23rem;
    color: #fbf2bf;
    text-align: center;
    line-height: 1.5;
}
.mb10 {
    margin-bottom: 0.1rem;
}
.mb20 {
    margin-bottom: 0.2rem;
}
.links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 .25rem;
}
.links img {
    display: block;
    width: 100%;
    margin-bottom: .1rem;
}
.links-page {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: .34rem;
    margin-bottom: .2rem;
    margin-right: .08rem;
}
.links-page a {
    width: .32rem;
    height: 100%;
}
.links-page a img {
    display: block;
    width: 100%;
}
.links-page #pageNumber {
    background: url("../image/yieshu.png") 0 0 no-repeat;
    background-size: 100% 100%;
    width: .42rem;
    height: 100%;
    font-size: .24rem;
    color: #ffffaf;
    text-align: center;
    margin: 0 .1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kefu {
    position: fixed;
    top: 20%;
    right: 0.1rem;
    z-index: 99;
    width: .7rem;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.6);
    display: none;
}
.popup-body {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1000;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
}

.popup-img {
    width: 100%;
}

/* Winner List Styles */
.winner-container {
    height:400px;
    background: linear-gradient(135deg, #a12f2f 0%, #a12f2f 100%);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 15px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.winner-header {
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.winner-header h1 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trophy-icon {
    font-size: 24px;
}

.winners-wrapper {
    height:340px;
    overflow: hidden;
    position: relative;
}

.winners-list {
    position: absolute;
    width: 100%;
    animation: scrollWinners 25s linear infinite;
}

.winner-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
  
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.winner-code {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 3px;
}

.winner-details {
    flex: 1;
    padding: 5px 10px;
}

.winner-name {
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 3px;
    color: #fff; /* Ensures white text */
    line-height: 1.3; /* Better line spacing */
}

.game-name {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
    color: #ddd; /* Lighter color for secondary text */
    line-height: 1.3;
}

.prize {
    color: #ffeb3b;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    margin-top: 5px; /* Adds space above prize */
    line-height: 1.3;
}

@keyframes scrollWinners {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(calc(-100% + 220px));
    }
}

.winners-wrapper:hover .winners-list {
    animation-play-state: paused;
}

/* Gradient fade effects */
.winners-wrapper::before,
.winners-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    z-index: 2;
    pointer-events: none;
}

.winners-wrapper::before {
    top: 0;
    background: linear-gradient(to bottom, #a12f2f, #a12f2f);
}

.winners-wrapper::after {
    bottom: 0;
    background: linear-gradient(to top, #a12f2f, #a12f2f);
}