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

body {
    font-family: Arial, sans-serif;
}

/* Header */
header {
    transition: transform 0.3s ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #333;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo img {
    height: 48px;
    border-radius: 10px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    list-style-type: none;
}

.nav-links li {
    display: inline;
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
}

.nav-links a:hover {
    color: #ccc;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-container video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    z-index: 1;
}

.hero-content h1 {
    color: #fff;
    font-size: 3rem;
}

.hero-button {
    margin: 0 auto;
    background-color: #222;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 4px;
}

.hero-button:hover {
    background-color: #333;
}

/* Game Features */
.features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
}

.features h2 {
    font-size: 2rem;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 300px;
}

.feature-item h3 {
    font-size: 1.5rem;
}

.feature-item p {
    text-align: center;
    font-size: 16px;
}

.img-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 177.78%; /* 9:16 aspect ratio */
    position: relative;
}

.img-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    object-fit: contain;
}

.video-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 177.78%; /* 9:16 aspect ratio */
    position: relative;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Gameplay Screenshots or Video */
.gameplay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
}

.gameplay h2 {
    font-size: 2rem;
}

.f-carousel {
    width: 80%;
}

.f-carousel__track {
    transition: transform 0.5s;
}

.f-carousel__slide img {
    width: 100%;
    height: auto;
}

.responsive-iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* Aspect ratio: 9/16 */
    height: 0;
    overflow: hidden;
}

.responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Download Section */
.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
}

.download-section h2 {
    font-size: 2rem;
}

.download-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.android-download,
.ios-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.ios-download .download-button img {
    padding: 10px;
}

.download-button img {
    max-height: 60px;
    cursor: pointer;
}

.download-qr-code img {
    max-width: 150px;
}

/* FAQ Section */
.faq-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
    background-color: #f5f5f5;
}

.faq-section h3 {
    font-size: 1.5rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.faq-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item h4 {
    font-size: 16px;
}

.faq-item p {
    font-size: 16px;
}

.buymeacoffee {
    display: flex;
    align-items: center;
    gap: 20px;
}

.buymeacoffee a:first-child img {
    height: 40px;
}

.buymeacoffee a:last-child img {
    height: 50px;
}

/* Contacts */
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
}

.contact-section h3 {
    font-size: 1.5rem;
}

.contact-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-container h4 {
    text-align: center;
    font-size: 16px;
}

.contact-form, .social-media {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.contact-form button {
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 0.5rem;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.social-links {
    display: flex;
    gap: 10px;
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background-color: #222;
    color: #fff;
    padding: 20px 0;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #ccc;
}

/* Privacy Policy */
.privacy-policy {
    min-height: 91vh;
    text-align: center;
    padding: 3rem 0;
    background-color: #f5f5f5;
}

.privacy-policy-container {
    margin: 50px;
    display: inline-block;
    background-color: #fff;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.privacy-policy-container h1 {
    margin-top: 10px;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-policy-item {
    margin-bottom: 1rem;
    text-align: left;
}

.privacy-policy-item h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.privacy-policy-item p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    html {
        font-size: 12px;
    }
}
