| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| :host { | |
| display: block; | |
| background-color: #0f172a; | |
| color: #94a3b8; | |
| padding: 4rem 2rem; | |
| border-top: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .footer-container { | |
| max-width: 1440px; | |
| margin: 0 auto; | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 2rem; | |
| } | |
| .footer-section h3 { | |
| color: #e2e8f0; | |
| font-size: 1.25rem; | |
| margin-bottom: 1.5rem; | |
| font-weight: 600; | |
| } | |
| .footer-links { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.75rem; | |
| } | |
| .footer-link { | |
| color: #94a3b8; | |
| text-decoration: none; | |
| transition: color 0.2s; | |
| } | |
| .footer-link:hover { | |
| color: #38bdf8; | |
| } | |
| .social-links { | |
| display: flex; | |
| gap: |