body {
    background: url('bg.webp') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.game-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
    width: 100vw;
    padding: 20px;
    box-sizing: border-box;
}

/* Boy on the left */
.boy-container {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left:-20px;
}

.boy-image {
    max-height: 100vh;
    max-width: 30vw;
    object-fit: contain;
}

/* Center area with doza and grid */
.center-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Title container */
.title-container {
    margin-bottom: 20px;
    text-align: center;
}

.title-image {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.doza-background {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doza-image {
    max-height: 70vh;
    max-width: 40vw;
    object-fit: contain;
}

.grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 3px solid #040707;
}

.cell {
    background: none;
    border-right: 3px solid #040707;
    border-bottom: 3px solid #040707;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.cell:nth-child(2n) {
    border-right: none;
}

.cell:nth-child(n+7) {
    border-bottom: none;
}

.cell.active {
    background: rgba(133, 188, 64, 0.9);
    border-color: #95d600;
    transform: scale(1.05);
}

/* Logostart on the right */
.logostart-container {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logostart-image {
    max-height: 80vh;
    max-width: 25vw;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logostart-image:hover {
    transform: scale(1.05);
}

/* Mobile responsive design */
@media (max-width: 768px) {
    .game-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .boy-container {
        order: 1;
        margin-bottom: 10px;
        display:none;
    }
    
    .center-container {
        order: 2;
        margin: 10px 0;
    }
    
    .logostart-container {
        order: 3;
        margin-top: 10px;
    }
    
    .boy-image,
    .logostart-image {
        max-height: 20vh;
        max-width: 80vw;
    }
    
    .title-image {
        max-width: 300px;
        margin-bottom: 10px;
    }
    
    .doza-image {
        max-height: 50vh;
        max-width: 80vw;
    }
    
    .grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        height: 100%;
    }
}

/* SweetAlert custom styles */
.swal-custom-popup {
    border: 2px solid #95d600 !important;
}

.swal2-popup {
    border-radius: 15px !important;
}

.swal2-title {
    color: #95d600 !important;
}
