:root {
  --dim: #ff0000;
}

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

body {
  background: #000000;
  color: #e0e0e0;
  font-family: "Space Grotesk", monospace;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-radial-gradient(circle at 20% 30%, rgba(255, 26, 26, 0.02), rgba(0, 0, 0, 0) 2px);
  pointer-events: none;
  z-index: 999;
}

main {
  max-width: 480px;
  width: 100%;
  margin: 24px;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 26, 26, 0.15);
  padding: 32px 24px;
  position: relative;
  z-index: 1;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff1a1a, #ff1a1a, transparent);
  margin: 24px 0;
  opacity: 0.3;
}

.logo-container {
  text-align: center;
  margin-bottom: 24px;
}

.logo-img {
  max-width: 150px;
  width: 100%;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.logo-img:hover {
  opacity: 1;
}

.art-text {
  color: #ff1a1a;
  font-family: "Courier New", monospace;
  font-size: 6px;
  text-align: center;
  white-space: pre;
  opacity: 0.4;
  letter-spacing: 1px;
}

.card {
  border: none;
  background: transparent;
  margin: 16px 0;
}

.card-header {
  padding: 0 0 16px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid rgba(255, 26, 26, 0.2);
}

.card-header span {
  color: #ff1a1a;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header i {
  color: #ff1a1a;
  font-size: 11px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-header.active .fa-chevron-right {
  transform: rotate(90deg);
}

.card-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-content.show {
  max-height: 120px;
  margin-top: 16px;
}

.login-input {
  display: flex;
  gap: 8px;
  align-items: center;
}

.login-input input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 26, 26, 0.3);
  color: #ff1a1a;
  padding: 12px 0;
  font-family: monospace;
  font-size: 13px;
  letter-spacing: 2px;
  outline: none;
  transition: border-color 0.2s;
}

.login-input input:focus {
  border-bottom-color: #ff1a1a;
}

.login-input input.wrong-password {
  border-bottom-color: #ff1a1a;
  animation: shake 0.3s ease;
}

.login-input button {
  background: transparent;
  border: 1px solid #ff1a1a;
  color: #ff1a1a;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-input button:hover {
  background: #ff1a1a;
  color: #000000;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

.status {
  text-align: center;
  margin-bottom: 24px;
}

.status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #00ff00;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-text {
  font-size: 8px;
  letter-spacing: 2px;
  color: #00ff00;
}

.status p {
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 1px;
  margin: 0;
}

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

.welcome {
  text-align: center;
  margin-bottom: 32px;
}

.welcome h1 {
  font-size: 18px;
  letter-spacing: 4px;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 8px;
}

.welcome p {
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 1px;
}

.social-grid {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.social-card {
  flex: 1;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(255, 26, 26, 0.2);
  padding: 16px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
}

.social-card i {
  font-size: 24px;
  color: #ff1a1a;
  display: block;
  margin-bottom: 8px;
}

.social-card span {
  font-size: 9px;
  letter-spacing: 1px;
  color: #ffffff;
  display: block;
}

.social-card small {
  font-size: 8px;
  color: var(--dim);
  display: block;
  margin-top: 4px;
}

.social-card:hover {
  border-color: #ff1a1a;
  background: rgba(255, 26, 26, 0.05);
  transform: translateY(-2px);
}

.tabs {
  display: flex;
  gap: 1px;
  background: rgba(255, 26, 26, 0.1);
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--dim);
  padding: 12px;
  cursor: pointer;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 2px;
  transition: all 0.2s;
}

.tab-btn.active {
  background: #ff1a1a;
  color: #000000;
}

.tab-btn:hover:not(.active) {
  color: #ff1a1a;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.timeline {
  margin-bottom: 24px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 26, 26, 0.06);
}

.timeline-marker {
  width: 32px;
  font-size: 10px;
  color: #ff1a1a;
  font-weight: 500;
  flex-shrink: 0;
}

.timeline-content {
  font-size: 10px;
  letter-spacing: 0.5px;
  text-align: left;
  flex: 1;
}

.timeline-content strong {
  color: #ffffff;
  font-weight: 500;
}

.alert-badge {
  background: rgba(255, 26, 26, 0.08);
  border-left: 2px solid #ff1a1a;
  padding: 10px 12px;
  margin-bottom: 20px;
  font-size: 9px;
  letter-spacing: 1px;
}

.alert-badge i {
  color: #ff1a1a;
  margin-right: 8px;
}

.eth-section {
  margin: 24px 0;
}

.eth-label {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--dim);
  margin-bottom: 8px;
}

.eth-value {
  background: rgba(5, 5, 5, 0.8);
  border: 1px solid rgba(255, 26, 26, 0.2);
  padding: 12px;
  font-family: monospace;
  font-size: 9px;
  color: #ff1a1a;
  word-break: break-all;
  margin-bottom: 12px;
}

.copy-btn {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 26, 26, 0.3);
  color: #ff1a1a;
  padding: 10px;
  cursor: pointer;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 1px;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: #ff1a1a;
  color: #000000;
  border-color: #ff1a1a;
}

.action-btn {
  width: 100%;
  background: #ff1a1a;
  border: none;
  color: #000000;
  padding: 14px;
  cursor: pointer;
  font-family: monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.action-btn:hover {
  background: #cc0000;
  transform: scale(1.01);
}

.footer-note {
  text-align: center;
  font-size: 7px;
  letter-spacing: 2px;
  color: #ff1a1a;
  opacity: 0.7;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 26, 26, 0.1);
}

.notice-box {
  background: rgba(255, 26, 26, 0.05);
  border: 1px solid rgba(255, 26, 26, 0.2);
  padding: 16px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.notice-box i {
  font-size: 20px;
  color: #ff1a1a;
}

.notice-box div {
  flex: 1;
}

.notice-box strong {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  margin-bottom: 4px;
  color: #ffffff;
}

.notice-box small {
  font-size: 8px;
  color: var(--dim);
  line-height: 1.4;
}

@media (max-width: 480px) {
  main {
    margin: 16px;
    padding: 24px 20px;
  }

  .social-grid {
    flex-direction: column;
    gap: 8px;
  }

  .social-card {
    padding: 14px;
  }

  .timeline-item {
    gap: 12px;
    padding: 8px 0;
  }

  .timeline-marker {
    width: 28px;
    font-size: 9px;
  }
}
