* {
    -webkit-user-select: none;
    -webkit-user-drag: none;
    cursor: default;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --spacing: 20px;
    --text-color: #ffffff;
    --shadow: 0 4px 20px rgb(0 0 0 / 30%);
    --background-color: #0A0A0A;
}

html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-family: 'Lexend Deca', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-color);
    z-index: -1;
}

.content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: calc(var(--spacing) * 0.5);
    height: 100%;
    text-align: center;
    color: var(--text-color);
    padding: var(--spacing);
}

img {
    filter: drop-shadow(var(--shadow));
    margin-bottom: 5px;
}

.title {
    font-size: 3em;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.2em;
    font-weight: 400;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.status-container {
    margin: 10px 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-container p {
    font-size: 1.1em;
    margin: 0;
    padding: 12px 24px;
    background: #fff;
    color: #000;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

body:not(.state-on, .state-off) :is(.state-on, .state-off) {
    display: none;
}

body.state-on :is(.state-off, .state-unknown) {
    display: none;
}

body.state-off :is(.state-on, .state-unknown) {
    display: none;
}

button {
    font-size: 1.1em;
    font-weight: 600;
    padding: 12px 28px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    margin-top: 5px;
}

button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgb(0 0 0 / 40%);
}

button:active {
    transform: translateY(0);
    box-shadow: var(--shadow);
}
