@import url('https://fonts.googleapis.com/css2?family=VT323&family=Press+Start+2P&family=Comic+Neue:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #008080;
  font-family: 'Comic Neue', 'Comic Sans MS', cursive;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.ie-window {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  max-width: 900px;
  height: calc(100vh - 72px);
  background: #c0c0c0;
  border: 2px solid #dfdfdf;
  border-right-color: #404040;
  border-bottom-color: #404040;
  box-shadow: 2px 2px 0 #000;
  z-index: 10000;
  display: flex;
  flex-direction: column;
}

.ie-window.maximized {
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  border: none;
  box-shadow: none;
}

.ie-titlebar {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: white;
  padding: 3px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 12px;
  font-weight: bold;
}

.ie-titlebar-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ie-icon {
  width: 16px;
  height: 16px;
}

.ie-titlebar-buttons {
  display: flex;
  gap: 2px;
}

.ie-btn {
  background: #c0c0c0;
  border: 1px solid #fff;
  border-right-color: #808080;
  border-bottom-color: #808080;
  font-size: 10px;
  padding: 0 4px;
  cursor: pointer;
  font-family: inherit;
  min-width: 18px;
  height: 16px;
}

.ie-close {
  background: #c0c0c0;
}

.ie-toolbar {
  background: #c0c0c0;
  border-bottom: 1px solid #808080;
  padding: 2px 4px;
}

.ie-toolbar-buttons {
  display: flex;
  gap: 2px;
}

.ie-tool-btn {
  background: #c0c0c0;
  border: 1px solid #fff;
  border-right-color: #808080;
  border-bottom-color: #808080;
  font-size: 11px;
  padding: 2px 8px;
  cursor: pointer;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.ie-addressbar {
  background: #c0c0c0;
  border-bottom: 1px solid #808080;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ie-address-label {
  font-size: 11px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.ie-address-input {
  flex: 1;
  background: white;
  border: 1px solid #808080;
  border-right-color: #fff;
  border-bottom-color: #fff;
  padding: 2px 4px;
  font-size: 12px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.ie-go-btn {
  background: #c0c0c0;
  border: 1px solid #fff;
  border-right-color: #808080;
  border-bottom-color: #808080;
  font-size: 11px;
  padding: 2px 12px;
  cursor: pointer;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.ie-content {
  background: white;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.page-container {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.under-construction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background: #000;
  margin-bottom: 20px;
}

.under-construction span {
  color: #FFD700;
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.blink {
  animation: blink 1s step-end infinite;
}

.visitor-counter {
  text-align: center;
  font-family: 'VT323', monospace;
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.counter-display {
  background: #000;
  color: #00FF00;
  padding: 2px 8px;
  font-family: 'VT323', monospace;
  font-size: 18px;
}

.main-title {
  text-align: center;
  margin: 20px 0;
}

.title-line {
  display: block;
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(24px, 5vw, 48px);
  color: #000;
  text-shadow: 3px 3px 0 #c0c0c0;
  line-height: 1.4;
}

.title-line.accent {
  color: #FF0000;
  font-size: clamp(32px, 7vw, 64px);
  text-shadow: 3px 3px 0 #800000;
}

.marquee-container {
  background: #000080;
  padding: 8px;
  margin: 20px 0;
  overflow: hidden;
}

.marquee {
  animation: scroll-left 15s linear infinite;
  white-space: nowrap;
}

@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.marquee-text {
  color: #FFD700;
  font-family: 'VT323', monospace;
  font-size: 20px;
}

.main-content {
  margin: 20px 0;
}

.card-info-box {
  background: #FFFFCC;
  border: 3px double #CC9900;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.card-info-box h2 {
  font-family: 'Press Start 2P', monospace;
  font-size: 16px;
  margin-bottom: 15px;
  color: #800000;
}

.card-info-box p {
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

.rarity-preview {
  background: #1a1a2e;
  border: 2px solid #333;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.rarity-preview h3 {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: #fff;
  text-align: center;
  margin-bottom: 15px;
}

.tier-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tier {
  padding: 8px 12px;
  border-radius: 4px;
  font-family: 'VT323', monospace;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tier-count {
  font-size: 14px;
  opacity: 0.8;
}

.tier-aetherium {
  background: linear-gradient(90deg, #FF00FF33, #FF69B433);
  color: #FF00FF;
  border: 1px solid #FF00FF;
  text-shadow: 0 0 10px #FF00FF;
}

.tier-electrum {
  background: linear-gradient(90deg, #FFD70033, #FFA50033);
  color: #FFD700;
  border: 1px solid #FFD700;
  text-shadow: 0 0 10px #FFD700;
}

.tier-orichalcum {
  background: linear-gradient(90deg, #E6510033, #FF6D0033);
  color: #E65100;
  border: 1px solid #E65100;
  text-shadow: 0 0 10px #E65100;
}

.tier-platinum {
  background: linear-gradient(90deg, #E5E4E233, #C0C0C033);
  color: #E5E4E2;
  border: 1px solid #E5E4E2;
  text-shadow: 0 0 10px #C0C0C0;
}

.tier-gold {
  background: linear-gradient(90deg, #DAA52033, #FFD70033);
  color: #DAA520;
  border: 1px solid #DAA520;
  text-shadow: 0 0 10px #DAA520;
}

.tier-silver {
  background: linear-gradient(90deg, #9E9E9E33, #BDBDBD33);
  color: #9E9E9E;
  border: 1px solid #9E9E9E;
}

.tier-copper {
  background: linear-gradient(90deg, #B8733333, #D4956A33);
  color: #B87333;
  border: 1px solid #B87333;
}

.cta-section {
  text-align: center;
  padding: 30px 20px;
  margin: 20px 0;
  background: linear-gradient(135deg, #000080, #4169E1);
  border: 3px outset #808080;
}

.dare-text {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  color: #FFD700;
  margin-bottom: 20px;
}

.big-button {
  background: linear-gradient(180deg, #FF4444, #CC0000);
  color: white;
  border: 4px outset #FF6666;
  padding: 20px 50px;
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(16px, 3vw, 24px);
  cursor: pointer;
  text-shadow: 2px 2px 0 #800000;
  transition: all 0.1s;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.big-button:hover {
  background: linear-gradient(180deg, #FF6666, #EE0000);
  transform: scale(1.1) !important;
}

.big-button:active {
  border-style: inset;
  transform: scale(0.95) !important;
}

.fine-print {
  color: #aaa;
  font-size: 12px;
  margin-top: 10px;
  font-style: italic;
}

.stats-box {
  background: #f0f0f0;
  border: 2px inset #808080;
  padding: 15px;
  margin: 20px 0;
}

.stats-box h3 {
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  margin-bottom: 10px;
  color: #000080;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-family: 'VT323', monospace;
  font-size: 16px;
  border-bottom: 1px dotted #ccc;
}

.collection-link {
  text-align: center;
  margin: 20px 0;
  font-size: 14px;
}

.collection-link a {
  color: #0000FF;
}

.guestbook {
  background: #000;
  color: #00FF00;
  padding: 5px;
  font-family: 'VT323', monospace;
  font-size: 14px;
  margin: 20px 0;
}

.footer-90s {
  text-align: center;
  padding: 10px;
  font-size: 11px;
  color: #808080;
  border-top: 1px solid #c0c0c0;
  margin-top: 20px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #c0c0c0;
  border: 2px solid #dfdfdf;
  border-right-color: #404040;
  border-bottom-color: #404040;
  box-shadow: 4px 4px 0 #000;
  width: 90%;
  max-width: 450px;
}

.modal-header {
  background: linear-gradient(90deg, #000080, #1084d0);
  color: white;
  padding: 4px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 13px;
  font-weight: bold;
}

.modal-close {
  background: #c0c0c0;
  border: 1px solid #fff;
  border-right-color: #808080;
  border-bottom-color: #808080;
  cursor: pointer;
  font-size: 14px;
  padding: 0 4px;
  color: #000;
}

.modal-body {
  padding: 20px;
  text-align: center;
}

.modal-body p {
  margin-bottom: 12px;
  font-size: 14px;
}

.email-input {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 2px inset #808080;
  margin-bottom: 15px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.proceed-btn {
  background: linear-gradient(180deg, #4CAF50, #388E3C);
  color: white;
  border: 3px outset #66BB6A;
  padding: 10px 25px;
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  cursor: pointer;
}

.proceed-btn:hover {
  background: linear-gradient(180deg, #66BB6A, #4CAF50);
}

.chicken-btn {
  background: #c0c0c0;
  border: 3px outset #dfdfdf;
  padding: 10px 20px;
  font-family: 'Comic Neue', cursive;
  font-size: 13px;
  cursor: pointer;
  color: #666;
  font-style: italic;
}

.modal-fine-print {
  font-size: 11px !important;
  color: #888;
  font-style: italic;
}

@media (max-width: 600px) {
  .ie-window {
    top: 10px;
    width: calc(100% - 20px);
    height: calc(100vh - 50px);
  }

  .ie-toolbar {
    display: none;
  }

  .page-container {
    padding: 10px;
  }

  .big-button {
    padding: 15px 30px;
  }

  .under-construction img {
    width: 24px;
    height: 24px;
  }
}

.fake-desktop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #008080;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.fake-desktop.hidden {
  display: flex;
}

.desktop-icons {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}

.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 76px;
  cursor: pointer;
  padding: 4px 6px;
  border: 1px solid transparent;
  user-select: none;
}

.desktop-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  border: 1px dotted #fff;
}

.desktop-icon:active,
.desktop-icon.selected {
  background: rgba(0, 0, 128, 0.5);
  border: 1px dotted #fff;
}

.desktop-icon-img {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  image-rendering: pixelated;
}

.desktop-icon-label {
  color: #fff;
  font-family: 'Tahoma', 'Segoe UI', sans-serif;
  font-size: 11px;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
  word-wrap: break-word;
  max-width: 76px;
  line-height: 1.2;
}

.desktop-taskbar {
  background: linear-gradient(to bottom, #d4d0c8 0%, #c0c0c0 6%, #c0c0c0 94%, #a0a0a0 100%);
  border-top: 2px solid #fff;
  padding: 2px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  font-family: 'Tahoma', 'Segoe UI', sans-serif;
  font-size: 11px;
}

.taskbar-left {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.start-button {
  background: linear-gradient(to bottom, #dfdfdf 0%, #c0c0c0 45%, #b0b0b0 100%);
  border: 2px outset #dfdfdf;
  padding: 1px 6px 1px 3px;
  font-family: 'Tahoma', 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  letter-spacing: 0;
}

.start-button:active {
  border: 2px inset #dfdfdf;
}

.start-flag {
  display: flex;
  align-items: center;
}

.taskbar-divider {
  width: 2px;
  height: 22px;
  margin: 0 3px;
  border-left: 1px solid #808080;
  border-right: 1px solid #fff;
}

.taskbar-quicklaunch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 2px;
}

.quicklaunch-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 2px;
  border: 1px solid transparent;
}

.quicklaunch-icon:hover {
  border: 1px outset #dfdfdf;
}

.quicklaunch-icon:active {
  border: 1px inset #dfdfdf;
}

.taskbar-tray {
  background: #c0c0c0;
  border: 1px solid #808080;
  border-right-color: #fff;
  border-bottom-color: #fff;
  padding: 1px 6px;
  font-size: 11px;
  height: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tray-icon {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 1px 2px;
}
.tray-icon:active {
  border: 1px inset #808080;
  padding: 0 1px;
}

.taskbar-time {
  font-family: 'Tahoma', 'Segoe UI', sans-serif;
  font-size: 11px;
}

.matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: #000;
}

.matrix-canvas.hidden {
  display: none;
}

@keyframes matrixGlitch {
  0% { transform: translate(0); filter: none; }
  10% { transform: translate(-5px, 3px); filter: hue-rotate(90deg) brightness(2); }
  20% { transform: translate(4px, -2px); filter: hue-rotate(180deg) saturate(3); }
  30% { transform: translate(-3px, 5px) skewX(2deg); filter: invert(1); }
  40% { transform: translate(5px, -4px); filter: hue-rotate(270deg) brightness(1.5); }
  50% { transform: translate(-2px, 2px) skewX(-1deg); filter: saturate(5) brightness(2); }
  60% { transform: translate(3px, -3px); filter: invert(1) hue-rotate(90deg); }
  70% { transform: translate(-4px, 4px); filter: brightness(3); }
  80% { transform: translate(2px, -5px) skewX(3deg); filter: hue-rotate(180deg) contrast(2); }
  90% { transform: translate(-1px, 1px); filter: saturate(0) brightness(5); }
  100% { transform: translate(0); filter: brightness(10); }
}

.ie-window.window-closing {
  animation: windowClose 0.3s ease-in forwards;
}

.ie-window.window-opening {
  animation: windowOpen 0.3s ease-out forwards;
}

@keyframes windowClose {
  0% { transform: translateX(-50%) scale(1); opacity: 1; }
  100% { transform: translateX(-50%) scale(0.05) translateY(100vh); opacity: 0; }
}

@keyframes windowOpen {
  0% { transform: translateX(-50%) scale(0.05) translateY(100vh); opacity: 0; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

.ie-window.maximized.window-closing {
  animation: windowCloseMax 0.3s ease-in forwards;
}

.ie-window.maximized.window-opening {
  animation: windowOpenMax 0.3s ease-out forwards;
}

@keyframes windowCloseMax {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.05) translateY(100vh); opacity: 0; }
}

@keyframes windowOpenMax {
  0% { transform: scale(0.05) translateY(100vh); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
