@import url('https://fonts.googleapis.com/css2?family=Bungee:wght@400&family=Russo+One&family=Orbitron:wght@700&display=swap');

body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
  letter-spacing: 0.03em;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: url('./images/tile-bg.jpeg') repeat;
  background-size: 32px 32px;
  color: #e6eaf0;
}

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: rgba(35, 36, 58, 0.4);
  border-bottom: 2px solid rgba(230, 234, 240, 0.35);
  box-shadow: 0 2px 16px 0 rgba(230, 234, 240, 0.18);
  z-index: 2000;
  padding: 0 16px 0 32px;
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
}
.header-left {
  display: flex;
  align-items: center;
}
.header-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 0 8px #b8c6e4;
  background: #23243a;
  object-fit: cover;
}
.header-center {
  flex: 1;
  text-align: center;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
.ticker-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-left: 56px; /* space for icon */
  padding-right: 20px; /* much closer to Dexscreener */
}
.ticker {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #b8c6e4;
  letter-spacing: 0.12em;
  text-shadow: 0 0 8px rgba(184, 198, 228, 0.18);
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
  white-space: nowrap;
  animation: ticker-bounce 6s cubic-bezier(0.45,0,0.55,1) infinite alternate;
  display: inline-block;
}
@keyframes ticker-bounce {
  0% {
    left: 0%;
  }
  100% {
    left: calc(100% - 8ch - 20px);
  }
}
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 0;
  flex-wrap: wrap;
}
.dexscreener-link, .buy-btn {
  display: inline-block;
  font-size: 1.05rem;
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
  color: #e6eaf0;
  background: rgba(35, 36, 58, 0.4);
  border: 2px solid #b8c6e4;
  border-radius: 8px;
  padding: 8px 12px;
  margin-left: 2px;
  text-decoration: none;
  text-shadow: 0 0 4px #b8c6e4;
  box-shadow: 0 0 8px rgba(184, 198, 228, 0.18);
  transition: background 0.2s, color 0.2s, border 0.2s;
  max-width: 44vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dexscreener-link:hover, .buy-btn:hover {
  background: #b8c6e4;
  color: #23243a;
  border-color: #e6eaf0;
}

.g#gallery {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 80px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 1000;
  background: rgba(35, 36, 58, 0.4); /* 40% opacity */
  border-top: 2px solid rgba(230, 234, 240, 0.35);
  border-bottom: none;
  box-shadow: 0 -4px 32px 0 rgba(230, 234, 240, 0.22), 0 0 0 8px rgba(35, 36, 58, 0.22) inset;
  gap: 1vw;
  padding: 0 24px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  flex-wrap: nowrap;
  margin: 0;
  transition: box-shadow 0.3s;
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
}

.g#gallery::-webkit-scrollbar {
  height: 8px;
}
.g#gallery::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #e6eaf0, #b8c6e4);
  border-radius: 4px;
}
.g#gallery::-webkit-scrollbar-track {
  background: rgba(35, 36, 58, 0.5);
  border-radius: 4px;
}

.g#gallery a {
  font: 1.1em 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 5.1ch;
  height: 59.5px;
  background: rgba(35, 36, 58, 0.4); /* 40% opacity */
  color: #b8c6e4;
  text-decoration: none;
  border-bottom: 2px solid rgba(184, 198, 228, 0.35);
  border-radius: 12px 12px 24px 24px;
  box-shadow: 0 0 12px 2px rgba(230, 234, 240, 0.20), 0 2px 8px rgba(35, 36, 58, 0.20) inset;
  margin: 0 3px;
  transition: all 0.2s ease-out;
  overflow: visible;
  text-shadow: 0 0 4px rgba(184, 198, 228, 0.28), 0 2px 8px rgba(35, 36, 58, 0.20);
  flex-shrink: 0;
  padding-top: 0;
  cursor: pointer;
  z-index: 2;
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
}

.g#gallery a:hover {
  background: rgba(35, 36, 58, 0.6);
  border-bottom-color: #e6eaf0;
  box-shadow: 0 0 20px 4px rgba(230, 234, 240, 0.30), 0 2px 8px rgba(35, 36, 58, 0.20) inset;
  transform: translateY(-2px);
}

.g#gallery a:active {
  transform: translateY(0px);
  transition: all 0.1s ease-out;
}

.g#gallery a .gallery-number {
  display: block;
  margin-top: 8px;
  margin-bottom: 8px;
  padding: 2px 10px 2px 10px;
  background: rgba(230, 234, 240, 0.6); /* 60% opacity, more visible */
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  color: #b8c6e4;
  letter-spacing: 0.08em;
  box-shadow: 0 0 4px rgba(184, 198, 228, 0.20);
  z-index: 2;
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
  filter: brightness(0.85) grayscale(0.2);
}

#gallery-dropdown {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 75vw;
  min-height: 0;
  max-height: 80vh;
  background: rgba(35, 36, 58, 0.5); /* 50% opacity, more see-through */
  border-bottom: 2px solid rgba(230, 234, 240, 0.35);
  box-shadow: 0 8px 32px 0 rgba(230, 234, 240, 0.20), 0 0 0 8px rgba(35, 36, 58, 0.20) inset;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s;
  overflow: hidden;
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
  padding-bottom: 32px;
}
#gallery-dropdown .diamond-left,
#gallery-dropdown .diamond-right {
  display: none !important;
}
#gallery-dropdown img:not(.diamond-left):not(.diamond-right) {
  position: relative;
  z-index: 2;
}
#gallery-dropdown.active {
  display: flex;
  min-height: 60vh;
  max-height: 80vh;
  opacity: 1;
}

#gallery-dropdown img {
  max-width: 90vw;
  max-height: 75vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 0 32px 8px rgba(230, 234, 240, 0.28), 0 0 0 8px rgba(35, 36, 58, 0.28) inset;
  border: 3px solid #b8c6e4;
  object-fit: contain;
  background: rgba(35, 36, 58, 0.4);
  margin: 24px 0 12px 0;
  transition: box-shadow 0.3s, border 0.3s;
}

#gallery-dropdown .sleaze-text {
  font-size: 5rem;
  font-weight: bold;
  color: #b8c6e4;
  text-shadow: 0 0 8px rgba(184, 198, 228, 0.18);
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
  letter-spacing: 0.12em;
  margin: 0 0 8px 0;
  text-align: center;
  display: block;
  width: 100%;
  overflow-wrap: break-word;
}

#gallery-dropdown .ca-text {
  font-size: 1.15rem;
  color: #e6eaf0;
  text-shadow: 0 0 6px #23243a88, 0 0 2px #fff;
  font-family: 'Russo One', 'Orbitron', 'Arial Black', Arial, sans-serif;
  letter-spacing: 0.04em;
  margin: 0 0 24px 0;
  text-align: center;
  user-select: all;
  word-break: break-all;
  display: block;
  width: 100%;
}

#gallery-dropdown .buy-here-btn {
  display: inline-block;
  margin: 18px auto 24px auto;
  padding: 12px 32px;
  font-size: 1.25rem;
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
  font-weight: bold;
  color: #b8c6e4;
  background: rgba(35, 36, 58, 0.4); /* 40% opacity deep blue */
  border: 2px solid #b8c6e4;
  border-radius: 10px;
  box-shadow: 0 0 16px 2px #00aaff44, 0 2px 8px #23243a44;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
#gallery-dropdown .buy-here-btn:hover {
  background: rgba(184, 198, 228, 0.4); /* 40% opacity icy silver */
  color: #23243a;
  border-color: #e6eaf0;
  box-shadow: 0 0 32px 8px #b8c6e4aa, 0 2px 8px #23243a88;
}

#gallery-dropdown .sleaze-meta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

article {
  position: relative;
  top: 0;
  left: 0;
  width: 60vw;
  margin: -44px auto 0 auto;
  color: #e6eaf0;
  background: rgba(35, 36, 58, 0.4); /* 40% opacity */
  border: 2px solid rgba(230, 234, 240, 0.35);
  border-radius: 18px;
  box-shadow: 0 0 24px 4px rgba(230, 234, 240, 0.20), 0 0 0 8px rgba(35, 36, 58, 0.20) inset;
  padding: 24px 32px;
  text-shadow: 0 2px 8px rgba(35, 36, 58, 0.20), 0 0 8px rgba(230, 234, 240, 0.20);
  backdrop-filter: blur(10px);
  z-index: 1;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
}

.hide-article article {
  opacity: 0;
  pointer-events: none;
}

article h1, article p {
  margin: 12px 0;
}

article h1 {
  font-size: 1.5rem;
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
  letter-spacing: 0.08em;
  color: #b8c6e4;
  text-shadow: 0 0 8px rgba(230, 234, 240, 0.20), 0 2px 8px rgba(35, 36, 58, 0.20);
}

article p {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #e6eaf0;
  text-shadow: 0 2px 8px rgba(35, 36, 58, 0.20), 0 0 8px rgba(230, 234, 240, 0.20);
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
}

#video-gallery {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  gap: 2vw;
  margin-top: 32px;
}

.video-thumb {
  width: 260px;
  height: 160px;
  background: rgba(35, 36, 58, 0.4);
  border: 2px solid #b8c6e4;
  border-radius: 16px;
  box-shadow: 0 0 16px 2px rgba(184, 198, 228, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.2s, border 0.2s;
  position: relative;
}

.video-thumb:hover {
  box-shadow: 0 0 32px 8px #b8c6e4;
  border-color: #e6eaf0;
}

.video-thumbnail {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid #b8c6e4;
}

.video-thumb span {
  display: block;
  width: 100%;
  text-align: center;
  color: #b8c6e4;
  font-size: 1.1rem;
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
  padding: 8px 0 0 0;
  text-shadow: 0 0 4px #23243a;
}

.video-modal {
  display: none;
  position: fixed;
  top: 160px;
  left: 50%;
  transform: translateX(-50%);
  width: 75vw;
  height: 60vh;
  background: rgba(0, 20, 40, 0.85);
  border: 2px solid #00aaff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7), 0 0 30px #00aaff44;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.video-modal-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 36px;
  height: 36px;
  background: #00aaff;
  color: #000;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px #0008;
}

.video-modal-close:hover {
  background: #fff;
  color: #00aaff;
  transform: scale(1.1);
}

.video-modal-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
  background: #000;
}

/* Hide video gallery when hovering header or numbers bar */
#main-header:hover ~ #video-gallery,
.g#gallery:hover ~ #video-gallery,
body.hide-article #video-gallery {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

/* Video gallery default state */
#video-gallery {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

@media (max-width: 900px) {
  #main-header {
    flex-direction: column;
    height: auto;
    padding: 0 4vw;
  }
  .header-left, .header-right {
    width: 100%;
    justify-content: center;
    margin: 0;
    gap: 8px;
  }
  .header-center {
    margin: 0;
    width: 100%;
    min-width: 0;
  }
  .dexscreener-link, .buy-btn, .header-spacer {
    max-width: 90vw;
    font-size: 1rem;
    padding: 8px 8px;
  }
  #video-gallery {
    min-height: 40vh;
    flex-direction: column;
    gap: 12px;
    margin-top: 16vw;
    width: 100vw;
    padding: 0 2vw;
  }
  .video-thumb {
    width: 90vw;
    height: 120px;
    min-width: 0;
  }
  .video-thumbnail {
    height: 80px;
  }
  #gallery-dropdown {
    width: 98vw;
    left: 50%;
    transform: translateX(-50%);
    max-height: 60vh;
    padding: 0 2vw;
  }
  #gallery-dropdown img {
    max-width: 96vw;
    max-height: 40vh;
  }
  article {
    width: 96vw;
    padding: 12px 4vw;
    font-size: 1rem;
    margin: 12vw auto 0 auto;
  }
  .sleaze-text {
    font-size: 2.2rem !important;
  }
  #cover-overlay .cover-content {
    padding: 12vw 4vw;
  }
}

@media (max-width: 700px) {
  #gallery-dropdown .diamond-left,
  #gallery-dropdown .diamond-right {
    width: 60px;
    left: 8px;
    right: 8px;
  }
  .header-right {
    gap: 4px;
  }
  .dexscreener-link, .buy-btn {
    font-size: 0.95rem;
    padding: 6px 6px;
    max-width: 70vw;
  }
}

@media (max-width: 600px) {
  #main-header {
    flex-direction: column;
    height: auto;
    padding: 0 2vw;
  }
  .header-left, .header-right {
    width: 100%;
    justify-content: center;
    margin: 0;
    gap: 6px;
  }
  .header-center {
    margin: 0;
    width: 100%;
    min-width: 0;
  }
  .dexscreener-link, .buy-btn, .header-spacer {
    max-width: 98vw;
    font-size: 0.95rem;
    padding: 6px 4px;
  }
  #video-gallery {
    min-height: 30vh;
    flex-direction: column;
    gap: 8px;
    margin-top: 18vw;
    width: 100vw;
    padding: 0 1vw;
  }
  .video-thumb {
    width: 98vw;
    height: 90px;
    min-width: 0;
  }
  .video-thumbnail {
    height: 54px;
  }
  #gallery-dropdown {
    width: 99vw;
    left: 50%;
    transform: translateX(-50%);
    max-height: 40vh;
    padding: 0 1vw;
  }
  #gallery-dropdown img {
    max-width: 98vw;
    max-height: 28vh;
  }
  article {
    width: 99vw;
    padding: 8px 2vw;
    font-size: 0.95rem;
    margin: 8vw auto 0 auto;
  }
  .sleaze-text {
    font-size: 1.2rem !important;
  }
  #cover-overlay .cover-content {
    padding: 8vw 2vw;
  }
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: none;
  z-index: 0;
}

#cover-overlay {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('./images/sleaze-cover.png') center center/cover no-repeat, #1a1025;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s cubic-bezier(0.4,0,0.2,1);
  opacity: 1;
}
#cover-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cover-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(35,36,58,0.4);
  border-radius: 18px;
  padding: 32px 48px;
  box-shadow: 0 0 32px 8px #000a, 0 0 0 8px #23243a44 inset;
}
.cover-prompt {
  color: #fff;
  font-size: 2.2rem;
  font-family: 'Bungee', 'Russo One', 'Orbitron', 'Impact', 'Arial Black', Arial, sans-serif;
  letter-spacing: 0.12em;
  text-shadow: 0 0 16px #000, 0 0 8px #b8c6e4;
  background: rgba(35,36,58,0.6);
  border-radius: 12px;
  padding: 18px 32px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, color 0.2s;
}
.cover-prompt:hover {
  background: rgba(184,198,228,0.4);
  color: #00aaff;
}

.header-spacer {
  display: inline-block;
  min-width: 80px;
  height: 40px;
  background: none;
  border: none;
  margin-left: 2px;
}

#gallery-dropdown.active ~ article,
#gallery-dropdown.active + article,
#gallery-dropdown.active + * + article {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

body.dropdown-active article {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
} 