/* Bullverse — layout & components */

.site-header {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 255, 38, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.02em;
}

.logo:hover {
  color: #00ff26;
}

.tracker-pill {
  background: #003207;
  border-radius: 9999px;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.tracker-mobile {
  margin: 0 1.25rem 0.5rem;
  text-align: center;
  font-size: 10px;
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
}

.max-lg-hidden {
  display: none;
}

.lg-hidden {
  display: block;
}

@media (min-width: 64rem) {
  .max-lg-hidden {
    display: block;
  }
  .lg-hidden {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  border: 4px solid #233e13;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: #00ff26;
  color: #233e13;
}

.btn-primary:hover {
  background: #233e13;
  color: #00ff26;
  border-color: #00ff26;
  box-shadow: 0 0 20px rgba(0, 255, 38, 0.8);
}

.btn-outline {
  background: #070a06;
  color: #fff;
}

.btn-outline:hover {
  background: #00ff26;
  color: #233e13;
  box-shadow: 0 0 20px rgba(0, 255, 38, 0.8);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 1.25rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, #000, transparent);
}

.marquee-wrap {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  z-index: 30;
  pointer-events: none;
}

.marquee {
  display: flex;
  overflow: hidden;
  background: #233e13;
  border-block: 4px solid #71b24c;
  padding: 0.5rem 0;
}

.marquee-top {
  transform: rotate(3deg) scale(1.05);
}

.marquee-bottom {
  transform: rotate(-3deg) scale(1.05) translateY(-50%);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 0;
  animation: marquee 25s linear infinite;
}

.marquee-reverse {
  animation-direction: reverse;
}

.marquee-track span {
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  white-space: nowrap;
}

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

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}

@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .hero-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 1;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title .line {
  display: block;
}

.hero-desc {
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: #39ff14;
  opacity: 0.25;
  filter: blur(64px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (min-width: 64rem) {
  .hero-glow {
    width: 25rem;
    height: 25rem;
  }
}

.hero-card {
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 255, 38, 0.3);
  border: 2px solid rgba(0, 255, 38, 0.4);
}

@media (min-width: 64rem) {
  .hero-card {
    width: 20rem;
    height: 20rem;
  }
}

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

.hero-card-1 {
  transform: rotate(-12deg);
  z-index: 2;
  left: 10%;
  top: 10%;
}

.hero-card-2 {
  transform: rotate(8deg);
  z-index: 1;
  right: 5%;
  bottom: 5%;
  opacity: 0.85;
}

/* Sections */
.section {
  position: relative;
  padding: 8rem 1.25rem 5rem;
  min-height: 50vh;
}

.section-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title.text-start {
  text-align: left;
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (min-width: 64rem) {
  .tokenomics-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.tokenomics-img img {
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
  display: block;
  border-radius: 0.75rem;
  box-shadow: 0 0 60px rgba(0, 255, 38, 0.25);
}

.tokenomics-text p {
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 64rem) {
  .tokenomics-text p {
    text-align: left;
  }
}

.contract-block {
  text-align: center;
}

.contract-label {
  text-transform: uppercase;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.contract-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.contract-addr {
  background: #070a06;
  border: 2px solid #233e13;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  word-break: break-all;
}

@media (min-width: 64rem) {
  .contract-addr {
    font-size: 1.125rem;
  }
}

/* Flippening */
.flip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 64rem) {
  .flip-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.flip-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
}

.flip-avatar-wrap {
  position: relative;
}

.flip-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

@media (min-width: 64rem) {
  .flip-avatar {
    width: 281px;
    height: 281px;
  }
}

.flip-avatar-dim {
  filter: grayscale(0.6) brightness(0.7);
}

.flip-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #00ff26;
  filter: blur(100px);
  opacity: 0.5;
}

.flip-glow-dim {
  background: #444;
  opacity: 0.3;
}

.flip-name {
  font-size: 1.875rem;
  font-weight: 700;
}

@media (min-width: 64rem) {
  .flip-name {
    font-size: 3rem;
  }
  .flip-mcap {
    font-size: 2rem;
  }
}

.progress-wrap {
  width: 100%;
}

.progress-bar-outer {
  border: 1px solid #00ff26;
  border-radius: 10px;
  padding: 4px;
  height: 2.5rem;
}

.progress-bar-inner {
  position: relative;
  height: 100%;
  border-radius: 8px;
  background: repeating-linear-gradient(
    45deg,
    #00ff26 0,
    #00ff26 10px,
    #003207 10px,
    #003207 20px
  );
  background-size: 20px 20px;
  animation: progress-stripes 1.5s linear infinite;
  min-width: 2%;
  transition: width 1s ease;
}

@keyframes progress-stripes {
  from { background-position: 40px 0; }
  to { background-position: 0 0; }
}

.progress-label {
  position: absolute;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  color: #00ff26;
  font-weight: 700;
  font-size: 0.875rem;
}

@media (min-width: 64rem) {
  .progress-label {
    font-size: 1.5rem;
    right: -4rem;
  }
}

.progress-thumb {
  position: absolute;
  right: -1.5rem;
  top: 100%;
  margin-top: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  transform: translateX(50%);
}

@media (min-width: 64rem) {
  .progress-thumb {
    width: 57px;
    height: 57px;
    right: -2rem;
  }
}

/* Merch */
.merch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 64rem) {
  .merch-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.merch-copy p {
  font-size: 1.25rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.5;
}

@media (min-width: 64rem) {
  .merch-copy p {
    font-size: 2rem;
  }
}

.merch-visual {
  position: relative;
  min-height: 320px;
}

.merch-glow {
  position: absolute;
  top: 3rem;
  right: 20%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #00ff26;
  filter: blur(100px);
  opacity: 0.4;
}

.merch-item {
  position: absolute;
  width: 10rem;
  height: 10rem;
  overflow: hidden;
  border-radius: 0.5rem;
}

@media (min-width: 64rem) {
  .merch-item {
    width: 16rem;
    height: 16rem;
  }
}

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

.merch-item-1 { top: 2rem; right: 30%; transform: rotate(-8deg); z-index: 3; }
.merch-item-2 { top: 0; right: 5%; transform: rotate(12deg); z-index: 2; }
.merch-item-3 { bottom: -2rem; right: 25%; width: 7rem; height: 7rem; transform: rotate(-5deg); z-index: 1; }

/* Meme section */
.section-meme {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.meme-bg {
  position: absolute;
  inset: 0;
  max-height: 60%;
  overflow: hidden;
  z-index: 0;
}

.meme-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.meme-bg-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 1;
}

.meme-bg-fade.top {
  top: 0;
  background: linear-gradient(to bottom, #000, transparent);
}

.meme-bg-fade.bottom {
  bottom: 0;
  background: linear-gradient(to top, #000, transparent);
}

.meme-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.meme-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin-bottom: 5rem;
}

@media (min-width: 64rem) {
  .meme-stats {
    flex-direction: row;
    gap: 4rem;
  }
}

.meme-collage {
  position: relative;
  width: 100%;
  max-width: 505px;
  height: 458px;
}

.meme-img {
  position: absolute;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 0 30px rgba(0, 255, 38, 0.2);
}

.meme-img-main {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-position: left;
}

.meme-img-1 {
  width: 66%;
  height: 70%;
  left: -0.5rem;
  bottom: 5rem;
  transform: rotate(-12deg);
  border-radius: 2.5rem;
}

.meme-img-2 {
  width: 60%;
  aspect-ratio: 1;
  left: -1rem;
  bottom: 0;
  z-index: 2;
  transform: rotate(15deg);
}

.meme-img-3 {
  width: 194px;
  height: 194px;
  right: 0;
  bottom: -2rem;
  z-index: 3;
  transform: rotate(-20deg);
}

.meme-stat-text {
  text-align: center;
}

@media (min-width: 64rem) {
  .meme-stat-text {
    text-align: left;
  }
}

.lg-text-6xl {
  font-size: 3.75rem;
}

.pfp-section {
  margin-top: 3rem;
}

.pfp-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 64rem) {
  .pfp-header {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.pfp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 64rem) {
  .pfp-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pfp-cell {
  aspect-ratio: 1;
  max-width: 20rem;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 2px solid rgba(0, 255, 38, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pfp-cell {
  cursor: pointer;
}

.pfp-cell:hover {
  transform: scale(1.03) rotate(2deg);
  box-shadow: 0 0 24px rgba(0, 255, 38, 0.5);
}

.pfp-cell.is-highlight {
  border-color: #00ff26;
  box-shadow: 0 0 32px rgba(0, 255, 38, 0.7);
  transform: scale(1.05);
}

.pfp-cell.is-selected {
  border-color: #00ff26;
  box-shadow: 0 0 40px rgba(0, 255, 38, 0.9);
  outline: 2px solid rgba(0, 255, 38, 0.5);
  outline-offset: 2px;
}

.pfp-cell.is-rolling {
  transition: transform 0.08s ease;
}

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

.pfp-preview {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.pfp-preview.is-visible {
  animation: pfpReveal 0.5s ease;
}

@keyframes pfpReveal {
  from {
    opacity: 0;
    transform: translateY(1rem) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pfp-preview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 4px solid #71b24c;
  border-radius: 1.5rem;
  background: rgba(7, 10, 6, 0.9);
  box-shadow: 0 0 50px rgba(0, 255, 38, 0.25);
}

@media (min-width: 48rem) {
  .pfp-preview-card {
    flex-direction: row;
    gap: 2rem;
  }
}

.pfp-preview-card img {
  width: 12rem;
  height: 12rem;
  object-fit: cover;
  border-radius: 1rem;
  border: 2px solid #00ff26;
}

@media (min-width: 48rem) {
  .pfp-preview-card img {
    width: 16rem;
    height: 16rem;
  }
}

.pfp-preview-label {
  font-size: 0.875rem;
  color: #dadada;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.pfp-preview-trait {
  font-size: 1.75rem;
  font-weight: 700;
  color: #00ff26;
  font-family: Unbounded, sans-serif;
}

/* Order */
.order-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 64rem) {
  .order-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.order-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (min-width: 64rem) {
  .order-title {
    text-align: left;
  }
}

.order-img img {
  width: 100%;
  max-width: 35rem;
  margin: 0 auto;
  display: block;
  box-shadow: 0 0 50px rgba(0, 255, 38, 0.2);
}

/* Footer */
.site-footer {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.footer-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.footer-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-title-link:hover {
  color: #00ff26;
}

.footer-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border: 4px solid #71b24c;
  border-radius: 1.5rem;
  background: rgba(35, 62, 19, 0.5);
  overflow: hidden;
  min-height: 200px;
}

@media (min-width: 64rem) {
  .footer-card {
    grid-template-columns: 1fr 2fr;
  }
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 2.5rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: #659847;
  filter: blur(64px);
  opacity: 0.4;
  pointer-events: none;
}

.footer-mascot {
  max-width: 8rem;
  align-self: flex-end;
  margin: 0 auto;
  z-index: 1;
}

@media (min-width: 64rem) {
  .footer-mascot {
    max-width: 25rem;
    margin-left: 1rem;
  }
}

.footer-inner {
  padding: 3rem 1.25rem;
  z-index: 2;
}

.footer-ticker {
  font-size: clamp(2.5rem, 10vw, 7.75rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.5rem;
  color: #00ff26;
  text-shadow: 0 0 40px rgba(0, 255, 38, 0.5);
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 64rem) {
  .footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 2rem;
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-community {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-community:hover {
  color: #00ff26;
}

.footer-x,
.footer-telegram {
  color: #fff;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
}

.footer-x:hover,
.footer-telegram:hover {
  color: #00ff26;
}

.back-top {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: color 0.2s;
}

.back-top:hover {
  color: #00ff26;
}

.rounded-xl {
  border-radius: 0.75rem;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smoke overlay on hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 80% 50% at 70% 50%, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}
