        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .text-shadow {
                text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
            }
            .card-hover {
                transition: all 0.3s ease;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            }
            .card-hover:hover {
                transform: translateY(-4px);
                box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
            }
            .nav-item {
                position: relative;
            }
            .nav-item::after {
                content: '';
                position: absolute;
                width: 0;
                height: 2px;
                bottom: -2px;
                left: 0;
                background: linear-gradient(90deg, #E6B8A2, #D4A574);
                transition: width 0.3s ease;
            }
            .nav-item:hover::after {
                width: 100%;
            }
            .cloud {
                position: absolute;
                background: rgba(255, 255, 255, 0.8);
                border-radius: 50%;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
                animation: cloudMove 25s linear infinite;
            }
            .cloud:before, .cloud:after {
                content: '';
                position: absolute;
                background: rgba(255, 255, 255, 0.8);
                border-radius: 50%;
            }
            .cloud:before {
                width: 70%;
                height: 70%;
                top: -40%;
                left: 15%;
            }
            .cloud:after {
                width: 50%;
                height: 50%;
                top: -25%;
                right: 15%;
            }
            .grass {
                background: linear-gradient(135deg, #C8D8E4 0%, #B8C6DB 50%, #A8B4C8 100%);
            }
            .cartoon-button {
                position: relative;
                border-radius: 12px;
                box-shadow: 0 4px 0 rgba(0,0,0,0.1);
                transition: all 0.2s ease;
                background: linear-gradient(135deg, #E6B8A2, #D4A574);
            }
            .cartoon-button:active {
                transform: translateY(2px);
                box-shadow: 0 2px 0 rgba(0,0,0,0.1);
            }
            .search-popup {
                transform: scale(0);
                opacity: 0;
                transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                transform-origin: top right;
                background: rgba(255, 255, 255, 0.95);
                backdrop-filter: blur(10px);
            }
            .search-popup.active {
                transform: scale(1);
                opacity: 1;
            }
            .soft-gradient-bg {
                background: linear-gradient(135deg, #F7E7CE 0%, #E8D5C4 25%, #D6C7B8 50%, #C4B5A0 75%, #B8A082 100%);
            }
            .soft-card-bg {
                background: linear-gradient(135deg, #FFFFFF 0%, #F8F6F3 50%, #F0EBE5 100%);
            }
            .soft-blue-bg {
                background: linear-gradient(135deg, #E8F4F8 0%, #D6E9F0 50%, #C4D7E0 100%);
            }
            .soft-pink-bg {
                background: linear-gradient(135deg, #F8E8E8 0%, #F0D6D6 50%, #E8C4C4 100%);
            }
            .soft-green-bg {
                background: linear-gradient(135deg, #E8F4E8 0%, #D6E9D6 50%, #C4D7C4 100%);
            }
        }
        
        
        
        
.pregame-main {
    width: 100%;
    height: max-content;
    min-width: 340px;
    border-radius: 20px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F6F3 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: 20px;
    padding: 20px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pregame-bg {
    width: 90%;
    height: 90%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px
}

.blurred-img {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 0;
    background-size: 100% auto;
    background-position: center;
    filter: blur(1px);
    opacity: 0.3;
}

@media only screen and (max-width: 500px) {
    .blurred-img {
        background-size:auto 100%
    }
}

.blurred-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(248, 246, 243, 0.3) 0%, rgba(240, 235, 229, 0.3) 100%);
}

.game-box {
    position: absolute;
    height: 100%;
    aspect-ratio: 181/150;
    background-repeat: no-repeat;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
    justify-content: center
}

.game-box-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.game-box-opacity {
    cursor: pointer
}

.game-box-opacity+div {
    pointer-events: none
}

@media (hover: hover) {
    .game-box-opacity:hover {
        opacity:.8;
        transform: translate(-50%,-50%) scale(1.02);
        transition: all 0.3s ease;
    }

    .game-box-opacity:hover+div {
        opacity: .9
    }
}

.play-btn-img {
    position: absolute;
    width: 80px;
    pointer-events: none;
    z-index: 3;
    bottom: -20px;
    right: -60px
}

.pregame-back {
    height: 100%;
    width: 100%
}

.pregame-name {
    font-size: 18px;
    margin: 30px 0 0;
    font-weight: 600;
    color: #6B5B73;
}

.pregame-img-container {
    position: relative;
    width: 70%;
    max-width: 293px;
    z-index: 3;
    margin-top: 68px
}

.pregame-main .pregame-info-container {
    z-index: 3;
    position: absolute;
    top: 8%;
    pointer-events: none;
    width: calc(90% - 12px)
}

.pregame-img-container img {
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.pregame-text {
    padding: 0 20px;
    font-size: 14px;
    max-height: 32px;
    overflow: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    color: #8B7E8A;
}

.pregame-text::-webkit-scrollbar {
    display: none
}

.pregame-name {
    font-size: 18px;
    margin: 15px 0 -15px;
    font-weight: 600;
    color: #6B5B73;
}

.pregame-img-container {
    position: relative;
    width: 50%;
    max-width: 200px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center
}

.GameNameText {
    display: flex;
    align-items: center;
    justify-content: center
}

.GameNameText-span {
    vertical-align: middle;
    color: #6B5B73;
    font-size: 16px;
    font-weight: 600;
    line-height: 30px;
    width: 100%;
    max-width: 100%;
    height: 30px;
    margin-top: -10px;
    overflow: hidden;
    display: inline-block;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical
}

.bottom-info {
    background: linear-gradient(135deg, #E8F4F8 0%, #D6E9F0 100%);
    color: #5A6C7D;
    text-align: left;
    padding: 30px 20px;
    border-radius: 16px;
    margin: 10px 0;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

@media only screen and (max-width: 700px) {
    .pregame-main {
        border-radius: 16px;
    }
}

@media only screen and (max-width: 500px) {
    .pregame-name {
        font-size:14px;
        margin: 10px 0 -3px
    }
}

.play-btn {
    position: absolute;
    bottom: -33px;
    right: -65px;
    z-index: 1000
}

.play-triangle {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E6B8A2 0%, #D4A574 100%);
    border-radius: 50%;
    box-shadow: 0 6px 0 #C49A84, 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.play-triangle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #C49A84, 0 12px 20px rgba(0, 0, 0, 0.2);
}

.play-triangle .triangle-svg {
    margin-left: 3px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}







