/*
Theme Name: K1Game Clone
Theme URI: https://example.com
Author: Auto Generated
Author URI: https://example.com
Description: 克隆 K1.Game 网站首页主题，响应式、右侧手机导航、占位图可替换
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: k1game-clone
*/

/* 全局样式 */
:root {
  --bg: #050f0b;
  --panel: #091f15;
  --text: #e8f9e5;
  --muted: #adf7cb;
  --accent: #00d154;
  --accent2: #1ddfa3;
  --danger: #ff4d63;
}
* { box-sizing: border-box; }
body {margin: 0;font-family: "Segoe UI", Roboto, Arial, sans-serif;/* background: linear-gradient(180deg,#02130f,#02120f); */color: var(--text);}
a { color: inherit; text-decoration: none; }
.container {width: min(1200px, 100% - 32px);margin: 0 auto;}

.site-header { position: relative; z-index: 999; background: #000; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .top-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.branding { display: flex; align-items: center; gap: 10px; }
.branding .logo { font-size: 1.8rem; font-weight: 900; color: #3ef18a; }
.branding h1 { font-size: 1.25rem; margin:0; color:#fff; }
.main-nav ul { display: flex; gap: 26px; margin:0; padding:0; list-style:none; }
.main-nav li a { font-size: .98rem; color: #fff; padding: 8px 10px; transition: color .2s; }
.main-nav li a:hover { color: #0ec0a8; }
.nav-cta { background: #2fd37f; color: #fff; border-radius: 24px; padding: 10px 20px; font-weight: 700; }
.nav-cta:hover { opacity: .92; }
#mobile-menu-toggle { display: none; background: transparent; border: none; color: #fff; font-size: 30px; cursor: pointer; }
.mobile-drawer { position: fixed; top: 0; right: -300px; width: 280px; height: 100vh; background: #01110a; box-shadow: -10px 0 30px rgba(0,0,0,.5); transition: right .25s ease; z-index: 200; padding: 24px; }
.mobile-drawer.open { right: 0; }
.mobile-drawer .close-btn { border: 0; background: transparent; color: #2fedb7; font-size: 24px; float: right; cursor: pointer; }
.mobile-drawer nav ul { display: grid; gap: 14px; padding-top: 18px; }
.mobile-drawer nav a { display: block; padding: 12px 14px; background: rgba(255,255,255,.05); border-radius: 8px; color: #d8ffeb; }

.hero {/* padding: 90px 0 52px; */color: #fff;background: linear-gradient(180deg, rgb(57, 180, 112) 0%, rgb(4, 4, 6) 100%);}
.hero-inner {display: grid;grid-template-columns: 1.2fr 1fr;gap: 30px;align-items: center;padding: 30px 0px;}
.hero-text h2 { font-size: clamp(2rem,4vw,3rem); margin: 0 0 18px; }
.hero-text p { font-size: 1.25rem; line-height: 1.5; margin-bottom: 24px; max-width: 640px; }
.hero .btn { padding: 14px 40px; }
.hero .btn.primary { background: #2fd37f; color: #0a2d18; }
.hero .btn.secondary { background: rgba(255,255,255,.16); color: #eefeef; }
.cta-group{
    margin-top: 50px;
}
@media (max-width: 768px) {
    .hero-inner{
        display:block;
    }
    .hero-inner img{
        width:100%;
    }
}

/* ====================== Latest Offers Section ====================== */
.offers {
    padding: 50px 20px;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.55rem;
    color: #00b14f;
    margin-bottom: 80px;
    font-weight: 700;
}

.offer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.offer-card {
    background: #f8fffb;
    padding: 50px 30px 40px;
    border-radius: 20px;
    text-align: center;
    /* box-shadow: 0 10px 30px rgba(0, 177, 79, 0.08); */
    border: 1px solid #e0f5eb;
    transition: all 0.4s ease;
}



.offer-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 177, 79, 0.18);
}



.offer-card h3 {
    font-size: 1.6rem;
    color: #0a3d1f;
    margin-bottom: 20px;
    font-weight: 700;
}

.offer-card p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.75;
    text-align: left;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .offer-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.1rem;
        margin-bottom: 60px;
    }
    .offer-card {
        padding: 40px 25px 35px;
    }
}

/* ====================== App Introduction Section ====================== */
.app-intro .phones-grid {
    justify-content: center;
}

.phone-card {
    transition: all 0.4s ease;
}

.phone-card:hover {
    transform: scale(1.05);
}

.hero-img{
    text-align: right;
}
.hero-img img{
    width: 70%;
}

.wzjs_title{
max-width: 1100px; margin: 0 auto; text-align: center; font-size: 1.15rem; line-height: 1.8;color: #0a0a0a; 
}


/* ====================== Features Table ====================== */
.features-table {
    padding: 0px 20px;
    background: #ffffff;
}

.features-table .section-title {
    text-align: center;
    font-size: 2.45rem;
    color: #00b14f;
    margin-bottom: 70px;
    font-weight: 700;
}

.features-table table {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-collapse: collapse;
    border: 2px solid #00b14f;
    /* background: white; */
    /* box-shadow: 0 10px 30px rgba(0, 177, 79, 0.08); */
    border-radius: 8px;
    /* overflow: hidden; */
}

.features-table th,
.features-table td {
    padding: 17px 25px;
    text-align: left;
    border: 1px solid #00b14f;
    font-size: 1.05rem;
}

.features-table th {
    background: #ffffff;
    color: #00b14f;
    font-weight: 600;
    width: 38%;
}

.features-table td {
    color: #333;
}

.features-table tr:hover {
    background: #f0fff7;
}

/* 响应式 */
@media (max-width: 768px) {
    .features-table th,
    .features-table td {
        padding: 14px 18px;
        font-size: 1rem;
    }
}



/* ====================== Top 5 Facts & How to Download ====================== */
.facts-download {
    padding: 100px 20px 50px;
    background: #ffffff;
}

.facts-download .container {
    max-width: 1280px;
    margin: 0 auto;
}

.facts-download h2 {
    font-size: 2.45rem;
    color: #00b14f;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Top 5 Facts 布局 */
.facts-section {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
    /* margin-bottom: 120px; */
}

.facts-text {
    flex: 1;
    min-width: 300px;
}

.facts-text ol {
    padding-left: 22px;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #333;
}

.facts-text li {
    /* margin-bottom: 24px; */
}

.facts-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    margin-top: 120px;
}

.facts-image img {
    /* border-radius: 16px; */
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.25); */
    max-width: 100%;
}

/* How to Download 布局 */
.download-section {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
}

.download-text {
    flex: 1;
    min-width: 300px;
}

.download-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #444;
}

.download-text ol {
    padding-left: 24px;
    font-size: 1.08rem;
    line-height: 1.9;
    color: #333;
}

.download-text li {
    /* margin-bottom: 20px; */
}

.download-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.download-image img {
    /* border-radius: 16px; */
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.25); */
    max-width: 100%;
    margin-top: 20px;
}

/* 响应式 */
@media (max-width: 992px) {
    .facts-section,
    .download-section {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .facts-download h2 {
        font-size: 2.1rem;
    }
}


/* ====================== How to Sign Up & Deposit Module ====================== */
.guide-module {
    padding: 10px 20px;
    background: #ffffff;
}

.guide-module .container {
    max-width: 1280px;
    margin: 0 auto;
}

.guide-module .guide-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
    /* margin-bottom: 120px; */
}

.guide-module .guide-text {
    flex: 1;
    min-width: 320px;
}

.guide-module .guide-text h2 {
    font-size: 2.35rem;
    color: #00b14f;
    margin-bottom: 30px;
    font-weight: 700;
}

.guide-module .guide-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #444;
}

.guide-module .guide-text ol {
    padding-left: 24px;
    font-size: 1.08rem;
    line-height: 1.9;
    color: #333;
}

.guide-module .guide-text li {
    margin-bottom: 20px;
}

.guide-module .guide-image {
    flex: 1;
    min-width: 320px;
    text-align: center;
}

.guide-module .guide-image img {
    /* border-radius: 16px; */
    /* box-shadow: 0 20px 50px rgba(0,0,0,0.28); */
    max-width: 100%;
    margin-top: 36px;
}

/* 响应式 */
@media (max-width: 992px) {
    .guide-module .guide-grid {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .guide-module .guide-text h2 {
        font-size: 2.05rem;
    }
}



/* ====================== How to Withdraw Module ====================== */
.withdraw-section {
    padding: 100px 20px 0px;
    background: #ffffff;
}

.withdraw-section .container {
    max-width: 1280px;
    margin: 0 auto;
}

.withdraw-section .withdraw-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 70px;
    align-items: flex-start;
}

.withdraw-section .withdraw-text {
    flex: 1;
    min-width: 320px;
}

.withdraw-section .withdraw-text h2 {
    font-size: 2.35rem;
    color: #00b14f;
    margin-bottom: 35px;
    font-weight: 700;
}

.withdraw-section .withdraw-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #444;
    line-height: 1.75;
}

.withdraw-section .withdraw-text ol {
    padding-left: 25px;
    font-size: 1.08rem;
    line-height: 1.9;
    color: #333;
}

.withdraw-section .withdraw-text li {
    /* margin-bottom: 28px; */
}

.withdraw-section .withdraw-text li strong {
    color: #0a3d1f;
}

.withdraw-section .withdraw-image {
    flex: 1;
    min-width: 320px;
    text-align: center;
    margin-top: 50px;
}

.withdraw-section .withdraw-image img {
    /* border-radius: 20px; */
    /* box-shadow: 0 25px 60px rgba(0,0,0,0.3); */
    max-width: 100%;
}

/* 响应式 */
@media (max-width: 992px) {
    .withdraw-section .withdraw-grid {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .withdraw-section .withdraw-text h2 {
        font-size: 2.1rem;
    }
}

.section { padding: 58px 0; background: #fff; color: #0a0a0a; }
.section-title { margin: 0 0 28px; text-align: center; font-size: 2.2rem; font-weight: 800; color: #2fd37f; }
.offers-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.offer-card { border: 2px solid #2fd37f; border-radius: 16px; padding: 24px 18px; text-align: center; background: #f5fff8; }

.offer-card h3 { font-size: 1.25rem; margin: 0 0 12px; color: #149e65; }
.offer-card p { margin:0; font-size: .96rem; line-height: 1.55; }

.section { padding: 52px 0; }
.section-title {margin: 0 0 56px;text-align: center;font-size: 1.8rem;}
.offers-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.offer-card {border: none;background: #fff;border-radius: 14px;padding: 16px;}
.offer-card h3 {margin: 25px 0;font-size: 1.05rem;}
.offer-card p {margin: 0;color: #000;font-size: .92rem;}

.features { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
.feature { background: rgba(5,19,13,.78); border: 1px solid rgba(81,255,174,.18); border-radius: 12px; padding: 16px; }
.feature h3 { margin-top: 0; }

.app-grid { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin: 20px 0; }
.app-card { background: rgba(5,20,15,.70); border: 1px solid rgba(100,255,180,.2); border-radius: 12px; padding: 12px; text-align: center; }
.app-card img { width: 100%; border-radius: 9px; }
.app-card h4 { margin: 10px 0 6px; font-size: 1rem; }
.app-card p { font-size: .88rem; color: #c7ffd5; }

.specs-wrapper { margin-top: 2rem; }
table.specs { width:100%; border-collapse: collapse; background: rgba(0,0,0,.15); color: #d9ffe5; }
table.specs th, table.specs td { border:1px solid rgba(80,255,164,.2); padding: 10px; text-align:left; }

.facts { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.facts-text p { line-height:1.55; }
.top-facts { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.top-facts li { background: rgba(3,21,13,.68); border: 1px solid rgba(0,255,170,.25); border-radius: 10px; padding: 12px; }
.top-facts li span { font-weight: 700; color: #7fffce; }

.faq-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.faq { background: rgba(3,15,12,.65); border: 1px solid rgba(30,255,160,.2); padding: 14px; border-radius: 10px; }
.faq h4 { margin: 0 0 6px; }

.howto-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 20px 0; }
.howto-card { background: rgba(3,15,11,.7); border: 1px solid rgba(50,255,165,.25); border-radius: 11px; padding: 13px; display: flex; gap: 11px; align-items:center; }
.howto-card img { width: 80px; border-radius: 8px; object-fit: cover; }
.howto-card div { line-height: 1.35; }
.howto-card h4 { margin: 0 0 6px; }

.popular-grid { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.popular-item { background: rgba(4,18,12,.7); border: 1px solid rgba(0,255,135,.22); border-radius: 12px; padding: 10px; text-align:center; }
.popular-item img { width: 100%; border-radius: 12px; }
.popular-item h5 { margin: 8px 0 4px; font-size: 0.93rem; }



/* ====================== Popular Games List Module ====================== */
.popular-games-list {
    padding: 0px 20px;
    background: #ffffff;
}

.popular-games-list .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    background: none;
}

.popular-games-list h2 {
    text-align: center;
    font-size: 2.55rem;
    color: #00b14f;
    margin-bottom: 60px;
    font-weight: 700;
}

.popular-games-list .intro-text {
    font-size: 1.15rem;
    color: #333;
    /* margin-bottom: 50px; */
    text-align: left;
    /* max-width: 900px; */
    margin-left: auto;
    margin-right: auto;
}

.popular-games-list .games-list {
    /* max-width: 900px; */
    margin: 0 auto;
}

.popular-games-list .games-list ul {
    list-style: none;
    padding: 0px;
}

.popular-games-list .games-list li {
    /* margin-bottom: 28px; */
    padding-left: 10px;
    position: relative;
    font-size: 1.08rem;
    line-height: 1.75;
    color: #444;
}

.popular-games-list .games-list li strong {
    color: #0a3d1f;
    font-weight: 600;
}

.popular-games-list .games-list li:before {
    content: "•";
    color: #00b14f;
    font-size: 1.6rem;
    position: absolute;
    left: -8px;
    top: -4px;
}

/* 响应式 */
@media (max-width: 768px) {
    .popular-games-list h2 {
        font-size: 2.15rem;
    }
    .popular-games-list .games-list li {
        font-size: 1.05rem;
    }
}


/* ====================== Popular Games Module ====================== */
.popular-games {
    padding: 10px 20px;
    background: #ffffff;
}

.popular-games .container {
    max-width: 1280px;
    margin: 0 auto;
}

.popular-games h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #00b14f;
    margin-bottom: 70px;
    font-weight: 700;
}

.popular-games .games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    max-width: 1280px;
    margin: 0 auto;
}

.popular-games .game-card {
    text-align: center;
    transition: all 0.4s ease;
}

.popular-games .game-card:hover {
    transform: translateY(-12px);
}

.popular-games .game-image {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
    /* box-shadow: 0 15px 35px rgba(0,0,0,0.15); */
}

.popular-games .game-image img {
    width: 50%;
    height: auto;
    /* display: block; */
}

.popular-games .game-title {
    font-size: 1.22rem;
    color: #0a3d1f;
    margin-bottom: 12px;
    font-weight: 600;
}

.popular-games .game-desc {
    font-size: 1.02rem;
    color: #555;
    line-height: 1.65;
}

/* 响应式 */
@media (max-width: 768px) {
    .popular-games h2 {
        font-size: 2.1rem;
    }
    .popular-games .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }
}



/* ====================== FAQs Module ====================== */
.faqs-section {
    padding: 10px 20px 60px;
    background: #ffffff;
}

.faqs-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.faqs-section h2 {
    text-align: center;
    font-size: 2.55rem;
    color: #00b14f;
    margin-bottom: 70px;
    font-weight: 700;
}

.faqs-section .faq-item {
    margin-bottom: 15px;
    /* padding-bottom: 35px; */
    /* border-bottom: 1px solid #e0e0e0; */
}

.faqs-section .faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faqs-section .faq-question {
    font-size: 1.22rem;
    font-weight: 600;
    color: #0a3d1f;
    /* margin-bottom: 14px; */
    line-height: 1.4;
}

.faqs-section .faq-answer {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.75;
}

/* 响应式 */
@media (max-width: 768px) {
    .faqs-section h2 {
        font-size: 2.1rem;
    }
    .faqs-section .faq-question {
        font-size: 1.15rem;
    }
}


.home-container h1{
    color: #000;
}
.home-container p{
    color: #000;
}

/* ====================== Footer Module ====================== */
.footer {
    background: #0a0a0a;
    color: #ffffff;
    padding: 80px 20px 40px;
}

.footer .container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-left {
    max-width: 480px;
}

.footer-left h3 {
    font-size: 1.55rem;
    margin-bottom: 20px;
    color: #00ff6a;
    font-weight: 700;
}

.footer-left p {
    color: #cccccc;
    line-height: 1.75;
    margin-bottom: 25px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #00ff6a;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid #222;
    text-align: center;
    color: #888;
    font-size: 0.95rem;
}

/* 响应式 */
@media (max-width: 992px) {
    .footer .container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer .container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .footer-left {
        max-width: 100%;
    }
}



@media (max-width: 1024px) {
  .app-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .popular-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .facts { grid-template-columns: 1fr; }
  .howto-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-header .top-bar { padding: 14px 0; }
  .main-nav { display: none; }
  #mobile-menu-toggle { display: block; }
  .hero { padding-top: 64px; }
  .offers-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
  .app-grid, .popular-grid { grid-template-columns: 1fr; }
}

.footer { background: #03140e; color: #94f7cd; padding: 18px 0; text-align: center; font-size: .9rem; }

@media (max-width: 1024px) {
  .offers-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-header .top-bar { padding: 14px 0; }
  .main-nav { display: none; }
  #mobile-menu-toggle { display: block; }
  .hero { padding-top: 64px; }
  .offers-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .hero p { font-size: .95rem; }
  .hero .cta-group { flex-direction: column; }
}
