/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial Rounded MT Bold', 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to bottom, #67b0d1, #89cff0);
    overflow: hidden;
}

#game-container {
    position: relative;
    width: 360px;
    height: 640px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

#game-canvas {
    background-color: #70c5ce;
    width: 100%;
    height: 100%;
}

#start-screen, #game-over {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    z-index: 10;
}

#game-over {
    display: none;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #f1c40f;
    text-shadow: 3px 3px 0 #000;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

button {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    background-color: #f1c40f;
    color: #2c3e50;
    cursor: pointer;
    box-shadow: 0 5px 0 #d35400;
    transition: all 0.1s;
    margin-top: 20px;
}

.bibek {
    padding: 5px 10px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    background-color: #ffff99;
    color: #2c3e50;
    cursor: pointer;
    box-shadow: 0 5px 0 #d35400;
    transition: all 0.1s;
    margin-top: 20px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #d35400;
}

button:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #d35400;
}

#score-display {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 3px 3px 0 #000;
    z-index: 5;
}

.final-score {
    font-size: 3rem;
    color: #f1c40f;
    margin: 20px 0;
    text-shadow: 2px 2px 0 #000;
}

.medal {
    font-size: 5rem;
    margin-bottom: 20px;
}

.pipe-info {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 20px;
}

.pipe-demo {
    width: 80px;
    height: 200px;
    position: relative;
}

.pipe-top {
    position: absolute;
    top: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to right, #2ecc71, #27ae60);
    border-bottom: 5px solid #1e8449;
    border-radius: 5px 5px 0 0;
}

.pipe-body {
    position: absolute;
    top: 40px;
    width: 100%;
    height: 160px;
    background: linear-gradient(to right, #2ecc71, #27ae60);
    border-left: 5px solid #1e8449;
    border-right: 5px solid #1e8449;
}

.ground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, #e67e22, #d35400);
    border-top: 10px solid #ba4a00;
    z-index: 4;
}

.cloud {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0.9;
}

.bird {
    position: absolute;
    background: linear-gradient(to bottom, #ffeb3b, #f1c40f);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.eye {
    position: absolute;
    background-color: white;
    border-radius: 50%;
}

.pupil {
    position: absolute;
    background-color: black;
    border-radius: 50%;
}

.beak {
    position: absolute;
    background-color: #e67e22;
}