@font-face {
    font-family: 'GameFont';
    src: url('../fonts/HNS.ttf') format('truetype');
}

:root {
    --primary-color: #ff3b3b;
    --secondary-color: #333;
    --gradient-bg: linear-gradient(180deg, #fff200 0%, #7be0ff 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'GameFont', sans-serif;
    background: var(--gradient-bg);
    min-height: 100vh;
    margin-left: 0px;
}

.container {
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
}

.game-header {
    text-align: center;
    margin-bottom: 10px;
}

.logo {
    /*max-width: 80%;*/
    height: auto;
}



.game-info{
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction:column;
    margin: 0px;
    gap: 0px;    
}




.reservation-info {
    background: transparent;
    border-radius: 15px;
    padding: 0px;
    width: 380px;
    position: relative;
    align-content: center;
}


.reward-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-bottom: 20px;
    background: rgba(74, 74, 74, 0.6);
    color: white;
    border-radius: 8px;
    width: 380px;
}

.reward-box {
    padding: 10px;
    text-align: center;
}

.reservation-form {
    text-align: center;
    margin-bottom: 30px;
}

.reservation-form h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.input_text {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 3px solid #000;
    border-radius: 5px;
    font-family: GameFont;
}

.verification-group {
    display: flex;
    gap: 0px;
    margin-bottom: 15px;
    border: 3px solid #000;
    border-radius: 5px;
}

.verification-group input {
    flex: 1;
    margin-bottom: 0;
    border: 0px;
    padding: 12px;
    font-family: GameFont;
    border-radius: 0px;
}

.verify-btn {
    background: white;
    color: rgb(67, 7, 233);
    border: none;
    padding: 0 15px;
    margin-left: -18px;
    border-radius: 0px;
    white-space: nowrap;
    cursor:pointer;
    font-family: GameFont;
}


.submit-btn {
    background-image: url(../images/button_reserve@2x.png);
    background-color: transparent;
    /*color: white;*/
    width: 194px;
    height: 49px;
    padding: 0px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    background-size: contain;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 100px;
    height: 100px;
}

.qq-group {
    text-align: right;
}

.join-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 5px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    /*.game-scene {
        height: 50vh;
    }*/

    /*.reward-boxes {
        grid-template-columns: repeat(4, 1fr);
    }*/

    .game-content{
        display: flex;
        align-content: center;
        justify-content: center;
        flex-direction:column;
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .game-content{
        display: flex;
        align-content: center;
        justify-content: center;
        flex-direction:row;
        gap: 60px;
    }
}

.rule-button-container {
    position: relative;
    margin-left: 300px;
}

.rule-button{
    background-color: transparent;
    width: 74px;
    height: 24px;
    padding: 0px;
    border: none;
    cursor: pointer;
}

.completed-message{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    font-family: GameFont;
    font-size: 26px;
    color: #DEDE00;
    background-color: transparent;
    width: 380px;
    height: 60px;
    text-shadow: 2px 2px 4px black,
                -2px -2px 4px black,
                2px -2px 4px black,
                -2px 2px 4px black;
}

.waiting-message{
    display: flex;
    /*visibility:hidden;*/
    flex-direction: row;
    align-content: center;
    justify-content: center;
    background-color: transparent;
    width: 380px;
    height: 90px;
}

.success-message{
    display: flex;
    /*visibility: hidden;*/
    flex-direction: row;
    align-content: center;
    justify-content: center;
    font-family: GameFont;
    font-size: 26px;
    color: #FFFFFF;
    background-color: transparent;
    width: 380px;
    height: 90px;
}


