@font-face {
    font-family: 'Bubblegum';
    src: url('Game Bubble.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    position: relative;
    font-family: 'Bubblegum';
    margin: 0;
    padding: 0;
    z-index: 1;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../foto/texture.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

/***** Navbar Styling *****/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #3e2719;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease-in-out;
}

.navbar:hover {
    background-color: #2a1e14;
}

.navbar-logo {
    border-radius: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
    transition: transform 0.3s ease-in-out;
}

.navbar-logo:hover {
    transform: scale(1.1);
}

.navbar-logo img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease-in-out;
}

.navbar-logo img:hover {
    transform: rotate(15deg);
}

.menu-toggle {
    font-size: 24px;
    cursor: pointer;
    margin-right: 15px;
    display: none;
    transition: transform 0.3s ease-in-out;
}

.menu-toggle:hover {
    transform: scale(1.2);
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px;
    font-weight: bold;
    transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
    border-radius: 5px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fcd296;
}

/***** Landing Page *****/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.banner {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background-image: url('../foto/image (12).png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 350px;
    border-radius: 0;
    position: relative;
}

.banner-title {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 80px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin: 0;
    font-weight: bold;
    font-family: 'Bubblegum', cursive;
    /* padding: 0 10px; */
}

.download-button {
    background-color: orange;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%);
}

.description {
    text-align: center;
    margin: 80px 100px;
    font-size: 25px;
}

/*** Trailer ***/
.trailer-section {
    margin: 50px 0;
}

.video-trailer {
    background-color: black;
    height: 315px;
    width: 560px;
    border-radius: 8px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-trailer .play-icon {
    font-size: 60px;
    color: white;
    cursor: pointer;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/*** News ***/
.news-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 50px;
}

.news-track {
    display: flex;
    transition: transform 0.4s ease;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
}

.news {
    display: flex;
    gap: 20px;
}

.news-card {
    background-color: #5c3b2e;
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: left;
    width: 80vw;
    max-width: 350px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card img {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    margin-bottom: 10px;
    background-color: #2f1e16;
    object-fit: cover;
}

.news-card h3 {
    margin: 8px 0;
    font-size: 20px;
    font-weight: bold;
}

.news-card p {
    font-size: 16px;
    line-height: 1.5;
}

.news-date {
    font-size: 14px;
    color: #d3d3d3;
    margin-bottom: 8px;
}

.news-btn {
    background-color: #5c3b2e;
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.news-btn:hover {
    background-color: #2f1e16;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.left-btn {
    left: 10px;
}

.right-btn {
    right: 10px;
}

/*** Gallery ***/
.gallery-slider {
    overflow: hidden;
    position: relative;
    margin-top: 20px;
    margin-bottom: 50px;
    border-radius: 12px;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-card {
    min-width: 300px;
    background-color: #5c3b2e;
    color: white;
    padding: 15px;
    border-radius: 12px;
    margin-right: 20px;
    text-align: left;
}

.gallery-card img {
    margin: 0 auto 10px auto;
    display: block;
    width: auto;
    max-width: 100%;
    height: 200px;
    border-radius: 8px;
    background-color: #2f1e16;
}

.gallery-card h3 {
    text-align: center;
    font-size: 22px;
}

.gallery-date {
    text-align: center;
    font-size: 14px;
    color: #d3d3d3;
    margin-bottom: 5px;
}

/***** About Developer *****/
.developer-info {
    margin: 50px 100px;
    display: flex;
    align-items: center;
    text-align: left;
    border-radius: 12px;
}

.profile-pic img {
    width: auto;
    height: 250px;
    margin: 0 auto 10px auto;
    display: block;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 5px solid #3a2a1c;
}

.text-content h1 {
    margin: 0 30px;
    color: #2f1e16;
}

.text-content p {
    color: #2f1e16;
    text-align: justify;
    margin: 10px 30px;
    font-size: 18px;
}

/***** Merchandise *****/
.merch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 50px;
}

.merch-card {
    background-color: #5c3b2e;
    color: white;
    padding: 15px;
    border-radius: 12px;
    text-align: left;
}

.merch-card img {
    width: auto;
    max-width: 100%;
    height: 300px;
    margin: 0 auto 10px auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: #2f1e16;
}

.merch-card h3 {
    margin: 5px 0;
    font-size: 22px;
    text-align: center;
}

.merch-card p {
    font-size: 18px;
    line-height: 1.4;
    text-align: justify;
}

.price {
    font-size: 18px;
    color: #d3d3d3;
    margin-bottom: 5px;
    text-align: center;
}

.wa-button {
    display: block;
    background-color: #25d366;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.wa-button:hover {
    background-color: #1ebe57;
}

/***** Comment / Feedback *****/
.feedback-form {
    background-color: #5c3b2e;
    padding: 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.feedback-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
    padding-right: 25px;
}

.feedback-inputs input,
.feedback-inputs textarea {
    background-color: #ece3d5;
    border: none;
    border-radius: 15px;
    padding: 10px;
    font-size: 16px;
    color: black;
    outline: none;
    width: 100%;
}

.feedback-inputs input {
    height: 40px;
}

.feedback-inputs textarea {
    height: 60px;
    resize: none;
}

.send-button {
    background-color: #2f1e16;
    border: none;
    border-radius: 50%;
    padding: 12px 15px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-left: 15px;
    transition: background-color 0.3s;
}

.send-button:hover {
    background-color: #110b08;
}

.see-feedback-button {
    background-color: #5c3b2e;
    border: none;
    border-radius: 20px;
    padding: 10px 30px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin: 0 0 30px 0;
    transition: background-color 0.3s;
}

.see-feedback-button:hover {
    background-color: #2f1e16;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 90%;
    margin: 0 auto 50px auto;
}

.feedback-card {
    background-color: #5c3b2e;
    padding: 20px;
    border-radius: 20px;
    color: white;
    text-align: left;
}

.feedback-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.feedback-card .name-date {
    margin-top: 10px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    text-decoration: underline;
}

.filter-section {
    text-align: center;
    margin: 20px 0;
}

.filter-section form {
    display: inline-block;
    background-color: #5c3b2e;
    padding: 10px 20px;
    border-radius: 20px;
    color: white;
}

.filter-section select {
    padding: 5px;
    border: none;
    border-radius: 5px;
    outline: none;
    background-color: #5c3b2e;
    color: white;
}

.pagination {
    margin: 30px 0;
    text-align: center;
}

.page-link {
    display: inline-block;
    background-color: #5c3b2e;
    color: white;
    padding: 8px 14px;
    margin: 0 5px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.page-link:hover {
    background-color: #2f1e16;
}

.active-page {
    background-color: #fcd296;
    color: #3e2719;
}

/***** Content Item About Game *****/
.story-intro {
    background: linear-gradient(to bottom right, #2c1f16, #3e2719);
    color: #fef6e4;
    font-size: 20px;
    font-weight: normal;
    border: 2px solid #6e4b35;
    padding: 30px 25px;
    border-radius: 20px;
    margin: 50px auto;
    max-width: auto;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    animation: fadeSlideUp 1.5s ease-out forwards;
    opacity: 0;
}

.story-intro p {
    line-height: 1.8;
    margin: 0;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-container {
    max-width: 100%;
    margin: 80px auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.content-right {
    display: flex;
    align-items: center;
    /* background-color: #5c3b2e; */
    padding: 20px;
    border-radius: 20px;
    justify-content: space-between;
    border: 3px solid #6e593f;
    animation: fadeSlideUp 1.5s ease-out forwards;
}

.content-left {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    justify-content: space-between;
    border: 3px solid #6e593f;
    animation: fadeSlideUp 1.5s ease-out forwards;
}

.image-placeholder img {
    background-color: #5c3b2e;
    width: 180px;
    height: 170px;
    border-radius: 50%;
    border: 2px solid #3a2a1c;
    flex-shrink: 0;
}

.text-game h3 {
    text-align: left;
}

.text-game {
    flex-grow: 1;
    margin-left: 20px;
    margin-right: 20px;
}

.text-game h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.text-game p {
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

/***** Footer Styling *****/
.footer-section {
    background-color: #3e2719;
    padding: 40px 0;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-bottom: 50px;
    margin: 0 auto;
    gap: 20px;
}

.footer-column {
    max-width: 350px;
    flex: 1;
    min-width: 250px;
}

.footer-column h2,
.footer-column h3 {
    margin-bottom: 10px;
}

.footer-column p,
.footer-column a,
.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.8;
    text-decoration: none;
    color: white;
}

.footer-bottom {
    border-top: 3px solid #140f0a;
    padding-top: 50px;
    color: white;
    font-size: 14px;
    text-align: center;
}
.footer-bottom a {
    text-decoration: none;
    color: white;
}

.game-specs {
    margin: 50px auto;
    padding: 30px 20px;
    background-color: #5c3b2e;
    border-radius: 20px;
    color: white;
    max-width: 800px;
    text-align: left;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.game-specs h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 30px;
}

.game-specs ul li {
    margin-bottom: 10px;
}

.spec-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.spec-box {
    flex: 1;
    min-width: 300px;
}

.spec-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fcd296;
}

.spec-box ul {
    list-style-type: none;
    padding: 0;
    font-size: 18px;
    line-height: 1.8;
}

.spec-box ul li {
    margin-bottom: 10px;
}

/***** Responsive Design *****/
@media (max-width: 768px) {
    .banner-title {
        font-size: 50px;
        top: 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 85px;
        right: 0;
        background-color: #2a1e14;
        width: 100%;
        text-align: right;
        padding: 10px 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        pointer-events: auto;
        display: flex;
        opacity: 1;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        margin: 0 25px;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 20px;
    }
        
    .footer-column {
        max-width: 100%;
    }

    .banner {
        height: 200px;
        background-size: cover;
        border-radius: 0;
    }

    .download-button {
        padding: 8px 16px;
        font-size: 14px;
        bottom: 15px;
    }

    .description {
        margin: 40px 20px;
        font-size: 25px;
    }

    .video-trailer {
        height: 240px;
        width: 100%;
        max-width: 480px;
    }

    .video-trailer .play-icon {
        font-size: 50px;
    }

    .news-btn {
        padding: 12px 15px;
        font-size: 20px;
        display: none;
    }

    .news-card p {
        display: none;
    }

    .gallery-card {
        min-width: 250px;
        margin-right: 15px;
    }

    .gallery-card h3 {
        font-size: 20px;
    }

    .gallery-card img {
        height: 180px;
    }

    .developer-info {
        margin: 50px 20px;
        flex-direction: column;
        align-items: center;
    }

    .profile-pic img {
        height: 200px;
    }

    .text-content h1 {
        font-size: 24px;
        text-align: center;
    }

    .text-content p {
        font-size: 16px;
        margin: 10px 5px;
    }

    .content-container {
        flex-direction: column;
        gap: 20px;
    }

    .content-left, .content-right {
        padding: 15px;
        flex-direction: column;
        align-items: center;
    }

    .image-placeholder img {
        width: 150px;
        height: 150px;
    }

    .text-game {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        margin: 10px 0;
    }

    .text-game h3 {
        font-size: 18px;
        text-align: center;
    }

    .text-game p {
        font-size: 14px;
        text-align: center;
    }

    .merch {
        grid-template-columns: 1fr;
    }

    .merch-card img {
        height: auto;
    }

    .merch-card h3 {
        font-size: 18px;
    }

    .merch-card p {
        font-size: 16px;
    }

        .feedback-card .name-date {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

@media (max-width: 600px) {
    .story-intro{
        font-size: 15px;
    }
    
    .download-button {
        padding: 8px 12px;
        font-size: 12px;
    }

    .description {
        margin: 20px 10px;
        font-size: 18px;
    }

    .news-card {
        width: 180px;
    }

    .news-btn {
        padding: 10px 12px;
        font-size: 18px;
    }

    .news {
        gap: 10px;
    }

    .news-card p {
        font-size: 12px;
    }

    .gallery-card {
        min-width: 200px;
        margin-right: 10px;
    }

    .gallery-card h3 {
        font-size: 18px;
    }

    .gallery-card img {
        height: 150px;
    }

    .gallery-track {
        gap: 10px;
    }
}   

@media (min-width: 768px) {
    .news-container {
        overflow: hidden;
    }
}