/* Header ----------------------------------------------------------------------------------------------------------------- */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, 
        #b77517 0%,
        #8e5b12 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 168, 255, 0.2);
    padding: 10px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 168, 255, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
    padding: 5px;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
    transition: var(--transition);
    filter: brightness(1.1);
}

.logo:hover img {
    filter: brightness(1.2) drop-shadow(0 0 10px var(--primary-color));
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
    padding: 8px 15px;
    border-radius: 5px;
}

.nav-links ul li a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--text-glow);
}


/* Page ------------------------------------------------------------------------------------------------------------------ */

:root {
    --primary-color: #fcbf6a;
    --secondary-color: #e86d30;
    --background-dark: #75570c;
    --background-light: #ad8624;
    --text-light: #FFFFFF;
    --text-glow: #fcbf6a;
    --glow-color: #fcbf6a;       
    --shadow: rgba(0, 0, 0, 0.3); 
    --menu-bg: rgba(10, 26, 59, 0.95);
    --transition: all 0.3s ease;
    --spacing-lg: 2rem;
}


/* Sections communes -------------------------------------------------------------------------------------------------------- */

.section {
    border: 1px solid rgba(0, 168, 255, 0.2);
    box-shadow: var(--glow-effect);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin: 20px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, 
        #1a1d13 0%, 
        #6f7445 100%);
}


/* Reset et styles de base ------------------------------------------------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, 
        var(--background-light) 0%, 
        var(--background-dark) 50%,
        var(--background-light) 100%);
    color: var(--text-light);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


/* Logo Container ----------------------------------------------------------------------------------------------------------- */

.logo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.logo-container a {
    flex: 1 0 18%;
    margin: 10px;
    display: inline-block;
    max-width: 100px;
}

.logo-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.logo-container img:hover {
    transform: scale(1.1);
}


/* Hamburger Menu ----------------------------------------------------------------------------------------------------------- */

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: var(--transition);
}


/* Sections et titres -------------------------------------------------------------------------------------------------------- */

section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

.title {
    color: var(--primary-color);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}


/* Liens sociaux -------------------------------------------------------------------------------------------------------------- */

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.2);
}

.social-link:hover {
    background: rgba(0, 168, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.3);
}


/* Hero Section ------------------------------------------------------------------------------------------------------------*/

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 3rem 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-color);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-container {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* Allow logos to wrap to the next line */
    justify-content: center; /* Center logos horizontally */
    margin-top: 10px; /* Space above the logo container */
}

.logo-container a {
    flex: 1 0 21%; /* Allow four logos per line with some space */
    margin: 10px; /* Space between logos */
    display: inline-block; /* Allow for margin to work */
    max-width: 100px; /* Limit logo size */
}

.logo-container img {
    width: 100%; /* Make the image fill the container */
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s; /* Smooth hover effect */
}

.logo-container img:hover {
    transform: scale(1.1); /* Scale up on hover for effect */
}

.logo-container {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* Allow logos to wrap to the next line */
    justify-content: center; /* Center logos horizontally */
    margin-top: 10px; /* Space above the logo container */
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    padding: 20px; /* Padding around the logos */
    border-radius: 10px; /* Rounded corners */
}

@media (max-width: 800px) {
    .logo-container a {
        flex: 1 0 22%; /* Adjust for 4 logos in the second row on smaller screens */
    }
}

.title {
    align-items: center;
    margin-top: 20px;
    color: #fdc06a;
}

.game-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fdc06a;
}

.game-card p {
    color: white;
    font-size: 0.9rem;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.game-card {
    background: linear-gradient(135deg, 
        #1a1d13 0%, 
        #6f7445 100%);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.game-icon {
    font-size: 2rem;
}

.blue { background: #DBEAFE; color: #2563EB; }
.green { background: #DCFCE7; color: #16A34A; }
.purple { background: #F3E8FF; color: #9333EA; }
.orange { background: #FFEDD5; color: #EA580C; }
.pink { background: #FCE7F3; color: #DB2777; }
.red { background: #FEE2E2; color: #DC2626; }


/* Footer ------------------------------------------------------------------------------------------------------------------- */

.footer {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    justify-content: center;
    text-align: center;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}