/* css/newGames_styles.css */

/* Fonts */
@font-face {
    font-family: 'Harlow Solid';
    src: url('../media/harlow-solid.ttf') format('truetype');
}

/* Body Styling (moved from style-phone.css, updated for light/dark mode) */
body {
    font-family: Roboto, Arial, sans-serif; /* Body text font (from style-phone.css) */
    margin: 0;
}

body.light-mode {
    background: #f0f0f0; /* Light background for light mode */
    color: #333; /* Dark text for light mode */
}

body.dark-mode {
    background: #1a1a1a; /* Dark background (from style-phone.css) */
    color: #fff; /* White text (from style-phone.css) */
}

/* New Games Top Section (moved from style-web.css and style-phone.css) */
.new_games_top {
    display: flex;
    align-items: center;
    justify-content: center;
}

.light-mode .new_games_top {
    background: #f0f0f0; /* Light background for light mode */
}

.dark-mode .new_games_top {
    background: #1a1a1a; /* Dark background (from style-phone.css) */
}

.new_games_top h1 {
    font-family: 'Harlow Solid', serif; /* Gaming-inspired font */
    text-align: center;
}

@media screen and (min-width: 361px) {
    .new_games_top {
        height: 20%; /* From style-web.css */
    }

    .new_games_top h1 {
        font-size: 72px; /* From style-web.css */
    }
}

@media screen and (max-width: 360px) {
    .new_games_top {
        height: 30%; /* From style-phone.css */
    }

    .new_games_top h1 {
        font-size: 48px; /* From style-phone.css */
        padding: 0 10px; /* From style-phone.css */
    }
}

/* New Games Body Section (moved from style-web.css and style-phone.css) */
.new_games_body {
    width: 100%;
    padding: 20px;
}

@media screen and (min-width: 361px) {
    .new_games_body {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        padding: 20px; /* From style-web.css */
    }
}

@media screen and (max-width: 360px) {
    .new_games_body {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 10px;
        padding: 10px; /* From style-phone.css */
    }
}

/* Game Entry (moved from style-web.css and style-phone.css) */
.game_entry {
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 10px;
}

.light-mode .game_entry {
    background-color: #e0e0e0; /* Light gray for light mode (from style-web.css) */
}

.dark-mode .game_entry {
    background-color: #2a2a2a; /* Slightly lighter dark for contrast (from style-web.css and style-phone.css) */
}

.game_entry img,
.game_entry .game_icon {
    object-fit: cover;
}

@media screen and (min-width: 361px) {
    .game_entry img,
    .game_entry .game_icon {
        margin-right: 20px;
        width: 100px;
        height: 100px; /* From style-web.css */
    }
}

@media screen and (max-width: 360px) {
    .game_entry {
        flex-direction: column;
        height: auto;
        text-align: center; /* From style-web.css and style-phone.css */
    }

    .game_entry img,
    .game_entry .game_icon {
        margin-right: 0;
        margin-bottom: 10px;
        width: 80px;
        height: 80px; /* From style-phone.css */
    }
}

/* Game Entry Content (moved from style-web.css and style-phone.css) */
.game_entry_content h2 {
    font-family: 'Harlow Solid', serif; /* Gaming-inspired font */
    margin-bottom: 10px;
}

@media screen and (min-width: 361px) {
    .game_entry_content h2 {
        font-size: 1.2em; /* Adjusted for consistency */
    }
}

@media screen and (max-width: 360px) {
    .game_entry_content h2 {
        font-size: 1em; /* From style-phone.css */
        margin-bottom: 5px; /* From style-phone.css */
    }
}