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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    color: #ffffff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    text-align: center;
    z-index: 10;
    position: relative;
}

h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(45deg, #666, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 40px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: 0.4s;
    border-radius: 40px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slider:before {
    position: absolute;
    content: "";
    height: 32px;
    width: 32px;
    left: 4px;
    bottom: 4px;
    background-color: #666;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

input:checked + .slider {
    background-color: #000;
}

input:checked + .slider:before {
    transform: translateX(40px);
    background-color: #333;
}

#blackscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: none;
    z-index: 9999;
    cursor: none;
}

#blackscreen-overlay.active {
    display: block;
}

.settings-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background-color: rgba(51, 51, 51, 0.8);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.settings-btn svg {
    width: 100%;
    height: 100%;
}

.settings-btn:hover {
    background-color: rgba(51, 51, 51, 1);
}

.settings-btn:hover svg {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.settings-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: rgba(20, 20, 20, 0.95);
    padding: 30px;
    transition: right 0.3s ease;
    z-index: 99;
    backdrop-filter: blur(10px);
}

.settings-panel.active {
    right: 0;
}

.settings-panel h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #fff;
}

.setting-item {
    margin-bottom: 1.5rem;
}

.setting-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #ccc;
}

.setting-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}