body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: 0;
    padding: 10px;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    backdrop-filter: blur(10px);
}

h1 {
    text-align: center;
    margin-bottom: 10px;
}

h3 {
    text-align: center;
    margin: 10px;
}

.status {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.connected {
    background: rgba(0, 255, 0, 0.2);
}

.disconnected {
    background: rgba(255, 0, 0, 0.2);
}

.gamepad-info {
    margin: 10px 0;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.controls-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.demo-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin: 10px auto;
    position: relative;
    transition: all 0.1s ease;
}

.circle.moving {
    background: rgba(255, 255, 0, 0.7);
    transform: scale(1.2);
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 300px;
    margin: 0 auto;
}

.button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.1s ease;
}

.button.pressed {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(0.9);
}

.axis-info {
    margin: 10px 0;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
}

@media (max-width: 600px) {
    .controls-demo {
        grid-template-columns: 1fr;
    }
}
