body {
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', monospace;
    overflow: hidden;
}

/* Simple loader for background image */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#gameCanvas {
    display: block;
    cursor: none;
    display: none;
}

#ui {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    z-index: 10;
}

#crosshair {
    position: absolute;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 5;
    transform: translate(-50%, -50%);
}

#crosshair::before,
#crosshair::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
}

#crosshair::before {
    top: 50%;
    left: 2px;
    right: 2px;
    height: 2px;
    transform: translateY(-50%);
}

#crosshair::after {
    left: 50%;
    top: 2px;
    bottom: 2px;
    width: 2px;
    transform: translateX(-50%);
}

#startScreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background0.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 30;
}

#disclaimer {
    display: none; /* Hidden by default on desktop */
    font-size: 16px;
    color: #ffcc00;
    background: rgba(0,0,0,0.7);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid #ffcc00;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Show disclaimer only on mobile devices */
@media (max-width: 768px) {
    #disclaimer {
        display: block;
    }
}

#iconsContainer {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 40;
}

.top-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.top-icon:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

#icon2 {
    width: 30px;
    height: 30px;
    margin-top: 3px;
}

#icon2:hover {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(29, 161, 242, 0.5));
}

#gameTitle {
    font-size: 72px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 0 20px #ff4444, 0 0 40px #ff4444;
    letter-spacing: 4px;
}

#subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: #333333;
}

#cryptoInfo {
    background: rgba(0,0,0,0.8);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    border: 1px solid #ff4444;
}

#cryptoAddress {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    cursor: pointer;
    border: 1px solid #555;
}

#cryptoAddress:hover {
    background: rgba(255,255,255,0.2);
}

#startButton {
    font-size: 24px;
    padding: 15px 40px;
    background: linear-gradient(45deg, #ff4444, #ff6666);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
    transition: all 0.3s ease;
}

#startButton:hover {
    background: linear-gradient(45deg, #ff6666, #ff8888);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.6);
}

#gameOver {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 24px;
    background: rgba(0,0,0,0.8);
    padding: 30px;
    border-radius: 10px;
    display: none;
    z-index: 20;
    width: 80%;
    max-width: 500px;
}

#shotTargetsHeader {
    margin-top: 20px;
    font-size: 20px;
}

#shotTargetsContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    max-height: 150px;
    overflow-y: auto;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 5px;
}

.shot-target-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shot-target-img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(29, 161, 242, 0.5);
}

#shotTargetsContainer a {
    display: inline-block;
    text-decoration: none;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

button.button {
    font-size: 18px;
    padding: 10px 20px;
    margin-top: 20px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button.button:hover {
    background: #ff6666;
}

button.play-again {
    background: transparent;
    border: 2px solid #ff4444;
    color: #ff4444;
}

button.play-again:hover {
    background: transparent;
    border: 2px solid #ff6666;
    color: #ff6666;
}

#nftPromo {
    color: #FFFF00;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    margin: 20px 0 10px 0;
    user-select: none;
    letter-spacing: 1px;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.9),
        0 0 3px rgba(255, 215, 0, 0.4);
}