* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; background: #f4f6f8; color: #222; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
.top-bar { background: #1e6b5c; color: #fff; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { font-size: 24px; font-weight: bold; color: #ffd23f; letter-spacing: 1px; }
.auth-buttons { display: flex; gap: 10px; }
.btn-login { background: #ffd23f; color: #1e6b5c; padding: 8px 22px; border-radius: 4px; font-weight: bold; }
.btn-signup { background: #fff; color: #1e6b5c; padding: 8px 22px; border-radius: 4px; font-weight: bold; border: 1px solid #fff; }

/* Nav */
nav.main-nav { background: #fff; border-bottom: 2px solid #e7e7e7; padding: 12px 0; }
nav.main-nav ul { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; gap: 6px; }
nav.main-nav ul li a { padding: 8px 18px; color: #1e6b5c; font-weight: 600; font-size: 14px; text-transform: uppercase; border-radius: 4px; transition: 0.2s; }
nav.main-nav ul li a:hover, nav.main-nav ul li a.active { background: #1e6b5c; color: #ffd23f; }
nav.main-nav ul li .dot { color: #ffd23f; padding: 8px 0; }

/* Layout */
.container { max-width: 1300px; margin: 20px auto; padding: 0 15px; display: grid; grid-template-columns: 220px 1fr 240px; gap: 15px; }
@media (max-width: 992px) { .container { grid-template-columns: 1fr; } .sidebar-left, .sidebar-right { order: 3; } }

/* Sidebar Left */
.sidebar-left { background: #fff; border-radius: 6px; padding: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.sidebar-left ul { list-style: none; }
.sidebar-left ul li { padding: 12px 14px; border-bottom: 1px solid #f0f0f0; font-weight: 600; color: #333; cursor: pointer; font-size: 14px; }
.sidebar-left ul li:hover { background: #fff8e0; color: #1e6b5c; }
.contact-box { margin-top: 15px; padding: 10px; background: #fafafa; border-radius: 6px; }
.contact-box p { font-size: 13px; font-weight: 600; margin-bottom: 8px; color: #1e6b5c; }
.contact-btn { display: block; background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 8px; margin-bottom: 6px; font-size: 13px; text-align: center; }

/* Main */
.main-content { display: flex; flex-direction: column; gap: 15px; }
.hero-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero-banners .banner { border-radius: 6px; overflow: hidden; position: relative; background: linear-gradient(135deg, #1e6b5c, #2e9d83); }
.hero-banners .banner img { width: 100%; height: 160px; object-fit: cover; }
@media (max-width: 768px) { .hero-banners { grid-template-columns: 1fr; } }

.category-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.category-strip .cat { background: linear-gradient(135deg, #6a11cb, #2575fc); color: #fff; padding: 14px; border-radius: 6px; font-weight: bold; text-align: center; font-size: 13px; }
.category-strip .cat:nth-child(2) { background: linear-gradient(135deg, #f857a6, #ff5858); }
.category-strip .cat:nth-child(3) { background: linear-gradient(135deg, #11998e, #38ef7d); }
.category-strip .cat:nth-child(4) { background: linear-gradient(135deg, #fc4a1a, #f7b733); }

.game-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.game-feature-grid .featured-card { border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.game-feature-grid .featured-card img { width: 100%; height: 200px; object-fit: cover; }

.section-title { background: linear-gradient(90deg, #ff6b00, #ff8e3c); color: #fff; padding: 10px 16px; border-radius: 4px; font-weight: bold; font-size: 15px; margin-top: 5px; }
.section-title.green { background: linear-gradient(90deg, #1e6b5c, #2e9d83); }

.game-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; background: #fff; padding: 12px; border-radius: 0 0 6px 6px; }
.game-card { border-radius: 6px; overflow: hidden; cursor: pointer; background: #f8f8f8; transition: transform 0.2s; }
.game-card:hover { transform: translateY(-3px); }
.game-card img { width: 100%; height: 130px; object-fit: cover; }
.game-card .info { padding: 6px 8px; background: #5e2ca5; color: #fff; }
.game-card .info h4 { font-size: 12px; margin: 0; }
.game-card .info span { font-size: 10px; opacity: 0.8; }
@media (max-width: 768px) { .game-grid { grid-template-columns: repeat(2, 1fr); } .category-strip { grid-template-columns: repeat(2, 1fr); } }

/* Sidebar Right */
.sidebar-right { background: #fff; border-radius: 6px; padding: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); height: fit-content; }
.credit-box { background: #1e6b5c; color: #fff; padding: 12px; border-radius: 6px; margin-bottom: 10px; font-weight: bold; }
.bet-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.bet-tabs div { padding: 10px; text-align: center; font-weight: bold; font-size: 14px; }
.bet-tabs .active-tab { background: #ffd23f; color: #1e6b5c; }
.bet-tabs .inactive-tab { background: #1e6b5c; color: #fff; }

/* Content Section */
.content-section { background: #fff; padding: 30px 25px; margin: 20px auto; max-width: 1300px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.content-section h1 { color: #1e6b5c; font-size: 30px; margin-bottom: 18px; border-bottom: 3px solid #ffd23f; padding-bottom: 10px; }
.content-section h2 { color: #1e6b5c; font-size: 22px; margin: 22px 0 12px; }
.content-section h3 { color: #2e9d83; font-size: 18px; margin: 18px 0 8px; }
.content-section p { margin-bottom: 14px; text-align: justify; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.stat-item { background: linear-gradient(135deg, #1e6b5c, #2e9d83); color: #fff; padding: 18px; text-align: center; border-radius: 8px; }
.stat-item .num { font-size: 26px; font-weight: bold; color: #ffd23f; display: block; }
.stat-item .label { font-size: 13px; margin-top: 5px; }
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 20px 0; }
.feature-box { background: #fff8e0; border-left: 4px solid #ffd23f; padding: 15px; border-radius: 4px; }
.feature-box h3 { color: #1e6b5c; font-size: 16px; margin-bottom: 8px; }
.feature-box p { font-size: 14px; }
@media (max-width: 768px) { .feature-grid { grid-template-columns: 1fr; } }

.testimonial { background: #f0f7f5; padding: 18px; border-left: 4px solid #1e6b5c; margin: 18px 0; font-style: italic; border-radius: 4px; }

.faq-item { background: #fafafa; margin-bottom: 10px; padding: 15px; border-radius: 6px; border-left: 3px solid #1e6b5c; }
.faq-item h4 { color: #1e6b5c; font-size: 16px; margin-bottom: 8px; }
.faq-item p { font-size: 14px; margin: 0; }

.image-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.image-showcase div { border-radius: 6px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.image-showcase img { width: 100%; height: 180px; object-fit: cover; }
@media (max-width: 768px) { .image-showcase { grid-template-columns: 1fr 1fr; } }

/* Footer */
footer { background: #0e0e0e; color: #ccc; padding: 40px 20px 20px; margin-top: 30px; }
.footer-container { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col h4 { color: #ffd23f; margin-bottom: 15px; font-size: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { padding: 5px 0; font-size: 14px; }
.footer-col ul li a:hover { color: #ffd23f; }
.footer-col p { font-size: 13px; line-height: 1.7; }
.footer-bottom { text-align: center; padding-top: 20px; margin-top: 25px; border-top: 1px solid #333; font-size: 13px; }
@media (max-width: 768px) { .footer-container { grid-template-columns: 1fr 1fr; } }