/* ============ RESET / BASE ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Times New Roman", Times, serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.section {
  min-height: 100vh;
  position: relative;
  width: 100%;
}

/* ============ SECTION 1: SHRINE ============ */
.shrine {
  background: #1a0033;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
}

.tiled-bg {
  position: absolute;
  inset: 0;
  background-image: url("selfie1.jpg");
  background-size: 140px 140px;
  background-repeat: repeat;
  opacity: 0.18;
  filter: grayscale(0.3) contrast(1.1);
  z-index: 0;
}

.marquee {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #ffcc00;
  color: #000;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 2px solid #000;
  z-index: 5;
}
.marquee-track {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 35s linear infinite;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.shrine-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.under-construction {
  display: inline-block;
  background: #ffff00;
  color: #000;
  padding: 4px 14px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
  border: 1px dashed #000;
}
.under-construction span { color: #ff0066; }

.title {
  font-family: Georgia, serif;
  font-size: clamp(60px, 14vw, 180px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -4px;
  background: linear-gradient(180deg, #fff 0%, #ffcc00 50%, #ff3366 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(255, 204, 0, 0.4);
  margin-bottom: 10px;
}
.title-line { display: block; }

.subtitle {
  font-style: italic;
  font-size: 20px;
  color: #ffcc00;
  margin-bottom: 40px;
  letter-spacing: 3px;
  text-transform: lowercase;
}

.hit-counter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 2px solid #ffcc00;
  padding: 10px 18px;
  font-family: "Courier New", monospace;
  margin-bottom: 30px;
}
.hit-label {
  color: #ffcc00;
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: 1px;
}
.hit-digits {
  background: #000;
  color: #00ff66;
  font-size: 22px;
  font-weight: bold;
  padding: 4px 10px;
  border: 1px solid #00ff66;
  letter-spacing: 4px;
}

.enter-prompt {
  margin: 30px 0;
}
.enter-link {
  display: inline-block;
  font-size: 22px;
  color: #00ffff;
  text-decoration: underline;
  font-style: italic;
  animation: blink 1.2s infinite;
}
@keyframes blink {
  0%, 70% { opacity: 1; }
  71%, 100% { opacity: 0.3; }
}

.webring {
  margin-top: 40px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  color: #ccc;
  letter-spacing: 1px;
}
.webring a {
  color: #00ffff;
  text-decoration: underline;
  margin: 0 4px;
}

/* ============ SECTION 2: PROFILE ============ */
.profile {
  background: #f4f1ea;
  color: #1a1a1a;
  padding: 80px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.profile-card {
  background: #fff;
  max-width: 1100px;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
  padding: 50px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 40px;
}
.profile-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.profile-meta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.profile-tag {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.checkmark {
  display: inline-block;
  background: #1d9bf0;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
  margin-left: 4px;
  vertical-align: middle;
}
.profile-bio {
  font-size: 15px;
  color: #444;
  max-width: 580px;
  line-height: 1.5;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 50px;
}
.profile-grid h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 16px;
  font-weight: 600;
}

.stats-list { list-style: none; }
.stats-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dotted #d8d8d8;
  font-size: 15px;
}
.stats-list b { font-weight: 700; color: #000; }

.badge-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  display: inline-block;
  background: #f0ede4;
  border: 1px solid #d4cfc0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: #2c2c2c;
}

.testimonials-block blockquote {
  border-left: 3px solid #ddd;
  padding: 6px 0 6px 16px;
  margin-bottom: 18px;
  font-size: 15px;
}
.testimonials-block blockquote p {
  font-style: italic;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.4;
}
.testimonials-block cite {
  font-size: 12px;
  color: #888;
  font-style: normal;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.info-table td {
  padding: 9px 0;
  border-bottom: 1px solid #ececec;
  vertical-align: top;
}
.info-table td:first-child {
  width: 38%;
  color: #888;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}
.info-table td:last-child { color: #1a1a1a; }

.next-arrow {
  text-align: center;
  margin-top: 50px;
}
.next-arrow a {
  display: inline-block;
  text-decoration: none;
  font-size: 16px;
  color: #888;
  letter-spacing: 3px;
  text-transform: lowercase;
  border: 1px solid #ddd;
  padding: 10px 20px;
  border-radius: 999px;
  transition: all 0.2s;
}
.next-arrow a:hover { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

/* ============ SECTION 3: WALL ============ */
.wall {
  background: #000;
  padding: 80px 0 0;
}
.wall-header {
  text-align: center;
  padding: 0 20px 40px;
  max-width: 700px;
  margin: 0 auto;
}
.wall-header h2 {
  font-size: 64px;
  letter-spacing: -2px;
  margin-bottom: 14px;
}
.wall-header > p {
  color: #999;
  font-style: italic;
  font-size: 16px;
  margin-bottom: 6px;
}
.wall-hint {
  color: #666;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: lowercase;
  margin-top: 18px;
}

.mosaic {
  column-count: 4;
  column-gap: 4px;
  padding: 4px;
}
.mosaic img {
  width: 100%;
  margin-bottom: 4px;
  break-inside: avoid;
  cursor: pointer;
  transition: transform 0.25s, filter 0.25s;
  filter: grayscale(0.15);
}
.mosaic img:hover {
  transform: scale(1.02);
  filter: grayscale(0) brightness(1.1);
  z-index: 2;
  position: relative;
}

.site-footer {
  text-align: center;
  padding: 60px 20px 40px;
  color: #555;
  font-size: 13px;
  font-family: "Courier New", monospace;
}
.footer-fine {
  margin-top: 6px;
  font-size: 11px;
  color: #333;
}

/* ============ FLOATING SELFIE LAYER ============ */
#floatingLayer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
.float-selfie {
  position: absolute;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: float-up 2.5s ease-out forwards;
  border-radius: 6px;
}
@keyframes float-up {
  0%   { opacity: 0; transform: translateY(40px) rotate(var(--r, 0deg)) scale(0.6); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-300px) rotate(var(--r, 0deg)) scale(1.1); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .title { letter-spacing: -2px; }
  .profile-card { padding: 30px 20px; }
  .profile-header { flex-direction: column; text-align: center; gap: 16px; }
  .profile-avatar { width: 120px; height: 120px; }
  .profile-grid { grid-template-columns: 1fr; gap: 32px; }
  .mosaic { column-count: 2; }
  .wall-header h2 { font-size: 44px; }
}
@media (min-width: 1400px) {
  .mosaic { column-count: 5; }
}
