@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap");

:root {
  --bg: #181a20;
  --bg-2: #12141a;
  --line: #2a2d36;
  --text: #f4f5f7;
  --muted: #9aa0ab;
  --green: #00c805;
  --green-dim: #14532d;
  --green-glow: rgba(0, 200, 5, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #181a20;
  width: 100%;
}

#header-image {
  width: 100%;
  height: auto;
}

.ticker {
  background: #0e1014;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 42s linear infinite;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--green);
  text-transform: uppercase;
}

.ticker-track span {
  padding: 0 28px;
  position: relative;
}

.ticker-track span::after {
  content: "▲";
  margin-left: 18px;
  opacity: 0.55;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.site-header {
  background-color: #181a20;
  padding: 16px 0;
  border-bottom: 1px solid #333;
  width: 100%;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
}

.container {
  max-width: 1440px;
  padding: 0 16px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.header-content {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mascot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--green);
  box-shadow: 0 0 12px var(--green-glow);
}

h1.site-title,
.site-title {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-chip {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 3px 8px;
}

.header-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-shrink: 0;
}

.header-nav a,
.header-nav button {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.header-nav a:hover,
.header-nav button:hover {
  color: #00c805;
}

.nav-ghost {
  opacity: 0.72;
}

.nav-trade {
  color: #00c805 !important;
  background: var(--green-dim) !important;
  border: 1px solid #00c805 !important;
  border-radius: 999px;
  padding: 8px 12px !important;
  font-size: 14px !important;
}

.nav-trade:hover {
  box-shadow: 0 0 16px var(--green-glow);
}

.hero-strip {
  border-bottom: 1px solid #333;
  background:
    radial-gradient(800px 280px at 80% 0%, rgba(0, 200, 5, 0.12), transparent 60%),
    linear-gradient(180deg, #16181e 0%, #181a20 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--green);
  margin: 0 0 10px;
}

.hero-copy h2 {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  margin: 0 0 12px;
}

.lede {
  color: var(--muted);
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 20px;
}

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

.btn-trade,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}

.btn-trade {
  background: #00c805;
  color: #08140a;
}

.btn-trade:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  border: 1px solid #3a3f4a;
  color: #fff;
}

.btn-ghost:hover {
  border-color: #00c805;
  color: #00c805;
}

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-mascot {
  width: min(280px, 70%);
  border-radius: 18px;
  border: 1px solid #333;
  animation: floaty 4.6s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.ca-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111318;
  border: 1px solid #00c805;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
}

.ca-label {
  color: var(--green);
  font-weight: 600;
}

.ca-value {
  color: #fff;
  letter-spacing: 0.08em;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
  scroll-margin-top: 84px;
}

#search-box {
  margin-bottom: 16px;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  width: 90%;
  box-sizing: border-box;
  background: #111318;
  color: #fff;
  border-color: #3a3f4a;
}

#search-box:focus {
  border-color: #00c805;
}

.gallery-meta {
  width: 90%;
  max-width: 1440px;
  margin: 0 0 12px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 8px;
  padding: 8px;
  width: 90%;
}

.image-container {
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #111;
}

.image-container img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  margin: 0;
  max-width: none;
  padding: 0;
  display: block;
  object-fit: cover;
  filter: drop-shadow(rgba(0, 0, 0, 0.2) 0px 2px 2px);
}

.tag-bubbles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.tag-bubble {
  padding: 5px 10px;
  border-radius: 20px;
  background-color: #4a4a4a;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  transition: background-color 0.3s ease;
}

.tag-bubble:hover {
  background-color: #6a6a6a;
}

.top-links {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.link {
  font-size: 14px;
  color: #fff;
  background-color: #14532d;
  border: 1px solid #00c805;
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  margin-bottom: 5px;
}

.top-container {
  display: flex;
  justify-content: end;
  width: 90%;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid #333;
  padding: 28px 0 40px;
  background: #12141a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand strong {
  color: #fff;
  font-family: "Space Grotesk", Arial, sans-serif;
}

.footer-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--muted);
}

.footer-meta a {
  color: var(--green);
  text-decoration: none;
}

.footer-x {
  opacity: 0.7;
}

@media (max-width: 599px) {
  .site-title {
    font-size: 18px;
  }

  .brand-chip {
    display: none;
  }

  .header-nav {
    gap: 10px;
  }

  .header-nav a,
  .header-nav button {
    font-size: 12px;
  }

  .nav-trade {
    padding: 6px 8px !important;
    font-size: 11px !important;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .hero-mascot {
    width: 180px;
  }

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

@media (min-width: 600px) {
  main {
    margin-top: 24px;
  }

  #header-image {
    max-width: 100%;
    max-height: 188px;
    object-fit: cover;
    object-position: bottom;
  }

  #search-box {
    margin-bottom: 32px;
    max-width: 1440px;
    width: 100%;
  }

  .image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    grid-auto-flow: dense;
    grid-gap: 16px;
    max-width: 1440px;
    padding: 16px;
  }

  .image-container:nth-child(10n) {
    grid-column-end: span 2;
    grid-row-end: span 2;
  }

  .image-container img {
    transition: all 1s ease;
  }

  .image-container img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
  }

  .top-container {
    max-width: 1440px;
    display: flex;
    justify-content: end;
  }

  .image-container {
    border-radius: 12px;
  }

  .gallery-meta {
    width: 100%;
    max-width: 1440px;
    padding: 0 16px;
  }
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 1000;
  background: none;
  border: 0;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: #fff;
  font-size: 56px;
  cursor: pointer;
  z-index: 1000;
  line-height: 1;
  padding: 8px 16px;
  opacity: 0.8;
}

.lightbox-nav:hover {
  color: #00c805;
  opacity: 1;
}

.lightbox-nav.prev {
  left: 8px;
}

.lightbox-nav.next {
  right: 8px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}
