:root {
    --steam-dark: #171A21;
    --steam-darker: #13161D;
    --steam-light: #66C0F4;
    --steam-lighter: #A2D149;
    --steam-grey: #C6D4DF;
    --steam-grey-darker: #546E7A;
    --success-green: #28a745;
    --warning-yellow: #ffc107;
    --danger-red: #dc3545;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    background-color: var(--steam-dark);
    color: var(--steam-grey);
    overflow-x: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

#introduction {
    background-color: var(--steam-darker);
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-out;
}

#introduction h1 {
    color: var(--steam-light);
    margin-bottom: 15px;
    font-size: 2.5em;
}

#introduction p {
    color: var(--steam-grey);
    font-size: 1.1em;
    line-height: 1.6;
}

.container {
    margin-top: 20px;
    background-color: var(--steam-darker);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

h1 {
    font-family: 'Roboto Condensed', sans-serif;
    color: white;
    text-align: center;
    margin-bottom: 0;
    padding: 0;
}

#searchInput {
    margin-bottom: 20px;
    background-color: var(--steam-dark);
    border: 1px solid var(--steam-grey-darker);
    color: var(--steam-grey);
    font-family: 'Roboto Condensed', sans-serif;
}

#searchInput::placeholder {
    color: var(--steam-grey);
    font-family: 'Roboto Condensed', sans-serif;
}

.listGroupItem {
    background-color: var(--steam-dark);
    border: 1px solid var(--steam-grey-darker);
    color: var(--steam-grey);
    margin-bottom: 10px;
    border-radius: 5px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    padding: 15px;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto Condensed', sans-serif;
}

.listGroupItem:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

.itemHeader {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.itemContent {
    flex-grow: 1;
    margin-left: 10px;
}

.itemContent strong {
    display: block;
    color: var(--steam-light);
    font-size: 1.1em;
    font-family: 'Roboto Condensed', sans-serif;
}

.itemCargo {
    font-size: 0.9em;
    color: var(--steam-grey-darker);
    font-style: italic;
    font-family: 'Roboto Condensed', sans-serif;
}

.itemDescription {
    font-size: 1em;
    color: var(--steam-grey);
    font-family: 'Roboto Condensed', sans-serif;
}

.listIcon {
    color: var(--steam-light);
    margin-right: 10px;
    width: 30px;
    text-align: center;
}

.hidden {
    display: none;
}

.galleryContainer {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-top: 10px;
}

.galleryImage {
    width: 120px;
    height: 120px;
    margin-right: 10px;
    border-radius: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
    object-fit: contain;
    object-position: center;
    background-color: black;
    cursor: pointer;
}

.galleryImage:hover {
    transform: scale(1.1);
}

.statusButton {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: bold;
    border: none;
    cursor: default;
    opacity: 0.8;
    pointer-events: none;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
}

.statusEx {
    background-color: var(--danger-red);
    color: white;
}

.statusBan {
    background-color: var(--warning-yellow);
    color: var(--steam-dark);
}

#screenshotButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--steam-light);
    color: var(--steam-dark);
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 1000;
    font-family: 'Roboto Condensed', sans-serif;
}

#screenshotButton:hover {
    background-color: var(--steam-lighter);
    transform: translateY(-2px);
}

#screenshotButton:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes rotate {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

#screenshotButton.capturing {
    animation: rotate 2s linear infinite;
}

.addedDate {
    font-size: 0.8em;
    color: var(--steam-grey-darker);
    margin-top: 5px;
    font-family: 'Roboto Condensed', sans-serif;
}

.ribbon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--danger-red);
    color: white;
    text-align: center;
    line-height: 60px;
    font-size: 1.5em;
    letter-spacing: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    z-index: 1;
    font-weight: bold;
    font-family: 'Roboto Condensed', sans-serif;
}

.contentBelowRibbon {
    margin-top: 70px;
}

#introduction p {
    font-family: 'Roboto Condensed', sans-serif;
}

.fullscreenOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.fullscreenOverlay.show {
    display: flex;
}

.imageSlider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.fullscreenOverlay .galleryContainer {
    width: 90%;
    max-height: 90%;
    position: relative;
    overflow: hidden;
}

.fullscreenOverlay .galleryContainer .imageSlider img {
    flex: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1002;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.arrowLeft {
    left: 10px;
}

.arrowRight {
    right: 10px;
}