/* ============================================
   Platform Support Component
   Compact display of supported platforms
   ============================================ */

.platform-support {
  margin: 0;
  padding-bottom: 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-support-header {
  margin-bottom: 1.5rem;
}

.platform-support-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.platform-support-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.platform-support-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.platform-support-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.platform-support-item.platform-support-available {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.05);
}

.platform-support-item.platform-support-available .platform-support-name {
  color: #22c55e;
  font-weight: 600;
}

.platform-support-item.platform-support-coming-soon {
  border-color: rgba(255, 255, 255, 0.15);
}

.platform-support-item.platform-support-coming-soon .platform-support-name {
  color: rgba(255, 255, 255, 0.6);
}

.platform-support-name {
  color: white;
  font-weight: 500;
}

.platform-support-badge {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .platform-support-list {
    flex-direction: column;
    align-items: stretch;
  }

  .platform-support-item {
    justify-content: space-between;
  }
}

/* ============================================
   Platform Grid - Section Variant
   Used inside glass-card-wrapper sections
   ============================================ */

.platform-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: var(--space-6, 1.5rem);
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(40, 40, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 12px);
  min-width: 200px;
  transition: all 0.2s ease;
}

.platform-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.platform-item.platform-available {
  border-color: rgba(34, 197, 94, 0.3);
}

.platform-item.platform-available:hover {
  border-color: rgba(34, 197, 94, 0.5);
}

.platform-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary, #ffffff);
  flex: 1;
}

.platform-status {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
}

.platform-status-available {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.platform-status-soon {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
  .platform-grid {
    flex-direction: column;
  }

  .platform-item {
    min-width: 100%;
    justify-content: space-between;
  }
}
