@font-face {
    font-family: 'RobloxFont';
    src: url('/RobloxFontRegular-X30AZ.ttf') format('truetype');
}

body {
    font-family: 'RobloxFont', 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', sans-serif;
    background-color: #e0e0e0;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

#loading-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    background-color: #f0f0f0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

#loading-screen .loading-gif {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

#loading-screen p {
    font-size: 1.2em;
    color: #555;
}

#game-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    max-width: 600px;
    width: 90%;
}

header {
    margin-bottom: 20px;
}

#logo {
    width: 150px;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
    border: 2px dashed #ccc; /* Budget border */
}

h1 {
    font-size: 1.8em;
    color: #d9534f; /* A 'Roblox-ish' red */
    margin-bottom: 10px;
}

#score-board {
    font-size: 1.5em;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#score {
    font-weight: bold;
    color: #5cb85c; /* Green for score */
}

#game-area {
    width: 100%;
    height: 400px;
    background-image: url('/IMG_0350.jpeg');
    background-size: 100px 100px; /* Tiled effect */
    background-repeat: repeat;
    border: 3px solid #aaa; /* Slightly thicker border */
    position: relative;
    overflow: hidden; /* Ensure Tix don't go outside */
    box-sizing: border-box;
}

.game-character {
    position: absolute;
    width: 100px; /* Adjust as needed */
    height: auto;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    image-rendering: pixelated; /* For that budget look */
}

.collectible-tix {
    position: absolute;
    width: 50px; /* Adjust as needed */
    height: auto;
    cursor: pointer;
    transition: transform 0.1s ease-out; /* Slight pop on hover/click */
    image-rendering: pixelated;
}

.collectible-tix:hover {
    transform: scale(1.1);
}

footer {
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
}

footer p {
    margin: 5px 0;
}

