/*
Theme Name: Soi Kèo 365
Theme URI: https://soikeo365vn.com
Author: Soi Kèo Pro
Description: Theme bóng đá chuyên nghiệp cho Soi Kèo Pro - Dự đoán World Cup 2026
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: soikeo365
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark: #1a5c2a;
  --green-main: #2d7a3f;
  --green-light: #4CAF50;
  --yellow: #FFC107;
  --yellow-dark: #e6a800;
  --blue: #3B82F6;
  --dark: #0f172a;
  --dark2: #1e293b;
  --white: #ffffff;
  --gray-light: #f8fafc;
  --gray: #64748b;
  --red: #ef4444;
  --font-main: 'Be Vietnam Pro', sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* === HEADER === */
#site-header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 24px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
}

.site-logo span { color: var(--yellow); }

/* NAV */
#main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

#main-nav ul li a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

#main-nav ul li a:hover,
#main-nav ul li.current-menu-item a {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

.btn-thanhtich {
  background: var(--yellow) !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
}

.btn-thanhtich:hover {
  background: var(--yellow-dark) !important;
}

/* TELEGRAM BAR */
.telegram-bar {
  background: #1b4d2e;
  text-align: center;
  padding: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.telegram-bar a {
  background: var(--blue);
  color: white;
  padding: 5px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* === HERO === */
.hero-section {
  background: linear-gradient(135deg, #1a5c2a 0%, #2d7a3f 50%, #1e6b33 100%);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.hero-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--yellow);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-badge::before {
  content: '●';
  color: var(--yellow);
  animation: blink 1.5s infinite;
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title .highlight { color: var(--yellow); }

.hero-desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-1px); }

.btn-secondary {
  background: var(--blue);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-secondary:hover { opacity: 0.9; transform: translateY(-1px); }

/* STATS */
.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 20px 32px;
  text-align: center;
  backdrop-filter: blur(10px);
  min-width: 160px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--yellow);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

/* === SECTIONS === */
.section {
  padding: 80px 24px;
}

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

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-title-wrap {}

.section-icon {
  width: 40px;
  height: 40px;
  background: rgba(45,122,63,0.1);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 12px;
  vertical-align: middle;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  display: inline;
}

.section-sub {
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 4px;
}

.view-all {
  color: var(--green-main);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* === MATCH CARDS === */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.match-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.match-header {
  background: var(--green-main);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.match-league {
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.match-time {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}

.match-teams {
  padding: 20px;
  text-align: center;
}

.team-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
}

.vs-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin: 4px 0;
}

.match-body { padding: 0 20px 20px; }

.match-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.match-row:last-child { border-bottom: none; }
.match-label { color: var(--gray); }
.match-value { font-weight: 700; color: var(--green-main); }

.btn-analysis {
  display: block;
  background: var(--green-main);
  color: white;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 12px;
  transition: background 0.2s;
}

.btn-analysis:hover { background: var(--green-dark); }

/* === AI SECTION === */
.ai-section { background: var(--gray-light); }

.ai-list { display: flex; flex-direction: column; gap: 24px; }

.ai-item {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ai-match-name { font-weight: 800; font-size: 1.05rem; margin-bottom: 4px; }
.ai-prediction { color: var(--blue); font-weight: 600; font-size: 0.9rem; margin-bottom: 16px; }

.prob-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.prob-label { font-size: 0.85rem; color: var(--gray); width: 80px; flex-shrink: 0; }

.prob-bar-wrap {
  flex: 1;
  background: #e2e8f0;
  border-radius: 100px;
  height: 8px;
  overflow: hidden;
}

.prob-bar {
  height: 100%;
  border-radius: 100px;
}

.prob-bar.win { background: var(--green-light); }
.prob-bar.draw { background: var(--yellow); }
.prob-bar.lose { background: var(--blue); }
.prob-pct { font-size: 0.85rem; font-weight: 700; width: 36px; text-align: right; }

/* === TELEGRAM CTA === */
.telegram-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  padding: 60px 24px;
  text-align: center;
}

.telegram-cta h2 {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  margin-bottom: 8px;
}

.telegram-cta h3 {
  font-size: 2rem;
  color: white;
  font-weight: 800;
  margin-bottom: 24px;
}

.btn-telegram {
  background: white;
  color: var(--blue);
  padding: 14px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-telegram:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.telegram-cta-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-top: 16px;
}

/* === STATS TABLE === */
.stats-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.stats-table thead { background: var(--dark); color: white; }
.stats-table thead th { padding: 14px 16px; text-align: left; font-size: 0.85rem; font-weight: 600; }
.stats-table tbody tr { border-bottom: 1px solid #f1f5f9; background: white; }
.stats-table tbody tr:hover { background: #f8fafc; }
.stats-table tbody td { padding: 14px 16px; font-size: 0.9rem; }
.stats-table .td-win { color: var(--green-main); font-weight: 700; }
.stats-table .td-draw { color: var(--yellow-dark); font-weight: 700; }
.stats-table .td-lose { color: var(--red); font-weight: 700; }

.form-badge {
  display: inline-flex;
  width: 24px; height: 24px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: white;
  margin-right: 2px;
}
.form-badge.W { background: var(--green-main); }
.form-badge.D { background: var(--yellow-dark); color: var(--dark); }
.form-badge.L { background: var(--red); }

/* === ACHIEVEMENTS === */
.achievements-section { background: var(--dark2); }

.achievements-section .section-title { color: white; }
.achievements-section .section-sub { color: rgba(255,255,255,0.6); }

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.achievement-card {
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}

.achievement-card.green { background: var(--green-main); }
.achievement-card.red { background: #dc2626; }
.achievement-card.yellow { background: #d97706; }
.achievement-card.blue { background: var(--blue); }

.achievement-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-top: 12px;
}

.achievement-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

/* === BOOKMAKERS === */
.bookmakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.bookmaker-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.bookmaker-header {
  padding: 24px;
  text-align: center;
}

.bookmaker-header.blue-bg { background: var(--blue); }
.bookmaker-header.red-bg { background: #dc2626; }
.bookmaker-header.green-bg { background: var(--green-main); }

.bookmaker-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  background: rgba(255,255,255,0.25);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  display: inline-block;
}

.bookmaker-name {
  font-size: 2rem;
  font-weight: 800;
  color: white;
}

.bookmaker-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

.bookmaker-body { background: white; padding: 20px; }

.bonus-box {
  background: #fffbeb;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  margin-bottom: 16px;
}

.bonus-title { font-size: 0.85rem; color: var(--gray); margin-bottom: 4px; }
.bonus-amount { font-size: 1.1rem; font-weight: 800; color: var(--yellow-dark); }

.bookmaker-features { margin: 16px 0; }

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--gray);
}

.feature-item::before { content: '⚡'; font-size: 0.8rem; }

.btn-bet {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: white;
  transition: opacity 0.2s;
}

.btn-bet:hover { opacity: 0.9; }
.btn-bet.blue-bg { background: var(--blue); }
.btn-bet.red-bg { background: #dc2626; }
.btn-bet.green-bg { background: var(--green-main); }

.bet-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 8px;
}

/* === REVIEWS === */
.reviews-section { background: white; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.review-card {
  background: #f0fdf4;
  border-radius: 14px;
  padding: 24px;
}

.quote-icon { color: var(--green-main); font-size: 1.5rem; margin-bottom: 8px; }

.stars { color: var(--yellow); margin-bottom: 12px; }

.review-text {
  font-size: 0.92rem;
  color: var(--dark2);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-main);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.reviewer-name { font-weight: 700; font-size: 0.9rem; }
.reviewer-role { font-size: 0.78rem; color: var(--gray); }

/* === FOOTER === */
#site-footer {
  background: var(--dark);
  padding: 60px 24px 24px;
  color: white;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--yellow); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
}

.footer-disclaimer {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* === ARTICLES (Blog) === */
.articles-section { background: var(--gray-light); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.article-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.article-body { padding: 20px; }

.article-cat {
  background: rgba(45,122,63,0.1);
  color: var(--green-main);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}

.article-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--dark);
}

.article-excerpt {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 12px;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--gray);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2rem; }
  #main-nav { display: none; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .matches-grid, .bookmakers-grid, .reviews-grid { grid-template-columns: 1fr; }
}



/* ===== SINGLE POST ===== */

body { background:#f4f6f8; }

.section { max-width:1200px; margin:0 auto; padding:40px 32px; }

.section-inner { max-width:860px; margin:0 auto; background:#fff; border-radius:16px; padding:40px; box-shadow:0 2px 16px rgba(0,0,0,0.08); }

.article-cat { background:rgba(45,122,63,0.1); color:#1e7a35; font-size:0.8rem; font-weight:700; padding:4px 14px; border-radius:20px; }

h1 { font-size:2rem; font-weight:800; line-height:1.3; margin:16px 0; }

.article-content { line-height:1.8; font-size:1rem; }

.article-content h2 { font-size:1.4rem; font-weight:800; margin:32px 0 12px; color:#1a1a2e; border-left:4px solid #1e7a35; padding-left:12px; }

.article-content h3 { font-size:1.1rem; font-weight:700; margin:24px 0 10px; color:#1e7a35; }

.article-content p { margin-bottom:16px; color:#333; }

.article-content ul, .article-content ol { margin:16px 0 16px 24px; }

.article-content li { margin-bottom:8px; color:#333; }

.article-content table { width:100%; border-collapse:collapse; margin:20px 0; border-radius:8px; overflow:hidden; }

.article-content th { background:#1a1a2e; color:#fff; padding:12px 16px; text-align:left; font-size:14px; }

.article-content td { padding:12px 16px; border-bottom:1px solid #f0f0f0; font-size:14px; }

.article-content tr:hover td { background:#f9fafb; }

.article-content strong { color:#1a1a2e; }

.article-content a { color:#1e7a35; }

.article-card { background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 2px 12px rgba(0,0,0,0.08); }

.article-thumb { height:160px; background:#e5e7eb; display:flex; align-items:center; justify-content:center; font-size:2rem; }

.article-body { padding:16px; }

.article-title a { font-size:1rem; font-weight:700; color:#1a1a2e; text-decoration:none; }

.articles-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }

@media(max-width:768px) { .articles-grid { grid-template-columns:1fr; } .section { padding:24px 16px; } .section-inner { padding:24px; } h1 { font-size:1.5rem; } }



/* MOBILE RESPONSIVE */

.mobile-menu-btn{display:none;flex-direction:column;justify-content:center;gap:5px;width:36px;height:36px;background:rgba(255,255,255,0.15);border:none;border-radius:8px;cursor:pointer;padding:0;position:absolute;right:16px;top:50%;transform:translateY(-50%)}

.mobile-menu-btn span{display:block;width:18px;height:2px;background:#fff;border-radius:2px;margin:0 auto;transition:transform .2s,opacity .2s}

.mobile-menu-btn.open span:nth-child(1){transform:rotate(45deg) translate(0,7px)}

.mobile-menu-btn.open span:nth-child(2){transform:scaleX(0);opacity:0}

.mobile-menu-btn.open span:nth-child(3){transform:rotate(-45deg) translate(0,-7px)}

.mobile-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.5);z-index:998}

.mobile-overlay.open{display:block}

@media(max-width:768px){

.mobile-menu-btn{display:flex}

#main-nav{position:fixed;top:54px;right:0;width:70%;max-width:260px;height:100vh;background:#fff;z-index:999;transform:translateX(110%);transition:transform .25s ease;box-shadow:-4px 0 24px rgba(0,0,0,.15);overflow-y:auto;padding:8px 0}

#main-nav.open{transform:translateX(0)}

#main-nav ul{flex-direction:column;gap:0;list-style:none;margin:0;padding:0}

#main-nav ul li a{display:block;padding:14px 20px;font-size:14px;font-weight:600;color:#1a1a1a;border-bottom:1px solid #f0f0f0;text-decoration:none}

#main-nav ul li a:hover{background:#f0fdf4;color:#1a7a3c}

.header-inner{position:relative;padding:0 16px;height:54px;display:flex;align-items:center}

#site-header{position:sticky;top:0;z-index:997}

.matches-grid,.articles-grid,.footer-grid{grid-template-columns:1fr}

.section{padding:20px 16px}

.section-inner{padding:16px;border-radius:12px}

.topbar{display:none}

.hero-btns{flex-direction:column}

.btn-primary,.btn-tg{width:100%;text-align:center}

}

@media(max-width:480px){h1{font-size:1.3rem}}

