.dungeon-splash {
    background-image: url('../images/dungeon-wall.png');
    background-repeat: repeat;
    border: 3px outset #808080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    box-sizing: border-box;
    min-height: 420px;
}

.splash-content {
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.enter-dungeon-btn {
    display: inline-block;
    background-color: #c0c0c0;
    color: #003300 !important;
    font-family: "MS Sans Serif", Geneva, sans-serif;
    font-size: 16pt;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 14px 30px;
    border: 5px outset #ffffff;
    text-shadow: 0 0 6px #33ff33;
    cursor: pointer;
    margin-top: 10px;
}

.enter-dungeon-btn:hover {
    background-color: #d0d0d0;
    color: #000080 !important;
}

.enter-dungeon-btn:active {
    border: 5px inset #ffffff;
    padding: 15px 29px 13px 31px;
}

.dungeon-vault {
    display: none;
}

.dungeon-banner {
    padding: 20px 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.dungeon-vault .dungeon-banner {
    background-image: url('../images/dungeon-wall.png');
    background-repeat: repeat;
    border: 3px outset #808080;
}

.dungeon-title {
    font-family: "Courier New", Courier, monospace;
    font-size: 34pt;
    font-weight: bold;
    color: #33ff33;
    text-shadow: 0 0 6px #33ff33, 0 0 14px #0f0, 2px 2px 0 #000;
    letter-spacing: 4px;
    text-align: center;
    margin: 0;
}

.dungeon-subtitle {
    display: block;
    font-family: "MS Sans Serif", Geneva, sans-serif;
    font-size: 11pt;
    color: #c0c0c0;
    text-shadow: 1px 1px 0 #000;
    letter-spacing: 2px;
    margin-top: 4px;
}

.dungeon-terminal {
    background: #051a05;
    border: 4px inset #808080;
    border-radius: 6px;
    padding: 18px 20px;
    margin: 0 auto 25px auto;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

.dungeon-terminal p {
    font-family: "Courier New", Courier, monospace;
    color: #33ff33;
    text-shadow: 0 0 6px rgba(51,255,51,0.6);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 10px 0;
    text-indent: 0;
    font-size: 16px;
}

.dungeon-terminal p:last-child {
    margin-bottom: 0;
}

.dungeon-terminal .scanlines {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%);
    background-size: 100% 3px;
    pointer-events: none;
}

.loot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 20px auto;
}

.loot-card {
    background-color: #c0c0c0;
    border: 3px outset #ffffff;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.loot-frame {
    background: #000;
    border: 2px inset #808080;
    padding: 10px;
    margin-bottom: 8px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loot-frame img {
    max-width: 100%;
    max-height: 130px;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 6px rgba(51,255,51,0.5));
}

.loot-name {
    font-family: "MS Sans Serif", Geneva, sans-serif;
    font-weight: bold;
    font-size: 11pt;
    color: #000;
    margin-bottom: 4px;
}

.loot-flavor {
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 10.5pt;
    color: #333;
    flex-grow: 1;
    margin-bottom: 8px;
}

.loot-meta {
    font-family: "Courier New", Courier, monospace;
    font-size: 8pt;
    color: #444;
    margin-bottom: 8px;
}

.loot-download-btn {
    display: inline-block;
    background-color: #c0c0c0;
    color: #000000 !important;
    text-decoration: none;
    font-family: "MS Sans Serif", Geneva, sans-serif;
    font-size: 10pt;
    font-weight: bold;
    padding: 4px 10px;
    border: 3px outset #ffffff;
}

.loot-download-btn:hover {
    background-color: #d0d0d0;
    color: #000080 !important;
}

.loot-download-btn:active {
    border: 3px inset #ffffff;
    padding: 5px 9px 3px 11px;
}
