* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 20px 0 30px;
  font-family: "Patrick Hand", cursive;
  color: #000000;
  background: #ffffff;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size:
    100% 36px,
    36px 100%;
}

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
  text-align: center;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 2px solid #000;
  border-radius: 10px;
  transform: rotate(-2deg);
}

h1,
h2,
h3,
header a,
.symbol {
  color: #206ac5;
}

h1 {
  margin: 0;
  font-size: 2rem;
  transform: rotate(-1deg);
}

.symbol {
  margin: 0;
  font-size: 1.1rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

nav a {
  text-decoration: none;
  border: 2px solid #206ac5;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 1.05rem;
  transform: rotate(1deg);
}

main {
  display: block;
  width: 100%;
}

.section-block {
  width: 100%;
  padding: 26px 16px;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  background: rgba(255, 255, 255, 0.94);
}

.content-wrap {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.section-carousel {
  width: 100%;
  overflow: hidden;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  background: #f7fbff;
}

.carousel-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.carousel-track span {
  display: inline-block;
  padding: 8px 0;
  font-size: 1.2rem;
  color: #206ac5;
  letter-spacing: 0.03em;
  margin-right: 22px;
}

.hero-banner {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border: 3px solid #000;
  border-radius: 12px;
  margin-bottom: 10px;
}

.hero-logo {
  width: 100%;
  max-width: 360px;
  max-height: 360px;
  object-fit: cover;
  border: 3px solid #000;
  border-radius: 16px;
  margin: 6px auto 12px;
  display: block;
}

.about-image {
  width: 100%;
  max-width: 700px;
  max-height: 360px;
  object-fit: cover;
  border: 3px solid #000;
  border-radius: 12px;
  margin: 8px auto 14px;
  display: block;
}

h2 {
  margin: 4px 0 8px;
  font-family: "Caveat", cursive;
  font-size: 2.2rem;
}

h3 {
  margin: 0 0 10px;
  text-transform: lowercase;
  font-size: 1.9rem;
}

p,
li {
  font-size: 1.3rem;
  line-height: 1.3;
}

ol,
ul {
  margin: 0 auto 12px;
  max-width: 420px;
  text-align: left;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  justify-content: center;
}

.btn {
  display: inline-block;
  text-decoration: none;
  color: #000;
  border: 2px solid #000;
  border-radius: 10px;
  padding: 8px 12px;
  background: #fff;
  font-size: 1.05rem;
  box-shadow: 3px 3px 0 #000;
  transform: rotate(-1deg);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 6px 7px 0 #000;
  background-color: #206ac5;
  color: #fff;
}

.btn:active {
  transform: translateY(-1px) scale(1);
  box-shadow: 2px 2px 0 #000;
}

.btn:nth-child(2n) {
  transform: rotate(1deg);
}

.buy-btn {
  margin-top: 4px;
}

.ca-copy {
  margin: 14px auto 0;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 2px solid #000;
  border-radius: 10px;
  background: #fff;
}

.ca-label {
  font-size: 1.1rem;
  color: #206ac5;
}

#caValue {
  font-family: Consolas, "Courier New", monospace;
  font-size: 1rem;
  color: #000;
}

.copy-btn {
  padding: 6px 10px;
  font-size: 0.95rem;
}

.chart-embed {
  width: 100%;
  height: 470px;
  border: 3px solid #000;
  border-radius: 10px;
  background: #fff;
}

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

@media (max-width: 740px) {
  body {
    padding: 12px 0 20px;
  }

  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  p,
  li {
    font-size: 1.15rem;
  }

  .section-block {
    padding: 20px 12px;
  }

  .carousel-track span {
    font-size: 1.05rem;
    margin-right: 16px;
  }
}
