body {
    margin: 0;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.game-char {
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.1s;
}

#trex {
    width: 300px;
    height: 300px;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

#trex.chomping {
    transform: translateY(-50%) scale(1.1);
}

.raptor {
    right: -100px;
    z-index: 5;
}

#ui-container {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 24px;
    text-shadow: 2px 2px 4px #000;
    display: flex;
    flex-direction: column;
}

#special-attack-status {
    font-size: 18px;
    margin-top: 10px;
    color: #f1c40f;
    display: none;
}

#start-screen,
#game-over-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 100;
}

#game-over-screen {
    display: none;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

button {
    padding: 1rem 2rem;
    font-size: 1.5rem;
    color: #d35400;
    background: #fff;
    border: 3px solid #d35400;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

button:hover {
    background: #d35400;
    color: #fff;
}