/* ════════════════════════════════════════════════════════
   landing.css  —  index.html splash page
════════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --blue:   #007BFF;
  --blue-d: #0060cc;
  --white:  #ffffff;
  --ink:    #0d0d0d;
  --yellow: #FFD600;
  --muted:  rgba(255, 255, 255, 0.65);
}

/* ── RESET ── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
}

/* ── CHECKERBOARD BG ── */
.bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(45deg,  rgba(255,255,255,0.045) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.045) 25%, transparent 25%),
    linear-gradient(45deg,  transparent 75%, rgba(255,255,255,0.045) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.045) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0;
  pointer-events: none;
  z-index: 0;
}

/* ── CORNER ACCENTS ── */
.corner {
  position: fixed;
  width: 120px;
  height: 120px;
  z-index: 1;
  opacity: 0.18;
}
.corner-tl { top: 0;    left: 0;  border-top: 3px solid var(--yellow); border-left:  3px solid var(--yellow); }
.corner-tr { top: 0;    right: 0; border-top: 3px solid var(--yellow); border-right: 3px solid var(--yellow); }
.corner-bl { bottom: 0; left: 0;  border-bottom: 3px solid var(--yellow); border-left:  3px solid var(--yellow); }
.corner-br { bottom: 0; right: 0; border-bottom: 3px solid var(--yellow); border-right: 3px solid var(--yellow); }

/* ── MAIN LAYOUT ── */
main {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease both 0.1s;
}

h1 {
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-size: clamp(3rem, 16vw, 14rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 55%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0.05em 2px;
}



.tagline {
  font-size: clamp(0.78rem, 2vw, 1rem);
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 20px;
  margin-bottom: 52px;
  animation: fadeUp 0.6s ease both 0.35s;
  text-align: center;
  max-width: 90vw;
  line-height: 1.7;
}

/* ── BUTTON GROUP ── */
.btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 250px;
}

/* ── ENTER BUTTON ── */
.enter-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  color: var(--blue);
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  animation: fadeUp 0.6s ease both 0.5s;
  box-sizing: border-box;
}

.enter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform: translateX(-101%);
  transition: transform 0.3s ease;
  z-index: 0;
}

.enter-btn:hover::before { transform: translateX(0); }
.enter-btn:hover {
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.enter-btn span { position: relative; z-index: 1; }

.enter-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}
.enter-btn:hover .enter-arrow { transform: translateX(5px); }

/* ── BOTTOM TAG ── */
.bottom-tag {
  position: fixed;
  bottom: 32px;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeUp 0.6s ease both 0.7s;
}

.bottom-tag span {
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.bottom-tag span::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--yellow);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ── ANIMATIONS ── */
@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .corner { width: 70px; height: 70px; }
  .tagline { margin-bottom: 36px; }
  h1 { white-space: normal; }
  main { padding: 32px 16px; }
  .enter-btn { padding: 13px 32px; font-size: 0.95rem; gap: 8px; }
}

@media (max-width: 360px) {
  .enter-btn { padding: 12px 24px; font-size: 0.9rem; }
  .tagline { font-size: 0.78rem; letter-spacing: 0.05em; }
}

/* ── GLITCH NAME ── */
#glitch-name {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1.1;
  animation: fadeUp 0.7s ease both 0.2s;
}

/* ── NAME DOT ── */
.name-dot {
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.1;
  color: var(--yellow);
  -webkit-text-fill-color: var(--yellow);
  flex-shrink: 0;
}

/* ── GLITCH TEXT (inner span) ── */
#glitch-text {
  background: linear-gradient(180deg, #fff 55%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── MIRRORS SELECTOR (SOLID FLAT DESIGN - NO OUTLINES) ── */
.mirrors-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  animation: fadeUp 0.6s ease both 0.6s;
  box-sizing: border-box;
}

.mirrors-toggle {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--white);
  border: none;
  border-radius: 0px;
  color: var(--blue);
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  user-select: none;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.mirrors-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform: translateX(-101%);
  transition: transform 0.25s ease;
  z-index: 0;
}

.mirrors-toggle:hover::before {
  transform: translateX(0);
}

.mirrors-toggle:hover {
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.mirrors-toggle span,
.mirrors-toggle svg {
  position: relative;
  z-index: 1;
}

.mirror-globe-icon {
  stroke: currentColor;
  flex-shrink: 0;
}

.mirror-chevron {
  transition: transform 0.25s ease;
  stroke: currentColor;
  flex-shrink: 0;
}

.mirrors-container.open .mirror-chevron {
  transform: rotate(180deg);
}

.mirrors-container.open .mirrors-toggle {
  background: var(--yellow);
  color: var(--ink);
}

/* ── SOLID DROPDOWN MENU (PURE SOLID WHITE, NO OUTLINE) ── */
.mirrors-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.98);
  width: 320px;
  max-width: 90vw;
  background: var(--white);
  border: none;
  border-radius: 0px;
  padding: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  text-align: left;
  box-sizing: border-box;
}

.mirrors-container.open .mirrors-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.mirrors-menu-title {
  font-family: 'Roboto', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #718096;
  padding: 6px 10px 8px;
  text-transform: uppercase;
}

.mirror-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 0px;
  text-decoration: none;
  color: var(--ink);
  background: #f8fafc;
  border: 2px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  margin-bottom: 6px;
  box-sizing: border-box;
}

.mirror-option:last-child {
  margin-bottom: 0;
}

.mirror-option:hover {
  background: var(--yellow);
  color: var(--ink);
  border-color: transparent;
}

/* Active mirror: blue layered box outlined with green */
.mirror-option.active {
  background: #ebf5ff;
  border: 2px solid #10b981;
}

.mirror-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mirror-option-name {
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.mirror-option:hover .mirror-option-name {
  color: var(--ink);
}

.mirror-option-domain {
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem;
  color: #64748b;
}

.mirror-option:hover .mirror-option-domain {
  color: rgba(13, 13, 13, 0.75);
}

.mirror-badge {
  font-family: 'Roboto', sans-serif;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 3px 6px;
  border-radius: 0px;
  border: none;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.main-badge {
  background: var(--yellow);
  color: var(--ink);
}

.mirror-option:hover .main-badge {
  background: var(--ink);
  color: var(--yellow);
}

.backup-badge {
  background: #e2e8f0;
  color: #334155;
}

@media (max-width: 480px) {
  .btn-group {
    max-width: 230px;
  }
  .enter-btn,
  .mirrors-toggle {
    padding: 13px 18px;
    font-size: 0.95rem;
  }
  .mirrors-menu {
    width: 290px;
  }
}





