/* =============================================
   GRAB GODE — Homepage Styles (Premium Rebuild)
   ============================================= */

/* --- Atmospheric Soft Background Glows --- */
.hero::after {
  content: '';
  position: absolute;
  top: 15%; right: 15%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 10%; left: 15%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

/* --- Centered Cinematic Hero --- */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10rem 2rem 6rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--border-accent);
  background: var(--accent-light);
  padding: 0.4rem 1.1rem;
  border-radius: 99px;
  margin-bottom: 2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.hero h1 span.gradient-text {
  background: linear-gradient(180deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

.hero-cta-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Asymmetrical Game Showcase Sections --- */
.showcase-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 6rem;
  align-items: center;
  padding: 6rem 0;
}

.showcase-block.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.showcase-text {
  text-align: left;
}

.showcase-badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.showcase-text h3 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.showcase-text p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.showcase-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.showcase-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.showcase-bullets li::before {
  content: '→';
  color: var(--accent);
  font-weight: bold;
}

.showcase-visual {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: border-color 0.3s;
}

.showcase-visual:hover {
  border-color: var(--border-hover);
}

.showcase-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-visual:hover img {
  transform: scale(1.02);
}

/* --- Gameplay Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
}

.portrait-gallery {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

.portrait-gallery .gallery-card img {
  aspect-ratio: 9 / 16;
}

.gallery-card-body {
  padding: 1.75rem;
}

.gallery-card-body h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.gallery-card-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Developer Hub Offerings Grid --- */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.store-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  transition: all 0.3s ease;
}

.store-item-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.store-icon-wrapper {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.store-item-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.store-item-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Compare Support Card --- */
.compare-container {
  margin-top: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.compare-col {
  padding: 4rem;
}

.compare-col.direct {
  background: rgba(255, 255, 255, 0.01);
  border-right: 1px solid var(--border);
}

.compare-col h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.compare-col.direct h3 { color: var(--accent); }
.compare-col.publisher h3 { color: var(--text-muted); }

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.compare-list li {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.compare-list li i.icon-check {
  color: var(--accent);
  margin-top: 4px;
}

.compare-list li i.icon-cross {
  color: #ef4444;
  margin-top: 4px;
}

.compare-list li span strong {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

/* --- Polaroid Card (Made in Belize) --- */
.origin-strip {
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
}

.polaroid-card {
  background: #000;
  border: 1px solid var(--border-hover);
  border-radius: 4px;
  padding: 12px 12px 24px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 300px;
  margin: 0 auto;
}

.polaroid-card:hover {
  transform: rotate(0deg) scale(1.03);
  border-color: var(--text-muted);
}

.polaroid-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 12px;
  display: block;
}

.polaroid-caption {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- FAQ accordion block styling --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 4rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item:hover, .faq-item.active {
  border-color: var(--border-hover);
}

.faq-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 600;
}

.faq-icon {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--text-primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content {
  padding: 1.5rem 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
}

/* --- Homepage Closing CTA --- */
.cta-banner {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6rem 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.01);
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.08rem;
}

/* =============================================
   RESPONSIVE DESIGN INTERPOLATIONS
   ============================================= */
@media (max-width: 992px) {
  .hero {
    padding: 8rem 2rem 5rem;
  }
  
  .showcase-block {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: 4rem 0;
    text-align: center;
  }
  
  .showcase-block.reverse {
    grid-template-columns: 1fr;
  }
  
  .showcase-text {
    text-align: center;
  }
  
  .showcase-bullets {
    align-items: center;
  }
  
  .compare-grid {
    grid-template-columns: 1fr;
  }
  
  .compare-col.direct {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}
