/* Hero Section */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.08) 0%, transparent 60%);
}

.hero h2 {
  font-size: var(--fs-hero);
  margin-bottom: 32px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.hero-copy {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.35rem;
  color: var(--muted);
}

/* Section Titles */
.section-title {
  margin-bottom: 60px;
  text-align: center;
}

.section-title h3 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--muted);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 48px;
}

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  position: relative;
}

.game-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.15);
  border-color: #cbd5e1;
}

.card-visual {
  height: 280px;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}

.card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-body {
  padding: 40px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.game-cat {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.game-card h4 {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: -0.04em;
}

.card-desc {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  margin-top: auto;
}

.tag {
  background: #f1f5f9;
  padding: 8px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #475569;
}

.action-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-detail {
  background: #1e293b !important;
  color: white !important;
}

/* Details Panel */
.details-panel {
  display: none;
  margin-top: 60px;
  padding: 80px 0;
  background: #fff;
  border-radius: 60px;
  border: 1px solid var(--border);
  box-shadow: 0 50px 100px rgba(0,0,0,0.08);
}

.details-panel.active { display: block; }

.details-header {
  text-align: center;
  margin-bottom: 40px;
}

.details-header h3 {
  font-size: 3rem;
  margin: 12px 0;
  font-weight: 900;
}

.details-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.details-gallery {
  grid-column: 1 / -1;
  margin-top: 60px;
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.gallery img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Studio Section */
.studio-section {
  padding: 100px 60px;
  background: #f8fafc;
  border-radius: 60px;
  margin: 100px 0;
  text-align: center;
}

@media (max-width: 1024px) {
  .games-grid { grid-template-columns: 1fr; }
  .details-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero h2 { font-size: 2.5rem; }
  .section-title h3 { font-size: 2rem; }
  .game-card h4 { font-size: 1.8rem; }
  .card-body { padding: 32px; }
  .card-tags { margin-bottom: 24px; }
}
