/* ==========================================================================
   Instant Gamers - Streaming Content Platform Game Detail Layout
   Target: instantgamers.online
   ========================================================================== */

/* Dark Background Page Surface */
body {
  background-color: #040d1a;
  color: #ffffff;
}

/* Breadcrumb Navigation */
.breadcrumb-bar {
  background-color: #051020;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  font-size: 13px;
  color: #8da4c4;
}

.breadcrumb-bar .wrap {
  padding-left: clamp(24px, 4vw, 56px);
  padding-right: clamp(20px, 3vw, 48px);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb-list li+li::before {
  content: "/";
  color: #486588;
  margin-right: 8px;
}

.breadcrumb-list a {
  color: #8da4c4;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
  color: var(--color-accent-cyan);
}

.breadcrumb-list .current {
  color: #ffffff;
  font-weight: 600;
}

/* Platform Hero Section */
.platform-hero-section {
  position: relative;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 85px 0 95px;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.platform-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-left: clamp(24px, 4vw, 56px);
  padding-right: clamp(20px, 3vw, 48px);
}

.platform-hero-content {
  max-width: 650px;
}

.platform-meta-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.category-chip {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #ffffff;
}

.platform-identity {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 28px;
}

.platform-icon-frame {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border-radius: 20px;
  overflow: hidden;
  background: #081a35;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.platform-icon-frame.is-light-bg {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.platform-icon-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.platform-title-group h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 12px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.platform-subtitle {
  font-size: 16.5px;
  line-height: 1.55;
  color: #d6e5f7;
  max-width: 560px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.platform-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.platform-hero-actions .btn-download-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #ffcf24 0%, #e68a00 100%);
  color: #0c121e !important;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(255, 175, 0, 0.48), 0 0 35px rgba(255, 185, 0, 0.32);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.platform-hero-actions .btn-download-hero:hover {
  background: linear-gradient(180deg, #ffd84d 0%, #ff9c1a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 175, 0, 0.65), 0 0 45px rgba(255, 185, 0, 0.45);
  color: #000000 !important;
}

.platform-hero-actions .btn-download-hero svg {
  stroke: #0c121e;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
}

.platform-hero-actions .btn-download-hero:hover svg {
  transform: translateY(2px);
}

.platform-hero-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 32, 49, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  cursor: pointer;
}

.platform-hero-actions .btn-secondary:hover {
  background: rgba(35, 50, 75, 0.95);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Related Games Section */
.platform-related-section {
  padding: 68px 0 92px;
  background-color: #040d1a;
}

.platform-related-section .wrap {
  padding-left: clamp(24px, 4vw, 56px);
  padding-right: clamp(20px, 3vw, 48px);
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-heading {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.view-all-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.view-all-link:hover {
  color: #ffffff;
}

.platform-games-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.platform-card.game-card {
  background: linear-gradient(165deg, #09172c 0%, #061122 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.platform-card.game-card:hover {
  transform: translateY(-6px);
  border-color: #f7c948;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.5), 0 0 22px rgba(247, 201, 72, 0.12);
}

.platform-card.game-card .game-category {
  color: #f7c948;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
}

.platform-card.game-card .game-title {
  color: #ffffff;
}

.platform-card.game-card .status-indicator {
  color: #8fa3bf;
}

.platform-card-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.platform-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  object-fit: contain;
  object-position: center;
  background: #081a35;
  padding: 2px;
}

.platform-card-icon.is-light-bg {
  background: #ffffff;
}

.platform-card-badge {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(6, 21, 45, 0.85);
  color: var(--color-accent-light);
  border: 1px solid rgba(92, 170, 255, 0.3);
  backdrop-filter: blur(4px);
}

.platform-card-info {
  padding: 16px;
}

.platform-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.platform-card-category {
  font-size: 11px;
  font-weight: 700;
  color: #8da4c4;
  text-transform: uppercase;
}

.platform-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

/* Responsive Media Queries */
@media (max-width: 1050px) {
  .platform-games-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .platform-hero-section {
    padding: 50px 0 60px;
    min-height: auto;
  }
  .platform-hero-inner {
    padding-left: 14px;
    padding-right: 14px;
  }
  .platform-identity {
    flex-direction: column;
    gap: 16px;
  }
  .platform-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .platform-hero-actions .btn {
    width: 100%;
  }
  .platform-games-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Game Info & Support Notice Section (15% Overlap with Hero Section)
   ========================================================================== */
.game-info-notice-section {
  position: relative;
  z-index: 10;
  margin-top: -65px;
  padding-bottom: 24px;
}

.game-info-notice-section .wrap {
  padding-left: clamp(24px, 4vw, 56px);
  padding-right: clamp(20px, 3vw, 48px);
}

.game-info-notice-card {
  background: rgba(8, 17, 31, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  width: 100%;
}

.notice-card-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 36px;
  padding: 28px 32px 24px;
  align-items: start;
}

.notice-col {
  display: flex;
  flex-direction: column;
}

/* Left Column Styling */
.notice-col-left .notice-col-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

.notice-icon-alert {
  color: #ffffff;
  flex-shrink: 0;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notice-list-important li {
  color: #f7c948;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.notice-list-important li .bullet-icon {
  color: #ef4444;
  font-weight: 800;
  flex-shrink: 0;
}

/* Middle Divider Line */
.notice-col-divider {
  width: 2px;
  align-self: stretch;
  background: #ef4444;
  border-radius: 1px;
}

/* Right Column Styling */
.notice-col-right .notice-help-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.notice-col-right .notice-col-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

.notice-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  font-weight: 700;
  font-size: 12.5px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-glow 1.8s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.notice-lead-text {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.notice-list-help li {
  color: #4ade80;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.star-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.notice-chat-btn {
  margin-top: 22px;
  width: 100%;
  max-width: 320px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #0070f3 0%, #0051b3 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 112, 243, 0.4);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.notice-chat-btn:hover {
  background: linear-gradient(135deg, #1a82ff 0%, #0060df 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 112, 243, 0.6);
}

/* Card Footer Tagline */
.notice-card-footer {
  background: rgba(4, 13, 26, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-sep {
  color: #3b82f6;
  font-size: 16px;
}

@media (max-width: 900px) {
  .notice-card-body {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }

  .notice-col-divider {
    width: 100%;
    height: 2px;
    align-self: auto;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.8) 0%, rgba(247, 201, 72, 0.4) 50%, rgba(59, 130, 246, 0.2) 100%);
  }

  .notice-chat-btn {
    max-width: 100%;
  }

  .notice-card-footer {
    gap: 8px;
    font-size: 13px;
    padding: 12px 16px;
  }
}

