body {
    margin: 0;
    padding: 0;

    font-family: 'Press Start 2P', 'PixelMplus10', monospace;
    color: #fff;
    text-shadow: 1px 1px #000;

    background: url('assets/bg.gif') no-repeat center center fixed;
    background-size: cover;

    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: none;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 100vh;
    padding: 20px 0; /* Space for header and footer */

    text-align: center;
}

.logo {
    max-width: 300px;
    margin-bottom: 20px;
}

.announcement-box {
    width: 100%;
    max-width: 700px; /* Wider box */
    margin-bottom: 20px;
    padding: 20px;

    background: linear-gradient(#3c2f2f, #2c241b);
    border: 6px solid #4a3c31;
    box-shadow:
        0 0 0 2px #7a6a5a,
        0 0 0 4px #3a2f27,
        0 0 0 6px #5a4a3a,
        0 0 10px rgb(0 0 0 / 80%);
}

.announcement-box h2 {
    margin: 0 0 12px;
    font-size: 18px; /* Slightly larger for wider box */
    color: #ffd700;
    text-align: center;
}

.play-link {
    display: inline-block;

    padding: 12px 24px;

    font-family: 'Press Start 2P', 'PixelMplus10', monospace;
    font-size: 14px; /* Adjusted for readability */
    line-height: 1.5;
    color: #000;
    text-decoration: none;
    text-shadow: none;
    letter-spacing: 1px;

    background: #ffd700;
    border: 2px solid #000;

    transition: background 0.2s;
}

.play-link:hover {
    background: #ff4500;
}

.checker-box {
    width: 100%;
    max-width: 700px; /* Wider box */
    padding: 20px;

    background: linear-gradient(#3c2f2f, #2c241b);
    border: 6px solid #4a3c31;
    box-shadow:
        0 0 0 2px #7a6a5a,
        0 0 0 4px #3a2f27,
        0 0 0 6px #5a4a3a,
        0 0 10px rgb(0 0 0 / 80%);
}

.checker-box h1 {
    margin-bottom: 15px;
    font-size: 22px; /* Slightly larger for wider box */
    color: #ffd700;
    text-align: center;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

input {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;

    font-family: 'Press Start 2P', 'PixelMplus10', monospace;
    font-size: 14px;
    color: #ffd700;

    background: #1a0f0a;
    border: 2px solid #ffd700;
    outline: none;
}

button {
    cursor: pointer;

    padding: 12px;

    font-family: 'Press Start 2P', 'PixelMplus10', monospace;
    font-size: 14px;
    color: #000;

    background: #ffd700;
    border: 2px solid #000;

    transition: background 0.2s;
}

button:hover {
    background: #ff4500;
}

.result {
    min-height: 50px;
    padding: 12px;

    font-size: 16px;
    color: #ffd700;

    background: rgb(0 0 0 / 70%);
    border: 2px solid #ffd700;
}

.music-toggle {
    cursor: pointer;

    position: fixed;
    top: 10px;
    right: 10px;

    padding: 8px;

    font-family: 'Press Start 2P', 'PixelMplus10', monospace;
    font-size: 12px;
    color: #000;

    background: #ffd700;
    border: 2px solid #000;
}

.music-toggle:hover {
    background: #ff4500;
}

.footer-box {
    width: 100%;
    max-width: 700px; /* Wider box */
    margin-top: 20px;
    padding: 20px;

    background: linear-gradient(#3c2f2f, #2c241b);
    border: 6px solid #4a3c31;
    box-shadow:
        0 0 0 2px #7a6a5a,
        0 0 0 4px #3a2f27,
        0 0 0 6px #5a4a3a,
        0 0 10px rgb(0 0 0 / 80%);
}

.footer-box h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #ffd700;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    display: inline-block;

    padding: 12px 24px;

    font-family: 'Press Start 2P', 'PixelMplus10', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    letter-spacing: 1px;

    background: #ffd700;
    border: 2px solid #000;

    transition: background 0.2s;
}

.footer-link:hover {
    background: #ff4500;
}

@media (width <= 768px) {
    .announcement-box,
    .checker-box,
    .footer-box {
        max-width: 90%;
        padding: 15px;
    }

    .logo {
        max-width: 200px;
    }

    .announcement-box h2,
    .checker-box h1,
    .footer-box h3 {
        font-size: 16px;
    }

    .play-link,
    .footer-link {
        padding: 10px 20px;
        font-size: 13px;
    }

    input,
    button,
    .result {
        font-size: 13px;
    }
}
