body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #d4af37;
  color: #ffffff;
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  text-align: center;
  margin-bottom: 18px;
  width: 100%;
  max-width: 550px;
}

h1 {
  color: #ffffff;
  margin: 0 0 5px 0;
  font-size: 28px;
}

h1 a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

.global-timer {
  background: #b8860b;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  color: #fff8dc;
  border: 1px solid #8b6508;
  display: inline-block;
  margin-top: 10px;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

.blink-icon {
  animation: blink 1.5s infinite ease-in-out;
  display: inline-block;
}

.page-search {
  width: 100%;
  max-width: 550px;
  margin: 10px 0 18px 0;
}

.page-search input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  box-sizing: border-box;
  outline: none;
}

.page-search ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.page-search li {
  margin: 8px 0;
}

.page-search a {
  display: block;
  padding: 12px;
  background: #1e1e1e;
  color: #fff8dc;
  text-decoration: none;
  border-radius: 10px;
}

.page-search a:hover {
  background: #2d2d2d;
}
.playlist-chooser {
  width: 100%;
  max-width: 550px;
  margin: 10px 0 18px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.playlist-chooser a {
  flex: 1;
  display: block;
  padding: 14px 18px;
  background: #1e1e1e;
  color: #fff8dc;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  box-sizing: border-box;
}

.playlist-chooser a:active {
  transform: scale(0.98);
}

.ad-slot {
  width: 100%;
  max-width: 550px;
  min-height: 250px;
  margin: 10px 0 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-feed {
  width: 100%;
  max-width: 550px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
}

.video-card {
  background-color: #1e1e1e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  border: 1px solid #2d2d2d;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.click-shield {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 70px;
  z-index: 9999;
  background: transparent;
  pointer-events: auto;
}

.private-comment {
  display: block;
  margin: 12px 14px 0 14px;
  padding: 12px;
  background: #b8860b;
  color: #fff8dc;
  text-decoration: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
}

.private-comment:active {
  transform: scale(0.98);
}

.thumbnail-title {
  padding: 12px 14px;
  font-size: 16px;
  font-weight: bold;
  color: #fff8dc;
  text-align: center;
  background: #1e1e1e;
  border-top: 1px solid #2d2d2d;
}

.pager {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 550px;
  margin: 20px auto 0 auto;
}

.pager a {
  flex: 1;
  display: block;
  padding: 14px 18px;
  background: #1e1e1e;
  color: #fff8dc;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  box-sizing: border-box;
}

.pager a:active {
  transform: scale(0.98);
}

.other-site-box {
  width: 100%;
  max-width: 550px;
  margin-top: 14px;
  background: linear-gradient(135deg, #b8860b, #d4af37);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #fff8dc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.other-site-box a {
  display: block;
  color: #1e1e1e;
  text-decoration: none;
  font-weight: 700;
}

.other-site-text {
  padding: 14px 16px 10px 16px;
  text-align: center;
  font-size: 16px;
}

.other-site-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

footer {
  width: 100%;
  max-width: 550px;
  text-align: center;
  margin-top: 30px;
  padding: 12px 0;
  color: #fff8dc;
  font-size: 13px;
}

#ageGate {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #d4af37;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  box-sizing: border-box;
  padding: 20px;
}

.age-box {
  background: #1e1e1e;
  width: 100%;
  max-width: 360px;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.age-box h2 {
  color: #d4af37;
  margin: 0 0 15px 0;
  font-size: 25px;
}

.age-box p {
  color: #ffffff;
  line-height: 1.5;
  margin: 0 0 20px 0;
  font-size: 15px;
}

.age-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.enter {
  background: #b8860b;
  color: #ffffff;
}

.exit {
  background: #444444;
  color: #ffffff;
}

.age-btn:active {
  transform: scale(0.98);
}
.video-player {
  text-align: center;
  padding: 30px 15px;
}

.play-button {
  display: inline-block;
  padding: 18px 32px;
  background: #d4af37;
  color: #000;
  font-size: 22px;
  font-weight: bold;
  border-radius: 999px;
  text-decoration: none;
}

.play-button:hover {
  opacity: 0.9;
}

.video-links {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-links a {
  color: #fff8dc;
  text-decoration: underline;
}

@media (max-width: 600px) {
  body {
    padding: 14px;
  }

  h1 {
    font-size: 24px;
  }

  .pager {
    flex-direction: column;
  }

  .ad-slot {
    min-height: 220px;
  }
}
#linkDisplay {
  display: flex;
  justify-content: center;
  padding: 16px;
}

#linkDisplay > div {
  gap: 14px;
  max-width: 360px;
}

#linkDisplay img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

#linkDisplay a {
  line-height: 1.4;
  word-break: break-word;
}
#linkDisplay {
  display: flex;
  justify-content: center;
  padding: 20px;
}

#linkDisplay img {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.blink-note {
  color: #d4af37;
  font-weight: 700;
  text-align: center;
  margin: 12px 0;
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.4);
  }
  50% {
    opacity: 0.4;
    text-shadow: 0 0 14px rgba(212, 175, 55, 0.9);
  }
}
.glow-note {
  display: block;
  width: 100%;
  max-width: 550px;
  text-align: center;
  margin: 8px auto 18px auto;
  color: #fff8dc;
  font-weight: 900;
  font-size: 16px;
  background: linear-gradient(135deg, #8b6508, #d4af37);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.55);
}

.bounce-note {
  display: block;
  width: 100%;
  max-width: 550px;
  text-align: center;
  margin: 8px auto 18px auto;
  color: #fff8dc;
  font-weight: 900;
  font-size: 16px;
  background: linear-gradient(135deg, #8b6508, #d4af37);
  padding: 12px 16px;
  border-radius: 12px;
  animation: bounceNote 1.8s infinite;
}

@keyframes bounceNote {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.marquee-note {
  display: block;
  width: 100%;
  max-width: 550px;
  text-align: center;
  margin: 8px auto 18px auto;
  color: #fff8dc;
  font-weight: 900;
  font-size: 16px;
  background: linear-gradient(135deg, #8b6508, #d4af37);
  padding: 12px 16px;
  border-radius: 12px;
  overflow: hidden;
  white-space: nowrap;
}

.luxury-note {
  display: block;
  width: 100%;
  max-width: 550px;
  text-align: center;
  margin: 8px auto 18px auto;
  color: #fff8dc;
  font-weight: 900;
  font-size: 16px;
  background: linear-gradient(135deg, #3a2a00, #d4af37, #8b6508);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #fff8dc;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

@keyframes blinkText {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
