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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
}

.container {
    display: flex;
    height: 100vh;
}

.info-panel {
    width: 400px;
    background: #1a1a1a;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: #cccccc;
    line-height: 1.6;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-size: 0.9rem;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="range"] {
    width: 100%;
    height: 4px;
    background: #333333;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

#frequencyDisplay {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn {
    background: #ffffff;
    color: #000000;
}

.btn:hover {
    background: #cccccc;
}

.btn.secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #333333;
}

.btn.secondary:hover {
    background: #333333;
}

.info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#currentStatus {
    font-weight: 600;
    color: #00ff88;
}

.flicker-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    transition: background-color 0.1s ease;
    cursor: pointer;
}

.flicker-area.active {
    background: #ffffff;
}

.flicker-content {
    text-align: center;
    opacity: 0.7;
}

.flicker-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.flicker-content p {
    font-size: 1.5rem;
    color: #ffffff;
}

.flicker-area.active .flicker-content p {
    color: #000000;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .info-panel {
        width: 100%;
        height: auto;
        max-height: 50vh;
    }
    
    .flicker-area {
        height: 50vh;
    }
}

