* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
    height: 100vh;
    overflow: hidden;
}

.screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.screen.active {
    display: flex;
}

h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.buttons {
    display: flex;
    gap: 2rem;
}

.btn {
    padding: 1.5rem 3rem;
    font-size: 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn:hover {
    transform: scale(1.05);
}

.red {
    background-color: #ff4444;
    color: white;
}

.green {
    background-color: #44ff44;
    color: white;
}

#gameScreen {
    background-color: #fff;
}

#gameArea {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    overflow: hidden;
}

#player {
    position: absolute;
    bottom: 0;
    left: 50px;
    width: 50px;
    height: 50px;
    background-image: url('images/kitty-qos.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.obstacle {
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: 0;

    background:rgba(0, 0, 0, 0.8);
}


.obstacle.a {
    background: url('images/mr.a.png') no-repeat center center;
    background-size: contain;
}

.obstacle.b {
    background: url('images/mr.b.png') no-repeat center center;
    background-size: contain;
}

.obstacle.c {
    background: url('images/mr.c.png') no-repeat center center;
    background-size: contain;
}

.obstacle.d {
    background: url('images/mr.d.png') no-repeat center center;
    background-size: contain;
}

#score {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #333;
}

#gameOverScreen {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

#gameOverScreen h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

#finalScore {
    font-size: 2rem;
    margin-bottom: 2rem;
}

#playAgainBtn {
    padding: 1rem 2rem;
    font-size: 1.5rem;
    background-color: #44ff44;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
}

#confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

#ispScreen h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.isp-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.isp-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.isp-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.isp-icon img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.isp-icon span {
    font-size: 1.5rem;
    color: #333;
}

.isp-stats {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.stat-item {
    margin: 2px 0;
}

.stats {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
}

.stats p {
    margin: 8px 0;
    font-size: 16px;
    color: #fff;
} 