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

body {
    font-family: 'Arial', sans-serif;
    background: #000;
    color: #fff;
    overflow: hidden;
    height: 100vh;
}

.menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
}

.menu h1 {
    font-size: 4rem;
    margin-bottom: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 350px;
}

.menu-btn {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 20px 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.menu-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.menu-btn:focus {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.instructions {
    max-width: 700px;
    margin-top: 2rem;
    text-align: left;
    line-height: 1.6;
    font-size: 1.1rem;
}

.instructions ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.instructions li {
    margin: 0.5rem 0;
}

.story {
    max-width: 800px;
    margin-top: 2rem;
    text-align: left;
    line-height: 1.8;
    font-size: 1.2rem;
}

.story h2 {
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
}

.story p {
    margin: 1.5rem 0;
    color: #ddd;
}

.game {
    height: 100vh;
    background: #000;
    position: relative;
}

.game-area {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tactile-text {
    color: #444;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 90%;
    line-height: 1.6;
}

.tactile-text.visible {
    opacity: 0.7;
}

.status-text {
    display: none;
}

.hidden {
    display: none !important;
}

/* High contrast mode for accessibility */
@media (prefers-contrast: high) {
    .tactile-text {
        color: #666;
    }
    
    .status-text {
        color: #444;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .menu-btn {
        transition: none;
    }
    
    .tactile-text {
        transition: none;
    }
}