/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
 /*试玩灯箱&按钮 CSS*/
.iframe-bwb__content {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
}

.game-thumbnail {
    width: 100%;
    filter: blur(5px) brightness(50%);
    border-radius: 15px;
}

.button-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.iframe-bwb__button {
    width: 150px; /* Set width to 150px */
    padding: 10px 20px;
    font-size: 16px;
    background-color: #fcc40d;
    color: #ffffff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    margin: 5px 0;
    text-decoration: none; /* Ensures no underline for <a> elements */
    white-space: nowrap; /* Prevents text from wrapping */
}

/* Neon button effect for Play Real Money */
.light {
    position: relative;
    padding: 10px 20px; /* Match the padding with Play Demo button */
    color: #fcc40d; /* Neon light color */
    font-size: 16px; /* Match the font size with Play Demo button */
    letter-spacing: normal; /* Adjust the letter spacing */
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    background-color: transparent; /* Background color transparent */
    width: 150px; /* Set width to 150px */
    border-radius: 5px;
    text-align: center;
    margin: 5px 0;
    white-space: nowrap;
    font-family: Arial, sans-serif; /* Ensure consistent font family */
}

.light div {
    position: absolute;
}

.light div:nth-child(1) {
    width: 100%;
    height: 2px;
    top: 0;
    left: -100%;
    background: linear-gradient(to right, transparent, #fcc40d);
    animation: animate1 1s linear infinite;
}

.light div:nth-child(2) {
    width: 2px;
    height: 100%;
    top: -100%;
    right: 0;
    background: linear-gradient(to bottom, transparent, #fcc40d);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

.light div:nth-child(3) {
    width: 100%;
    height: 2px;
    bottom: 0;
    right: -100%;
    background: linear-gradient(to left, transparent, #fcc40d);
    animation: animate3 1s linear infinite;
    animation-delay: 0.5s;
}

.light div:nth-child(4) {
    width: 2px;
    height: 100%;
    bottom: -100%;
    left: 0;
    background: linear-gradient(to top, transparent, #fcc40d);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes animate1 {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

@keyframes animate2 {
    0% {
        top: -100%;
    }
    50%, 100% {
        top: 100%;
    }
}

@keyframes animate3 {
    0% {
        right: -100%;
    }
    50%, 100% {
        right: 100%;
    }
}

@keyframes animate4 {
    0% {
        bottom: -100%;
    }
    50%, 100% {
        bottom: 100%;
    }
}
