#game-intro-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 10;
}

#video-overlay {
    position: absolute;
    inset: 0;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
}

#start-video-btn {
    padding: 14px 32px;
    font-size: 16px;
    background: #ffdd00;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1001;
}

#global-particle-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.global-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff, #ffdd00, transparent);
    box-shadow: 0 0 10px #ffdd00, 0 0 20px #ff3c78;
    animation: gp-fade 1s ease-out forwards;
}

@keyframes gp-fade {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.global-burst {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 70%);
    transform: translate(-50%, -50%);
    animation: burst 0.6s ease-out forwards;
}

@keyframes burst {
    0% {
        transform: scale(0.2);
        opacity: 1;
    }

    100% {
        transform: scale(6);
        opacity: 0;
    }
}

#border-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 80;
}

.border-flash {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 60%);
    animation: borderFlash 0.25s ease-out;
    pointer-events: none;
    z-index: 90;
}

@keyframes borderFlash {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.pop-particles {
    position: absolute;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #f1c40f 20%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 25;
    animation: explode 0.6s ease-out forwards;
}

@keyframes explode {
    0% {
        transform: scale(0.2);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.gas-glow {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(241, 196, 15, 0.9) 0%, rgba(241, 196, 15, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 24;
    transform: translate(-50%, -50%);
    animation: gasGlowAnim 0.5s ease-out forwards;
}

@keyframes gasGlowAnim {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.gas-spark {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 25;
    box-shadow: 0 0 10px #fff, 0 0 20px #f1c40f;
}

#firework-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 60;
    overflow: hidden;
}

.firework-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.racing-header-box {
    max-width: 500px;
    margin: 0 auto;
    padding: 10px;
    position: relative;
    overflow: hidden;
    background-color: #000;
    border-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin: -20px -20px 10px -20px;
}

.racing-header-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, #ffde11, transparent 30%);
    animation: streamLight 3s linear infinite;
    z-index: 1;
}

.racing-header-box::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: #050505;
    border-radius: 4px;
    z-index: 2;
}

@keyframes streamLight {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.racing-inner {
    position: relative;
    z-index: 3;
    text-align: center;
}

.racing-logo img {
    height: 60px;
    object-fit: contain;
}

.racing-desc {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.5;
    letter-spacing: 1px;
    word-break: break-all !important;
    margin: 5px 0;
}

#game-wrapper {
    width: 100%;
    max-width: 500px;
    background: #1a1a2e;
    padding: 20px;
    border: 4px solid #f1c40f;
    border-radius: 20px;
    color: white;
    box-sizing: border-box;
    margin: 0 auto;
    user-select: none;
    position: relative;
}


#race-area {
    width: 100%;
    height: 450px;
    background-image:
        linear-gradient(to bottom, #fff 0%, #fff 50%, transparent 50%, transparent 100%),
        linear-gradient(to bottom, #fff 0%, #fff 50%, transparent 50%, transparent 100%);
    background-size: 6px 100px, 6px 100px, 100% 100%, 100% 100%;
    background-repeat: repeat-y, repeat-y, no-repeat, no-repeat;
    background-position: 0.1% 0px, 99.9% 0px, left 0px, right 0px;
    background-color: #333;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #333;
    cursor: crosshair;
    position: relative;
    overflow: hidden;
}

#flash-overlay {
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
}

#start-screen,
#game-over-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 30;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#player {
    width: 50px;
    height: 70px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    pointer-events: none;
    display: none;
    transition: transform 0.08s linear;
    transform-origin: center;
}

.gas-wrapper {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.gas-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.gas-score {
    font-size: 14px;
    font-weight: bold;
    color: #f1c40f;
    margin-bottom: 2px;
}

.obstacle {
    position: absolute;
    width: 45px;
    height: 45px;
    z-index: 5;
    object-fit: contain;
}

.pop-effect,
.crash-effect {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 20;
    animation: pop 0.4s ease-out forwards;
}

.crash-effect {
    background: #ff4757;
    border-radius: 5px;
    transform: rotate(45deg);
    animation: crash 0.5s ease-out forwards;
}

@keyframes pop {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes crash {
    0% {
        transform: scale(1) rotate(45deg);
        opacity: 1;
    }

    100% {
        transform: scale(3) rotate(135deg);
        opacity: 0;
    }
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    margin: 5px;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    gap: 8px;
}

.stat-box {
    width: 32%;
    text-align: center;
    padding: 10px 6px;
    position: relative;
    background: #0c0c18;
    border: 2px solid #ffcc00;
    border-radius: 8px;
    overflow: hidden;
}

.stat-box h2 {
    position: relative;
    z-index: 3;
    font-size: 22px;
    margin: 6px 0 0;
    color: #ffffff;
    text-shadow: 0 0 8px #ffdd00, 0 0 12px #ff9900;
    font-family: Arial, sans-serif;
    animation: numGlow 1.2s ease-in-out infinite alternate;
}

@media screen and (max-width:480px) {
    .stat-box {
        width: 32%;
        text-align: center;
        padding: 8px 6px;
        position: relative;
        background: #0c0c18;
        border: 2px solid #ffcc00;
        border-radius: 8px;
        overflow: hidden;
    }

    .stat-box h2 {
        position: relative;
        z-index: 3;
        font-size: 20px;
        margin: 6px 0 0;
        color: #ffffff;
        text-shadow: 0 0 8px #ffdd00, 0 0 12px #ff9900;
        font-family: Arial, sans-serif;
        animation: numGlow 1.2s ease-in-out infinite alternate;
    }
}

.stat-box::before {
    content: "";
    position: absolute;
    top: -150%;
    left: -150%;
    width: 300%;
    height: 300%;
    background: conic-gradient(transparent, #ffdd00, transparent 25%);
    animation: statBorderRotate 2.5s linear infinite;
    z-index: 1;
}

.stat-box::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: #0c0c18;
    border-radius: 6px;
    z-index: 2;
}

@keyframes statBorderRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.stat-box div {
    position: relative;
    z-index: 3;
    font-size: 14px;
    color: #ffdd00;
    letter-spacing: 1px;
    text-shadow: 0 0 6px #ffdd00;
}



@keyframes numGlow {
    0% {
        text-shadow: 0 0 6px #ffdd00, 0 0 10px #ff9900;
    }

    100% {
        text-shadow: 0 0 12px #ffdd00, 0 0 20px #ff6600;
    }
}

#combo-text {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #f1c40f;
    font-size: 18px;
    font-weight: bold;
    z-index: 50;
    display: none;
}

.control-row {
    display: flex;
    width: 100%;
    margin: 10px 0 10px;
    gap: 0px;
}

.control-btn-wrap {
    flex: 1;
    display: flex;
}

.control-btn-wrap span {
    font-size: 16px;
}

.control-btn {
    padding: 8px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: none;
    border-radius: 999px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 4px solid;
    width: 100%;
}

.btn-gradient-red {
    background: linear-gradient(90deg, #ff2468, #ff7b47, #ffdd33);
    border-color: #ff96bb;
}

.btn-gradient-green {
    background: linear-gradient(90deg, #00d860, #00b048);
    border-color: #86ffc2;
}

.btn-gradient-purple {
    background: linear-gradient(90deg, #e8ed95, #5100ff);
    border-color: #905dff;
}

.control-btn .icon {
    font-size: 22px;
}

.control-btn:active {
    transform: scale(0.96);
}

.control-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), transparent);
    pointer-events: none;
}

@media screen and (max-width:480px) {
    .control-btn .icon {
        font-size: 15px;
    }

    .control-btn-wrap span {
        font-size: 13px;
    }
}


.game-guide-section {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 10px 0;
}

.game-guide-box {
    background: linear-gradient(180deg, #111827, #0b0f1a);
    border: 2px solid #ffdd00;
    border-radius: 16px;
    padding: 18px;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 221, 0, 0.15);
}

.guide-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffdd00;
    text-shadow: 0 0 10px #ff9900;
}

.guide-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 15px;
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.guide-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 221, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
    transition: 0.2s;
}

.guide-card:hover {
    transform: translateY(-2px);
    border-color: #ffdd00;
}

.guide-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
    color: #ffffff;
}

.guide-card p {
    font-size: 13px;
    color: #aaa;
    line-height: 1.4;
}

.guide-footer {
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
    color: #ffdd00;
    font-weight: bold;
}

#xrnumber20260629 {
    background: linear-gradient(180deg, #0a0a0a, #050505);
    padding: 20px 5% 0px !important;
    color: #e5e5e5 !important;
    font-family: sans-serif !important;
    border-top: 2px solid #ffde11;
    box-shadow: 0 -10px 30px rgba(255, 221, 0, 0.08);
    margin: -20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.xrdate20260629-grid {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 18px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.xrdate20260629-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    background: linear-gradient(145deg, #141414, #0b0b0b) !important;
    padding: 18px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 221, 0, 0.12);
    transition: 0.25s;
}

.xrdate20260629-column:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 221, 0, 0.35);
    box-shadow: 0 8px 20px rgba(255, 221, 0, 0.08);
}

.xrdate20260629-title {
    color: #ffde11 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 221, 0, 0.25);
}

.xrdate20260629-link {
    color: #bdbdbd !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: 0.2s;
    word-break: break-all;
}

.xrdate20260629-link:hover {
    color: #ffde11 !important;
    transform: translateX(2px);
}

.xrdate20260629-link img {
    max-width: 90px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 6px rgba(255, 221, 0, 0.2));
}

.xrdate20260629-column-p {
    font-size: 13px !important;
    color: #ffffff !important;
    padding: 12px !important;
    margin: 5px 0 0 0 !important;
    text-align: center !important;
    border-top: 1px solid rgba(255, 221, 0, 0.15);
}

.xrdate20260629-column-p a {
    color: #ffde11 !important;
    text-decoration: none !important;
}

.xlbanker20260630_newsCard-h {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #ffdd00 !important;
    text-align: center !important;
    margin: 20px 0  !important;
    letter-spacing: 1px !important;
    text-shadow: 0 0 10px rgba(255, 221, 0, 0.25) !important;
    position: relative !important;
    padding-bottom: 8px !important;
}

#xlBanding20260630_newsCard.xlbanker20260630_newsCard{

    max-width:500px !important;

    display:flex !important;

    flex-wrap:nowrap !important;

    overflow-x:auto !important;

    overflow-y:hidden !important;

    scroll-snap-type:x mandatory !important;

    scrollbar-width:none !important;

    -webkit-overflow-scrolling:touch !important;

    gap:0 !important;

    padding:0 !important;

    cursor:grab;
}

#xlBanding20260630_newsCard::-webkit-scrollbar{
    display:none;
}

#xlBanding20260630_newsCard .xlbanker20260630_item{

    flex:0 0 100% !important;

    min-width:100% !important;

    width:100% !important;

    scroll-snap-align:center !important;

    display:flex !important;

    flex-direction:column !important;

    background:linear-gradient(
        145deg,
        #111,
        #070707
    ) !important;

    border:1px solid rgba(255,221,0,.15) !important;

    border-radius:14px !important;

    overflow:hidden !important;

    text-decoration:none !important;
}

#xlBanding20260630_newsCard .xlbanker20260630_item:hover {
    transform: translateY(-3px) !important;
    border-color: #ffdd00 !important;
    box-shadow: 0 10px 25px rgba(255, 221, 0, 0.12) !important;
}

#xlBanding20260630_newsCard .xlbanker20260630_img {
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
}

#xlBanding20260630_newsCard .xlbanker20260630_img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    filter: contrast(1.1) brightness(0.95) !important;
}

#xlBanding20260630_newsCard .xlbanker20260630_content {
    padding: 12px 20px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

#xlBanding20260630_newsCard .xlbanker20260630_title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffdd00 !important;
    line-height: 1.5 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 10px 0 !important;
}

#xlBanding20260630_newsCard .xlbanker20260630_desc {
    font-size: 13px !important;
    color: #bbb !important;
    line-height: 1.5 !important;
}

#xlBanding20260630_newsCard .xlbanker20260630_date {
    font-size: 12px !important;
    color: #888 !important;
}

#xlBanding20260630_newsCard .xlbanker20260630_btn {
    margin-top: 6px !important;
    display: inline-block !important;
    padding: 8px 14px !important;
    background: linear-gradient(90deg, #ffdd00, #ff7b00) !important;
    color: #000 !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    text-align: center !important;
    width: fit-content !important;
}

.xlbanker20260630_sliderWrap{
    position:relative;
    max-width:500px;
    margin:0 auto;
}

.xlNewsArrow{
    position:absolute;
    bottom:-55px;
    top:auto;

    width:42px;
    height:42px;
}

.xlNewsPrev{
    left:calc(50% - 55px);
}

.xlNewsNext{
    right:calc(50% - 55px);
}





#crash-flash {
    position: absolute;
    inset: 0;
    background: red;
    opacity: 0;
    pointer-events: none;
    z-index: 200;
    transition: opacity 0.1s ease;
}

.crash-flash-active {
    animation: crashFlash 0.2s ease-in-out 2 !important;
}

@keyframes crashFlash {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
    }
}


#win-flash {
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    pointer-events: none;
    z-index: 200;
    transition: opacity 0.2s ease;
}

.win-flash-active {
    animation: winFlash 0.5s ease-out forwards;
}

@keyframes winFlash {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


#race-area.shake-scale-active {
    animation: shakeScale 0.5s ease-out;
}

@keyframes shakeScale {
    0% {
        transform: scale(1) translateX(0);
    }

    20% {
        transform: scale(0.96) translateX(-4px);
    }

    40% {
        transform: scale(0.98) translateX(4px);
    }

    60% {
        transform: scale(0.99) translateX(-3px);
    }

    80% {
        transform: scale(1.01) translateX(3px);
    }

    100% {
        transform: scale(1) translateX(0);
    }
}

.combo-fx-text {
    position: absolute;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: #00e5ff;
    text-shadow:
        0 0 10px #00e5ff,
        0 0 20px #00bcd4,
        0 0 40px #0097a7;
    pointer-events: none;
    z-index: 9999;
}

.speed-line {
    position: absolute;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #ffffffaa, transparent);
    opacity: 0.8;
    pointer-events: none;
    z-index: 9998;
}

.glow-btn {
    position: relative;
    padding: 14px 26px;
    margin: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #ff4d6d, #6c63ff, #00d4ff);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;

    
    animation: btnFloat 1.8s ease-in-out infinite,
        glowPulse 1.5s ease-in-out infinite;
    transition: transform 0.2s;
}


.glow-btn:hover {
    transform: scale(1.1);
}


@keyframes btnFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}


@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px #ff4d6d,
            0 0 10px #6c63ff;
        filter: brightness(1);
    }

    50% {
        box-shadow: 0 0 20px #00d4ff,
            0 0 40px #ff4d6d;
        filter: brightness(1.3);
    }

    100% {
        box-shadow: 0 0 5px #6c63ff,
            0 0 10px #ff4d6d;
        filter: brightness(1);
    }
}


.glow-btn:active {
    transform: scale(0.95);
}

.fail-text {
    color: #ff1a1a;
    font-size: 42px;
    font-weight: 600;
    text-align: center;

    
    text-shadow:
        0 0 5px #ff0000,
        0 0 15px #ff0000,
        0 0 30px #ff3b3b;

    
    animation: failShake 0.6s infinite, failGlow 1s infinite;
}


@keyframes failShake {
    0% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(-2px, -2px) scale(1.05);
    }

    50% {
        transform: translate(2px, 2px) scale(1.1);
    }

    75% {
        transform: translate(-1px, 1px) scale(1.05);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}


@keyframes failGlow {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.8);
    }

    100% {
        filter: brightness(1);
    }
}

.win-text {
    color: #ffe066;
    font-size: 42px;
    font-weight: 500;
    text-align: center;

    text-shadow:
        0 0 8px #fff3a0,
        0 0 18px #ffd700,
        0 0 30px #ffae00,
        0 0 50px #ff7b00;

    animation: winPop 0.8s ease-out, winGlow 1.2s infinite alternate;
}


@keyframes winPop {
    0% {
        transform: scale(0.5) translateY(20px);
        opacity: 0;
    }

    60% {
        transform: scale(1.2) translateY(-10px);
        opacity: 1;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}


@keyframes winGlow {
    0% {
        filter: brightness(1);
    }

    100% {
        filter: brightness(1.4);
    }
}


.game-ad-banner {
    margin: 20px 0 10px;
    padding: 12px 15px;
    text-align: center;
    background: linear-gradient(90deg,
            rgba(255, 221, 0, .08),
            rgba(255, 123, 0, .18),
            rgba(255, 221, 0, .08));
    border: 2px solid #ffdd00;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 10px rgba(255, 221, 0, .5),
        0 0 20px rgba(255, 123, 0, .4);

    animation:
        adGlow 1.5s ease-in-out infinite alternate,
        adFloat 2s ease-in-out infinite;
}

.game-ad-banner h2 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffdd00;
}



.game-ad-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;

    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .8),
            transparent);

    transform: skewX(-25deg);

    animation: adShine 2.5s linear infinite;
}

@keyframes adShine {
    100% {
        left: 140%;
    }
}

@keyframes adGlow {
    from {
        text-shadow:
            0 0 5px #ffdd00,
            0 0 15px #ff9900;
    }

    to {
        text-shadow:
            0 0 10px #fff,
            0 0 20px #ffdd00,
            0 0 35px #ff9900;
    }
}

@keyframes adFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width:480px) {
    .game-ad-banner {
        font-size: 15px;
        padding: 10px;
    }
}

.social-panel{
    max-width:500px !important;
    margin:0 auto !important;

    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;

    padding:15px;

    background:
    radial-gradient(circle at 20% 50%, rgba(255,0,80,.18), transparent 40%),
    radial-gradient(circle at 70% 50%, rgba(0,255,180,.15), transparent 40%),
    #12193a;

    border-radius:12px;
}

.social-panel a{
    width:38px;
    height:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:4px solid #ffea2f;
    border-radius:50%;

    color:#d8b32d;
    text-decoration:none;

    box-shadow:
    0 0 8px #ffea2f,
    0 0 18px rgba(255,234,47,.5);

    animation:socialGlow 1.5s infinite alternate;
    transition:.3s;
}

.social-panel a:hover{
    transform:translateY(-4px) scale(1.08);
}

.social-panel svg{
    width:16px;
    height:16px;
}

.social-panel span{
    font-size:16px;
    font-weight:700;
}

@keyframes socialGlow{
    from{
        box-shadow:
        0 0 8px #ffea2f,
        0 0 18px rgba(255,234,47,.4);
    }
    to{
        box-shadow:
        0 0 10px #ffea2f,
        0 0 10px #ffea2f,
        0 0 10px rgba(255,234,47,.9);
    }
}


.tuhundred-nav-20260702{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    padding:80px 5px 15px;
    margin-bottom: 20px;
}


.tuhundred-nav-link-20260702{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
    border-radius:12px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.15);
    backdrop-filter:blur(8px);
    transition:all .3s ease;
}


.tuhundred-nav-home-20260702{
    background:linear-gradient(135deg,#00f5ff,#0077ff);
    box-shadow:0 0 15px rgba(0,245,255,.5);
}


.tuhundred-nav-category-20260702{
    background:rgba(255,255,255,.08);
}


.tuhundred-nav-link-20260702:hover{
    transform:translateY(-3px) scale(1.05);
    color:#fff;
    text-decoration:none;
    box-shadow:
        0 0 10px rgba(0,255,255,.6),
        0 0 20px rgba(0,255,255,.4),
        0 0 40px rgba(0,255,255,.2);
}


.current-cat > a,
.current-menu-item > a{
    background:linear-gradient(135deg,#ff00cc,#7b2cff);
    box-shadow:0 0 20px rgba(255,0,204,.6);
}



#fail-overlay,
#win-overlay{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    z-index:999999;
    backdrop-filter:blur(8px);
}



#fail-overlay{
    background:
    radial-gradient(circle at center,
    rgba(255,80,80,.35),
    rgba(0,0,0,.95));
}

.fail-content{
    text-align:center;
    animation:failPop .6s ease;
}

.fail-emoji{
    font-size:120px;
    animation:bounce 1s infinite;
}

.fail-content h1{
    font-size:60px;
    color:#ff4444;
    margin:10px 0;
    text-shadow:
    0 0 20px red,
    0 0 50px red;
}

.fail-content p{
    font-size:24px;
    color:#fff;
}



#win-overlay{
    background:
    radial-gradient(circle,
    rgba(255,221,0,.25),
    rgba(0,0,0,.92));
}

.win-content{
    text-align:center;
    animation:winZoom .8s ease;
}

.win-title{
    font-size:72px;
    font-weight:900;
    color:#ffdd00;
    text-shadow:
    0 0 20px #ffdd00,
    0 0 60px #ff8800;
    animation:goldPulse 1s infinite;
}

 @media screen and (max-width:768px) {
							.win-title{
    font-size:42px;
    font-weight:900;
    color:#ffdd00;
    text-shadow:
    0 0 20px #ffdd00,
    0 0 60px #ff8800;
    animation:goldPulse 1s infinite;
}
						}

.win-sub{
    margin:20px 0;
    color:#fff;
    font-size:28px;
}



@keyframes bounce{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-25px);
    }
}

@keyframes failPop{
    from{
        transform:scale(.5);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

@keyframes winZoom{
    from{
        transform:scale(.3) rotate(-8deg);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}

@keyframes goldPulse{
    0%{
        transform:scale(1);
    }
    50%{
        transform:scale(1.08);
    }
    100%{
        transform:scale(1);
    }
}