body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    font-family: sans-serif;
    color: white;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* ミラーリング */
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#overlay h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
    background: -webkit-linear-gradient(45deg, #ff0055, #00eeff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.instructions {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.instructions h2 {
    margin-top: 0;
    font-size: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.instructions ul {
    list-style-type: none;
    padding-left: 0;
    line-height: 1.8;
}

.instructions li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.notice {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
    line-height: 1.5;
}

#startButton {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    background-color: #ff0055;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#startButton:hover {
    background-color: #ff3377;
}

.hidden {
    display: none !important;
}
