/*
Theme Name: Mobile Bet TH
Theme URI: https://example.com/theme14
Description: Mobile App Landing theme inspired by BK8/UFABET mobile-focused betting sites.
Version: 1.0
Author: ThemeDev
Text Domain: mobile-bet-th
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Prompt', sans-serif; background: linear-gradient(135deg, #1a237e 0%, #4a148c 100%); color: #ffffff; line-height: 1.6; min-height: 100vh; }
a { color: #00bfa5; text-decoration: none; transition: color 0.3s; }
a:hover { color: #64ffda; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-header { background: rgba(26, 35, 126, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; padding: 15px 0; border-bottom: 2px solid #00bfa5; }
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.site-logo { font-size: 1.5rem; font-weight: 700; color: #fff; }
.site-logo span { color: #00bfa5; }
.main-nav ul { display: flex; list-style: none; gap: 20px; flex-wrap: wrap; }
.main-nav a { color: #fff; font-size: 0.9rem; font-weight: 500; padding: 8px 12px; border-radius: 20px; transition: all 0.3s; }
.main-nav a:hover { background: #00bfa5; color: #fff; }
.nav-toggle { display: none; background: none; border: 2px solid #00bfa5; color: #00bfa5; padding: 8px 12px; border-radius: 5px; cursor: pointer; font-size: 1.2rem; }
.hero { padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(0,191,165,0.1) 0%, transparent 50%); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.hero h1 { font-size: 2.5rem; margin-bottom: 20px; position: relative; }
.hero h1 span { color: #00bfa5; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; position: relative; }
.phone-mockup { width: 280px; height: 500px; margin: 0 auto 40px; border: 4px solid #fff; border-radius: 40px; position: relative; background: linear-gradient(180deg, #1a237e, #311b92); padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.phone-mockup::before { content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 80px; height: 6px; background: #333; border-radius: 3px; }
.phone-mockup .app-icon { width: 80px; height: 80px; background: linear-gradient(135deg, #00bfa5, #e91e63); border-radius: 20px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.phone-mockup .app-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.phone-mockup .app-desc { font-size: 0.8rem; opacity: 0.7; text-align: center; }
.btn-cta { display: inline-block; padding: 14px 32px; background: #00bfa5; color: #fff; font-weight: 700; border-radius: 30px; font-size: 1rem; transition: all 0.3s; border: none; cursor: pointer; }
.btn-cta:hover { background: #00e5c7; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,191,165,0.4); color: #fff; }
.btn-pink { background: #e91e63; }
.btn-pink:hover { background: #f06292; box-shadow: 0 10px 30px rgba(233,30,99,0.4); }
.features { padding: 60px 0; }
.features h2 { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 40px 30px; text-align: center; transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); border-color: #00bfa5; }
.feature-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: linear-gradient(135deg, #00bfa5, #4a148c); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: #00bfa5; }
.feature-card p { font-size: 0.9rem; opacity: 0.8; }
.steps { padding: 60px 0; }
.steps h2 { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.steps-list { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.step-item { text-align: center; max-width: 200px; }
.step-number { width: 60px; height: 60px; margin: 0 auto 15px; background: #e91e63; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; }
.step-item h3 { font-size: 1rem; margin-bottom: 8px; }
.step-item p { font-size: 0.85rem; opacity: 0.7; }
.game-categories { padding: 60px 0; }
.game-categories h2 { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { background: rgba(255,255,255,0.08); border-radius: 15px; padding: 30px 20px; text-align: center; border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s; }
.category-card:hover { background: rgba(0,191,165,0.15); border-color: #00bfa5; }
.category-card .cat-icon { font-size: 2.5rem; margin-bottom: 15px; }
.category-card h3 { font-size: 1rem; margin-bottom: 8px; }
.app-download { padding: 60px 0; text-align: center; background: rgba(0,0,0,0.2); margin: 40px 0; border-radius: 20px; }
.app-badges { display: flex; justify-content: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.badge-placeholder { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); border-radius: 10px; font-size: 0.9rem; }
.latest-news { padding: 60px 0; }
.latest-news h2 { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-card { background: rgba(255,255,255,0.05); border-radius: 15px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); transition: transform 0.3s; }
.news-card:hover { transform: translateY(-5px); }
.news-thumb { width: 100%; height: 180px; background: linear-gradient(135deg, #1a237e, #4a148c); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px; }
.news-body h3 { font-size: 1rem; margin-bottom: 8px; }
.news-body h3 a { color: #fff; }
.news-body h3 a:hover { color: #00bfa5; }
.news-date { font-size: 0.8rem; color: #00bfa5; margin-bottom: 8px; }
.news-excerpt { font-size: 0.85rem; opacity: 0.7; }
.site-footer { background: rgba(0,0,0,0.4); padding: 40px 0 20px; margin-top: 60px; border-top: 2px solid #00bfa5; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-col h3 { color: #00bfa5; margin-bottom: 15px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: #00bfa5; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; opacity: 0.6; }
.page-header { padding: 40px 0; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 40px; }
.page-header h1 { font-size: 2rem; color: #00bfa5; }
.posts-list { padding: 40px 0; }
.post-item { display: flex; gap: 25px; background: rgba(255,255,255,0.05); border-radius: 15px; padding: 20px; margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.1); transition: transform 0.3s; }
.post-item:hover { transform: translateX(5px); border-color: #00bfa5; }
.post-item-thumb { flex-shrink: 0; width: 200px; height: 140px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #1a237e, #4a148c); }
.post-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-item-content h2 { font-size: 1.2rem; margin-bottom: 8px; }
.post-item-content h2 a { color: #fff; }
.post-item-content h2 a:hover { color: #00bfa5; }
.post-item-meta { font-size: 0.8rem; color: #00bfa5; margin-bottom: 10px; }
.post-item-excerpt { font-size: 0.9rem; opacity: 0.7; }
.pagination { display: flex; justify-content: center; gap: 10px; padding: 40px 0; }
.pagination a, .pagination span { display: inline-block; padding: 10px 16px; background: rgba(255,255,255,0.1); border-radius: 8px; color: #fff; }
.pagination .current { background: #00bfa5; }
.single-post { padding: 40px 0; max-width: 800px; margin: 0 auto; }
.single-post .post-title { font-size: 2rem; margin-bottom: 15px; }
.single-post .post-meta { color: #00bfa5; font-size: 0.9rem; margin-bottom: 25px; }
.single-post .featured-image { width: 100%; height: 400px; border-radius: 15px; overflow: hidden; margin-bottom: 30px; background: linear-gradient(135deg, #1a237e, #4a148c); }
.single-post .featured-image img { width: 100%; height: 100%; object-fit: cover; }
.single-post .post-content { font-size: 1rem; line-height: 1.8; }
.single-post .post-content p { margin-bottom: 20px; }
.single-post .post-content h2, .single-post .post-content h3 { color: #00bfa5; margin: 30px 0 15px; }
.post-nav { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.post-nav a { padding: 12px 20px; background: rgba(255,255,255,0.1); border-radius: 8px; color: #fff; }
.post-nav a:hover { background: #00bfa5; }
.related-posts { margin-top: 50px; }
.related-posts h3 { font-size: 1.5rem; margin-bottom: 25px; color: #00bfa5; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav ul { display: none; flex-direction: column; width: 100%; padding-top: 15px; }
  .main-nav.active ul { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .post-item { flex-direction: column; }
  .post-item-thumb { width: 100%; }
  .related-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .steps-list { flex-direction: column; align-items: center; }
}
