body {
    font-family: 'Indie Flower', cursive;
    margin: 0px;
    background-color:#003333;
    font-weight: heavy;

}

.header {
    height: 150px;
    width: 100%;
    background-color: #502d16;


    margin: 0px;
    padding: 0px;
    border: 1px solid rgba(156, 97, 65, 1);
    border-radius: 0 0 40px 40px;
    overflow: hidden;

    align-content: center;
    text-align:center;
    font-size: 30px;
    color: white;
}

.header p {
    margin: 0px;
}

.main {
    width: 100%;
    margin-right: auto;
    margin-left: auto;

    background-image: url("images/background.jpg");
    background-size: 120%;               /* slightly zoomed in */
    background-repeat: no-repeat;
    background-position: bottom left;    /* bottom of image stays aligned */

    animation: pan 20s linear infinite alternate;
}

@keyframes pan {
    0% {
        background-position: bottom left;
    }
    100% {
        background-position: bottom right;
    }
}



.main-btn {
    display: block; /* this is the missing piece */
    background: none;
    overflow: hidden;
    border: none;
    border-radius: 100%;
    padding: 0;
    outline: none;
    appearance: none;
    -webkit-appearance: none; /* for Safari */

    overflow: hidden;
    margin-right: auto;
    margin-left: auto;
}

.main-btn img {
    width: 50%;
}

.main p {
    display: block; /* this is the missing piece */
    margin-right: auto;
    margin-left: auto;
    margin-top: 0px;
}

.total-cappies {
    width: 100%;
    align-content: center;
    text-align: center;
    font-weight: bold;
    color: white;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    background-color: #502d16;
    margin: 0px;
    padding: 0px;
    border-radius: 40px 040px 0px 0px;
    overflow: hidden;
    font-size: 60px;
}

.total-cappies p {
    margin: 0px;
    padding: 0px;
}

.play-shop {
    background-color: rgba(156, 97, 65, 1);
}


.play-shop-items {
    display: inline-block;
    vertical-align: top; /* This is the secret sauce */
    width: 55.6%;
    height: 200px;
    padding: 0;
}

.play-shop table {
    width: 100%;

}

.play-shop td {
    width: 50%;
    over-flow: hidden;
    border: 5px solid white;
}

.play-shop img {
    display: block;
    float: left;
    height: 200px;
    border: 4px solid white;
    border-radius: 10%;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
}




.play-shop-items {
    display: inline-flex;       /* Keeps it inline with the image */
    flex-direction: column;    /* Stacks items vertically */
    justify-content: space-between; /* Spreads them out evenly (top, middle, bottom) */

    vertical-align: top;
    width: 55.6%;
    height: 200px;             /* Matches your image height */
    padding: 0;
    margin: 0;

    font-size: 50px;
    overflow: hidden;
}

.play-shop-items p,
.play-shop-items button {
    margin: 0;                 /* Kills the gaps */
    width: 100%;               /* Forces full width */
}

.play-shop-items p {
    margin-left: 10px;         /* Keeps your text indentation */
    flex-grow: 1;              /* Tells the paragraphs to take up available space */
    display: flex;             /* Lets us center the text vertically inside the P */
    align-items: center;
}

.play-shop-items button {
    height: 30%;
    padding: 0;
    background: none;
    font-size: 30px;
    border: 5px solid black;
    background-color: #502d16;
}

.floating-plus {
    position: absolute;
    pointer-events: none;
    font-weight: bold;
    font-family: sans-serif; /* Or your preferred font */
    color: white;
    font-size: 60px;
    z-index: 9999;
    animation: floatUp 0.8s ease-out forwards;
    white-space: nowrap;  /* Stops the number from bunching up */
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px); /* Adjust how high it flies */
    }
}

.auto-plus {
    font-size: 50px; /* Smaller than the main +1 */
    opacity: 0.8;
    color: black; /* Blueish color so you know it's the auto-clicker */
    z-index: 1000;
}

/* Critical hit style */
.crit-hit {
    color: #990000 !important; /* Bright Red */
    font-weight: heavy;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    z-index: 9999;
}


