/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.joysticks-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('../../assets/images/joysticks-bg.png') repeat;
    background-size: 150px 150px;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    opacity: 100%;
}

.nav-link {
    padding: 8px 15px !important;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #ffffff;
}

.nav-link:hover {
    color: #f7d208;
    transform: translate(0px, -5px);
}

.navbar-toggler {
    color: #fff;
    background: none;
    background-color: transparent;
    opacity: 1;
    font-size: 1.6rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Offcanvas Mobile Menu */
.offcanvas {
    background-color: #343a40;
    color: #fff;
}

.offcanvas .nav-link {
    color: #fff;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas .nav-link:hover {
    color: #f7d208;
}

.btn-close {
    opacity: 1;
    background: none;
    background-color: transparent;
    font-size: 1.6rem;
    padding: 0.5rem;
}

.btn-close:focus {
    box-shadow: none;
    outline: none;
}

/* Footer */
footer {
    background-color: #212529;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #f7d208 !important;
}

/* Contact Us */
.form-control {
    border-radius: 0.75rem;
    transition: box-shadow 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem #f7d30883;
    border-color: #f7d208;
}

.form-floating>label {
    padding-left: 1rem;
}

.form-floating>.form-control {
    padding-left: 1rem;
}

/* Games */
.carousel {
    background: #f8f9fa;
}

.carousel-cell {
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.game-card {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    background-color: #f7d208;
    height: 400px;
}

.game-icon-wrapper {
    flex: 1 1 400px;
    max-width: 400px;
    height: 100%;
    overflow: hidden;
}

.game-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info {
    flex: 2 1 300px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.game-desc {
    font-size: 1rem;
    margin-bottom: 5rem;
}

.game-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.appstore-badge {
    width: 140px;
    margin-top: auto;
}

.game-container {
    max-width: 960px;
    margin: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .game-card {
        flex-direction: column;
        height: auto;
    }

    .game-icon-wrapper {
        max-width: 100%;
        height: auto;
    }

    .game-icon-wrapper img {
        height: auto;
    }

    .game-title {
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .carousel-cell {
        width: 95%;
    }
}