html {
    font-size: 10px;
}

body {
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    color: #2c3e50;
}

.container {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    z-index: 0;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

.container .header {
    display: flex;
    position: relative;
    align-items: center;
    height: 0.85rem;
    width: 100%;
    justify-content: space-between;
    background-color: #7B0000;
    padding: 8px 0px;
    border-bottom: 0.5px solid #D87A05;
}

.left-header {
    display: flex;
    padding: 0px 8px;
    align-items: center;
    justify-content: space-between;
}

.left-header a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.left-header img {
    width: .9rem;
    height: .9rem;
    margin-right: 9px;
    border-radius: 8px;
}

.title {
    font-size: 0.37rem;
    font-weight: 800;
    color: #FFFDD8;
}

.right-header {
    display: flex;
    padding: 0px 8px;
    align-items: center;
    justify-content: space-between;
}

.topbtn {
    width: 1.6rem;
    height: .7rem;
    margin-right: 9px;
    cursor: pointer;
}

@media (min-width: 720px) {
    .topbtn {
        width: 1.5rem;
        height: .6rem;
        margin-right: 20px;
    }
}

.menu-icon {
    width: 40px;
    height: 28px;
    color: #FFFDD8;
    position: relative;
    cursor: pointer;
}

.menu-icon span {
    position: absolute;
    width: 100%;
    height: 3.5px;
    background: #FFFDD8;
    left: 0;
    transition: 0.3s ease;
    border-radius: 2px;
}

.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 12px; }
.menu-icon span:nth-child(3) { bottom: 0; }

.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 12px;
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 12px;
}

@media (min-width: 720px) {
    .menu-icon {
        width: 55px;
        height: 38px;
    }
    .menu-icon span {
        height: 4.5px;
    }
    .menu-icon span:nth-child(2) {
        top: 16px;
    }
    .menu-icon.active span:nth-child(1) {
        top: 16px;
    }
    .menu-icon.active span:nth-child(3) {
        bottom: 16px;
    }
}

.menu {
    overflow: hidden;
    position: absolute;
    top: 1.14rem;
    max-height: 0;
    width: 100%;
    background-color: #ecf0f1;
    transition: max-height 0.4s ease-in-out;
    z-index: 1000;
}

@media (min-width: 720px) {
    .menu {
        top: 1.01rem;
    }
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    border-bottom: 1px solid #a62121;
    font-size: 15px;
}

.menu a {
    display: block;
    padding: 14px 20px;
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.menu a:hover {
    background-color: #7B0000;
    color: #FFFDD8;
}

.menu.expanded {
    max-height: 350px;
}

.hero-wrapper {
    position: relative;
    width: 100%;
}

.container img.bg {
    width: 100%;
    height: auto;
    display: block;
}

.container .downBtn {
    position: absolute;
    top: 9.3rem;
    width: 100%;
    height: 1.7rem;
    background-image: url("../img/3f-game_btn.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    animation: zoomInOut 2s infinite;
    cursor: pointer;
}

/* ===================================================
   SEO & Content Optimization Styles
=================================================== */
.content-wrapper {
    padding: 24px 18px 40px;
    background: #ffffff;
    font-size: 15px;
    line-height: 1.75;
    color: #333333;
}

.content-wrapper h1 {
    color: #7B0000;
    font-size: 26px;
    line-height: 1.35;
    margin: 10px 0 16px;
    font-weight: 800;
    text-align: center;
}

.content-wrapper h2 {
    color: #7B0000;
    font-size: 20px;
    line-height: 1.4;
    margin: 28px 0 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid #f1c40f;
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-wrapper h3 {
    color: #8B0000;
    font-size: 17px;
    margin: 18px 0 8px;
    font-weight: 700;
}

.content-wrapper p {
    margin: 0 0 14px;
    color: #444;
}

.content-wrapper a {
    color: #c0392b;
    font-weight: 600;
    text-decoration: underline;
}

.content-wrapper a:hover {
    color: #7B0000;
}

/* App Info Table */
.app-table-container {
    overflow-x: auto;
    margin: 20px 0 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.app-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

.app-table th {
    background: linear-gradient(135deg, #7B0000, #9b111e);
    color: #fff;
    padding: 12px 14px;
    text-align: left;
    font-size: 15px;
}

.app-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.app-table tr:nth-child(even) {
    background-color: #faf7f2;
}

.app-table tr:hover {
    background-color: #fff2e6;
}

.app-table td:first-child {
    font-weight: 600;
    color: #555;
    width: 38%;
}

.app-table td:last-child {
    color: #222;
    font-weight: 500;
}

/* Call to Action Buttons */
.cta-box {
    background: linear-gradient(135deg, #7B0000, #b31b00);
    padding: 24px 18px;
    border-radius: 14px;
    text-align: center;
    color: #fff;
    margin: 26px 0;
    box-shadow: 0 6px 20px rgba(123, 0, 0, 0.25);
}

.cta-box h3 {
    color: #FFFDD8;
    margin: 0 0 8px;
    font-size: 20px;
}

.cta-box p {
    color: #fdebd0;
    font-size: 14px;
    margin-bottom: 16px;
}

.btn-cta-download {
    display: inline-block;
    background: linear-gradient(180deg, #f1c40f, #e67e22);
    color: #000;
    font-size: 17px;
    font-weight: 800;
    padding: 13px 32px;
    border-radius: 30px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}

.btn-cta-download:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(241, 196, 15, 0.5);
    color: #000;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

@media (max-width: 500px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    background: #fff8f0;
    border: 1px solid #fde2c7;
    border-left: 4px solid #7B0000;
    border-radius: 8px;
    padding: 14px;
}

.feature-item h4 {
    margin: 0 0 6px;
    color: #7B0000;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Step list */
.step-list {
    list-style: none;
    padding: 0;
    margin: 18px 0;
    counter-reset: step-counter;
}

.step-list li {
    position: relative;
    padding-left: 46px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.step-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 32px;
    height: 32px;
    background: #7B0000;
    color: #FFFDD8;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Games Grid */
.games-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.game-badge {
    background: #f4f6f7;
    border: 1px solid #d5dbdb;
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.game-badge i {
    color: #e67e22;
}

/* FAQ Accordion / Cards */
.faq-container {
    margin: 20px 0;
}

.faq-card {
    background: #fafbfc;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
}

.faq-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #7B0000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-card p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Footer */
.container .footer {
    background-color: #3D120B;
    color: #ccc;
    text-align: center;
    padding: 20px 10px;
    font-size: 14px;
}

.footer .links {
    margin-bottom: 12px;
    line-height: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.footer .links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer .links a:hover {
    color: #f1c40f;
}

.footer .copyright {
    font-size: 13px;
    color: #aaa;
}

.footer .copyright a {
    color: #FFEAD8;
    margin: 0 6px;
    text-decoration: none;
    font-weight: 600;
}

@keyframes zoomInOut {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.85);
    }
}