/* SamGenie EduShelf - Main Stylesheet */
:root {
  --orange: #FF6B35;
  --blue: #004E89;
  --yellow: #FFD23F;
  --pink: #FF70A6;
  --green: #06D6A0;
  --bg: #F6F7FB;
  --surface: #FFFFFF;
  --text: #121216;
  --muted: #6B7280;
  --border: #E8E8EF;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-full: 999px;
  --shadow-soft: 0 8px 24px rgba(18, 18, 22, 0.06);
  --shadow-app: 0 10px 30px rgba(18, 18, 22, 0.10);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  height: 100vh;
  display: flex;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: 300px;
  background: var(--surface);
  border-right: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
  flex-shrink: 0;
  z-index: 90;
  overflow-y: auto;
}

body.drawer-open .sidebar {
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 18px;
  border-bottom: 1.5px solid var(--border);
}

.brand-mark {
  width: 44px;
  height: 44px;
  background: var(--text);
  color: var(--yellow);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  font-family: 'Sora', sans-serif;
}

.brand h2 {
  font-size: 17px;
  line-height: 1.1;
}

.brand span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nav-section {
  padding: 6px 0;
}

.nav-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 10px 12px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: 0.15s;
  color: var(--text);
  border: 1.5px solid transparent;
}

.nav-item:hover {
  background: #F3F4F8;
}

.nav-item.active {
  background: var(--text);
  color: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.nav-item .ico {
  width: 26px;
  display: grid;
  place-items: center;
}

.nav-item .ico svg {
  width: 18px;
  height: 18px;
}

.sidebar-foot {
  margin-top: auto;
  background: #121216;
  color: white;
  border-radius: var(--radius-lg);
  padding: 18px;
}

.sidebar-foot h4 {
  font-size: 14px;
  margin-bottom: 6px;
}

.sidebar-foot p {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* ===== BUTTONS ===== */
.btn {
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  transition: 0.18s;
}

.btn-orange {
  background: var(--orange);
  color: white;
}

.btn-white {
  background: white;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-dark {
  background: var(--text);
  color: white;
}

.btn-full {
  width: 100%;
}

/* ===== APP LAYOUT ===== */
.app {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  padding-top: 28px;
}

.topbar {
  height: 68px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: white;
  place-items: center;
  cursor: pointer;
}

.search-app {
  flex: 1;
  max-width: 520px;
  background: #EEF0F6;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 16px;
  gap: 10px;
}

.search-app input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
}

.search-app button {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--text);
  color: white;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: white;
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}

.badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  border: 2px solid white;
}

/* ===== CONTENT AREA ===== */
.content {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
  padding-bottom: 100px;
  -webkit-overflow-scrolling: touch;
}

.content::-webkit-scrollbar {
  width: 6px;
}

.content::-webkit-scrollbar-thumb {
  background: #D9DBE5;
  border-radius: 99px;
}

.screen {
  display: none;
  animation: slideUp 0.28s ease;
}

.screen.active {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BANNER ===== */
.app-banner {
  background: linear-gradient(135deg, #121216 0%, #2A2A36 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 26px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.app-banner::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  background: var(--orange);
  filter: blur(70px);
  opacity: 0.5;
  right: -40px;
  top: -60px;
  border-radius: 50%;
}

.app-banner h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 0.98;
  margin-bottom: 12px;
}

.app-banner h1 span {
  color: var(--yellow);
}

.app-banner p {
  opacity: 0.78;
  font-size: 14.5px;
  max-width: 440px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.banner-stats {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

.banner-stats div b {
  display: block;
  font-size: 20px;
}

.banner-stats div span {
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.banner-visual {
  display: grid;
  place-items: center;
}

.phone-mock {
  width: 180px;
  height: 320px;
  background: white;
  border-radius: 28px;
  border: 4px solid #2A2A36;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  padding: 12px;
  transform: rotate(-4deg);
  position: relative;
  z-index: 1;
}

.phone-notch {
  width: 70px;
  height: 6px;
  background: #121216;
  border-radius: 99px;
  margin: 0 auto 12px;
}

.mini-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 10px;
}

.mini-card b {
  font-size: 12px;
  display: block;
}

.mini-card small {
  font-size: 10px;
  color: var(--muted);
}

/* ===== SECTIONS ===== */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 30px 0 16px;
}

.section-title h2 {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
}

.section-title a {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}

.section-title a:hover {
  color: var(--text);
}

/* ===== HORIZONTAL SCROLL ===== */
.h-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.h-scroll::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex-shrink: 0;
  min-width: 160px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: 0.18s;
  box-shadow: var(--shadow-soft);
}

.cat-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-app);
}

.cat-pill.active {
  border-color: var(--text);
  background: var(--text);
  color: white;
}

.cat-ico {
  font-size: 26px;
}

.cat-pill b {
  font-size: 14px;
}

.cat-pill span {
  font-size: 11px;
  opacity: 0.7;
}

/* ===== APP GRID & CARDS ===== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.app-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: 0.18s;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-app);
  border-color: #D4D6E2;
}

.app-card-top {
  height: 108px;
  padding: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-card-top.primary {
  background: linear-gradient(135deg, #FFD23F, #FFB700);
}

.app-card-top.secondary {
  background: linear-gradient(135deg, #FF70A6, #FF3D8B);
  color: white;
}

.app-card-top.university {
  background: linear-gradient(135deg, #06D6A0, #00B894);
}

.app-card-top.jamb {
  background: linear-gradient(135deg, #FF6B35, #FF3E00);
  color: white;
}

.card-badge {
  align-self: flex-start;
  background: white;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.card-icon {
  font-size: 34px;
  opacity: 0.9;
}

.app-card-body {
  padding: 14px 14px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-card-body h4 {
  font-size: 14.5px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.app-card-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}

.card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.mini-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 99px;
  background: #F3F4F8;
  border: 1px solid var(--border);
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1.5px dashed var(--border);
}

.price {
  font-weight: 800;
  font-size: 16px;
}

.add-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--text);
  color: white;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
}

/* ===== EMPTY STATE ===== */
.empty {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-xl);
}

/* ===== BOTTOM NAV (MOBILE) ===== */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 420px;
  background: rgba(18, 18, 22, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  display: none;
  padding: 8px;
  gap: 6px;
  z-index: 35;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  transition: 0.28s ease;
}

body.drawer-open .bottom-nav {
  transform: translateX(-50%) translateY(150%);
  opacity: 0;
  pointer-events: none;
}

.bnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: 0.18s;
}

.bnav-item.active {
  background: white;
  color: var(--text);
}

.bnav-item span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bnav-item .ico {
  display: grid;
  place-items: center;
}

.bnav-item .ico svg {
  width: 20px;
  height: 20px;
}

/* ===== SUBJECT CHIPS ===== */
.subj {
  cursor: pointer;
  transition: 0.15s;
}

.subj:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  background: var(--text) !important;
  color: white !important;
  border-color: var(--text) !important;
}

/* ===== OVERLAY ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 80;
  display: none;
  opacity: 0;
  transition: 0.22s;
}

.overlay.show {
  display: block;
  opacity: 1;
}

/* ===== SCROLL CONTROLS ===== */
.scroll-btn {
  transition: 0.15s;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
}

.scroll-btn:hover {
  border-color: var(--text) !important;
  background: var(--text) !important;
  color: white !important;
}

.scroll-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ===== TOP CENTER BRAND ===== */
.top-center-brand {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--text);
  color: white;
  padding: 6px 18px;
  border-radius: 0 0 14px 14px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: 0.25s ease;
  pointer-events: none;
}

body.drawer-open .top-center-brand {
  transform: translateX(-50%) translateY(-100%);
  opacity: 0;
}

/* ===== UNIVERSITY ===== */
.uni-header {
  display: flex;
  gap: 16px;
  align-items: center;
  background: linear-gradient(135deg, #121216, #2A2A36);
  color: white;
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 18px;
}

.uni-logo {
  width: 56px;
  height: 56px;
  background: var(--yellow);
  color: var(--text);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb b {
  color: var(--text);
}

/* ===== FACULTY ACCORDION ===== */
.faculty-group {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}

.faculty-head {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: white;
  transition: 0.15s;
}

.faculty-head:hover {
  background: #F8F9FF;
}

.faculty-head h4 {
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faculty-head span.meta {
  font-size: 11px;
  background: #F3F4F8;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 99px;
  font-weight: 700;
  color: var(--muted);
}

.faculty-body {
  display: none;
  padding: 0 12px 12px;
  background: #FAFBFF;
}

.faculty-group.open .faculty-body {
  display: grid;
  gap: 8px;
}

.faculty-group.open .faculty-head {
  background: #F3F4F8;
}

.dept-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  transition: 0.15s;
}

.dept-row:hover {
  border-color: var(--text);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.dept-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dept-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #EEF0F6;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.dept-name {
  font-weight: 600;
  font-size: 13.5px;
}

.dept-sub {
  font-size: 11px;
  color: var(--muted);
}

/* ===== LEVEL CHIPS ===== */
.level-chip {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--text);
  color: white;
}

.level-chip.l400 {
  background: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #C8E6C9;
}

.level-chip.l500 {
  background: #FFF3E0;
  color: #E65100;
  border: 1px solid #FFCC80;
}

.level-chip.l600 {
  background: #F3E5F5;
  color: #6A1B9A;
  border: 1px solid #E1BEE7;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.level-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: 0.18s;
  position: relative;
  overflow: hidden;
}

.level-card:hover {
  border-color: var(--text);
  transform: translateY(-4px);
  box-shadow: var(--shadow-app);
}

.level-card b {
  font-size: 28px;
  display: block;
  font-family: 'Sora', sans-serif;
}

.level-card span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.level-card .count {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 10px;
  font-weight: 800;
  background: var(--yellow);
  color: var(--text);
  padding: 2px 8px;
  border-radius: 99px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 14px;
}

.back-btn:hover {
  border-color: var(--text);
}

/* ===== PAST QUESTIONS ===== */
.no-copy {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

.choice-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  transition: 0.18s;
  box-shadow: var(--shadow-soft);
}

.choice-card:hover {
  border-color: var(--text);
  transform: translateY(-3px);
  box-shadow: var(--shadow-app);
}

.choice-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  flex-shrink: 0;
}

.year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.year-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: 0.15s;
  font-weight: 700;
}

.year-card:hover {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

.past-q-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 14px;
  transition: 0.15s;
  cursor: pointer;
}

.past-q-card h4 {
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 700;
}

.past-q-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.past-q-answer {
  display: none;
  margin-top: 12px;
  padding: 12px;
  background: #F0FAF2;
  border: 1px solid #C8E6C9;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1B5E20;
}

.past-q-card.revealed .past-q-answer {
  display: block;
}

.past-q-card .tap-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

/* ===== COURSE ROW ===== */
.course-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
  transition: 0.15s;
}

.course-row:hover {
  border-color: var(--text);
}

/* ===== STORE ===== */
.store-tab {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: white;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.store-tab.active {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

/* ===== SEARCH BOX ===== */
.search-box {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  outline: none;
  transition: 0.15s;
}

.search-box:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(18, 18, 22, 0.08);
}

/* ===== LOGGED-OUT STATE ===== */
body.not-logged-in .sidebar {
  display: none !important;
}

body.not-logged-in .bottom-nav {
  display: none !important;
}

body.not-logged-in .topbar {
  display: none !important;
}

body.not-logged-in .top-center-brand {
  display: block !important;
}

body.not-logged-in .content {
  padding-top: 50px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 981px) {
  .app {
    padding-top: 0;
  }
  .top-center-brand {
    top: 12px;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 12px;
  }
  .sidebar {
    transform: none !important;
    position: relative;
  }
  .overlay {
    display: none !important;
  }
  .bottom-nav {
    display: none !important;
  }
}

@media (max-width: 980px) {
  body {
    flex-direction: column;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-105%);
    transition: 0.26s ease;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.2);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .menu-btn {
    display: grid;
  }
  .top-actions .hide-m {
    display: none;
  }
  .content {
    padding: 16px;
    padding-bottom: 110px;
  }
  .app-banner {
    grid-template-columns: 1fr;
  }
  .banner-visual {
    display: none;
  }
  .bottom-nav {
    display: flex;
  }
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    padding: 0 14px;
  }
}
