* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; background: #2a0000; color: #fff; line-height: 1.6; font-size: 14px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Top bar */
.top-bar { background: #1a0000; padding: 8px 15px; font-size: 12px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.top-bar .left { color: #ccc; }
.top-bar .right a { margin-left: 10px; padding: 4px 12px; border-radius: 3px; font-weight: bold; display: inline-block; margin-top: 4px; }
.btn-login { background: #ffd700; color: #8b0000 !important; }
.btn-register { background: #ff3030; color: #fff !important; }
.btn-trial { background: transparent; color: #ffd700 !important; border: 1px solid #ffd700; }

/* Header */
.header { background: linear-gradient(180deg, #8b0000 0%, #5a0000 100%); padding: 15px; text-align: center; border-bottom: 3px solid #ffd700; }
.logo { font-size: 32px; font-weight: bold; color: #ffd700; letter-spacing: 2px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); display: inline-block; }
.logo::after { content: ".mobi"; font-size: 16px; color: #fff; }

/* Nav */
.nav { background: #ff1a1a; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; border-bottom: 2px solid #ffd700; position: sticky; top: 0; z-index: 100; }
.nav a { padding: 12px 18px; color: #fff; font-weight: bold; font-size: 13px; text-transform: uppercase; transition: background 0.3s; border-right: 1px solid rgba(255,255,255,0.1); }
.nav a:hover, .nav a.active { background: #ffd700; color: #8b0000; }

/* Hero banner */
.hero { position: relative; background: linear-gradient(135deg, #4a0000 0%, #8b0000 50%, #4a0000 100%); padding: 0; overflow: hidden; }
.hero img { width: 100%; height: auto; object-fit: cover; max-height: 400px; }
.hero-text { position: absolute; top: 50%; right: 5%; transform: translateY(-50%); text-align: right; max-width: 50%; }
.hero-text h1 { font-size: 28px; color: #ffd700; text-shadow: 2px 2px 4px #000; margin-bottom: 10px; line-height: 1.2; }
.hero-text p { font-size: 14px; color: #fff; background: rgba(139, 0, 0, 0.7); padding: 8px 12px; border-radius: 5px; display: inline-block; }

/* Category quick access */
.category-grid { background: #1a0000; padding: 15px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.category-grid a { background: linear-gradient(180deg, #ff3030 0%, #8b0000 100%); padding: 10px; text-align: center; border-radius: 5px; font-weight: bold; font-size: 12px; border: 1px solid #ffd700; }
.category-grid a:hover { background: linear-gradient(180deg, #ffd700 0%, #d4a017 100%); color: #8b0000; }

/* Section title */
.section { padding: 20px 15px; background: #2a0000; }
.section-title { display: flex; align-items: center; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #ffd700; }
.section-title-icon { width: 32px; height: 32px; background: #ffd700; color: #8b0000; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-right: 10px; font-size: 14px; }
.section-title h2 { color: #ffd700; font-size: 18px; }
.section-title h3 { color: #ffd700; font-size: 18px; }

/* Game grid */
.game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.game-card { background: #4a0000; border: 1px solid #8b0000; border-radius: 5px; overflow: hidden; transition: transform 0.2s; }
.game-card:hover { transform: translateY(-3px); border-color: #ffd700; }
.game-card img { width: 100%; height: auto; }
.game-card-title { background: #ff1a1a; padding: 8px; text-align: center; font-size: 12px; font-weight: bold; }

/* Featured banners */
.featured-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 15px; background: #1a0000; }
.featured-row .item { position: relative; border: 2px solid #ffd700; border-radius: 8px; overflow: hidden; }
.featured-row .item img { width: 100%; }
.featured-row .item-label { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(139, 0, 0, 0.85); padding: 6px; text-align: center; font-weight: bold; color: #ffd700; font-size: 12px; }

/* Intro block */
.intro-block { background: #2a0000; padding: 20px 15px; border-top: 2px solid #ffd700; }
.intro-block h2 { color: #ffd700; font-size: 20px; margin-bottom: 12px; text-align: center; }
.intro-block p { color: #e0e0e0; margin-bottom: 12px; font-size: 13px; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 15px; background: #1a0000; }
.stat-item { background: linear-gradient(135deg, #8b0000, #4a0000); padding: 15px 10px; text-align: center; border-radius: 6px; border: 1px solid #ffd700; }
.stat-num { font-size: 22px; color: #ffd700; font-weight: bold; }
.stat-label { font-size: 12px; color: #fff; margin-top: 4px; }

/* App download */
.app-section { background: linear-gradient(135deg, #5a0000, #2a0000); padding: 20px 15px; text-align: center; border-top: 2px solid #ffd700; }
.app-section h2 { color: #ffd700; font-size: 22px; margin-bottom: 10px; }
.app-section > p { color: #e0e0e0; margin-bottom: 15px; font-size: 13px; }
.app-buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 320px; margin: 15px auto; }
.app-buttons a { background: #8b0000; padding: 12px; border-radius: 5px; border: 1px solid #ffd700; color: #ffd700; font-weight: bold; }

/* FAQ */
.faq-section { padding: 20px 15px; background: #2a0000; }
.faq-section h2 { color: #ffd700; font-size: 20px; margin-bottom: 15px; text-align: center; border-bottom: 2px solid #ffd700; padding-bottom: 10px; }
.faq-item { background: #1a0000; border-left: 3px solid #ffd700; padding: 12px; margin-bottom: 10px; border-radius: 3px; }
.faq-item h4 { color: #ffd700; font-size: 14px; margin-bottom: 6px; }
.faq-item p { color: #e0e0e0; font-size: 13px; }
.faq-item ul { padding-left: 20px; margin-top: 6px; color: #e0e0e0; }

/* Review block */
.review-block { background: #1a0000; padding: 18px 15px; border-top: 2px solid #ffd700; border-bottom: 2px solid #ffd700; }
.review-block h3 { color: #ffd700; font-size: 16px; margin-bottom: 10px; }
.review-block .review { background: #4a0000; padding: 12px; border-radius: 5px; font-style: italic; color: #f5f5f5; font-size: 13px; }

/* Footer */
.footer { background: #0d0000; padding: 25px 15px 15px; border-top: 3px solid #ffd700; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.footer-col h4 { color: #ffd700; font-size: 14px; margin-bottom: 10px; border-bottom: 1px solid #ffd700; padding-bottom: 5px; }
.footer-col ul li { margin-bottom: 6px; font-size: 12px; }
.footer-col ul li a { color: #ccc; }
.footer-col ul li a:hover { color: #ffd700; }
.footer-col p { font-size: 12px; color: #aaa; margin-bottom: 6px; }
.footer-bottom { text-align: center; padding-top: 15px; border-top: 1px solid #444; font-size: 12px; color: #888; }
.responsible-tag { display: inline-block; background: #ffd700; color: #8b0000; padding: 4px 10px; border-radius: 3px; font-weight: bold; margin: 8px 0; }

@media (min-width: 768px) {
  .game-grid { grid-template-columns: repeat(4, 1fr); }
  .category-grid { grid-template-columns: repeat(6, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .featured-row { grid-template-columns: repeat(3, 1fr); }
  .hero-text h1 { font-size: 42px; }
}