/**
 * Fullscreen Game Button Styles
 */

/* Base Button Styles */
.fullscreen-game-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 9999;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    padding: 8px;
    transition: all 0.3s ease;
    opacity: 0.7;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.fullscreen-game-button:hover {
    opacity: 1;
}

.fullscreen-game-button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Position Variants */
.fullscreen-game-button.position-top-right {
    top: 10px;
    right: 10px;
}

.fullscreen-game-button.position-top-left {
    top: 10px;
    left: 10px;
}

.fullscreen-game-button.position-bottom-right {
    bottom: 10px;
    right: 10px;
}

.fullscreen-game-button.position-bottom-left {
    bottom: 10px;
    left: 10px;
}

/* Size Variants */
.fullscreen-game-button.size-small {
    padding: 5px;
}

.fullscreen-game-button.size-small .fullscreen-icon {
    width: 14px;
    height: 14px;
}

.fullscreen-game-button.size-medium {
    padding: 8px;
}

.fullscreen-game-button.size-medium .fullscreen-icon {
    width: 18px;
    height: 18px;
}

.fullscreen-game-button.size-large {
    padding: 12px;
}

.fullscreen-game-button.size-large .fullscreen-icon {
    width: 24px;
    height: 24px;
}

/* Icon Styles */
.fullscreen-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    position: relative;
}

/* Default Icon Style */
.icon-default .fullscreen-icon::before,
.icon-default .fullscreen-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
}

/* Default Icon - Not in fullscreen */
.icon-default:not(.is-active) .fullscreen-icon::before {
    width: 100%;
    height: 100%;
    border: 2px solid currentColor;
    box-sizing: border-box;
}

.icon-default:not(.is-active) .fullscreen-icon::after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 6px 6px;
    border-color: transparent transparent currentColor transparent;
    right: 0;
    bottom: 0;
    transform: translate(25%, 25%);
}

/* Default Icon - In fullscreen */
.icon-default.is-active .fullscreen-icon::before {
    width: 80%;
    height: 80%;
    border: 2px solid currentColor;
    box-sizing: border-box;
    top: 10%;
    left: 10%;
}

.icon-default.is-active .fullscreen-icon::after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 0;
    border-color: currentColor transparent transparent transparent;
    left: 0;
    top: 0;
    transform: translate(-25%, -25%);
}

/* Minimal Icon Style */
.icon-minimal .fullscreen-icon::before,
.icon-minimal .fullscreen-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
}

/* Minimal Icon - Not in fullscreen */
.icon-minimal:not(.is-active) .fullscreen-icon::before {
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    top: 0;
    right: 0;
}

.icon-minimal:not(.is-active) .fullscreen-icon::after {
    width: 6px;
    height: 6px;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    bottom: 0;
    left: 0;
}

/* Minimal Icon - In fullscreen */
.icon-minimal.is-active .fullscreen-icon::before {
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    top: 0;
    left: 0;
}

.icon-minimal.is-active .fullscreen-icon::after {
    width: 6px;
    height: 6px;
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    bottom: 0;
    right: 0;
}

/* Rounded Icon Style */
.icon-rounded .fullscreen-icon {
    border-radius: 50%;
    border: 2px solid currentColor;
}

.icon-rounded .fullscreen-icon::before,
.icon-rounded .fullscreen-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
}

/* Rounded Icon - Not in fullscreen */
.icon-rounded:not(.is-active) .fullscreen-icon::before {
    width: 8px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-rounded:not(.is-active) .fullscreen-icon::after {
    width: 2px;
    height: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Rounded Icon - In fullscreen */
.icon-rounded.is-active .fullscreen-icon::before {
    width: 8px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Text Style */
.fullscreen-text {
    margin-left: 6px;
    font-size: 14px;
    font-weight: 500;
}

.size-small .fullscreen-text {
    font-size: 12px;
}

.size-large .fullscreen-text {
    font-size: 16px;
}

/* Target Section Styles */
.fullscreenable-section {
    position: relative;
}