body {
    background-image: url('bg.png');
    background-repeat: repeat;
    font-family: "Comic Sans MS", "Chalkboard SE", "Comic Neue", sans-serif;
    color: #00FF00;
    text-align: center;
    margin: 0;
    padding: 0;
}

marquee {
    font-size: 24px;
    font-weight: bold;
    color: #FFFF00;
    border-bottom: 2px solid #00FF00;
    padding: 5px;
}

.main-container {
    width: 80%;
    margin: 50px auto;
    background-color: rgba(0, 0, 0, 0.8);
    border: 5px ridge #00FF00;
    padding: 20px;
}

.antigravity {
    animation: bobbing 3s infinite ease-in-out;
}

@keyframes bobbing {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

h1 {
    font-size: 48px;
    color: #FFFF00;
    text-shadow: 2px 2px #FF00FF;
    margin: 10px;
}

h2 {
    color: #00FF00;
}

p {
    font-size: 18px;
    line-height: 1.5;
}

.header-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.spinning-coin {
    width: 50px;
    height: 50px;
    animation: spin 2s infinite linear;
}

@keyframes spin {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

.win95-btn {
    background-color: #C0C0C0;
    color: black;
    font-family: "MS Sans Serif", Tahoma, sans-serif;
    font-weight: bold;
    font-size: 20px;
    padding: 10px 20px;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
    box-shadow: 2px 2px 5px #000000;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.win95-btn:hover {
    border-top: 2px solid #000000;
    border-left: 2px solid #000000;
    border-right: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    transform: translate(2px, 2px);
    box-shadow: none;
}

.hit-counter {
    background-color: black;
    color: red;
    font-family: "Courier New", monospace;
    font-size: 24px;
    border: 2px inset grey;
    display: inline-block;
    padding: 5px 10px;
    letter-spacing: 5px;
}

hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 255, 0, 0.75), rgba(0, 0, 0, 0));
}

.netscape-badge {
    width: 180px;
    height: auto;
    margin-top: 10px;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .main-container {
        width: 90%;
        margin: 20px auto;
        padding: 10px;
    }

    h1 {
        font-size: 32px;
    }

    .header-section {
        flex-direction: column;
        gap: 10px;
    }

    .spinning-coin {
        width: 40px;
        height: 40px;
        max-width: 40px;
        object-fit: contain;
    }

    p {
        font-size: 16px;
    }

    marquee {
        font-size: 18px;
    }

    .win95-btn {
        width: 100%;
        font-size: 18px;
    }
}

.flying-coin {
    width: 80px;
    position: fixed;
    z-index: -1;
    pointer-events: none;
    animation: erratic-flight 15s infinite linear;
}

@keyframes erratic-flight {
    0% {
        top: 10%;
        left: -10%;
        transform: rotate(0deg);
    }

    20% {
        top: 30%;
        left: 20%;
        transform: rotate(10deg);
    }

    40% {
        top: 10%;
        left: 50%;
        transform: rotate(-5deg);
    }

    60% {
        top: 80%;
        left: 80%;
        transform: rotate(15deg);
    }

    80% {
        top: 50%;
        left: 40%;
        transform: rotate(-10deg);
    }

    100% {
        top: 10%;
        left: 110%;
        transform: rotate(0deg);
    }
}