/*BACKGROUND IMAGE */
body {
    background-image: url('nebula-purple.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* keeps wallpaper still while scrolling down */

    margin: 0;
    padding: 0;
    height: 100dvh;
    overflow: hidden;
    font-family: "MS Sans Serif", Arial, sans-serif;
}

/* 98.CSS CUSTOMIZATION */
.window .title-bar {
    background: linear-gradient(90deg, #321D5E, #886AB5);

    color:#ffffff;
    text-shadow: 1px 1px #000000;
}
.window {
  margin-bottom: 38px !important;
  }

/* TASKBAR MENU */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 34px;
    background-color: #c0c0c0;
    padding: 0px 6px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    z-index: 100;
    border-top: 2px solid #ffffff;
}

.task-tabs-container {
    display: flex;
    gap: 4px;
    margin-left: 10px;
    flex-grow: 1;
}

.task-tabs {
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 12px;
    text-decoration: none;
    color: #000000;
    width: 140px;
    display: block;
    box-sizing: border-box;
    text-align: center;
}
.tast-tab,
.task-tab:link,
.task-tab:visited,
.task-tab:hover,
.task-tab:active{
    color: #493088 !important;
}

/* POP UP "ABOUT" START MENU */
.start-menu {
    display: none;
    position: fixed;
    bottom: 35px;
    left: 2px;
    width: 440px !important;
    height: 500px !important;
    max-height: 530px !important;
    z-index: 200;
    padding: 3px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.start-menu-top {
    height: 40px;
    background-color: #c0c0c0;
    color: #493088;
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
    border-bottom: 2px solid #808080;
}

.start-menu-content {
    display: flex;
    flex-grow: 1;
    width: 100%;
}

.start-menu-left {
    flex: 1;
    background-color: #000000;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0px !important;
    margin: 0px !important;
    box-sizing: border-box;
    overflow: hidden;
}

.start-menu-left img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 100% !important;
}

.start-menu-right {
    flex: 1;
    padding: 20px;
    background-color: #c0c0c0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #000000;
    box-sizing: border-box;
    border-left: 2px solid #808080;
}

.start-menu-right h3 {
    margin: 0 0 2px 0;
    font-size: 14px;
    color: #493088;
}

.start-menu-right .subtitle {
    font-size: 11px;
    color: #555555;
    margin-bottom: 15px;
}

.start-menu-right p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}
/* RECENT POSTS GRID */
#recent-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, 140px);
    gap: 10px;
}
#recent-posts li {
    border: 1px solid #000000;
    padding: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}
#recent-posts .post-date {
    font-size: 11px;
    color: #555555;
}
#recent-posts .post-tag {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #110823;
}
#recent-posts .post-link {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    color: #000000;
    text-decoration: underline;
    margin: 4px 0 10px 0;
    padding: 0 8px;
    box-sizing: border-box;
}
#recent-posts .post-link:hover {
    color: #886AB5;
}
#recent-posts .post-img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
}
#recent-posts .post-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 8px 8px 0 8px;
    box-sizing: border-box;
}

/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}
.gallery-item {
    background-color: #ffffff;
    border-radius: 0;
    border: 1px solid #555555;
}
.gallery-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.gallery-caption {
    padding: 5px;
    text-align: center;
}
.gallery-caption .game-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #886AB5;
    font-weight: bold;
    display: block;
    margin-bottom: 1px;
}

.start-menu-right p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

/* LIBRARY GRID & MENU*/
.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 140px);
    gap: 10px;
}
.library-item {
    border-radius: 0;
    border: 1px solid #555555;
}
.library-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
}
.library-title {
    padding: 5px;
    text-align: center;
    font-weight: bold;
}
.library-rating {
    padding: 5px;
    text-align: center;
    font-weight: bold;
}
menu[type="toolbar"].library-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    gap: 6px;
    border-bottom: 2px solid #555555;
}
menu[type="toolbar"].library-tabs li {
    padding: 6px 14px;
    cursor: pointer;
    background: #ffffff;
    border-top: 2px solid #555555;
    border-left: 2px solid #555555;
    border-right: 2px solid #555555;
    border-bottom: 2px solid #555555;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    position: relative;
    top: 2px;
    user-select: none;
}
menu[type="toolbar"].library-tabs li.active {
    border-bottom: 2px solid transparent;
    z-index: 2;
}
.library-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    text-align: center;
    color: #555555;
    padding-bottom: 4px;
}

/* TEXT STYLING */
.post-meta {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 10px;
}
.post-tag {
    text-transform: uppercase;
    background: #c0c0c0;
    color: #110823;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 10px;
}
.post-h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #493088;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}
.bingo-grid {
    border: 1px solid #110823;
}

/* REVIEW CONTENT */
.review-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.review-content .header
{
    display: flex;
    gap: 15px;
    align-items: center;
}
.review-content .header img {
    width: 140px;
    height: 210px;
    object-fit: cover;
    border: 1px solid #555555;
    flex-shrink: 0;
}
.review-content .meta-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.review-content .meta-spec {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    font-family: Georgia, serif;
}
.review-content .review-text {
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: left;
    font-family: Georgia, serif;
}
.review-content h3 {
    color:#493088;
    font-size: 1.3rem;
    margin-top: 35px;
    margin-bottom: 10px;
}
.review-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 100%;
}

/* BINGO */
.bingo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    width: 100%;
    height: 100%;
    background: #ffffff;
    box-sizing: border-box;
}
.bingo-cell {
    border: 1px solid #110823;
    font-size: 7.5px;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1px;
    box-sizing: border-box;
    color: #000000;
    word-break: break-word;
}
.bingo-cell.ongoing {
    background-color: #e0e0e0;
}
.bingo-cell.completed {
    background-color: #8d8399;
    color: #ffffff;
}