/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #222;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.center {
    text-align: center;
}

/* Header */
header {
    width: 100%;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99998;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 150px;
}

.menu {
    list-style: none;
    display: flex;
    margin: 0;
}

.menu-item {
    margin-left: 30px;
    font-size: 14px;
    text-transform: uppercase;
}

.menu-item a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

.menu-item a:hover {
    color: #39f;
}

/* Hero Section */
.main {
    position: relative;
    height: 100vh; /* Full screen height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Prevent video overflow */
}

/* Video background */
#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Make the video cover the whole area */
    z-index: -1; /* Place the video behind the content */
}

/* Game Catalog */
.game-catalog {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-top: 100px; /* To push content down below the header */
}

.game-item {
    position: relative;
    width: 300px;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

.game-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.game-item:hover .game-thumbnail {
    transform: scale(1.1); /* Zoom effect */
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-item:hover .game-overlay {
    opacity: 1;
}

.download-btn {
    padding: 15px 30px;
    background-color: #39f;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: none;
    transition: background-color 0.3s;
}

.game-item:hover .download-btn {
    display: inline-block;
}

.download-btn:hover {
    background-color: #337ab7;
}

/* Footer */
footer {
    background: #222;
    padding: 50px 0;
    color: #fff;
}

.footer {
    display: flex;
    justify-content: space-between;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.col-4 {
    width: 30%;
    padding: 20px;
}

.social-links {
    list-style: none;
}

.social-links li {
    margin: 5px 0;
}

.social-links a {
    text-decoration: none;
    color: #fff;
}

.social-links a:hover {
    color: #39f;
}
