@font-face {
    font-family: 'Pixelify Sans';
    src: url('https://fonts.cdnfonts.com/s/72921/PixelifySans-Regular.woff') format('woff');
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #333;
    background-image: url(https://opengameart.org/sites/default/files/5_71.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Pixelify Sans', monospace, sans-serif;
    color: #f0f0f0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-header {
    width: 100%;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-box {
    background-image: url('https://i.pinimg.com/originals/2e/99/66/2e996671ac787cdb6640ae8463f693aa.gif');
    background-repeat: repeat;
    border: 3px solid #f0f0f0;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 90%;
    margin: 0 auto;
}

.header-box h1 a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1.8em;
}

.header-box nav a {
    color: #f0f0f0;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}

.header-box nav a:hover {
    color: #ffcc00;
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr 500px 1fr;
    grid-gap: 40px;
    width: 90%;
    max-width: 1200px;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-grow: 1;
    align-items: flex-start;
}

.left-column,
.right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.column-box {
    background-color: #C0C0C0;
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    padding: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    color: #000000;
}

.column-box h2 {
    border-bottom: 2px solid #808080;
    padding-bottom: 10px;
    margin-top: 0;
    color: #000000;
}

.column-box a {
    display: block;
    color: #000000;
    text-decoration: none;
    padding: 5px 0;
}

.column-box a:hover {
    color: #000080;
}

.column-box p {
    line-height: 1.6;
}

.gif-style {
    max-width: 100%;
    height: auto;
    border: 3px solid #f0f0f0;
    margin-top: 10px;
    box-shadow: 2px 2px 0 #561d19;
}

.site-main {
    justify-self: center;
    margin-top: 50px;
}

.content-box {
    background-color: #925320;
    border: 3px solid #f0f0f0;
    box-shadow: 5px 5px 0 #561d19;
    padding: 20px;
    animation: blink-shadow 2s infinite;
}

.content-box h2 {
    border-bottom: 2px solid #561d1d;
    padding-bottom: 10px;
    margin-top: 0;
}

.content-box p {
    line-height: 1.6;
}

@keyframes blink-shadow {
    0% {
        box-shadow: 5px 5px 0 #925320;
    }
    50% {
        box-shadow: 5px 5px 0 #561d19;
    }
    100% {
        box-shadow: 5px 5px 0 #925320;
    }
}

.circle-container {
    width: 500px;
    height: 500px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    background-image: url('https://i.pinimg.com/originals/2e/99/66/2e996671ac787cdb6640ae8463f693aa.gif');
    background-repeat: repeat;
    background-size: auto;
    box-shadow: 0 0 0 10px #f0f0f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    image-rendering: pixelated;
}

.quadrant {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    font-size: 2em;
    font-weight: bold;
    color: #f0f0f0;
    transition: background-color 0.3s ease;
    border-right: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    background-color: rgba(0, 102, 204, 0.5);
}

.quadrant-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    image-rendering: pixelated;
}

.rules-quadrant .quadrant-icon,
.about-quadrant .quadrant-icon {
    order: 1;
    margin-bottom: 0;
    margin-top: 10px;
}

.reviews-quadrant {
    grid-area: 1 / 1 / 2 / 2;
    border-bottom: 2px solid #f0f0f0;
}

.reviews-quadrant:hover {
    background-color: rgba(255, 153, 0, 0.7);
}

.lists-quadrant {
    grid-area: 1 / 2 / 2 / 3;
    border-left: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.lists-quadrant:hover {
    background-color: rgba(0, 179, 0, 0.7);
}

.rules-quadrant {
    grid-area: 2 / 1 / 3 / 2;
    border-right: 2px solid #f0f0f0;
    border-top: 2px solid #f0f0f0;
}

.rules-quadrant:hover {
    background-color: rgba(204, 0, 0, 0.7);
}

.about-quadrant {
    grid-area: 2 / 2 / 3 / 3;
    border-left: 2px solid #f0f0f0;
    border-top: 2px solid #f0f0f0;
}

.about-quadrant:hover {
    background-color: rgba(0, 102, 204, 0.7);
}

/* Review Page Specific Styles */
.reviews-page-layout {
    /* Use a simple flex column layout for the reviews page to stack items */
    display: flex;
    flex-direction: column; /* Stack reviews vertically */
    align-items: center; /* Center them horizontally */
    padding: 20px;
    width: 90%; /* Ensure it uses a good portion of the page */
    max-width: 900px; /* Limit max width for readability */
    margin: 20px auto; /* Center the layout on the page */
}

.reviews-container {
    display: grid;
    grid-template-columns: 1fr; /* Single column for reviews by default */
    gap: 30px; /* Space between review boxes */
    width: 100%; /* Take full width of its parent (.reviews-page-layout) */
}

/* Adjust grid for larger screens to have two columns */
@media (min-width: 768px) {
    .reviews-container {
        grid-template-columns: 1fr 1fr; /* Two columns on larger screens */
    }
}


.review-box {
    background-color: #C0C0C0; /* Windows 95 gray */
    border-top: 2px solid #FFFFFF;
    border-left: 2px solid #FFFFFF;
    border-right: 2px solid #808080;
    border-bottom: 2px solid #808080;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    padding: 15px;
    color: #000000;
    display: flex; /* Use flexbox for internal layout of review box */
    flex-direction: column; /* Stack header and body */
    height: auto; /* Allow box to grow with content */
}

.review-box .review-header {
    display: flex;
    align-items: flex-start; /* Align image and meta to the top */
    margin-bottom: 10px;
    border-bottom: 1px solid #A0A0A0; /* Lighter gray line */
    padding-bottom: 10px;
}

.review-box .review-image {
    width: 150px; /* Consistent image size */
    height: 150px;
    object-fit: cover; /* Ensures image covers the area without distortion */
    margin-right: 15px;
    border: 1px solid #808080;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    flex-shrink: 0; /* Prevent image from shrinking */
}

.review-box .review-meta {
    flex-grow: 1;
}

.review-box h2 {
    font-size: 1.5em; /* Larger title */
    margin: 0 0 8px 0;
    border-bottom: none;
    padding-bottom: 0;
}

.review-box p {
    font-size: 1em; /* Standard readable font size */
    margin: 0 0 5px 0; /* Add some margin for spacing */
    line-height: 1.5; /* Improve line spacing */
}

.review-box .review-tags {
    margin-top: 10px;
}

.review-box .tag {
    background-color: #008080; /* Teal, common in old Windows */
    color: #FFFFFF;
    padding: 2px 8px; /* Slightly larger tags */
    border-radius: 3px;
    font-size: 0.9em; /* Slightly larger tag font */
    margin-right: 5px;
    white-space: nowrap;
}

.review-box .review-body {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #A0A0A0; /* Dashed line for separation */
    flex-grow: 1; /* Allow body to take up remaining space */
}

.contact-section {
    width: 90%;
    max-width: 800px;
    margin: 40px auto 20px;
}