body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}
header {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}
#help-button {
    position: fixed;
    top: 20px;
    right: 20px;
    
    background: #000;
    color: #fff;
    border: 2px solid #fff;

    width: 35px;
    height: 35px;
    border-radius: 5px;

    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1.2rem;

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    transition: all 0.2 ease;
}
#help-button:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    padding: 0 20px;
}
.search-container {
    width: 100%;
    max-width: 500px;
    position: relative;
}
.search-box {
    display: flex;
    gap: 0;
}
#search-input {
    flex: 1;
    padding: 15px;
    background: #000;
    color: #fff;
    font-family: inherit;
    border: 2px solid #fff;
    border-right: none;
}
#search-button {
    padding: 0 25px;
    background: #fff;
    color: #000;
    font-weight: bold;
    border: 2px solid #fff;
    cursor: pointer;
}
#search-button:hover {
    background: #000;
    color: #fff;
}
#guess-counter {
    text-align: center;
    margin-top: 20px;
    font-family: inherit;
    font-weight: lighter;
    color:#888;
}
#track-dropdown {
    max-height: 200px;
    overflow-y: auto;
    background: #000;
    border: 2px solid #fff;
    border-top: none;
    width: 100%;
    position: absolute;
    z-index: 10;
    top: 52px;
}
#track-dropdown.hidden {
    display: none;
}
/* Custom scrollbar */
#track-dropdown::-webkit-scrollbar {
    width: 8px;
}
#track-dropdown::-webkit-scrollbar-track {
    background: #000;
}
#track-dropdown::-webkit-scrollbar-thumb {
    background: #fff;
}
/* Dropdown items */
.dropdown-item {
    padding: 12px;
    border-bottom: 1px solid #333;
    cursor: pointer;
    text-transform: uppercase;
}
.dropdown-item:hover {
    background: #fff;
    color: #000;
}
/* Guess Rows */
#guesses-container {
    margin-top: 30px;
    width: 100%;
    max-width: 600px;
}
.guess-header, .guess-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.header-cell {
    flex: 1;
    text-align: center;
    font-weight: bold;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 5px;
    border-bottom: 2px solid #333;
}
.cell {
    flex: 1;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #333;
    font-size: 0.75rem;
    text-align: center;
    padding: 5px;
    background-color: #000;
    text-transform: uppercase;
    overflow: hidden;
    word-break: break-word;
}
.cell.correct {
    background-color: #6aaa64;
    border-color: #6aaa64;
}
.cell.incorrect {
    background-color: #3a3a3c;
    border-color: #3a3a3c;
}
.cell.near {
    background-color: #c9b458;
    border-color: #c9b458;
    color: #000;
}
/* Popup Win Modal */
.hidden {
    display: none !important;
}
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
}
.modal-content {
    position: relative;
    background: #111;
    padding: 40px;
    border: 3px solid #6aaa64;
    text-align: center;
    max-width: 400px;
    width: 90%;
}
.modal-hidden {
    display: none;
}
.art-placeholder {
    width: 200px; height: 200px;
    background: #333;
    margin: 20px auto;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; font-weight: bold;
}
#album-art {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 2px solid #fff;
}
.share-button {
    background: #6aaa64;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    font-weight: bold;
}
#close-x {
    position: absolute;
    top: 10px;
    right: 10px;

    background: none;
    border: none;
    color: #888;
    
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2 ease;
}
#close-x:hover {
    color: #fff;
}