@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&display=swap');
        
body {
    font-family: 'Libre Baskerville', serif;
    background-color: black;
    color: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-size: 22px;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.5px;
    overflow: hidden;
}

@media (max-width: 768px) {
    body {
        font-size: 18px;
    }
    #game {
        max-width: 95%;
        padding: 10px;
    }
    #controls {
        font-size: 14px;
    }
    #status {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    #game {
        max-width: 98%;
        padding: 8px;
    }
}

#game {
    max-width: 80%;
    padding: 20px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

#status {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: rgba(255,255,255,0.6);
}

#controls {
    margin-top: 20px;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
}

.touch-controls {
    display: none;
    margin-top: 20px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .touch-controls {
        display: flex;
    }
}

.touch-button {
    padding: 10px 15px;
    background-color: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-family: 'Libre Baskerville', serif;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.touch-button:active {
    transform: scale(0.95);
    background-color: rgba(40, 40, 40, 0.9);
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.glow {
    text-shadow: 0 0 15px rgba(255,255,255,0.7);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(255,255,255,0.3); }
    to { text-shadow: 0 0 20px rgba(255,255,255,0.9), 0 0 30px rgba(100,200,255,0.5); }
}

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

@viewport {
    width: device-width;
    zoom: 1.0;
}