.gameplay-tab {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #2192f3, #2192f3, #78c5fd, #cbe5ff);
    border: none;
    border-radius: 50px;
    color: #EEEEEE;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.gameplay-content {
    display: none;
    padding: 30px;
    overflow-y: auto;
    height: 100%;
}

.gameplay-content.active {
    display: block;
}

.gameplay-content h3 {
    font-size: 36px;
    color: #EEEEEE;
    text-align: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(33, 146, 243, 0.3), rgba(120, 197, 253, 0.3));
    border-radius: 10px;
    border: 3px solid rgba(203, 229, 255, 0.5);
    cursor: pointer;
    margin: 30px auto;
}

.custom-checkbox {
    width: 30px;
    height: 30px;
    border: 3px solid #cbe5ff;
    border-radius: 5px;
    background: linear-gradient(135deg, #2192f3, #78c5fd, #cbe5ff);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-checkbox.checked {
    background: linear-gradient(135deg, #cbe5ff, #333333);
}

.custom-checkbox.checked::after {
    content: '';
    width: 8px;
    height: 18px;
    border: solid #cbe5ff;
    border-width: 0 4px 4px 0;
    transform: rotate(40deg);
}

.checkbox-label {
    font-size: 24px;
    color: #EEEEEE;
    cursor: pointer;
    flex: 1;
}

.checkbox-description {
    font-size: 18px;
    color: #CCCCCC;
}

.hidden-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.grid-size-selector {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: nowrap;
}

.grid-size-button {
    flex: 1;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(33, 146, 243, 0.3), rgba(120, 197, 253, 0.3));
    border: 3px solid rgba(203, 229, 255, 0.5);
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.grid-size-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 146, 243, 0.2), rgba(120, 197, 253, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-size-button.active {
    background: linear-gradient(135deg, #2192f3, #78c5fd, #cbe5ff);
    border-color: #cbe5ff;
}

.grid-size-button.active::before {
    opacity: 0;
}

.grid-label {
    font-size: 36px;
    color: #EEEEEE;
    position: relative;
    z-index: 1;
}

.grid-size-button.active .grid-label {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.grid-description {
    font-size: 18px;
    color: #CCCCCC  ;
    position: relative;
    z-index: 1;
}

.grid-size-button.active .grid-description {
    color: #333333;
}

.option-label {
    display: block;
    text-align: center;
    font-size: 24px;
    color: #EEEEEE;
}

@media screen and (max-width: 768px) {
    .gameplay-content {
        padding: 30px 0;
        overflow: hidden;
    }

    .gameplay-tab {
        width: 100%;
        margin: auto;
        padding: 10px;
        justify-content: center;
    }

    .gameplay-content h3 {
        font-size: 24px;
    }

    .checkbox-label {
        font-size: 18px;
    }

    .checkbox-description {
        font-size: 14px;
    }

    .grid-size-selector {
        gap: 10px;
        margin-top: 20px;
    }

    .grid-label {
        font-size: 24px;
    }

    .grid-description {
        font-size: 14px;
    }

    .option-label {
        font-size: 18px;
    }
}