*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; background-color: #f5f7fa; color: #333; min-height: 100vh; display: flex; flex-direction: column; }
header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); color: #fff; padding: 2.5rem 1.5rem; text-align: center; }
.header-content { max-width: 800px; margin: 0 auto; }
.logo { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 0.3rem; }
.tagline { font-size: 1.05rem; color: #a8b2d1; font-weight: 300; }
main { flex: 1; max-width: 1100px; width: 100%; margin: 0 auto; padding: 2rem 1.5rem; }
.search-section { margin-bottom: 2rem; }
.search-form { display: flex; gap: 0.75rem; align-items: center; max-width: 600px; margin: 0 auto; }
.search-input { flex: 1; padding: 0.75rem 1rem; font-size: 1rem; border: 2px solid #dde1e7; border-radius: 8px; outline: none; transition: border-color 0.2s; }
.search-input:focus { border-color: #0f3460; }
.search-button { padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 600; color: #fff; background-color: #0f3460; border: none; border-radius: 8px; cursor: pointer; transition: background-color 0.2s; }
.search-button:hover { background-color: #1a1a2e; }
.clear-link { color: #e94560; text-decoration: none; font-weight: 500; white-space: nowrap; }
.clear-link:hover { text-decoration: underline; }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.app-card-link { text-decoration: none; color: inherit; display: block; }
.app-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; cursor: pointer; }
.app-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.app-image { height: 200px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #1a1a2e; }
.app-image img { width: 100%; height: 100%; object-fit: contain; }
.app-image-placeholder { background: linear-gradient(135deg, #0f3460, #e94560); }
.app-image-placeholder span { font-size: 3.5rem; font-weight: 700; color: #fff; text-transform: uppercase; }
.app-info { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.app-name { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
.app-name a { color: #0f3460; text-decoration: none; }
.app-name a:hover { text-decoration: underline; }
.app-description { color: #555; font-size: 0.95rem; line-height: 1.5; margin-bottom: 0.5rem; flex: 1; }
.app-notes { color: #888; font-size: 0.85rem; font-style: italic; margin-bottom: 0.5rem; }
.app-date { color: #aaa; font-size: 0.8rem; margin-top: auto; }
.no-results { text-align: center; padding: 4rem 1rem; color: #888; font-size: 1.1rem; }
footer { text-align: center; padding: 1.5rem; color: #999; font-size: 0.85rem; border-top: 1px solid #e5e7eb; background: #fff; }
@media (max-width: 600px) { .logo { font-size: 1.8rem; } .search-form { flex-direction: column; } .search-input, .search-button { width: 100%; } .apps-grid { grid-template-columns: 1fr; } }
