* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

img {
    max-width: 100%;
}

h1 {
    color: #43b7ff;
    text-align: center;
    padding: 40px;
}

ul {
    list-style: none;
}

.page-header {
    background-color: rgb(146, 146, 146);
}

.preview {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.preview video {
    background-color: black;
    width: 100%;
    border: 5px solid black;
    margin-top: 80px;
}

.screenshots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 40px;
    row-gap: 40px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.screenshot {
    max-width: 320px;
    min-width: 280px;
    border-radius: 20px;
    border: 5px solid black;
}

.screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.game-wrapper {
    margin-left: auto;
    margin-right: auto;
    background-color: black;
    margin-bottom: 80px;
}

.webgl {
    outline: none;
}

.page-footer p {
    background-color: black;
    color: white;
    padding: 100px;
    text-align: center;
}

.game-warpper {
    position: relative; 
}

.start-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    color: white;
    transition: opacity 0.5s;
    pointer-events: none; 
    opacity: 0;
}

.start-screen.active {
    opacity: 1;
    pointer-events: all; 
}

.start-screen h2 {
    color: #43b7ff;
    font-size: 3em;
    margin-bottom: 1em;
    text-shadow: 0 0 10px #43b7ff;
}

.start-button {
    padding: 12px 30px;
    font-size: 1.2em;
    background: transparent;
    border: 2px solid #43b7ff;
    color: #43b7ff;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s;
}

.start-button:hover {
    background: #43b7ff;
    color: black;
    transform: scale(1.1);
    box-shadow: 0 0 20px #43b7ff;
}

.score-display {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #43b7ff;
    font-size: 24px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 8px rgba(67, 183, 255, 0.7);
    z-index: 150;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #43b7ff;
}

.time-display {
    position: absolute;
    top: 20px;
    left: 800px;
    color: #43b7ff;
    font-size: 24px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 8px rgba(67, 183, 255, 0.7);
    z-index: 150;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #43b7ff;
}


.dashboard {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 15px;
    border: 2px solid #43b7ff;
    backdrop-filter: blur(5px);
    z-index: 200;
}

.speed-meter, .pitch-meter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.label {
    color: #43b7ff;
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value {
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(67, 183, 255, 0.7);
}

.unit {
    color: #43b7ff;
    font-size: 12px;
    margin-top: 2px;
}


.attitude-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(200%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #43b7ff;
    box-shadow: 0 0 20px rgba(67, 183, 255, 0.5);
    backdrop-filter: blur(5px);
}

.horizon {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.1s linear;
}

.pitch-lines {
    position: absolute;
    width: 100%;
    height: 400%;
    background: 
        linear-gradient(to bottom, 
            rgba(100, 150, 255, 0.3) 1px,
            transparent 1px);
    background-size: 100% 20px;
    transform: translateY(-50%);
}

.bank-indicator {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #ff4444;
    top: 50%;
    transform: translateY(-50%);
}

.center-mark {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #43b7ff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #43b7ff;
}

.health-display {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ff4444;
    font-size: 24px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.7);
    z-index: 150;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #ff4444;
}

.mini-map {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 200px;
    height: 200px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #43b7ff;
    border-radius: 10px;
    z-index: 200;
    backdrop-filter: blur(2px);
}

.map-canvas {
    width: 100%;
    height: 100%;
}
