/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #0d0d0d; /* Very dark gray for the body */
    color: white;
}

header {
    background-color: black;
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    z-index: 10;
}

header h1 {
    color: #ff00ff; /* Neon pink */
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
    font-size: 24px;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 80px; /* To avoid overlap with fixed header */
    background-color: #0b0b0b; /* Darker gray for main content */
}

section.game {
    background-color: #0d0d0d; /* Same as body background */
    margin: 20px;
    padding: 20px;
    text-align: center;
    flex: 1 1 calc(33.33% - 40px); /* Each section takes up 1/3 width on desktop */
    box-sizing: border-box;
    position: relative;
}

section.game h2 {
    color: #d400d4; /* Darker pink title */
    margin-bottom: 15px;
}

section.game img {
    width: 100%;
    max-width: 200px;
    margin-bottom: 20px;
}

.buttons img {
    display: block;
    margin: 10px auto;
    width: 150px;
    border: none; /* Remove border from buttons */
}

/* Line between sections */
section.game:after {
    content: "";
    position: absolute;
    background-color: #666; /* Gray line color */
}

/* Vertical lines between sections on desktop */
@media (min-width: 769px) {
    section.game:after {
        width: 2px;
        height: 100%;
        top: 0;
        right: 0;
        margin-top: 10px; /* Small gap for vertical line */
        margin-bottom: 10px;
    }

    section.game:last-child:after {
        display: none; /* No line after the last section */
    }
}

/* Horizontal lines between sections on mobile */
@media (max-width: 768px) {
    main {
        flex-direction: column;
    }

    section.game:after {
        width: 80%; /* Shorter line in mobile mode */
        height: 2px;
        bottom: 0;
        left: 10%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    section.game:last-child:after {
        display: none; /* No line after the last section */
    }
}
