body {
    background-image: url('background_pattern.png');
    font-family: 'Comic Sans MS', cursive, sans-serif;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scrollbar from cursor trail */
}

#container {
    width: 800px;
    margin: 20px auto;
    background-color: #ffffff;
    border: 5px outset #00BFFF;
    padding: 15px;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.5);
}

header {
    text-align: center;
    border-bottom: 4px dashed #FF69B4;
    padding-bottom: 10px;
    background: linear-gradient(to bottom, #FFD700, #FFA500);
}

#logo {
    margin-top: 10px;
    width: 300px;
}

h1 {
    color: #FF1493;
    text-shadow: 3px 3px 0 #000000;
    font-size: 2.5em;
    margin: 0;
}

nav {
    text-align: center;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    display: inline;
    margin: 0 20px;
}

nav a {
    color: #0000FF;
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: underline;
    transition: color 0.2s;
}

nav a:hover {
    color: #FF00FF;
    text-decoration: none;
    background-color: yellow;
}

marquee {
    font-size: 1.1em;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #008000;
    padding: 5px;
    margin: 10px 0;
    border: 2px inset #ccc;
}

main {
    padding: 10px;
}

.section {
    background-color: #F0F8FF;
    border: 2px solid #87CEFA;
    padding: 15px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden; /* to contain floated elements */
}

h2 {
    color: #4B0082;
    font-size: 2em;
    text-decoration: underline wavy #FFA500;
}

.character-image {
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
    border: 3px inset #cccccc;
    width: 150px;
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 80px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.features ul {
    list-style-image: url('star_bullet.png');
    padding-left: 40px;
}

.features li {
    padding: 5px 0;
    font-size: 1.1em;
}

.download-section {
    text-align: center;
    background-color: #FFFFE0;
    border-color: #FFD700;
}

.download-button {
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.download-button:hover {
    transform: scale(1.1) rotate(-5deg);
}

footer {
    text-align: center;
    border-top: 4px dashed #FF69B4;
    padding-top: 10px;
    font-size: 0.9em;
    color: #555;
}

.construction-gif {
    width: 50px;
    vertical-align: middle;
    animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-20px);}
  60% {transform: translateY(-10px);}
}


#hit-counter {
    font-weight: bold;
    color: #FF0000;
    background-color: #000;
    padding: 2px 5px;
    border-radius: 5px;
}

.footer-badge {
    margin-top: 10px;
}

.sparkle {
    position: absolute;
    width: 15px;
    height: 15px;
    background-image: url('sparkle.png');
    background-size: contain;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.5s, transform 0.5s;
}

