body {
    font-family: 'Indie Flower', cursive;
    margin: 0px;
    background-color:#003333;
    font-weight: heavy;

}

.header {
    height: 50px;
    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: 10px;
    color: white;
}

.header p {
    margin: 0px;
}

.main {

    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: 30px;
}

.total-cappies p {
    margin: 0px;
    padding: 0px;
}

.play-shop {
    background-color: rgba(156, 97, 65, 1);
    max-width:100%;
    overflow:hidden;
}

.play-shop table {
    width: 100%;

}

.play-shop td {
    width: 50%;
    over-flow: hidden;
    border: 2px solid white;
    border-radius: 10px;
    overflow: hidden;
    padding: 0px;
}

.play-shop img {
    display: block;
    float: left;
    width: 50%;
    border: 1px solid white;
    border-radius: 10%;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
}

.play-shop-items {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    width: 50%;
    height: 100%;

}

.play-shop-items p {
    padding-left: 5px;
    padding-top: 5px;
    line-height: 1;
    margin: 0;
}

.play-shop-items button {
    all: unset;
    box-sizing: border-box;
    width: 100%;
    display: block;

    position: absolute;
    bottom: 0;       /* ← pins it to the bottom */
    left: 0;
    height: 30px;    /* ← fixed height you asked for */
    border-top: 1px solid white;
}



.play-shop-items p,
.play-shop-items button {
    margin: 0;                 /* Kills the gaps */
    line-height: 1;

}

.shop-row {
    display: flex;
    align-items: flex-start; /* keeps the top edges aligned */
    height: 90px;
}


.floating-plus {
    position: absolute;
    pointer-events: none;
    font-weight: bold;
    font-family: sans-serif; /* Or your preferred font */
    color: white;
    font-size: 30px;
    z-index: 9999;
    animation: floatUp 0.8s ease-out forwards;
    white-space: nowrap;  /* Stops the number from bunching up */
}


.auto-plus {
    font-size: 20px; /* 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;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px); /* Adjust how high it flies */
    }
}


