body {
    font-family: 'Courier New', monospace;
    background-color: #0a0a0a;
    color: #00ff00;
    margin: 0;
    padding: 20px;
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.character-info,
.map,
.inventory {
    background-color: #1a1a1a;
    padding: 20px;
    border: 1px solid #00ff00;
    border-radius: 5px;
}

h2,
h3 {
    color: #00ff00;
    border-bottom: 1px solid #00ff00;
    padding-bottom: 10px;
}

.stats,
.energy {
    margin: 10px 0;
}

.controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

/* Button styling for both <a> and <button> */
a.button,
button.button,
button {
    background-color: #1a1a1a;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    font-family: inherit;
    font-size: inherit;
}

a.button:hover,
button.button:hover {
    background-color: #00ff00;
    color: #0a0a0a;
    text-decoration: none;
}

.inventory ul {
    list-style-type: none;
    padding: 0;
}

.inventory li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #00ff00;
}

.drop-button {
    background-color: #1a1a1a;
    color: #ff4444;
    border: 1px solid #ff4444;
    padding: 4px 8px;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.3s;
}

.drop-button:hover {
    background-color: #ff4444;
    color: #1a1a1a;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
    margin: 0 auto;
}

input {
    background-color: #1a1a1a;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 10px;
}

input:focus {
    outline: none;
    border-color: #00ff00;
}

/* Notify.js custom styling */
.notifyjs-corner {
    z-index: 9999;
}

.notifyjs-bootstrap-base {
    background-color: #1a1a1a !important;
    color: #00ff00 !important;
    border: 1px solid #00ff00 !important;
    font-family: 'Courier New', monospace !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.1);
    padding: 12px 20px !important;
    font-size: 1.1em !important;
}

.notifyjs-bootstrap-success {
    color: #00ff00 !important;
    border-color: #00ff00 !important;
}

.notifyjs-bootstrap-error {
    color: #ff4444 !important;
    border-color: #ff4444 !important;
}

.notifyjs-bootstrap-warn {
    color: #ffcc00 !important;
    border-color: #ffcc00 !important;
}

.notifyjs-bootstrap-info {
    color: #00ffff !important;
    border-color: #00ffff !important;
}

/* Custom notification bar */
.custom-notify {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background: #000;
    color: #00ff00;
    border-bottom: 2px solid #00ff00;
    z-index: 9999;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 1.2em;
    padding: 16px 0 16px 0;
    opacity: 0;
    transition: opacity 0.5s, top 0.5s;
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.1);
}

.custom-notify.success {
    border-bottom: 2px solid #00ff00;
    color: #00ff00;
}

.custom-notify.error {
    border-bottom: 2px solid #ff4444;
    color: #ff4444;
}

.custom-notify button {
    background: none;
    border: none;
    color: #00ff00;
    font-size: 1.2em;
    cursor: pointer;
    float: right;
    margin-right: 24px;
}

/* Level and experience bar */
.level-exp {
    margin-bottom: 16px;
}

.exp-bar-bg {
    position: relative;
    width: 220px;
    height: 22px;
    background: #111;
    border: 1px solid #00ff00;
    border-radius: 8px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

.exp-bar-fill {
    background: linear-gradient(90deg, #00ff00 0%, #007700 100%);
    height: 100%;
    width: 0;
    transition: width 0.5s;
}

.exp-bar-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    color: #00ff00;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-family: 'Courier New', monospace;
}

/* Health and Energy Bars */
.bar-bg {
    position: relative;
    width: 220px;
    height: 22px;
    background: #111;
    border: 1px solid #00ff00;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 6px;
    margin-top: 2px;
}

.bar-fill {
    height: 100%;
    transition: width 0.5s;
}

.hp-bar {
    background: linear-gradient(90deg, #00ff00 0%, #007700 100%);
}

.energy-bar {
    background: linear-gradient(90deg, #00fff0 0%, #007777 100%);
}

.bar-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    color: #00ff00;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-family: 'Courier New', monospace;
}

.location-info {
    margin: 20px 0;
    padding: 15px;
    background-color: #1a1a1a;
    border: 1px solid #00ff00;
    border-radius: 5px;
}

.location {
    margin: 10px 0;
    padding: 10px;
    background-color: #111;
    border: 1px solid #00ff00;
    border-radius: 3px;
}

.location p {
    margin: 5px 0;
}

.special-events {
    color: #00ffff;
    font-style: italic;
    margin-top: 5px;
}

.location button {
    margin-top: 10px;
    background-color: #1a1a1a;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.location button:hover {
    background-color: #00ff00;
    color: #1a1a1a;
}