/* Modern Gaming Aesthetic - Cozee Crate Edition */
:root {
    --bg-dark: #110e11; /* Slightly warmer dark background */
    --bg-card: #221c22; /* Slightly warmer card background */
    --accent: #f4b251; /* Golden-orange from the logo text */
    --accent-pink: #d64a78; /* Vibrant pink from the logo's 'C' */
    --text-main: #d1ced5;
    --text-heading: #ffffff;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, .nav-links a {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

/* Navigation Menu */
header {
    background-color: rgba(17, 14, 17, 0.95);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: 2px;
    margin: 0;
    text-decoration: none;
    /* Updated glow to match the new golden accent */
    text-shadow: 0 0 10px rgba(244, 178, 81, 0.3);
}

.nav-links { display: flex; gap: 30px; }

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(244, 178, 81, 0.6);
}

/* Content Layout */
main {
    padding: 60px 10vw 80px;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 60vh;
}

main h1 {
    font-size: 2.5rem;
    color: var(--text-heading);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

main h2 {
    font-size: 1.8rem;
    color: var(--text-heading);
    margin-top: 40px;
    margin-bottom: 15px;
}

main p, main ul, main li { font-size: 1.1rem; margin-bottom: 15px; }
main ul { padding-left: 20px; }
main a {
    color: var(--accent);
    text-decoration: none;
    transition: text-shadow 0.2s;
}
main a:hover { text-decoration: underline; text-shadow: 0 0 5px rgba(244, 178, 81, 0.5); }

/* Home Page Specifics */
.home-main { max-width: 1400px; padding: 0; }
.hero { text-align: center; padding: 80px 20px 40px; }
.hero h2 { font-size: 3rem; color: var(--text-heading); margin-bottom: 10px; letter-spacing: 3px; border: none; }
.hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto; }

.games-grid {
    display: grid;
    Grid-template-rows: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px 10vw 80px;
}

.game-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(244, 178, 81, 0.2); }

.game-image {
    width: 100%;
    height: 200px;
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-style: italic;
    border-bottom: 3px solid var(--accent);
    background-size: cover;
    background-position: center;
}

.game-info { 
    padding: 25px; 
}

/* Added the black outline to the heading and paragraph text */
.game-info h3, 
.game-info p,
.game-info h4 { 
    text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.8);
}

.game-info h3 { 
    font-size: 1.8rem; 
    margin: 0 0 15px 0; 
    color: var(--text-heading); 
}

.game-info p { 
    font-size: 1rem; 
    margin-bottom: 25px; 
}

.play-btn {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Uses the new pink accent for a striking hover effect */
.play-btn:hover { 
    background-color: var(--accent-pink); 
    border-color: var(--accent-pink);
    color: var(--text-heading); 
    text-decoration: none;
}

/* Footer */
footer {
    background-color: #080608;
    text-align: center;
    padding: 30px;
    border-top: 1px solid var(--bg-card);
}