* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #121212;
  color: #e0e0e0;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 20px;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  user-select: none;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; position: fixed; width: 100%; height: 100%; }
.container { max-width: 100%; margin: 0 auto; padding: 0; }
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(30, 30, 30, 0.9); backdrop-filter: blur(10px);
  padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 0;
}
.logo-section { display: flex; align-items: center; gap: 8px; }
.logo-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.logo-icon i { display: none; }
.logo-icon::after { display: none; }
.logo-text { display: flex; flex-direction: column; }
.logo-text h1 {
  font-size: 1.3rem; font-weight: 700;
  background: linear-gradient(to right, #00ffcc, #00ccff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0; line-height: 1.2;
}
.logo-text p { font-size: 0.7rem; color: #b0b0b0; margin: 0; margin-top: -2px; }
.menu-icon { font-size: 1.5rem; color: #ffffff; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); padding: 8px; }
.hero-section {
  background: linear-gradient(135deg, rgba(0, 255, 204, 0.1) 0%, rgba(0, 204, 255, 0.1) 100%);
  border-radius: 16px; padding: 20px 16px; margin: 15px 16px; text-align: center; border: 1px solid rgba(0, 255, 204, 0.2);
}
.hero-title {
  font-size: 1.5rem; font-weight: 700;
  background: linear-gradient(to right, #00ffcc, #00ccff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.hero-description { font-size: 0.9rem; color: #b0b0b0; line-height: 1.6; margin-bottom: 8px; }
.hero-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.hero-feature {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0, 255, 204, 0.1);
  padding: 6px 12px; border-radius: 20px; font-size: 0.75rem; color: #00ffcc;
}
.hero-feature i { font-size: 0.7rem; }
.search-bar {
  background: #0a0a0a; border-radius: 50px; padding: 12px 15px 12px 45px;
  margin: 15px 16px; position: relative; border: 1px solid rgba(255,255,255,0.1);
}
.search-bar i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #b0b0b0; font-size: 1rem; }
.search-bar input { width: 100%; background: transparent; border: none; color: #e0e0e0; font-size: 1rem; outline: none; }
.search-bar input::placeholder { color: #b0b0b0; }
.view-toggle { display: flex; gap: 10px; margin: 10px 16px 15px; }
.view-btn {
  width: 40px; height: 40px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
  background: #0a0a0a; color: #b0b0b0; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); outline: none;
}
.view-btn.active { background: #00ffcc; color: #121212; border-color: #00ffcc; }
.games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 0 16px; max-width: 100%; }
.games-list { display: none; }
.games-list.active { display: block; }
.game-card {
  background: #1e1e1e; border-radius: 12px; padding: 15px; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255,255,255,0.05); cursor: pointer; position: relative; overflow: hidden; display: flex; flex-direction: column;
  align-items: center; text-align: center; touch-action: manipulation; max-width: 100%; outline: none; -webkit-touch-callout: none;
}
.game-card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); }
.game-card:active { transform: scale(0.98); }
.game-icon { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; margin-bottom: 12px; background: #0f0f0f; }
.game-info { width: 100%; flex-shrink: 0; text-align: center; }
.game-title {
  font-size: 0.75rem; font-weight: 600; color: #ffffff; margin-bottom: 6px; text-align: center;
  line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-version { font-size: 0.75rem; color: #b0b0b0; margin-bottom: 2px; text-align: center; }
.game-rating { display: flex; align-items: center; justify-content: center; gap: 2px; }
.game-rating i { font-size: 0.7rem; color: #FFC107; }
.game-rating i.far { color: #444; }
.list-item {
  background: #1a1a1a; border-radius: 12px; padding: 12px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px;
  cursor: pointer; border: 2px solid #2a2a2a; outline: none; -webkit-touch-callout: none; touch-action: manipulation;
}
.list-item:active { transform: scale(0.98); }
.list-item-icon { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #0f0f0f; display: flex; align-items: center; justify-content: center; }
.list-item-icon img { width: 100%; height: 100%; object-fit: contain; }
.list-item-info { flex: 1; text-align: left; }
.list-item-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.list-item-version { font-size: 12px; color: #888; margin-bottom: 4px; }
.list-item-rating { display: flex; align-items: center; gap: 2px; }
.list-item-rating i { font-size: 10px; color: #ffd700; }
.list-item-rating i.far { color: #444; }

/* Platform Modal */
.platform-modal {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9); z-index: 1000; align-items: center; justify-content: center; padding: 20px; touch-action: manipulation;
}
.platform-modal.active { display: flex; }
.platform-content {
  background: #1a1a1a; border-radius: 20px; padding: 30px 20px; width: 100%; max-width: 400px; position: relative; text-align: center;
}
.platform-close {
  position: absolute; top: 15px; right: 15px; background: transparent; border: none; color: #fff; font-size: 24px; cursor: pointer;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.3s;
}
.platform-close:active { background: #2a2a2a; }
.platform-icon { width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 20px; overflow: hidden; background: #0f0f0f; display: flex; align-items: center; justify-content: center; }
.platform-icon img { width: 100%; height: 100%; object-fit: contain; }
.platform-title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; text-align: center; }
.platform-text { font-size: 14px; color: #888; margin-bottom: 25px; text-align: center; }
.platform-buttons { display: flex; flex-direction: column; gap: 12px; }
.platform-btn {
  background: #00a8ff; border: none; border-radius: 12px; padding: 16px 20px; color: white; font-size: 15px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; transition: all 0.3s; text-align: center; outline: none;
}
.platform-btn:active { transform: scale(0.98); background: #0097e6; }
.platform-btn-icon { font-size: 20px; }

/* Locker Modal */
.locker-modal {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.95); z-index: 2000; align-items: center; justify-content: center; padding: 15px; overflow-y: auto; touch-action: manipulation;
}
.locker-modal.active { display: flex; }
.locker-content {
  max-width: 450px; width: 100%; margin: auto; background: #1a1a1a; border-radius: 16px; padding: 15px; position: relative; max-height: 95vh; overflow-y: auto;
}
.locker-close {
  position: absolute; top: 10px; right: 10px; background: transparent; border: none; color: #fff; font-size: 20px; cursor: pointer; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.3s; z-index: 10;
}
.locker-close:active { background: #2a2a2a; }
.locker-header { text-align: center; margin-bottom: 12px; }
.mediafire-logo { width: 80px; margin: 0 auto 8px; display: block; }
.game-logo-locker { width: 70px; height: 70px; margin: 0 auto 8px; border-radius: 12px; object-fit: contain; background: #0f0f0f; padding: 8px; }
.locker-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; text-align: center; }
.secure-badge {
  display: inline-flex; align-items: center; gap: 4px; background: #2a2a2a; padding: 4px 8px; border-radius: 12px; font-size: 9px; color: #00a8ff; margin-top: 4px;
}
.secure-badge i { font-size: 12px; }
.instructions-box { background: #0f0f0f; border-radius: 10px; padding: 10px; margin-bottom: 12px; }
.instructions-title { font-size: 12px; font-weight: 600; color: #fff; margin-bottom: 6px; text-align: center; line-height: 1.3; }
.instructions-text { font-size: 11px; color: #888; margin-bottom: 8px; text-align: center; line-height: 1.4; }
.highlight-green { color: #00ff88; font-weight: 600; }
.steps-list { list-style: none; margin: 8px 0; display: none; }
.step-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 6px; text-align: left; }
.step-number { width: 20px; height: 20px; background: #00a8ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: white; flex-shrink: 0; }
.step-item div:last-child { font-size: 10px; color: #ccc; line-height: 1.3; flex: 1; }
.note-box { background: #2a2a2a; border-left: 3px solid #00a8ff; border-radius: 6px; padding: 6px 8px; margin-top: 8px; }
.note-title { font-size: 10px; font-weight: 700; color: #00a8ff; margin-bottom: 2px; text-align: left; }
.note-text { font-size: 9px; color: #aaa; line-height: 1.3; text-align: left; }
.offers-container { margin-top: 12px; }
.offers-title { font-size: 12px; font-weight: 600; color: #fff; margin-bottom: 8px; text-align: center; }
.loading-offers { text-align: center; padding: 15px; color: #888; }
.loading-offers i { font-size: 20px; margin-bottom: 8px; animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.offer-button {
  background: #00ff88; border: none; border-radius: 10px; padding: 10px 12px; color: #000; font-size: 12px; font-weight: 700;
  cursor: pointer; width: 100%; margin-bottom: 8px; text-align: left; transition: all 0.3s; display: flex; align-items: center; gap: 10px; outline: none;
}
.offer-button:active { transform: scale(0.98); background: #00e677; }
.offer-logo { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #fff; flex-shrink: 0; }
.offer-text { flex: 1; text-align: left; }
.no-offers { text-align: center; padding: 20px; color: #888; font-size: 14px; }

/* SEO Content Sections */
.content-section { padding: 30px 16px; margin: 20px 0; }
.content-section h2 {
  font-size: 1.5rem; font-weight: 700; color: #ffffff; margin-bottom: 15px; text-align: center;
  background: linear-gradient(to right, #00ffcc, #00ccff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.content-section h3 { font-size: 1.2rem; font-weight: 600; color: #ffffff; margin-bottom: 10px; margin-top: 20px; }
.content-section p { font-size: 0.95rem; color: #b0b0b0; line-height: 1.8; margin-bottom: 15px; text-align: left; }
.content-section ol, .content-section ul { margin-left: 20px; margin-bottom: 15px; color: #b0b0b0; }
.content-section li { margin-bottom: 10px; line-height: 1.6; }
.how-it-works-steps { display: grid; grid-template-columns: 1fr; gap: 15px; margin-top: 20px; }
.step-card {
  background: #1a1a1a; border-radius: 12px; padding: 20px; border: 1px solid rgba(0, 255, 204, 0.2); display: flex; align-items: flex-start; gap: 15px;
}
.step-number-badge {
  width: 40px; height: 40px; background: linear-gradient(135deg, #00ffcc, #00ccff); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; color: #121212; flex-shrink: 0;
}
.step-content h4 { font-size: 1rem; font-weight: 600; color: #ffffff; margin-bottom: 8px; }
.step-content p { font-size: 0.9rem; color: #b0b0b0; margin: 0; }
.faq-container { margin-top: 20px; }
.faq-item { background: #1a1a1a; border-radius: 12px; padding: 18px; margin-bottom: 12px; border: 1px solid rgba(255, 255, 255, 0.05); }
.faq-question { font-size: 1rem; font-weight: 600; color: #ffffff; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.faq-question i { color: #00ffcc; font-size: 0.9rem; }
.faq-answer { font-size: 0.9rem; color: #b0b0b0; line-height: 1.6; margin-left: 25px; }
.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 20px; }
.trust-badge {
  background: rgba(0, 255, 204, 0.1); border: 1px solid rgba(0, 255, 204, 0.3); border-radius: 10px; padding: 12px 18px;
  display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #00ffcc;
}
.trust-badge i { font-size: 1rem; }

@media (min-width: 768px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
}
