/* All comments are in English by user preference */

:root {
  --bg: #0b0f17;
  --panel: rgba(255, 255, 255, .06);
  --panel-2: rgba(255, 255, 255, .10);
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .72);
  --muted2: rgba(255, 255, 255, .55);
  --border: rgba(255, 255, 255, .12);
  --shadow: 0 18px 60px rgba(0, 0, 0, .45);
  --radius: 18px;
  --radius2: 26px;
  --max: 980px;
  --verse-bar-height: 40px;
  --footer-height: 44px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(120, 80, 255, .35), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(0, 220, 255, .18), transparent 55%),
    radial-gradient(800px 500px at 50% 110%, rgba(255, 160, 50, .12), transparent 60%),
    var(--bg);
  padding-top: var(--verse-bar-height);
  padding-bottom: var(--footer-height);
  height: 100vh;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 46px 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(to bottom, rgba(255, 255, 255, .05), transparent);
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 14px;
  padding: 22px 0 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 26px;
  }
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 10px;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-text {
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: .01em;
}

.brand-desc {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .70);
  font-size: 13px;
  line-height: 1.35;
  text-wrap: balance;
}

.brand-github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .90);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}

.brand-github:hover,
.brand-github:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .22);
  outline: none;
}

.gh {
  display: block;
  opacity: .95;
}

/* Mobile stacking */
@media (max-width: 720px) {
  body {
    height: 100%;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-github {
    width: 100%;
    justify-content: center;
  }

  .brand-desc {
    white-space: normal;
  }
}

.brand-actions {
  display: flex;
  gap: 10px;
}

/* Discord button (inherits the same base style) */
.brand-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .95);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}

.brand-discord:hover,
.brand-discord:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .22);
  outline: none;
}

.dc {
  display: block;
}

/* Mobile */
@media (max-width: 720px) {
  .brand-actions {
    width: 100%;
  }

  .brand-actions a {
    flex: 1;
    justify-content: center;
  }
}

.card {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: linear-gradient(to bottom right, var(--panel), rgba(255, 255, 255, .03));
  box-shadow: var(--shadow);
  cursor: pointer;
  outline: none;
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .22);
  background: linear-gradient(to bottom right, var(--panel-2), rgba(255, 255, 255, .04));
}

.card-top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.logo-badge {
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: .04em;
  width: 85px;
  height: 65px;
}

.logo-badge span {
  font-size: 14px;
  color: rgba(255, 255, 255, .92);
}

.logo-hynet img {
  width: 100%;
  height: 100%;
}

.logo-lioncore img {
  width: 100%;
  height: 100%;
}

.logo-exodus img {
  width: 100%;
  height: 100%;
}

.card-title h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: .01em;
}

.tag {
  margin: 4px 0 0;
  color: var(--muted2);
  font-size: 12px;
}

.card-bottom .desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.cta {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
}

.url {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  letter-spacing: .02em;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--footer-height);
  display: flex;
  align-items: center;
  background: rgba(10, 14, 22, .7);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer p {
  margin: 0 auto;
  font-size: 12px;
  color: rgba(255, 255, 255, .6);
}

.verse-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--verse-bar-height);
  z-index: 1000;
  background: rgba(10, 14, 22, .75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.verse-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
}

.verse-ref {
  font-weight: 700;
  white-space: nowrap;
  opacity: .85;
}

.verse-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: .9;
}

/* ===== Brand layout override ===== */

.brand {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 28px 0 18px;
}

/* Big centered logo */
.brand-mark {
  width: 100%;
  height: 100%;

  display: grid;
  place-items: center;
}

/* Stack text under logo */
.brand-left {
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Text block */
.brand-text {
  max-width: 680px;
}

.brand-title {
  font-size: 26px;
  margin-top: 6px;
}

.brand-desc {
  font-size: 14px;
  margin-top: 10px;
  color: rgba(255, 255, 255, .75);
}

/* Actions centered below text */
.brand-actions {
  justify-content: center;
  margin-top: 10px;
}

/* ===== Mobile adjustments ===== */
@media (max-width: 720px) {
  .brand-title {
    font-size: 22px;
  }
}

.brand-mark img {
  width: 20vh;
  height: 18vh;
}