body,
html {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    font-family: 'Arial, sans-serif';
    color: #0ff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.container {
    position: relative;
    width: 100%;
    height: 56.25vw;
}

.main-menu,
.battle-scene,
.collections-scene {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 0.2vw solid #00f3ff;
    border-radius: 2vw;
}

.main-menu {
    background: url('../assets/images/background.png') no-repeat center center fixed;
    background-size: 100vw;
}

.title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5vw;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow:
        0 0 5px #00f3ff,
        0 0 10px #00f3ff,
        0 0 20px #00f3ff,
        0 0 30px #00f3ff,
        0 0 40px #00f3ff;
    color: #06427e;
    position: relative;
}

.play-button,
.collections-button,
.tutorial-button,
.resume-button {
    font-family: 'Orbitron', sans-serif;
    margin-top: 2vw;
    padding: 1vw 4vw;
    font-size: 1.5vw;
    border: 0.2vw solid #00f3ff;
    background: rgba(30, 144, 255, 0.2);
    color: #00f3ff;
    border-radius: 1vw;
    box-shadow:
        0 0 5px #076bf8,
        0 0 10px #076bf8,
        0 0 15px #076bf8,
        0 0 20px #076bf8,
        0 0 25px #076bf8;
    text-shadow:
        0 0 5px #076bf8,
        0 0 10px #076bf8,
        0 0 20px #076bf8;
    width: 19vw;
    text-align: center;
}

.play-button {
    margin-top: 9vw;
}

.play-button:hover,
.collections-button:hover,
.tutorial-button:hover,
.resume-button:hover {
    background: rgba(53, 129, 235, 0.8);
    color: #00e6e6;
    border: 0.2vw solid #00e6e6;
    box-shadow:
        0 0 8px #076bf8,
        0 0 15px #076bf8,
        0 0 22px #076bf8,
        0 0 29px #076bf8,
        0 0 36px #076bf8;
    text-shadow:
        0 0 8px #00e6e6,
        0 0 15px #00e6e6,
        0 0 22px #00e6e6;
}

.settings-button {
    position: absolute;
    top: 90px;
    right: 30px;
    padding: 0.1vw;
    background: transparent;
    border: none;
    color: #00f3ff;
    font-size: 1.5vw;
    cursor: pointer;
}

.settings-button:hover {
    background: rgba(53, 129, 235, 0.8);
    color: #00e6e6;
}


.chapter-level {
    position: absolute;
    top: 15%;
    right: 5%;
    font-family: 'Orbitron', sans-serif;
    color: #00f3ff;
    text-shadow:
        0 0 5px #076bf8,
        0 0 10px #076bf8,
        0 0 20px #076bf8;
    font-size: 1.2vw;
    width: 300px;
    background-color: #ff00003b;
    border: 0.2vw solid #00f3ff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.character-display {
    position: absolute;
    top: 35%;
    left: 2vw;
    width: 25%;
    height: 50%;
}

#battle-canvas,
#collections-canvas {
    border: 0.2vw solid #00f3ff;
    border-radius: 2vw;
}

.resume-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.little-table {
    padding: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.horizontal-line {
    width: 90%;
    border-top: 1px solid #00f3ff;
    margin: 5px auto;
}

.centered {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


img.centered {
    display: block;
    margin: auto;
}

.cash-display {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.circle {
    height: 50px;
    width: 50px;
    background-color: #eaa40b;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.cash-display {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cash-display h4 {
    margin-right: 10px;
}

.cash-display img {
    width: 30px;
    height: auto;
}

.new-highscore-icon {
    position: absolute;
    top: -50px;
    left: -50px;
    display: none;
    width: 100px;
    height: auto;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    position: relative;
    background-color: #082032;
    margin: 15% auto;
    padding: 20px;
    border: 2px solid #00f3ff;
    border-radius: 1vw;
    width: 30%;
    box-shadow: 0 4px 8px 0 rgba(0,0,255,0.2), 0 6px 20px 0 rgba(0,255,255,0.19);
    color: #00f3ff;
    font-family: 'Orbitron', sans-serif;
}

.close-button {
    color: #ff4563;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 1.5vw;
}

.close-button:hover {
    color: #ff2e63;
}

#reset-game-button {
    font-family: 'Orbitron', sans-serif;
    margin-top: 2vw;
    padding: 0.5vw 2vw;
    font-size: 1vw;
    color: #FFFFFF;
    background-color: #FF4563;
    border: none;
    border-radius: 0.5vw;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#reset-game-button:hover {
    background-color: #FF2E63;
}

.fullscreen-toggle-container {
    margin-top: 2vw;
    text-align: center;
}

#fullscreen-text {
    font-family: 'Orbitron', sans-serif;
    color: #FFFFFF;
    font-size: 1vw;
    cursor: default;
}

#promo-code-container {
    margin-top: 2vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1vw;
}

#promo-code-input {
    padding: 0.5vw 1vw;
    font-size: 1vw;
    border: 2px solid #00f3ff;
    background-color: #082032;
    color: #00f3ff;
    border-radius: 0.5vw;
    outline: none;
    font-family: 'Orbitron', sans-serif;
    width: 60%;
}

#promo-code-input::placeholder {
    color: #00f3ff;
    opacity: 0.7;
}

#promo-code-input:focus {
    border-color: #ff4563;
}

#promo-code-submit {
    padding: 0.5vw 2vw;
    font-size: 1vw;
    border: none;
    border-radius: 0.5vw;
    background-color: #00f3ff;
    color: #082032;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#promo-code-submit:hover {
    background-color: #ff4563;
    color: #FFFFFF;
}

#promo-code-submit:disabled {
    background-color: #555555;
    cursor: not-allowed;
}

.left-button, .right-button {
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 2vw;
    padding: 10px;
}

.left-button:hover, .right-button:hover {
    color: #FF4563;
}

#guide-image {
    max-width: 80%;
    height: auto;
}

.guide-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 500px;
}

.dots-container {
    text-align: center;
    padding: 10px 0;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #FF4563;
}

.audio-toggle-button {
    position: absolute;
    top: 90px;
    right: 90px;
    padding: 0.1vw;
    background: transparent;
    border: none;
    color: #00f3ff;
    font-size: 1.5vw;
    cursor: pointer;
}

.audio-toggle-button:hover {
    background: rgba(53, 129, 235, 0.8);
    color: #00e6e6;
}
