/* Reset cơ bản */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: #0d0d0d; color: #fff; line-height: 1.6; }

/* Header */
header { display: flex; justify-content: space-between; align-items: center; padding: 20px; }
header .logo img { height: 50px; }
nav ul { display: flex; list-style: none; }
nav ul li { margin: 0 15px; }
nav ul li a { color: #fff; text-decoration: none; font-weight: 500; }
.lang-switch button { background: none; border: none; color: #FFD700; font-weight: 600; cursor: pointer; }

/* Hero Section */
.hero { text-align: center; padding: 60px 20px; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('../images/stadium-bg.jpg') no-repeat center/cover; }
.hero h1 { font-size: 42px; font-weight: 700; color: #FFD700; }
.hero h1 span { display: block; font-size: 28px; color: #fff; }
.hero p { margin: 20px 0; font-size: 18px; }
.cta-buttons { margin: 30px 0; }
.cta-buttons .btn { display: inline-block; margin: 10px; padding: 15px 25px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.google-play { background: #34A853; color: #fff; }
.app-store { background: #0070C9; color: #fff; }
.mockup img { max-width: 300px; margin-top: 30px; }
.trust-signals { margin-top: 20px; font-size: 16px; color: #ccc; }

/* CTA Animation */
.cta-buttons .btn:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(255, 215, 0, 0.8); }
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.cta-buttons .btn.google-play { animation: pulse 2s infinite; }

/* Footer */
footer { text-align: center; padding: 20px; background: #111; font-size: 14px; }
footer a { color: #FFD700; text-decoration: none; }

/* Responsive Mobile-first */
@media (max-width: 768px) {
  header { flex-direction: column; }
  nav ul { flex-direction: column; margin-top: 10px; }
  nav ul li { margin: 10px 0; }

  .hero h1 { font-size: 28px; }
  .hero h1 span { font-size: 20px; }
  .hero p { font-size: 16px; }

  .cta-buttons .btn { display: block; width: 80%; margin: 10px auto; }
  .mockup img { max-width: 200px; }
}

.features { padding: 60px 20px; text-align: center; }
.features h1 { font-size: 36px; color: #FFD700; margin-bottom: 40px; }
.feature-item { margin-bottom: 40px; }
.feature-item img { max-width: 120px; margin-bottom: 15px; }
.feature-item h2 { font-size: 22px; color: #fff; margin-bottom: 10px; }
.feature-item p { font-size: 16px; color: #ccc; }

.tips { padding: 60px 20px; text-align: center; }
.tips h1 { font-size: 36px; color: #FFD700; margin-bottom: 40px; }
.tip-item { background: #111; padding: 20px; margin-bottom: 30px; border-radius: 8px; }
.tip-item h2 { font-size: 22px; color: #fff; margin-bottom: 10px; }
.tip-item p { font-size: 16px; color: #ccc; margin: 5px 0; }
.tip-item .btn { margin-top: 15px; display: inline-block; padding: 10px 20px; border-radius: 6px; text-decoration: none; font-weight: 600; }

.download { padding: 60px 20px; text-align: center; }
.download h1 { font-size: 36px; color: #FFD700; margin-bottom: 20px; }
.download p { font-size: 18px; color: #ccc; margin-bottom: 30px; }
.download .cta-buttons .btn { margin: 10px; padding: 15px 25px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.download .mockup img { max-width: 300px; margin-top: 30px; }
.download .trust-signals { margin-top: 20px; font-size: 16px; color: #ccc; }

.news { padding: 60px 20px; }
.news h1 { font-size: 36px; color: #FFD700; text-align: center; margin-bottom: 40px; }
.news-item { background: #111; padding: 20px; margin-bottom: 30px; border-radius: 8px; }
.news-item h2 { font-size: 22px; color: #fff; margin-bottom: 10px; }
.news-item p { font-size: 16px; color: #ccc; margin: 5px 0; }
.news-item .btn { margin-top: 15px; display: inline-block; padding: 10px 20px; border-radius: 6px; text-decoration: none; font-weight: 600; background: #FFD700; color: #000; }

.privacy { padding: 60px 20px; max-width: 800px; margin: auto; }
.privacy h1 { font-size: 36px; color: #FFD700; text-align: center; margin-bottom: 40px; }
.privacy h2 { font-size: 22px; color: #fff; margin-top: 30px; margin-bottom: 10px; }
.privacy p { font-size: 16px; color: #ccc; line-height: 1.6; }

.matches-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.match-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    width: 280px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.match-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

.teams {
    text-align: center;
    font-weight: bold;
    margin: 0.5rem 0;
}

.odds p {
    margin: 0.2rem 0;
    font-size: 0.85rem;
}

.ai {
    font-size: 0.8rem;
    color: #444;
    margin-top: 0.5rem;
}

.btn-detail {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: #007bff;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}
.btn-detail:hover {
    background: #0056b3;
}
.matches-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.match-card {
    background: #fff;
    color: #222;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    width: 280px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


.match-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

.teams {
    text-align: center;
    font-weight: bold;
    margin: 0.5rem 0;
}

.odds p {
    margin: 0.2rem 0;
    font-size: 0.85rem;
}

.ai {
    font-size: 0.8rem;
    color: #444;
    margin-top: 0.5rem;
}

.btn-detail {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: #007bff;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}
.btn-detail:hover {
    background: #0056b3;
}

.matches-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
}

.match-detail {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.match-detail p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #333;
}

.match-detail .match-time {
    font-weight: 600;
    color: #007bff;
}

.ai-summary {
    background: #eef6ff;
    border-left: 4px solid #007bff;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 6px;
    font-style: italic;
    color: #444;
}

.recent-matches h3 {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #007bff;
}

.recent-matches ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem 0;
}

.recent-matches li {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #333;
    transition: background 0.2s ease;
}

.recent-matches li:hover {
    background: #f0f8ff;
}

.ai-summary-box {
    background: #f0f8ff; /* nền xanh nhạt */
    border: 2px solid #007bff; /* viền xanh nổi bật */
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.ai-summary-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-summary-box p {
    margin: 0;
    font-style: italic;
}
