body {
    margin: 0;
    padding: 0;
    background-color: #0b0e14;
    color: #e0e6ed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    width: 100%;
    padding: 1rem 2rem;
}

.back-link {
    color: #4a90e2;
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    text-decoration: underline;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    padding: 20px;
}

.game-container {
    background: #1a1f2b;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    text-align: center;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

h1 {
    margin: 0;
    font-size: 2rem;
    color: #4a90e2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stats {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

#score { color: #2ecc71; }
#health { color: #e74c3c; }

#game-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin: 0 auto;
    background: #000;
    border: 2px solid #34495e;
    border-radius: 8px;
    overflow: hidden;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}

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

.overlay.hidden {
    display: none;
}

.content {
    background: #1a1f2b;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #34495e;
    max-width: 400px;
}

button {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1.5rem;
}

button:hover {
    background: #357abd;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.site-footer {
    padding: 2rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Comments Section Styling */
.feedback-container {
    margin-top: 3rem;
    width: 100%;
    max-width: 800px;
}
