* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  background: #f0f0f0;
  color: #1a1a1a;
  line-height: 1.55;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
.top-header {
  background: #0d3b2e;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-size: 26px;
  font-weight: 800;
  color: #f5a623;
  letter-spacing: 1px;
}
.logo span { color: #fff; }
.search-bar {
  flex: 1;
  max-width: 420px;
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border-radius: 22px;
  border: none;
  background: #f4f4f4;
  font-size: 14px;
  outline: none;
}
.search-bar::before {
  content: "🔍";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #888;
}
.auth-buttons { display: flex; gap: 8px; }
.btn-login, .btn-register {
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border: none;
  transition: 0.2s;
}
.btn-login {
  background: transparent;
  color: #f5a623;
  border: 1px solid #f5a623;
}
.btn-register {
  background: #f5a623;
  color: #0d3b2e;
}
.btn-login:hover { background: #f5a623; color: #0d3b2e; }
.btn-register:hover { background: #d8901a; }

/* Nav */
nav.main-nav {
  background: #0a2e23;
  padding: 10px 0;
  text-align: center;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
nav.main-nav a {
  color: #d6d6d6;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  transition: 0.2s;
}
nav.main-nav a:hover { color: #f5a623; }
nav.main-nav a.active {
  color: #f5a623;
  border-bottom: 2px solid #f5a623;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0d3b2e 0%, #1a5c45 100%);
  padding: 30px 20px;
  text-align: center;
  overflow: hidden;
}
.hero-banner {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  width: 90%;
}
.hero-content h1 {
  font-size: clamp(22px, 4vw, 44px);
  color: #ffd76b;
  margin-bottom: 12px;
  font-weight: 800;
}
.hero-content p {
  font-size: clamp(13px, 2vw, 18px);
  margin-bottom: 16px;
}
.hero-cta {
  display: inline-block;
  background: #e63946;
  color: #fff;
  padding: 10px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid #fff;
}

/* Main Layout */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0d3b2e;
}
.section-title h2 {
  font-size: 18px;
  color: #0d3b2e;
  font-weight: 700;
}
.section-title a {
  color: #f5a623;
  font-size: 13px;
  font-weight: 600;
}

/* Two column layout */
.dual-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
@media (max-width: 900px) {
  .dual-layout { grid-template-columns: 1fr; }
}

/* Events table */
.events-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.event-tag {
  display: inline-block;
  background: #fff8e1;
  color: #d68910;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin: 12px;
}
.event-row-header {
  background: #f3f3f3;
  padding: 8px 12px;
  font-size: 12px;
  color: #555;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e6e6e6;
}
.event-row-header .date-info { font-weight: 600; }
.event-row-header .odds-badge {
  background: #0d3b2e;
  color: #f5a623;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
}
.event-row {
  display: grid;
  grid-template-columns: 1fr 80px 60px 80px 1fr 60px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  gap: 6px;
}
.event-row .team { font-weight: 600; color: #1a1a1a; }
.event-row .odd {
  background: #f8f8f8;
  text-align: center;
  padding: 6px;
  border-radius: 4px;
  font-weight: 600;
  color: #0d3b2e;
  cursor: pointer;
  transition: 0.2s;
}
.event-row .odd:hover { background: #fff3d6; }
.event-row .draw-label {
  text-align: center;
  color: #888;
  font-size: 11px;
}
.event-row .live-icon { text-align: right; color: #888; font-size: 11px; }
@media (max-width: 700px) {
  .event-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .event-row .odd { grid-column: span 1; }
}

/* Betslip */
.betslip-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.betslip-card h3 {
  font-size: 16px;
  color: #0d3b2e;
  margin-bottom: 12px;
  font-weight: 700;
}
.betslip-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.betslip-options div {
  padding: 8px 10px;
  background: #f7f7f7;
  border-radius: 5px;
  font-size: 13px;
  color: #444;
}
.betslip-empty {
  text-align: center;
  padding: 24px 10px;
  background: #fafafa;
  border-radius: 6px;
}
.betslip-empty .empty-img {
  font-size: 38px;
  margin-bottom: 10px;
  color: #c4c4c4;
}
.betslip-empty p { color: #777; font-size: 13px; }
.betslip-empty strong { display: block; color: #444; margin-bottom: 4px; }

/* Game grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}
.game-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s;
  text-align: center;
  padding: 10px;
}
.game-card:hover { transform: translateY(-3px); }
.game-card .img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  min-height: 100px;
}
.game-card .img-wrap img {
  max-height: 130px;
  width: auto;
  object-fit: contain;
}
.game-card h4 {
  font-size: 13px;
  color: #0d3b2e;
  font-weight: 600;
}

/* Featured sections wide */
.featured-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}
@media (max-width: 700px) {
  .featured-wide { grid-template-columns: 1fr; }
}
.featured-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.featured-card img {
  width: 100%;
  height: auto;
  display: block;
}
.featured-card .info {
  padding: 14px;
}
.featured-card h3 {
  font-size: 15px;
  color: #0d3b2e;
  margin-bottom: 6px;
}
.featured-card p {
  font-size: 13px;
  color: #555;
}

/* Content blocks */
.content-block {
  background: #fff;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.content-block h2 {
  font-size: 20px;
  color: #0d3b2e;
  margin-bottom: 14px;
  border-left: 4px solid #f5a623;
  padding-left: 10px;
}
.content-block h3 {
  font-size: 17px;
  color: #1a5c45;
  margin: 16px 0 10px;
}
.content-block p {
  margin-bottom: 12px;
  font-size: 14.5px;
  color: #2c2c2c;
}
.content-block ul {
  margin: 10px 0 14px 22px;
}
.content-block ul li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.stat-box {
  background: linear-gradient(135deg, #0d3b2e, #1a5c45);
  color: #fff;
  padding: 18px;
  border-radius: 8px;
  text-align: center;
}
.stat-box .num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #f5a623;
  margin-bottom: 4px;
}
.stat-box .lbl { font-size: 12px; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid #eaeaea;
  padding: 14px 0;
}
.faq-item h4 {
  font-size: 15px;
  color: #0d3b2e;
  margin-bottom: 6px;
  cursor: pointer;
}
.faq-item h4::before {
  content: "❯ ";
  color: #f5a623;
  font-size: 12px;
}
.faq-item p {
  font-size: 14px;
  color: #555;
  padding-left: 18px;
}

/* Review */
.user-review {
  background: #fff8e1;
  border-left: 4px solid #f5a623;
  padding: 14px 18px;
  margin: 18px 0;
  font-style: italic;
  font-size: 14px;
  color: #5a4520;
  border-radius: 4px;
}

/* Footer */
footer {
  background: #0d3b2e;
  color: #c8c8c8;
  padding: 30px 20px 18px;
  margin-top: 30px;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #1a5c45;
}
.footer-col h4 {
  color: #f5a623;
  margin-bottom: 12px;
  font-size: 15px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; font-size: 13px; }
.footer-col ul li a:hover { color: #f5a623; }
.footer-contact p {
  font-size: 13px;
  margin-bottom: 5px;
}
.footer-bottom {
  max-width: 1200px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 12px;
  color: #8da89e;
}
.footer-bottom .age-warning {
  display: inline-block;
  background: #e63946;
  color: #fff;
  padding: 4px 10px;
  border-radius: 14px;
  margin: 10px 5px 0;
  font-weight: 600;
}
.footer-logo-end {
  text-align: center;
  margin-top: 14px;
}
.footer-logo-end img {
  display: inline-block;
  max-width: 200px;
  height: auto;
}

@media (max-width: 600px) {
  .top-header { flex-direction: column; align-items: stretch; }
  .auth-buttons { justify-content: center; }
  .hero-content h1 { font-size: 20px; }
}