* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, Arial, sans-serif; background: #1a0d2e; color: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
header { background: #2a1248; border-bottom: 1px solid #3d1c66; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: 1400px; margin: 0 auto; flex-wrap: wrap; }
.logo { font-size: 24px; font-weight: 800; color: #ff4d8d; letter-spacing: 1px; }
.logo span { color: #fff; }
nav ul { display: flex; list-style: none; gap: 6px; }
nav ul li a { padding: 8px 14px; border-radius: 6px; font-weight: 600; font-size: 14px; color: #c8b8e0; transition: all .2s; text-transform: uppercase; }
nav ul li a:hover, nav ul li a.active { background: #3d1c66; color: #fff; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.btn { padding: 8px 18px; border-radius: 6px; font-weight: 700; font-size: 13px; cursor: pointer; border: none; transition: all .2s; text-transform: uppercase; }
.btn-login { background: transparent; color: #fff; border: 1px solid #6c3fa6; }
.btn-login:hover { background: #3d1c66; }
.btn-register { background: linear-gradient(135deg, #ff4d8d, #ff6b3d); color: #fff; }
.btn-register:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,77,141,.4); }
.menu-toggle { display: none; background: transparent; color: #fff; font-size: 22px; border: none; }

/* Hero */
.hero { background: linear-gradient(135deg, #3d1c66 0%, #1a0d2e 100%); padding: 50px 20px; position: relative; overflow: hidden; }
.hero-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 18px; }
.hero h1 .accent { color: #ff4d8d; display: block; }
.hero p { color: #c8b8e0; font-size: 17px; margin-bottom: 24px; max-width: 480px; }
.hero-btn { display: inline-block; padding: 13px 30px; background: linear-gradient(135deg, #ff4d8d, #ff6b3d); border-radius: 8px; font-weight: 700; color: #fff; }
.hero-img { display: flex; justify-content: center; }
.hero-img img { border-radius: 14px; max-width: 100%; max-height: 420px; object-fit: cover; box-shadow: 0 20px 40px rgba(0,0,0,.4); }

/* Categories */
.section { max-width: 1400px; margin: 0 auto; padding: 30px 20px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card { background: linear-gradient(135deg, #4a1f7a, #2a1248); padding: 22px 18px; border-radius: 12px; position: relative; overflow: hidden; transition: transform .2s; }
.cat-card:hover { transform: translateY(-4px); }
.cat-card h3 { font-size: 18px; margin-bottom: 6px; }
.cat-card p { font-size: 12px; color: #c8b8e0; margin-bottom: 14px; }
.cat-card .cat-link { color: #ff4d8d; font-size: 13px; font-weight: 700; }

/* Section titles */
.sec-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding: 0 4px; }
.sec-title h2 { font-size: 22px; font-weight: 700; }
.sec-title a { font-size: 13px; color: #ff4d8d; font-weight: 600; }

/* Sport block */
.sport-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.sport-card { background: #2a1248; border-radius: 10px; padding: 16px; display: flex; align-items: center; gap: 12px; border: 1px solid #3d1c66; }
.sport-card img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.sport-card h4 { font-size: 15px; margin-bottom: 4px; }
.sport-card p { font-size: 12px; color: #9a86bf; }

/* Casino games */
.games-block { background: #221038; border-radius: 14px; padding: 20px; margin-top: 16px; }
.tabs { display: flex; gap: 16px; margin-bottom: 18px; border-bottom: 1px solid #3d1c66; padding-bottom: 12px; flex-wrap: wrap; }
.tabs span { font-size: 14px; font-weight: 600; color: #9a86bf; cursor: pointer; }
.tabs span.active { color: #ff4d8d; }
.games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.game-card { background: #2a1248; border-radius: 10px; overflow: hidden; transition: transform .2s; cursor: pointer; }
.game-card:hover { transform: scale(1.04); }
.game-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.game-card .game-info { padding: 8px; }
.game-card h5 { font-size: 12px; font-weight: 600; }
.game-card span { font-size: 10px; color: #9a86bf; }

/* Promotion block */
.promo-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.promo-card { background: linear-gradient(135deg, #6c3fa6, #3d1c66); border-radius: 12px; padding: 20px; }
.promo-card.alt { background: linear-gradient(135deg, #ff4d8d, #ff6b3d); }
.promo-card.alt2 { background: linear-gradient(135deg, #3d8bff, #5d3fa6); }
.promo-card h4 { font-size: 16px; margin-bottom: 8px; }
.promo-card p { font-size: 13px; color: #e8d8ff; margin-bottom: 14px; }
.promo-card .promo-btn { display: inline-block; background: rgba(255,255,255,.18); padding: 7px 16px; border-radius: 6px; font-size: 12px; font-weight: 700; }

/* Media */
.media-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.media-card { background: #2a1248; border-radius: 12px; overflow: hidden; }
.media-card img { width: 100%; height: 160px; object-fit: cover; }
.media-card .media-info { padding: 14px; }
.media-card h4 { font-size: 15px; margin-bottom: 6px; }
.media-card p { font-size: 12px; color: #9a86bf; }

/* Content block */
.content-block { background: #221038; border-radius: 14px; padding: 28px; margin-top: 16px; }
.content-block h2 { font-size: 24px; margin-bottom: 14px; color: #fff; }
.content-block h3 { font-size: 18px; margin: 18px 0 10px; color: #ff4d8d; }
.content-block p { color: #c8b8e0; margin-bottom: 12px; font-size: 14px; }
.content-block ul { color: #c8b8e0; padding-left: 22px; margin-bottom: 12px; font-size: 14px; }
.content-block ul li { margin-bottom: 6px; }

/* FAQ */
.faq-item { background: #2a1248; padding: 16px 20px; border-radius: 10px; margin-bottom: 10px; border-left: 3px solid #ff4d8d; }
.faq-item h4 { font-size: 15px; margin-bottom: 8px; color: #fff; }
.faq-item p { font-size: 13px; color: #c8b8e0; margin: 0; }

/* Testimonial */
.testimonial { background: linear-gradient(135deg, #4a1f7a, #2a1248); padding: 24px; border-radius: 12px; margin-top: 16px; font-style: italic; color: #e8d8ff; font-size: 14px; border-left: 4px solid #ff4d8d; }

/* Footer */
footer { background: #0d0620; padding: 40px 20px 20px; margin-top: 40px; }
.footer-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-col h4 { font-size: 14px; margin-bottom: 14px; color: #fff; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; font-size: 13px; color: #9a86bf; }
.footer-col ul li a:hover { color: #ff4d8d; }
.footer-col p { font-size: 13px; color: #9a86bf; margin-bottom: 8px; }
.footer-bottom { max-width: 1400px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid #2a1248; text-align: center; font-size: 12px; color: #6c5b8a; }
.footer-bottom .age { display: inline-block; background: #ff4d8d; color: #fff; padding: 3px 10px; border-radius: 14px; font-weight: 700; margin-left: 8px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .cat-grid, .sport-row, .promo-row, .media-row { grid-template-columns: 1fr 1fr; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 60px; right: 10px; background: #2a1248; padding: 14px; border-radius: 10px; min-width: 180px; }
  nav ul.show { display: flex; }
  .menu-toggle { display: block; }
}
@media (max-width: 500px) {
  .cat-grid, .sport-row, .promo-row, .media-row, .footer-inner { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 26px; }
  .header-actions .btn-login { display: none; }
}