
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #1a1a2e, #16213e);
    font-family: 'Arial', sans-serif;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#manual-container {
    max-width: 1300px;
    width: 1000px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00aaff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
}


#manual-header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #00eaff;
}

#manual-header .highlight {
    color: #ffa500;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.7);
}

#manual-header p {
    font-size: 1.2rem;
    color: #ddd;
}


#instruction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.instruction-item {
    background: rgba(0, 20, 40, 0.8);
    border: 2px solid #00eaff;
    border-radius: 10px;
    padding: 15px;
    position: relative;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instruction-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.instruction-item h2 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #ffa500;
}

.instruction-item p {
    font-size: 1rem;
    color: #ddd;
}


.icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background-size: cover;
    border: 2px solid #ffa500;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.crossbow {
    background: url('assets/crossbow.png') center/contain no-repeat;
}

.balloon {
    background: url('assets/red.png') center/contain no-repeat;
}

.enemy {
    background: url('assets/enemy.gif') center/contain no-repeat;
}

.powerup {
    background: url('assets/multi.png') center/contain no-repeat;
}
p img {
    width: 25px;
    height: 25px;
}

.tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


#manual-footer {
    margin-top: 20px;
}

#start-game {
    background: linear-gradient(45deg, #ffa500, #ff4500);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.5);
}

#start-game:hover {
    background: linear-gradient(45deg, #ff4500, #ffa500);
    transform: scale(1.1);
}
