* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Arial, sans-serif; background: #f4f4f4; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.top-bar { background: #0a3d2e; color: #fff; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.logo { font-size: 26px; font-weight: 800; color: #f4c430; letter-spacing: 1px; }
.logo span { color: #fff; font-size: 11px; display: block; font-weight: 400; letter-spacing: 0; }
.search-bar { flex: 1; max-width: 480px; margin: 0 20px; }
.search-bar input { width: 100%; padding: 10px 16px; border-radius: 20px; border: none; background: #fff; font-size: 14px; }
.auth-buttons { display: flex; gap: 10px; }
.btn-login, .btn-register { padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; }
.btn-login { background: transparent; color: #f4c430; border: 1px solid #f4c430; }
.btn-register { background: #f4c430; color: #0a3d2e; }
.btn-login:hover, .btn-register:hover { opacity: 0.85; }

/* Nav */
.main-nav { background: #0a3d2e; border-top: 1px solid #1a5d4e; padding: 10px 0; text-align: center; }
.main-nav ul { list-style: none; display: inline-flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.main-nav a { color: #fff; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 4px; transition: 0.2s; }
.main-nav a:hover, .main-nav a.active { color: #f4c430; background: #1a5d4e; }

/* Hero */
.hero { position: relative; background: linear-gradient(135deg, #0a3d2e 0%, #1a5d4e 100%); padding: 0; overflow: hidden; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; padding: 40px 20px; }
.hero-text h1 { color: #f4c430; font-size: 42px; margin-bottom: 16px; line-height: 1.1; }
.hero-text p { color: #fff; font-size: 16px; margin-bottom: 20px; }
.hero-cta { display: inline-block; background: #e63946; color: #fff; padding: 14px 36px; border-radius: 30px; font-weight: 700; font-size: 16px; }
.hero-img img { border-radius: 8px; width: 100%; height: auto; }

/* Sections */
main { max-width: 1200px; margin: 0 auto; padding: 30px 20px; background: #fff; }
.section-title { font-size: 20px; font-weight: 700; color: #0a3d2e; padding: 12px 0; border-bottom: 2px solid #f4c430; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.section-title .see-all { font-size: 13px; color: #0a3d2e; font-weight: 500; }

/* Game grid */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-bottom: 30px; }
.game-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; transition: 0.2s; cursor: pointer; }
.game-card:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.game-card h3 { font-size: 13px; padding: 10px; color: #0a3d2e; text-align: center; font-weight: 600; }

/* Events table */
.events-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; font-size: 13px; }
.events-table th { background: #f5e6a0; color: #0a3d2e; padding: 8px 12px; text-align: left; font-weight: 600; }
.events-table td { padding: 10px 12px; border-bottom: 1px solid #eee; }
.events-table tr:nth-child(even) td { background: #fafafa; }
.event-row td:nth-child(2), .event-row td:nth-child(4) { font-weight: 700; color: #0a3d2e; text-align: center; }
.event-header td { background: #e8f0ec; color: #555; font-size: 12px; padding: 6px 12px; font-weight: 500; }

/* Content blocks */
.brand-story { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 40px 0; align-items: center; }
.brand-story img { border-radius: 8px; }
.brand-story h2 { color: #0a3d2e; font-size: 26px; margin-bottom: 14px; }
.brand-story p { margin-bottom: 12px; font-size: 15px; color: #444; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 30px 0; }
.feature-box { background: #f9f9f9; padding: 24px; border-radius: 8px; border-left: 4px solid #f4c430; }
.feature-box h3 { color: #0a3d2e; margin-bottom: 10px; font-size: 17px; }
.feature-box p { font-size: 14px; color: #555; }

.stats-banner { background: linear-gradient(90deg, #0a3d2e, #1a5d4e); color: #fff; padding: 30px 20px; border-radius: 8px; margin: 30px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; text-align: center; }
.stat-item h4 { font-size: 28px; color: #f4c430; margin-bottom: 6px; }
.stat-item p { font-size: 13px; }

.faq-section { margin: 40px 0; }
.faq-item { background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; padding: 18px 22px; margin-bottom: 12px; }
.faq-item h4 { color: #0a3d2e; font-size: 16px; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: #555; }
.faq-item ul { margin: 8px 0 0 20px; font-size: 14px; color: #555; }

.testimonial { background: #fffbe6; border-left: 4px solid #f4c430; padding: 20px; margin: 30px 0; border-radius: 6px; font-style: italic; color: #555; }

/* Footer */
footer { background: #0a3d2e; color: #fff; padding: 40px 20px 20px; margin-top: 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; padding-bottom: 30px; border-bottom: 1px solid #1a5d4e; }
.footer-col h5 { color: #f4c430; font-size: 15px; margin-bottom: 14px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 13px; }
.footer-col a:hover { color: #f4c430; }
.footer-bottom { max-width: 1200px; margin: 20px auto 0; font-size: 12px; text-align: center; line-height: 1.8; color: #b0c4ba; }
.footer-bottom strong { color: #f4c430; }
.age-warning { display: inline-block; background: #e63946; color: #fff; padding: 4px 12px; border-radius: 20px; font-weight: 700; margin-top: 10px; }

@media (max-width: 768px) {
    .top-bar { flex-direction: column; }
    .search-bar { margin: 10px 0; max-width: 100%; }
    .main-nav ul { gap: 10px; }
    .main-nav a { padding: 6px 10px; font-size: 13px; }
    .hero-inner { grid-template-columns: 1fr; padding: 20px; }
    .hero-text h1 { font-size: 28px; }
    .brand-story { grid-template-columns: 1fr; }
    .events-table { font-size: 11px; }
    .events-table th, .events-table td { padding: 6px 8px; }
    .game-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
}