:root {
  --bg: #83ffe7;
  --ink: #002b50;
  --blue: #009cff;
  --white: #ffffff;
  --gap: 16px;
  --radius: 16px;
  --header-h: 72px;
}

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

html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Proxima Nova", "Nunito", "Open Sans", Arial, sans-serif;
  min-height: 100%;
}

body {
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

img {
  display: block;
  max-width: 100%;
  pointer-events: none;
  -webkit-user-drag: none;
}

a,
button {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 12px;
  background: var(--bg);
}

.logo {
  height: 30px;
  width: auto;
  flex-shrink: 0;
}

.search {
  flex: 1;
  min-width: 0;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 43, 80, 0.08);
}

.search img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.search span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding: 0 16px 8px;
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 43, 80, 0.08);
  box-shadow: 0 8px 18px rgba(0, 43, 80, 0.08);
}

.tile.lg {
  grid-column: span 2;
  grid-row: span 2;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile .spark {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.row-wrap {
  padding: 12px 0 8px;
}

.row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.row::-webkit-scrollbar {
  display: none;
}

.row .tile {
  flex: 0 0 calc((100% - 24px) / 3.15);
  width: calc((100% - 24px) / 3.15);
  aspect-ratio: 1;
  height: auto;
}

.cats {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 16px 20px;
  scrollbar-width: none;
}

.cats::-webkit-scrollbar {
  display: none;
}

.cat {
  flex: 0 0 88px;
  width: 88px;
  text-align: center;
}

.cat .thumb {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 43, 80, 0.08);
}

.cat .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat p {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.about {
  padding: 8px 20px 28px;
}

.about h2 {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.about h1 {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 14px;
}

.about p {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.about h3 {
  font-size: 18px;
  margin: 18px 0 8px;
}

.about ul {
  padding-left: 18px;
  margin-bottom: 12px;
}

.about li {
  margin: 6px 0;
  font-weight: 700;
}

.footer {
  background: #002b50;
  color: #fff;
  padding: 28px 20px 40px;
  border-radius: 24px 24px 0 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.footer-logo {
  height: 28px;
  filter: brightness(0) invert(1);
}

.footer-tag {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 6px;
}

.lang {
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  border-radius: 10px;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 12px;
}

.cols h4 {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 10px;
}

.cols a {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin: 8px 0;
}
