class DimensionCard extends HTMLElement { connectedCallback() { const title = this.getAttribute('title') || 'Dimension'; const description = this.getAttribute('description') || 'Explore the unknown'; const color = this.getAttribute('color') || 'from-purple-500 to-blue-600'; const icon = this.getAttribute('icon') || 'box'; this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = `

${title}

${description}

`; if (window.feather) { feather.replace({ parent: this.shadowRoot }); } } } customElements.define('dimension-card', DimensionCard);