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

html, body {
    background-color: #001f2a;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ad Bars */
.ad-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #001f2a;
    border-bottom: 3px solid #f5bd58;
    z-index: 100;
    flex-shrink: 0;
}

.ad-desktop {
    display: none;
}
.ad-mobile {
    display: flex;
    min-height: 56px;
}

@media (min-width: 768px) {
    .ad-desktop {
        display: flex;
        min-height: 96px;
    }
    .ad-mobile {
        display: none;
    }
}

/* Game Wrapper */
#game-wrapper {
    position: relative;
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

canvas {
    background-color: #000;
    display: block;
}

/* Back Button */
#back-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 200;
    background: rgba(0, 31, 42, 0.8);
    color: #f5bd58;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid #f5bd58;
    text-decoration: none;
    transition: transform 0.2s;
}
#back-btn:hover {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    #back-btn {
        top: auto;
        bottom: 10px;
        left: 10px;
    }
}
