:root {
  --bg: #ffd100;
  --card: #ffffff;
  --text: #111;
  --muted: rgba(0, 0, 0, 0.6);
  --accent: #222;
  --card-radius: 10px;
  --max-width: 720px;
  --font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text); /*Color in Site*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 16px;
  min-height: 100vh;  /*e*/
  overflow-y: auto;
}

.page {
  width: 100%;
  max-width: var(--max-width);
  text-align: center;
}

.brand {
  margin-bottom: 16px;
  margin-top: 8px;
}

.logo-wrap {
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.logo {
  max-width: 86%;
  max-height: 86%;
  display: block;
}

.title {
  margin: 12px 0 4px;
  font-size: 15px;
  letter-spacing: 0.3px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subtitle {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  align-items: stretch;
}

.card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card);
  border-radius: var(--card-radius);
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.card:active {
  transform: scale(0.996);
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card .fav {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  overflow: hidden;
}

.card .fav img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card .fav svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.card .meta {
  flex: 1;
  text-align: left;
}

.card .meta .label {
  font-weight: 700;
  font-size: 14px;
}

.card .meta .sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.card .meta .sub a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.12s ease;
  overflow: visible;
  padding: 5px;
}

.socials a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 900px) {
  .logo-wrap {
    width: 110px;
    height: 110px;
  }

  .title {
    font-size: 18px;
    margin: 18px 0 6px;
  }

  .subtitle {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .brand {
    margin-bottom: 18px;
  }

  .links {
    gap: 14px;
    margin-bottom: 24px;
  }

  .card {
    padding: 18px 20px;
    gap: 14px;
  }

  .card .fav {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 8px;
  }

  .card .fav svg {
    width: 28px;
    height: 28px;
  }

  .card .meta .label {
    font-size: 15px;
  }

  .card .meta .sub {
    font-size: 13px;
    margin-top: 6px;
  }

  .socials {
    margin-top: 6px;
    gap: 14px;
  }

  .socials a {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    padding: 6px;
  }
}
