/*
Theme Name: World Cup TH
Theme URI: https://example.com/theme16
Description: World Cup 2026 tournament/event themed site with stadium-inspired design elements.
Version: 1.0
Author: ThemeDev
Text Domain: world-cup-th
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Prompt', sans-serif; background: #0d1b2e; color: #ffffff; line-height: 1.6; }
a { color: #ffd700; text-decoration: none; transition: color 0.3s; }
a:hover { color: #ffeb3b; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-header { background: linear-gradient(90deg, #0d1b2e, #002868); position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid #ffd700; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; max-width: 1200px; margin: 0 auto; }
.site-logo { font-size: 1.4rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.site-logo .trophy { font-size: 1.6rem; }
.site-logo span { color: #ffd700; }
.main-nav ul { display: flex; list-style: none; gap: 5px; }
.main-nav a { color: #fff; font-size: 0.85rem; font-weight: 500; padding: 8px 14px; border-radius: 5px; transition: all 0.3s; }
.main-nav a:hover { background: #ffd700; color: #0d1b2e; }
.nav-toggle { display: none; background: none; border: 2px solid #ffd700; color: #ffd700; padding: 8px 12px; border-radius: 5px; cursor: pointer; font-size: 1.2rem; }
.hero-wc { position: relative; padding: 80px 0; text-align: center; overflow: hidden; background: linear-gradient(180deg, #0d1b2e 0%, #1b5e20 100%); }
.hero-wc::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255,255,255,0.05) 50px, rgba(255,255,255,0.05) 51px); }
.hero-wc::after { content: ''; position: absolute; top: 50%; left: 50%; width: 200px; height: 200px; border: 3px solid rgba(255,255,255,0.1); border-radius: 50%; transform: translate(-50%, -50%); }
.hero-wc h1 { font-size: 2.5rem; margin-bottom: 15px; position: relative; z-index: 1; }
.hero-wc h1 span { color: #ffd700; }
.hero-wc p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 30px; position: relative; z-index: 1; }
.hero-flags { display: flex; justify-content: center; gap: 15px; font-size: 2rem; margin-bottom: 30px; position: relative; z-index: 1; }
.btn-gold { display: inline-block; padding: 14px 32px; background: #ffd700; color: #0d1b2e; font-weight: 700; border-radius: 8px; font-size: 1rem; transition: all 0.3s; position: relative; z-index: 1; }
.btn-gold:hover { background: #ffeb3b; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,215,0,0.3); color: #0d1b2e; }
.btn-red { background: #bf0a30; color: #fff; }
.btn-red:hover { background: #e53935; color: #fff; box-shadow: 0 10px 30px rgba(191,10,48,0.3); }
.match-schedule { padding: 60px 0; }
.match-schedule h2 { text-align: center; font-size: 1.8rem; margin-bottom: 40px; color: #ffd700; }
.schedule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.match-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,215,0,0.2); border-radius: 12px; padding: 20px; display: flex; align-items: center; justify-content: space-between; transition: all 0.3s; }
.match-card:hover { border-color: #ffd700; background: rgba(255,215,0,0.05); }
.match-team { text-align: center; min-width: 80px; }
.match-team .flag { font-size: 2rem; display: block; margin-bottom: 5px; }
.match-team .team-name { font-size: 0.8rem; opacity: 0.8; }
.match-info { text-align: center; }
.match-info .match-time { font-size: 0.8rem; color: #ffd700; margin-bottom: 4px; }
.match-info .match-vs { font-size: 1.2rem; font-weight: 700; }
.match-info .match-odds { font-size: 0.75rem; color: #bf0a30; margin-top: 4px; background: rgba(191,10,48,0.2); padding: 2px 8px; border-radius: 10px; }
.group-tables { padding: 60px 0; background: rgba(0,0,0,0.2); }
.group-tables h2 { text-align: center; font-size: 1.8rem; margin-bottom: 40px; color: #ffd700; }
.groups-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.group-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; overflow: hidden; }
.group-card h3 { background: linear-gradient(90deg, #bf0a30, #002868); padding: 12px 20px; font-size: 1rem; }
.group-card table { width: 100%; border-collapse: collapse; }
.group-card th { padding: 10px; text-align: left; font-size: 0.75rem; color: #ffd700; border-bottom: 1px solid rgba(255,255,255,0.1); }
.group-card td { padding: 10px; font-size: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.group-card tr:hover { background: rgba(255,215,0,0.05); }
.betting-odds { padding: 60px 0; }
.betting-odds h2 { text-align: center; font-size: 1.8rem; margin-bottom: 40px; color: #ffd700; }
.odds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.odds-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 25px; text-align: center; transition: all 0.3s; }
.odds-card:hover { border-color: #ffd700; transform: translateY(-3px); }
.odds-card .odds-flag { font-size: 2.5rem; margin-bottom: 10px; }
.odds-card h3 { font-size: 1rem; margin-bottom: 8px; }
.odds-card .odds-value { font-size: 1.5rem; font-weight: 700; color: #ffd700; margin-bottom: 10px; }
.odds-card .odds-label { font-size: 0.8rem; opacity: 0.6; }
.country-spotlight { padding: 60px 0; }
.country-spotlight h2 { text-align: center; font-size: 1.8rem; margin-bottom: 40px; color: #ffd700; }
.spotlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.spotlight-card { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 25px; text-align: center; border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s; }
.spotlight-card:hover { border-color: #ffd700; }
.spotlight-card .country-flag { font-size: 3rem; margin-bottom: 10px; }
.spotlight-card h3 { font-size: 0.95rem; margin-bottom: 5px; }
.spotlight-card p { font-size: 0.8rem; opacity: 0.6; }
.latest-news { padding: 60px 0; }
.latest-news h2 { text-align: center; font-size: 1.8rem; margin-bottom: 40px; color: #ffd700; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-card { background: rgba(255,255,255,0.05); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); transition: transform 0.3s; }
.news-card:hover { transform: translateY(-5px); border-color: #ffd700; }
.news-thumb { width: 100%; height: 180px; background: linear-gradient(135deg, #1b5e20, #002868); display: flex; align-items: center; justify-content: center; font-size: 3rem; overflow: hidden; }
.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: #ffd700; }
.news-date { font-size: 0.8rem; color: #ffd700; margin-bottom: 8px; }
.news-excerpt { font-size: 0.85rem; opacity: 0.7; }
.site-footer { background: linear-gradient(180deg, #0d1b2e, #000); padding: 40px 0 20px; border-top: 3px solid #ffd700; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-col h3 { color: #ffd700; 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: #ffd700; }
.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; background: linear-gradient(135deg, #002868, #1b5e20); border-bottom: 3px solid #ffd700; margin-bottom: 40px; }
.page-header h1 { font-size: 2rem; color: #ffd700; }
.posts-list { padding: 40px 0; }
.post-item { display: flex; gap: 25px; background: rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.1); transition: all 0.3s; }
.post-item:hover { border-color: #ffd700; transform: translateX(5px); }
.post-item-thumb { flex-shrink: 0; width: 200px; height: 140px; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #1b5e20, #002868); }
.post-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-item-content h2 { font-size: 1.1rem; margin-bottom: 8px; }
.post-item-content h2 a { color: #fff; }
.post-item-content h2 a:hover { color: #ffd700; }
.post-item-meta { font-size: 0.8rem; color: #ffd700; margin-bottom: 10px; }
.post-item-excerpt { font-size: 0.9rem; opacity: 0.7; }
.pagination { display: flex; justify-content: center; gap: 8px; 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: #ffd700; color: #0d1b2e; }
.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: #ffd700; font-size: 0.9rem; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px solid #ffd700; }
.single-post .featured-image { width: 100%; height: 400px; border-radius: 12px; overflow: hidden; margin-bottom: 30px; }
.single-post .featured-image img { width: 100%; height: 100%; object-fit: cover; }
.single-post .post-content { font-size: 1rem; line-height: 1.9; }
.single-post .post-content p { margin-bottom: 20px; }
.single-post .post-content h2, .single-post .post-content h3 { color: #ffd700; margin: 30px 0 15px; }
.post-nav { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.1); }
.post-nav a { padding: 10px 20px; background: rgba(255,255,255,0.1); border-radius: 8px; color: #fff; }
.post-nav a:hover { background: #ffd700; color: #0d1b2e; }
.related-posts { margin-top: 50px; }
.related-posts h3 { font-size: 1.5rem; margin-bottom: 25px; color: #ffd700; }
.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; }
  .schedule-grid { grid-template-columns: 1fr; }
  .groups-grid { grid-template-columns: 1fr; }
  .odds-grid { grid-template-columns: 1fr; }
  .spotlight-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-wc h1 { font-size: 1.8rem; }
}
