body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    box-sizing: border-box;
    cursor: auto;
    background-color: #1b0c43; /* Fallback for gradient */
}

/* General container styling */
div {
    box-sizing: border-box;
    margin: 0px;
}

/* Background gradient */
.background-gradient {
    background: linear-gradient(rgb(27, 12, 67), rgb(47, 22, 112));
    min-height: 100vh;
    position: relative; /* Needed for absolute positioning of header logo */
}

/* Header Logo styling */
.header-logo-link {
    color: rgb(255, 255, 255);
    left: 15px;
    position: absolute;
    text-decoration: none;
    top: 15px;
    box-sizing: border-box;
    margin: 0px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.7; /* Semi-transparent */
    max-width: 180px; /* Adjust as needed */
    transition: opacity 0.3s ease;
}

.header-logo-link:hover {
    opacity: 1;
}

.header-logo-image {
    width: 90px;
    height: auto;
    -webkit-user-drag: none;
    box-sizing: border-box;
    margin: 0px;
}

.header-logo-text {
    font-family: 'Oswald', sans-serif; /* Changed to Oswald */
    font-weight: 700; /* Very bold */
    font-size: 24px;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
}

/* Fixed overlay for visual effects (if any) */
.fixed-overlay {
    height: 801.25px; /* Keep original height for visual replication */
    left: 0px;
    pointer-events: none;
    position: fixed;
    top: 0px;
    width: 100%;
    box-sizing: border-box;
    margin: 0px;
}

.fixed-overlay-inner {
    height: 100%;
    pointer-events: none;
    box-sizing: border-box;
    margin: 0px;
}

/* Main content wrapper */
.main-content-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
    padding-top: 90px;
    box-sizing: border-box;
    text-align: center; /* Center content */
}

/* "Ten Years Ago" title */
.title {
    color: rgb(255, 255, 255);
    padding: 0px 20px;
    text-align: center;
    font-family: 'Bauhaus 93', sans-serif; /* Clean sans-serif font, very bold, all-caps */
    font-weight: 700;
    font-size: 90px;
    line-height: 90px;
    text-transform: uppercase;
    margin: 0px;
    opacity: 0; /* For animation */
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
}

/* Date description */
.date-description {
    font-family: 'Roboto', sans-serif; /* Use Roboto for subtitle */
    font-size: 26px;
    font-weight: bold;
    margin-top: 5px;
    opacity: 0.7;
    color: rgb(170, 153, 212);

    padding: 12px 20px;
    text-align: center;
    margin: 5px 0px 0px;
    opacity: 0; /* For animation */
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.7s;
}

/* Grid for the "internet looked like" items */
.grid-container {
    max-width: 725px;
    gap: 55px 60px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    margin: 35px auto 0px auto; /* Centered horizontally */
    padding: 50px 0px;
    position: relative;
    opacity: 0; /* For animation */
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.9s;
}

/* Individual grid item styling */
.grid-item {
    align-items: center;
    border: 0px none rgb(0, 0, 0);
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    outline: rgb(0, 0, 0) none 0px;
    padding: 37px 0px;
    text-align: center;
    margin: 0px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.grid-item img {
    display: block;
    height: 45px;
    object-fit: contain;
    width: 170px;
    margin: 0px;
}

/* Specific background colors for grid items */
.grid-item.cnn { background: #c00; }
.grid-item.nytimes { background: #fff; }
.grid-item.bbc { background: #fff; }
.grid-item.fox-news { background: #036; }
.grid-item.reddit { background: #ff5700; }
.grid-item.amazon { background: #f90; }
.grid-item.youtube { background: red; }
.grid-item.espn { background: #e52534; }
.grid-item.apple { background: #fff; }
.grid-item.imdb { background: #f6c700; }
.grid-item.cnet { background: #cc0001; }
.grid-item.ign { background: #fff; }
.grid-item.steam { background: #171a21; }
.grid-item.good-reads { background: #e9e5cd; }


/* Footer text */
.footer-text {
    color: rgb(255, 255, 255);
    font-family: 'Roboto', sans-serif; /* Use Roboto for footer */
    font-size: 18px;
    padding: 15px;
    text-align: center;
    margin: 0px;
}

.footer-text a {
    color: rgb(255, 255, 255);
    font-size: 18px;
    text-decoration: underline;
}

/* Hidden overlay for visual effects */
.hidden-overlay {
    display: none; /* Keep hidden as per original */
    height: 100%;
    left: 0px;
    position: fixed;
    top: 0px;
    touch-action: none;
    width: 100%;
    z-index: 4;
    margin: 0px;
}

.hidden-overlay-text {
    color: rgb(255, 255, 255);
    font-family: 'Oswald', sans-serif; /* Changed to Oswald */
    font-size: 86px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%); /* Center text */
    margin: 0px;
}

/* "You may also like" section */
.you-may-also-like-section {
    color: #fff;
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 68px;
    margin-top: 15px;
    padding: 30px 20px 45px;
    text-align: center;
    margin: 15px 0px 0px;
}

.you-may-also-like-title {
    font-size: 28px;
    margin: 0px;
    font-weight: bold;
}

.you-may-also-like-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    max-width: 870px;
    gap: 16px 18px;
    font-size: 0px;
    margin: 15px auto 0px auto; /* Centered horizontally */
}

/* Blog section */
.blog-section-wrapper {
    border-radius: 5px;
    margin: 10px auto 0px auto; /* Centered horizontally */
    padding: 20px 10px;
}

.blog-section-title {
    font-size: 19px;
    margin-bottom: 8px;
    margin: 0px 0px 8px;
}

.blog-section-title a {
    color: rgb(255, 255, 255);
    text-decoration: none;
}

/* Bottom logo */
.bottom-logo {
    margin: 20px auto 0px auto; /* Centered horizontally */
    display: block;
    width: 145px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.bottom-logo img {
    width: 100%;
    -webkit-user-drag: none;
    margin: 0px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .title {
        font-size: 60px;
        line-height: 60px;
    }

    .date-description {
        font-size: 20px;
    }

    .grid-container {
        grid-template-columns: 1fr; /* Single column on smaller screens */
        max-width: 350px;
        gap: 30px;
        padding: 30px 0;
    }

    .grid-item {
        padding: 25px 0;
    }

    .header-logo-link {
        max-width: 120px;
        left: 10px;
        top: 10px;
        gap: 5px;
    }

    .header-logo-image {
        width: 30px;
    }

    .header-logo-text {
        font-size: 20px;
    }

    .you-may-also-like-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
}

.game-card {
    
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 15px;
    border: 2px solid #000;
    box-shadow: 0 5px 0 #000;
    text-decoration: none;
    color: #000;
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 0 #000;
}

.game-card img {
    width: 100%;
    height: auto;
    border-radius: 13px;
}
