body {
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
  font-family: 'Clear Sans', 'Helvetica Neue', Arial, sans-serif;
}

header {
  margin: 0 auto;
  text-align: center;
  padding: 10px 0;
}

.responsive {
  max-width: 90%;
  height: auto;
  margin: 0 auto;
  display: block;
}

#blockblast-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 10px auto 25px auto;
  padding: 0 10px;
  box-sizing: border-box;
}

#gameCanvas {
  background: linear-gradient(
    180deg,
    #4357ad 0%,
    #465bb0 20%,
    #4c65b7 40%,
    #506aba 60%,
    #536ebd 80%,
    #5672c0 100%
  );
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  display: block;
  margin: 0 auto;
}

/* Game title styling */
.game-title {
  text-align: center;
  margin: 12px 0 6px 0;
  font-family: 'Fredoka', cursive, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #1e293b;
  letter-spacing: 0.5px;
}

/* Hub Banner - Cross-Promotion */
.gamesdle-hub-banner {
  max-width: 600px;
  margin: 15px auto 25px auto;
  padding: 16px 18px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  box-sizing: border-box;
  color: #ffffff;
}

.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hub-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
}

.hub-badge {
  font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #3b82f6;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 12px;
}

.hub-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.hub-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.hub-card:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hub-card.active {
  background: rgba(59, 130, 246, 0.25);
  border-color: #3b82f6;
}

.hub-card-icon {
  font-size: 1.6rem;
  margin-bottom: 4px;
  line-height: 1;
}

.hub-card-name {
  font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.2;
}

.hub-card-tag {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 3px;
  letter-spacing: 0.3px;
}

.hub-card.active .hub-card-tag {
  color: #60a5fa;
}

@media (max-width: 500px) {
  .hub-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .hub-card {
    padding: 10px 4px;
  }
}

/* SEO Content Section - Modern, Clean & Playful */
.seo-section {
  max-width: 600px;
  margin: 30px auto 45px auto;
  padding: 24px 22px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(30, 41, 59, 0.06);
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
  color: #334155;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.seo-section .section-header {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.seo-section .section-header:first-of-type {
  margin-top: 0.2rem;
}

.seo-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: #eff6ff;
  color: #2563eb;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.seo-section h2 {
  font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #0f172a;
  margin: 4px 0 10px 0;
  line-height: 1.3;
}

.seo-section p {
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 1rem 0;
  color: #475569;
}

/* Steps list */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0 20px 0;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.step-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.step-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.step-content {
  flex: 1;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #475569;
}

.step-content strong {
  display: block;
  color: #0f172a;
  margin-bottom: 2px;
  font-size: 0.98rem;
}

/* Features Grid */
.seo-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 14px 0 22px 0;
}

.seo-feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seo-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
  border-color: #cbd5e1;
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: inline-block;
}

.seo-feature-card h4 {
  font-family: 'Fredoka', sans-serif;
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  color: #0f172a;
  font-weight: 600;
}

.seo-feature-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #64748b;
}

/* Pro Tips Cards */
.tips-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 22px 0;
}

.tip-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fefce8;
  border: 1px solid #fef08a;
  border-left: 4px solid #eab308;
  border-radius: 10px;
  padding: 12px 14px;
}

.tip-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
}

.tip-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #713f12;
}

.tip-text strong {
  color: #422006;
}

/* FAQ Cards */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.faq-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  transition: background 0.2s ease;
}

.faq-card h3 {
  font-family: 'Fredoka', sans-serif;
  margin: 0 0 6px 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
}

@media (max-width: 600px) {
  .game-title {
    font-size: 26px;
  }
  .seo-section {
    margin: 20px 10px 35px 10px;
    padding: 18px 14px;
    border-radius: 16px;
  }
  .seo-features-grid {
    grid-template-columns: 1fr;
  }
  .seo-section h2 {
    font-size: 1.3rem;
  }
}

/* Ad Banners - Responsive & Side Skyscrapers */
.ad-banner-wrapper {
  max-width: 728px;
  width: 95%;
  min-height: 90px;
  margin: 15px auto;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.ad-banner-top {
  margin-top: 10px;
  margin-bottom: 15px;
}

.ad-banner-bottom {
  margin-top: 25px;
  margin-bottom: 25px;
}

.side-banner {
  display: none;
  position: fixed;
  top: 100px;
  width: 160px;
  height: 600px;
  z-index: 40;
  text-align: center;
}

.side-banner-left {
  left: 12px;
}

.side-banner-right {
  right: 12px;
}

@media (min-width: 1140px) {
  .side-banner {
    display: block;
  }
}


