* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0a0e1a; --bg3: #1a2235;
  --blue: #1e90ff; --orange: #ff6b00;
  --text: #f0f4ff; --muted: #8899bb; --border: rgba(30,144,255,0.18);
}
body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', sans-serif; }

nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(10,14,26,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 60px;
}
.nav-logo { font-size: 1.1rem; font-weight: 700; color: var(--blue); }
.nav-logo span { color: #e02020; }
.back-btn {
  background: rgba(30,144,255,0.1); border: 1px solid rgba(30,144,255,0.3);
  color: #a0c8ff; padding: 0.3rem 1rem; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s;
}
.back-btn:hover { background: rgba(30,144,255,0.2); }

.page-header {
  padding: 120px 2rem 3rem; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(30,144,255,0.09) 0%, transparent 60%);
}
.page-header h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 0.5rem; }
.page-header h1 span { color: var(--blue); }
.page-header p { color: var(--muted); font-size: 0.95rem; }
.divider { width: 48px; height: 3px; background: var(--orange); border-radius: 2px; margin: 0.6rem auto 0; }

.container { max-width: 1000px; margin: 0 auto; padding: 2rem 2rem 5rem; }

.category { margin-bottom: 3rem; }
.cat-title {
  font-size: 1rem; font-weight: 700; color: var(--orange);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem;
}
.cat-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }

.app-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.4rem 1rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s;
}
.app-card:hover { border-color: var(--blue); transform: translateY(-3px); }

.app-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(30,144,255,0.1); border: 1px solid rgba(30,144,255,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.app-icon.or { background: rgba(255,107,0,0.1); border-color: rgba(255,107,0,0.2); }

.app-card h4 { font-size: 0.9rem; font-weight: 700; }
.app-card p { font-size: 0.75rem; color: var(--muted); line-height: 1.4; }
.app-platform { font-size: 0.7rem; color: var(--muted); }

.dl-btn {
  margin-top: 0.4rem; width: 100%;
  background: var(--blue); color: #fff; border: none;
  padding: 0.5rem; border-radius: 8px; font-size: 0.8rem; font-weight: 700;
  cursor: pointer; text-decoration: none; display: block; transition: opacity .2s;
}
.dl-btn:hover { opacity: 0.85; }
.dl-btn.or { background: var(--orange); }

.tip-box {
  background: rgba(30,144,255,0.06); border: 1px solid rgba(30,144,255,0.2);
  border-radius: 12px; padding: 1.25rem 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 3rem;
}
.tip-box p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.tip-box p strong { color: var(--text); }

footer { text-align: center; padding: 2rem; color: var(--muted); font-size: 0.8rem; border-top: 1px solid var(--border); }
footer span { color: var(--orange); }
