* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
body { background-color: #f8fafc; color: #1e293b; line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* Global Red Header with subtle white glow on logo */
.site-header { background: linear-gradient(135deg, #991b1b 0%, #b91c1c 50%, #7f1d1d 100%); color: white; position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 16px rgba(185, 28, 28, 0.25); }
.header-inner { max-width: 900px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; }
.brand-group { display: flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; }
.logo-img-glow { width: 38px; height: 38px; border-radius: 50%; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.85)); }
.brand-titles h1, .brand-titles .brand-name { font-size: 1.05rem; font-weight: 900; line-height: 1.2; color: #ffffff; letter-spacing: -0.3px; }
.brand-titles .brand-sub { font-size: 0.70rem; color: #fee2e2; font-weight: 500; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-link { color: #fef2f2; font-weight: 600; font-size: 0.84rem; transition: color 0.15s; }
.nav-link:hover { color: #fde047; }
.btn-telegram-header { background: #ffffff; color: #991b1b; font-weight: 900; font-size: 0.82rem; padding: 6px 14px; border-radius: 9999px; transition: transform 0.15s, background 0.15s; display: inline-flex; align-items: center; gap: 4px; }
.btn-telegram-header:hover { background: #fef2f2; transform: scale(1.03); }

/* Secondary Subnavigation Bar */
.subnav-bar { background: #ffffff; border-bottom: 1px solid #e2e8f0; padding: 8px 16px; font-size: 0.82rem; font-weight: 600; }
.subnav-inner { max-width: 800px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 18px; overflow-x: auto; white-space: nowrap; }
.subnav-item { display: inline-flex; align-items: center; gap: 4px; color: #334155; }
.subnav-item:hover { color: #dc2626; }

/* Hero Section */
.hero { background: white; border-bottom: 1px solid #e2e8f0; padding: 24px 16px; text-align: center; }
.hero-inner { max-width: 700px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 9999px; margin-bottom: 10px; }
.hero h1 { font-size: 1.85rem; font-weight: 900; color: #0f172a; margin-bottom: 6px; }
.hero h1 span { color: #dc2626; }
.hero p { color: #64748b; font-size: 0.84rem; line-height: 1.6; }

/* Main Section */
.main-wrapper { max-width: 768px; margin: 20px auto; padding: 0 12px; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e2e8f0; padding-bottom: 8px; margin-bottom: 12px; }
.section-title-row h2 { font-size: 1.10rem; font-weight: 900; color: #0f172a; }
.section-title-row span { font-size: 0.72rem; color: #64748b; font-weight: 500; }

/* Game Cards */
.game-card { display: flex; align-items: center; justify-content: space-between; background: white; border: 1px solid #e2e8f0; border-radius: 16px; padding: 8px 12px; margin-bottom: 8px; transition: all 0.15s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.03); text-decoration: none; }
.game-card:hover { border-color: #f87171; box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08); transform: translateY(-1px); }
.card-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.icon-container { position: relative; width: 48px; height: 48px; flex-shrink: 0; }
.icon-rank-badge { position: absolute; top: -3px; left: -3px; z-index: 10; background: #dc2626; color: white; font-size: 10px; font-weight: 900; min-width: 18px; height: 18px; padding: 0 3px; border-radius: 4px 0 6px 0; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.icon-visual { width: 100%; height: 100%; border-radius: 14px; background: linear-gradient(135deg, #064e3b, #047857); border: 2px solid rgba(52, 211, 153, 0.4); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fef08a; font-weight: 900; font-size: 0.75rem; text-align: center; text-transform: uppercase; overflow: hidden; position: relative; }
.game-logo-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; }
.icon-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; }

/* Strict vertical stack: Bonus under Players count with compact mobile text sizes */
.card-details { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.card-title { font-size: 0.90rem; font-weight: 800; color: #0f172a; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.meta-players { font-size: 0.72rem; color: #64748b; font-weight: 500; display: block; margin-bottom: 2px; }
.meta-bonus { display: inline-block; width: fit-content; background: #fef3c7; color: #92400e; border: 1px solid #fde68a; padding: 1px 6px; border-radius: 4px; font-weight: 700; font-size: 0.68rem; line-height: 1.3; }

.btn-download-home { background: #dc2626; color: white; font-weight: 800; font-size: 0.78rem; padding: 6px 14px; border-radius: 12px; display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; border: none; cursor: pointer; transition: background 0.15s; }
.btn-download-home:hover { background: #b91c1c; }

/* 2nd Page (Game Detail View) */
.detail-card { background: white; border-radius: 20px; border: 1px solid #e2e8f0; padding: 22px; text-align: center; margin-bottom: 18px; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.detail-icon-wrap { display: flex; justify-content: center; margin-bottom: 12px; }
.detail-icon { width: 72px; height: 72px; border-radius: 18px; background: linear-gradient(135deg, #064e3b, #047857); border: 3px solid #34d399; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fef08a; font-weight: 900; font-size: 1.1rem; overflow: hidden; position: relative; }
.detail-logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.detail-title { font-size: 1.7rem; font-weight: 900; color: #0f172a; line-height: 1.2; }
.detail-tagline { font-size: 0.95rem; font-weight: 700; color: #334155; margin-top: 4px; }
.detail-subline { font-size: 0.78rem; color: #64748b; margin-top: 2px; }
.detail-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.btn-detail-download { background: #dc2626; color: white; font-size: 0.90rem; font-weight: 800; padding: 10px 24px; border-radius: 14px; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3); }
.btn-detail-download:hover { background: #b91c1c; }
.btn-detail-telegram { background: #0f172a; color: white; font-size: 0.84rem; font-weight: 800; padding: 10px 18px; border-radius: 14px; display: inline-flex; align-items: center; gap: 6px; }
.btn-detail-telegram:hover { background: #1e293b; }

/* Dark Stats Bar */
.dark-stats-bar { background: #090d16; color: white; border-radius: 14px; padding: 12px 14px; margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border: 1px solid #1e293b; text-align: center; }
.stat-box strong { display: block; font-size: 1.0rem; font-weight: 900; color: #ffffff; }
.stat-box span { font-size: 0.68rem; color: #94a3b8; }
.stat-box .rating-star { color: #f59e0b; }

/* Content Cards */
.content-card { background: white; border-radius: 18px; border: 1px solid #e2e8f0; padding: 18px; margin-bottom: 18px; }
.content-card h2, .content-card h3 { font-size: 1.10rem; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.content-card p { font-size: 0.82rem; color: #334155; line-height: 1.7; margin-bottom: 10px; }

/* Safety Protocols */
.protocols-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 12px; }
.protocol-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; }
.protocol-num { display: inline-block; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; font-weight: 900; font-size: 0.70rem; padding: 2px 6px; border-radius: 6px; margin-bottom: 6px; }
.protocol-box h4 { font-size: 0.82rem; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.protocol-box p { font-size: 0.72rem; color: #64748b; line-height: 1.6; margin: 0; }

/* Start Smart Tips */
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 10px; }
.tip-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 12px; }
.tip-box h4 { font-size: 0.82rem; font-weight: 800; color: #14532d; margin-bottom: 3px; }
.tip-box p { font-size: 0.72rem; color: #166534; line-height: 1.5; margin: 0; }

/* Questions & Answers FAQ */
.faq-item { padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-size: 0.82rem; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.faq-answer { font-size: 0.75rem; color: #475569; line-height: 1.6; }

/* What Players Say Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 10px; }
.review-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; }
.review-header { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.review-stars { color: #f59e0b; font-weight: 900; }
.review-text { font-size: 0.72rem; color: #475569; line-height: 1.5; }

/* Showcase Gallery - USER REQUIREMENT: Included at the end of every page */
.showcase-gallery { margin: 26px 0; text-align: center; }
.showcase-gallery h2 { font-size: 1.15rem; font-weight: 900; color: #0f172a; margin-bottom: 4px; }
.showcase-gallery p { font-size: 0.76rem; color: #64748b; margin-bottom: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.gallery-item { background: white; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.gallery-item img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; }
.gallery-caption { padding: 8px; font-size: 0.74rem; font-weight: 700; color: #1e293b; }

/* Legal Alerts & State Notice */
.legal-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: 14px; padding: 14px; margin: 18px 0; font-size: 0.76rem; color: #991b1b; line-height: 1.6; }
.legal-box strong { color: #7f1d1d; }

/* Footer */
.site-footer { background: #0a0f1d; color: #94a3b8; padding: 32px 16px 18px; font-size: 0.78rem; margin-top: 36px; }
.footer-inner { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #1e293b; }
.footer-col h4 { color: white; font-size: 0.90rem; margin-bottom: 8px; font-weight: 800; }
.footer-col a { display: block; margin-bottom: 5px; color: #94a3b8; font-size: 0.76rem; }
.footer-col a:hover { color: #f87171; }
.footer-bottom { max-width: 800px; margin: 14px auto 0; text-align: center; font-size: 0.70rem; color: #64748b; }