/*
Theme Name: Sport Strike TH
Theme URI: https://example.com/sport-strike-th
Author: ThemeDev
Description: A sporty, energetic WordPress theme with yellow and black color scheme designed for Thai gaming sites.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: sport-strike-th
*/

:root {
  --primary: #ffe600;
  --primary-dark: #ffc107;
  --bg: #000000;
  --bg-light: #111111;
  --bg-card: #1a1a1a;
  --text: #ffffff;
  --text-muted: #cccccc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Prompt', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.site-header {
  background: var(--bg);
  border-bottom: 3px solid var(--primary);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

.site-logo { font-size: 1.8rem; font-weight: 900; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; }
.site-logo span { color: var(--text); }

.main-nav ul { display: flex; list-style: none; gap: 25px; }
.main-nav a { color: var(--text); font-weight: 500; font-size: 0.95rem; padding: 8px 12px; border-radius: 4px; transition: all 0.3s; position: relative; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
.main-nav a:hover::after { width: 80%; }
.main-nav a:hover { color: var(--primary); }

.mobile-toggle { display: none; background: none; border: none; color: var(--primary); font-size: 1.5rem; cursor: pointer; }

.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 20px 80px;
  position: relative;
  background: linear-gradient(135deg, #000000 0%, #1a1a00 50%, #000000 100%);
  overflow: hidden;
}

.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,230,0,0.03) 20px, rgba(255,230,0,0.03) 40px);
}

.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 3.5rem; font-weight: 900; text-transform: uppercase; margin-bottom: 20px; line-height: 1.2; }
.hero h1 span { color: var(--primary); display: block; }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 30px; }

.btn-primary {
  display: inline-block; background: var(--primary); color: #000;
  padding: 15px 40px; font-size: 1.1rem; font-weight: 700;
  border-radius: 4px; text-transform: uppercase; letter-spacing: 1px;
  transition: all 0.3s; transform: skewX(-5deg);
}
.btn-primary:hover { background: var(--primary-dark); color: #000; transform: skewX(-5deg) scale(1.05); }

.features {
  padding: 80px 20px; background: var(--bg-light);
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.section-title { text-align: center; font-size: 2.5rem; font-weight: 800; margin-bottom: 50px; text-transform: uppercase; }
.section-title span { color: var(--primary); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }

.feature-card {
  background: var(--bg-card); border: 2px solid transparent;
  border-image: linear-gradient(135deg, var(--primary), transparent) 1;
  padding: 30px; text-align: center; transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-icon { font-size: 3rem; margin-bottom: 15px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--primary); }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

.games { padding: 80px 20px; background: var(--bg); }
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; max-width: 1200px; margin: 0 auto; }

.game-card {
  background: var(--bg-card); border-radius: 8px; overflow: hidden;
  position: relative; transition: transform 0.3s; border-left: 4px solid var(--primary);
}
.game-card:hover { transform: scale(1.03); }
.game-card-img { height: 180px; background: linear-gradient(135deg, var(--bg-card), #2a2a00); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.game-card-body { padding: 20px; }
.game-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.game-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 15px; }

.btn-secondary { display: inline-block; border: 2px solid var(--primary); color: var(--primary); padding: 8px 20px; font-weight: 600; font-size: 0.9rem; transition: all 0.3s; }
.btn-secondary:hover { background: var(--primary); color: #000; }

.promotions { padding: 80px 20px; background: var(--bg-light); position: relative; }
.promotions::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--primary)); }

.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.promo-card { background: var(--bg-card); padding: 30px; border-radius: 8px; position: relative; overflow: hidden; }
.promo-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary); }
.promo-badge { display: inline-block; background: var(--primary); color: #000; padding: 4px 12px; font-size: 0.8rem; font-weight: 700; margin-bottom: 15px; transform: skewX(-5deg); }
.promo-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.promo-card p { color: var(--text-muted); font-size: 0.95rem; }

.why-us { padding: 80px 20px; background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.why-item { text-align: center; padding: 30px; }
.why-number { font-size: 3rem; font-weight: 900; color: var(--primary); display: block; margin-bottom: 10px; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-item p { color: var(--text-muted); font-size: 0.9rem; }

.site-footer { background: var(--bg-light); border-top: 3px solid var(--primary); padding: 60px 20px 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.footer-col h4 { color: var(--primary); font-size: 1.1rem; margin-bottom: 15px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid #333; color: var(--text-muted); font-size: 0.85rem; }

@media (max-width: 768px) {
  .main-nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 20px; border-bottom: 3px solid var(--primary); }
  .main-nav ul.active { display: flex; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .features { clip-path: none; }
}
