/* Design System Variables - Based on globals.css */
:root {
  --font-size: 16px;
  --background: #ffffff;
  --foreground: oklch(0.145 0 0);
  --card: #ffffff;
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: #030213;
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.95 0.0058 264.53);
  --secondary-foreground: #030213;
  --muted: #ececf0;
  --muted-foreground: #717182;
  --accent: #e9ebef;
  --accent-foreground: #030213;
  --destructive: #d4183d;
  --destructive-foreground: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --input: transparent;
  --input-background: #f3f3f5;
  --switch-background: #cbced4;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --ring: oklch(0.708 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --radius: 0.625rem;
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: #030213;
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);
}

/* Dark theme - Applied by default */
.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.145 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.145 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.985 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
  --ring: oklch(0.439 0 0);
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(0.269 0 0);
  --sidebar-ring: oklch(0.439 0 0);
}

/* Apply dark theme by default */
body {
  background: var(--background);
  background-image: 
    linear-gradient(rgba(0, 0, 255, 0.05) 3px, transparent 3px),
    linear-gradient(90deg, rgba(0, 0, 255, 0.05) 3px, transparent 3px);
  background-size: 20px 20px;
  color: var(--foreground);
}

/* Logo Font */
@font-face {
  font-family: 'Outrun Future';
  src: url('../design/logo_font/OutrunfutureBold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  border-color: var(--border);
}

html {
  font-size: var(--font-size);
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    line-height: 1.6;
}

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

.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container {
  margin-bottom: 0px;
}

.main-logo {
  height: 189px;
  width: auto;
  margin: 0;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(1);
  max-width: 100%;
}

.header-separator {
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #68F6FB, transparent);
  margin: 20px auto;
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(104, 246, 251, 0.5);
}

.section-separator {
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(104, 246, 251, 0.3), transparent);
  margin: 30px auto;
  border-radius: 1px;
}

.title {
    font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: var(--font-weight-medium);
  color: #68F6FB;
    margin-bottom: 10px;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  margin-bottom: 30px;
}

.input-group {
    display: flex;
    gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Input Section */
.input-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  width: 100%;
}

/* Authentication Styles */
.auth-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  animation: fadeIn 0.5s ease-in;
}

.auth-buttons {
    display: flex;
    gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.twitter-auth-button {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', monospace;
  font-weight: var(--font-weight-medium);
    font-size: 1rem;
  color: #68F6FB;
  background: transparent;
  border: 2px solid #68F6FB;
  border-radius: var(--radius);
  padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
  text-decoration: none;
    position: relative;
    overflow: hidden;
}

.twitter-auth-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(104, 246, 251, 0.2), transparent);
  transition: left 0.5s;
}

.twitter-auth-button:hover::before {
  left: 100%;
}

.twitter-auth-button:hover {
  background: rgba(104, 246, 251, 0.1);
  border-color: #68F6FB;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(104, 246, 251, 0.3);
  text-shadow: 0 0 10px rgba(104, 246, 251, 0.5);
}

.twitter-icon {
    width: 20px;
    height: 20px;
  fill: currentColor;
}

/* Proof of Signal Section */
.proof-of-signal-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
  animation: fadeIn 0.8s ease-in;
}

.proof-text {
  text-align: center;
  color: var(--foreground);
}

.proof-text h2 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 0 8px 0;
  color: #68F6FB;
  text-shadow: 0 0 10px rgba(104, 246, 251, 0.3);
}

.proof-text p {
  font-family: 'Inter', sans-serif;
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  margin: 0;
  color: var(--foreground);
  opacity: 0.8;
}

.home-signal-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-signal-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(104, 246, 251, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-signal-image:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 25px rgba(104, 246, 251, 0.3);
}

.user-section {
    display: flex;
    flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding: 10px;
  background: rgba(20, 19, 19, 0.8);
  border: 1px solid #68F6FB;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(104, 246, 251, 0.15);
}

.user-info {
    display: flex;
    align-items: center;
  gap: 10px;
  background: rgba(104, 246, 251, 0.1);
  border: 1px solid rgba(104, 246, 251, 0.3);
  border-radius: var(--radius);
  padding: 8px 12px;
    backdrop-filter: blur(10px);
}

.user-profile-image {
  width: 35px;
  height: 35px;
    border-radius: 50%;
  border: 1px solid #68F6FB;
    object-fit: cover;
  box-shadow: 0 0 6px rgba(104, 246, 251, 0.2);
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.user-display-name {
  font-family: 'Orbitron', monospace;
  font-weight: var(--font-weight-medium);
  font-size: 0.9rem;
    color: #ffffff;
}

.user-username {
  font-family: 'Orbitron', monospace;
  font-weight: var(--font-weight-normal);
  font-size: 0.8rem;
  color: #68F6FB;
  text-shadow: 0 0 3px rgba(104, 246, 251, 0.2);
}

/* Fixed User Info in Upper Right */
.fixed-user-info {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #68F6FB;
  border-radius: 25px;
  padding: 8px 16px;
  z-index: 1000;
  box-shadow: 0 0 15px rgba(104, 246, 251, 0.3);
    backdrop-filter: blur(10px);
}

.fixed-user-profile-image {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #68F6FB;
  object-fit: cover;
}

.fixed-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fixed-user-display-name {
    font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1;
}

.fixed-user-username {
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  color: #68F6FB;
  line-height: 1;
  text-shadow: 0 0 3px rgba(104, 246, 251, 0.2);
}

.logout-button {
  width: 30px;
  height: 30px;
  background: rgba(104, 246, 251, 0.1);
  border: 1px solid #68F6FB;
  border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(104, 246, 251, 0.2);
  padding: 0;
}

.logout-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(85%) sepia(100%) saturate(1000%) hue-rotate(180deg) brightness(1.2);
  transition: all 0.3s ease;
}

.logout-button:hover {
  background: rgba(104, 246, 251, 0.2);
  box-shadow: 0 0 12px rgba(104, 246, 251, 0.4);
  transform: scale(1.1);
}

.logout-button:hover .logout-icon {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(1);
}

.docs-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 30px;
  background: rgba(104, 246, 251, 0.1);
  border: 1px solid #68F6FB;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(104, 246, 251, 0.2);
  margin-left: 8px;
}

.docs-text {
  color: #68F6FB;
  font-size: 12px;
    font-weight: 600;
  font-family: 'Orbitron', monospace;
  text-shadow: 0 0 3px rgba(104, 246, 251, 0.2);
}

.docs-link:hover {
  background: rgba(104, 246, 251, 0.2);
  box-shadow: 0 0 12px rgba(104, 246, 251, 0.4);
  transform: scale(1.05);
}

.docs-link:hover .docs-text {
    color: #ffffff;
  text-shadow: 0 0 5px rgba(104, 246, 251, 0.5);
}

/* Large Tablet optimization */
@media (max-width: 1024px) and (min-width: 901px) {
  .baggu-info-section {
    position: absolute;
    left: 20px;
    top: 450px;
    width: 400px;
    max-width: calc(100% - 40px);
    padding: 15px 18px;
  }
  
  .baggu-role {
    font-size: 15px;
    line-height: 19px;
    gap: 8px;
  }
  
  .baggu-description {
    font-size: 13px;
    line-height: 17px;
    margin-top: 10px;
  }
}

/* Tablet optimization for fixed user info */
@media (max-width: 1024px) and (min-width: 769px) {
  .fixed-user-info {
    top: 15px;
    right: 15px;
    padding: 8px 14px;
    gap: 10px;
    max-width: calc(100vw - 30px);
  }
  
  .fixed-user-profile-image {
    width: 32px;
    height: 32px;
  }
  
  .fixed-user-display-name {
    font-size: 0.7rem;
  }
  
  .fixed-user-username {
    font-size: 0.6rem;
  }
  
  .logout-button {
    width: 28px;
    height: 28px;
  }
  
  .logout-icon {
    width: 15px;
    height: 15px;
  }
}

/* Mobile optimization for fixed user info */
@media (max-width: 768px) {
  .fixed-user-info {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    gap: 8px;
    max-width: calc(100vw - 20px);
    overflow: hidden;
  }
  
  .docs-link {
    width: 45px;
    height: 28px;
    margin-left: 6px;
  }
  
  .docs-text {
    font-size: 11px;
  }
  
  .fixed-user-profile-image {
    width: 30px;
    height: 30px;
  }
  
  .fixed-user-display-name {
    font-size: 0.6rem;
  }
  
  .fixed-user-username {
    font-size: 0.5rem;
  }
  
  .logout-button {
    width: 25px;
    height: 25px;
  }
  
  .logout-icon {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .fixed-user-info {
    top: 5px;
    right: 5px;
    padding: 4px 8px;
    gap: 6px;
    max-width: calc(100vw - 10px);
    overflow: hidden;
  }
  
  .docs-link {
    width: 40px;
    height: 26px;
    margin-left: 4px;
  }
  
  .docs-text {
    font-size: 10px;
  }
  
  .fixed-user-profile-image {
    width: 25px;
    height: 25px;
  }
  
  .fixed-user-display-name {
    font-size: 0.5rem;
  }
  
  .fixed-user-username {
    font-size: 0.4rem;
  }
  
  .logout-button {
    width: 20px;
    height: 20px;
  }
  
  .logout-icon {
    width: 12px;
    height: 12px;
  }
}

/* Terminal Loading Screen Styles */
.loading-screen {
    display: flex;
    justify-content: center;
  align-items: center;
  margin: 30px auto;
  animation: fadeIn 0.5s ease-in;
}

.terminal-container {
  width: 1200px;
  background: #000000;
    border: none;
  border-radius: 4px;
  overflow: hidden;
  font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
}

.terminal-header {
  background: #000000;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: none;
}

.terminal-buttons {
  display: none;
}

.terminal-button {
  display: none;
}

.terminal-button.close {
  display: none;
}

.terminal-button.minimize {
  display: none;
}

.terminal-button.maximize {
  display: none;
}

.terminal-title {
  font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
  font-size: 0.8rem;
  color: #cccccc;
  font-weight: normal;
}

.terminal-body {
  background: #000000;
  padding: 20px;
  min-height: 500px;
  max-height: 600px;
  overflow-y: auto;
  border: none;
}

.terminal-output {
  font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
  font-size: 14px;
  line-height: 1.5;
}

.terminal-line {
  margin-bottom: 2px;
    display: flex;
    align-items: center;
  opacity: 0;
  animation: typeIn 0.3s ease-in forwards;
}

.terminal-prompt {
  color: #00ff00;
  margin-right: 8px;
  font-weight: normal;
}

.terminal-command {
    color: #ffffff;
  position: relative;
}

.terminal-command::after {
  content: '_';
    color: #ffffff;
  animation: blink 1s infinite;
  margin-left: 1px;
}

.terminal-command.completed {
  color: #00ff00;
}

.terminal-command.completed::after {
  content: '';
  animation: none;
}

.terminal-command.error {
  color: #ff0000;
}

.terminal-command.error::after {
  content: '';
  animation: none;
}

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

@keyframes typeIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

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

/* Terminal responsive behavior */
@media (max-width: 1300px) {
  .terminal-container {
    width: 95%;
    max-width: 1200px;
  }
}

@media (max-width: 768px) {
  .terminal-container {
    width: 100%;
    margin: 20px 10px;
  }
}

/* Scrollbar styling for terminal */
.terminal-body::-webkit-scrollbar {
  width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
  background: #000000;
}

.terminal-body::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 0;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
  background: #444444;
}

.wallet-input-group {
    display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.wallet-title {
    font-family: 'Orbitron', monospace;
  font-weight: var(--font-weight-medium);
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
  text-align: center;
  animation: pulseArrows 2s ease-in-out infinite;
}

@keyframes pulseArrows {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  }
  50% {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 25px rgba(104, 246, 251, 0.6);
  }
}

.wallet-input {
  font-family: 'Orbitron', monospace;
  font-weight: var(--font-weight-normal);
  font-size: 1rem;
  color: #68F6FB;
  background: transparent;
  border: 2px solid #68F6FB;
  border-radius: var(--radius);
  padding: 12px 16px;
  flex: 1;
  min-width: 300px;
}

.wallet-input::placeholder {
  color: rgba(104, 246, 251, 0.6);
}

.submit-wallet-button {
  font-family: 'Orbitron', monospace;
  font-weight: var(--font-weight-medium);
    font-size: 1rem;
  color: #68F6FB;
  background: transparent;
  border: 2px solid #68F6FB;
  border-radius: var(--radius);
  padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-wallet-button:hover {
  background: rgba(104, 246, 251, 0.1);
  transform: translateY(-1px);
}

.wallet-note {
  font-family: 'Orbitron', monospace;
  font-weight: var(--font-weight-normal);
    font-size: 0.9rem;
  color: rgba(104, 246, 251, 0.8);
    text-align: center;
  margin-top: 15px;
}

input[type="text"] {
  padding: 12px 16px;
  border: 2px solid #68F6FB;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Orbitron', monospace;
  font-weight: var(--font-weight-normal);
  background: transparent;
  color: #68F6FB;
  transition: all 0.3s ease;
  min-width: 200px;
}

input[type="text"]::placeholder {
  color: rgba(104, 246, 251, 0.6);
}

input[type="text"]:focus {
  outline: none;
  border-color: #68F6FB;
  box-shadow: 0 0 0 3px rgba(104, 246, 251, 0.1);
}

button {
  padding: 12px 24px;
  background: transparent;
  color: #68F6FB;
  border: 2px solid #68F6FB;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: rgba(104, 246, 251, 0.1);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  background: rgba(104, 246, 251, 0.1) !important;
  color: #68F6FB !important;
  border-color: #68F6FB !important;
  cursor: not-allowed;
  transform: none;
  opacity: 0.7;
}

/* Specific styling for check button when disabled */
#checkButton:disabled {
  background: rgba(104, 246, 251, 0.1) !important;
  color: #68F6FB !important;
  border-color: #68F6FB !important;
  cursor: not-allowed;
  transform: none;
  opacity: 0.7;
}

/* Loading state for check button */
#checkButton.loading {
  background: rgba(104, 246, 251, 0.1) !important;
  color: #68F6FB !important;
  border-color: #68F6FB !important;
  cursor: not-allowed;
  transform: none;
  opacity: 0.7;
}

/* Force loading state styling with maximum specificity */
#checkButton[data-loading="true"] {
  background: rgba(104, 246, 251, 0.1) !important;
  background-color: rgba(104, 246, 251, 0.1) !important;
  color: #68F6FB !important;
  border-color: #68F6FB !important;
  border: 2px solid #68F6FB !important;
  cursor: not-allowed !important;
  transform: none !important;
  opacity: 0.7 !important;
  pointer-events: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

/* Ultra-specific selector to override any browser defaults */
button#checkButton[data-loading="true"] {
  background: rgba(104, 246, 251, 0.1) !important;
  background-color: rgba(104, 246, 251, 0.1) !important;
  color: #68F6FB !important;
  border-color: #68F6FB !important;
  border: 2px solid #68F6FB !important;
  cursor: not-allowed !important;
  transform: none !important;
  opacity: 0.7 !important;
  pointer-events: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* Nuclear option - target all possible button states */
#checkButton[data-loading="true"]:active,
#checkButton[data-loading="true"]:focus,
#checkButton[data-loading="true"]:hover,
#checkButton[data-loading="true"]:visited {
  background: rgba(104, 246, 251, 0.1) !important;
  background-color: rgba(104, 246, 251, 0.1) !important;
  color: #68F6FB !important;
  border-color: #68F6FB !important;
  border: 2px solid #68F6FB !important;
  cursor: not-allowed !important;
  transform: none !important;
  opacity: 0.7 !important;
  pointer-events: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* Unified Button Container */
.button-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
  padding: 0 20px;
    max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Unified Button Base Styling */
.unified-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-family: 'Orbitron', monospace;
  font-weight: var(--font-weight-medium);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px; /* Touch-friendly minimum height */
  border: 2px solid;
  text-decoration: none;
  white-space: nowrap;
    text-align: center;
}

.share-button {
  background: rgba(0, 0, 0, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.share-icon {
  font-size: 16px;
}

.share-text {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-medium);
}

.download-button {
  background: linear-gradient(135deg, #68F6FB 0%, #4A9FA8 100%);
  border-color: #68F6FB;
  color: #000;
}

.download-button:hover {
  background: linear-gradient(135deg, #7AF7FC 0%, #5BAFB8 100%);
    transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(104, 246, 251, 0.3);
}

.follow-button {
  background: rgba(0, 0, 0, 0.1);
  border-color: #ffffff;
    color: #ffffff;
  position: relative;
}

.follow-button .follow-x-logo {
  position: relative;
  left: -60px;
}

.follow-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.more-button {
  background: none;
  border-color: #68F6FB;
  color: #68F6FB;
}

.more-button:hover {
  background: rgba(104, 246, 251, 0.1);
  transform: translateY(-2px);
}

.follow-x-logo {
  width: 16px;
  height: 16px;
}

/* Text span styling for consistency */
.share-text,
.download-text,
.follow-text,
.more-text {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.results-section {
  display: none;
}

.results-container {
  max-width: 1161px;
  margin: 0 auto;
}

/* Main Card - Using design system card styling */
.main-card {
  position: relative;
  width: 1161px;
  height: 707px;
  background: #141313;
  background-image: 
    linear-gradient(rgba(139, 0, 0, 0.15) 3px, transparent 3px),
    linear-gradient(90deg, rgba(139, 0, 0, 0.15) 3px, transparent 3px);
  background-size: 20px 20px;
  border: 4px solid #68F6FB;
  border-radius: calc(var(--radius) + 4px);
    margin-bottom: 20px;
  box-sizing: border-box;
  color: var(--card-foreground);
}

/* Profile Image Container */
.profile-image-container {
  position: absolute;
  width: 435px;
  height: 435px;
  left: 27px;
  top: 28px;
}

/* Profile Image - Card-like styling */
.profile-image {
  width: 100%;
  height: 100%;
  border: 4px solid #68F6FB;
  border-radius: calc(var(--radius) + 4px);
  object-fit: cover;
  background: #000;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Profile Overlay */
.profile-overlay {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  width: fit-content;
  max-width: 90%;
}

.profile-overlay .profile-name {
  font-size: 16px;
  line-height: 18px;
  margin: 0;
  color: var(--foreground);
  font-weight: var(--font-weight-medium);
}

.profile-overlay .profile-username {
  font-size: 14px;
  line-height: 16px;
  margin: 4px 0 0 0;
  color: #68F6FB;
  font-weight: var(--font-weight-normal);
}

/* Profile Name - Using design system typography (now in overlay) */
.profile-name {
  font-family: 'Orbitron', monospace;
  font-weight: var(--font-weight-medium);
  font-size: 32px;
  line-height: 40px;
  text-align: center;
  color: var(--foreground);
}

/* Profile Username - Using design system typography (now in overlay) */
.profile-username {
  font-family: 'Orbitron', monospace;
  font-weight: var(--font-weight-medium);
  font-size: 20px;
  line-height: 25px;
  text-align: center;
  color: #68F6FB;
}

/* BAGGU Info Section */
.baggu-info-section {
  position: absolute;
  left: 27px;
  top: 470px;
  width: 435px;
  max-width: calc(100% - 54px);
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #68F6FB;
  border-radius: calc(var(--radius) + 4px);
  backdrop-filter: blur(10px);
  z-index: 5;
}

.baggu-role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  line-height: 18px;
}

.role-label {
  color: #68F6FB;
  font-weight: var(--font-weight-medium);
}

.role-value {
    color: #ffffff;
    font-weight: 600;
}

.score-label {
  color: #68F6FB;
  font-weight: var(--font-weight-medium);
  margin-left: 16px;
}

.score-value {
  color: #ffffff;
  font-weight: 600;
}

.baggu-description {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #cccccc;
  font-weight: var(--font-weight-normal);
  text-align: left;
}

/* Metrics Section - positioned absolutely within main card */
.metrics-section {
  position: absolute;
  left: 0;
  top: 0;
    width: 100%;
  height: 100%;
}

.metric {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
    text-align: center;
}

.metric-label {
  font-family: 'Orbitron', monospace;
  font-weight: var(--font-weight-medium);
  font-size: 24px;
  line-height: 30px;
  color: #ffffff;
  margin-bottom: 5px;
}

.metric-value {
  font-family: 'Orbitron', monospace;
  font-weight: var(--font-weight-medium);
  font-size: 24px;
  line-height: 30px;
  color: #68F6FB;
}

.metric-value.very-strong {
  font-size: 18px;
  line-height: 24px;
  white-space: nowrap;
}

/* Signal - aligned with Avg. Follower Holdings */
.signal-strength {
  left: 579px;
  top: 31px;
  width: 150px;
  height: 72px;
}

/* Followers - aligned with Total Follower Holdings */
.followers {
  left: 540px;
  top: 186px;
  width: 227px;
  height: 72px;
}

/* Avg. Follower Holdings - exact positioning from design.txt */
.avg-holdings {
  left: 781px;
  top: 31px;
  width: 324px;
  height: 72px;
}

/* Total Follower Holdings - exact positioning from design.txt */
.total-holdings {
  left: 781px;
  top: 186px;
  width: 327px;
  height: 72px;
}

/* Ethos Score - aligned with Follower Reputation */
.ethos-score {
  left: 557px;
  top: 337px;
  width: 193px;
  height: 76px;
}

/* Follower Reputation - exact positioning from design.txt */
.follower-reputation {
  left: 800px;
  top: 337px;
  width: 286px;
  height: 76px;
}

/* WL Status - exact positioning from design.txt */
.wl-status {
  position: absolute;
  width: 550px;
  height: 58px;
  left: 541px;
  top: 468px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wl-text {
  font-family: 'Orbitron', monospace;
  font-weight: bold;
  font-size: 48px;
  line-height: 60px;
  text-align: center;
    color: #ffffff;
}

.wl-text .yes {
  color: #00ff00;
  font-weight: bold;
}

.wl-text .no {
  color: #ff0000;
  font-weight: bold;
}

/* Branding Section - positioned within main card */
.branding-section {
  position: absolute;
  width: 1073px;
  height: 101px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  color: var(--card-foreground);
}

.branding-content {
  position: relative;
  width: 100%;
  height: 100%;
}

/* BAGGU Logo - exact positioning from design.txt */
.baggu-logo {
  position: absolute;
  width: 170px;
  height: 80px;
  left: 2px;
  top: 10px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(1);
  object-fit: contain;
  display: block;
  z-index: 10;
  font-size: 0;
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
}

.baggu-logo::before,
.baggu-logo::after {
  content: none !important;
  display: none !important;
}

/* Progress Bar - exact positioning from design.txt */
.progress-bar {
  position: absolute;
  width: 96px;
  height: 18px;
  left: 32px;
  top: 56px;
  background: var(--muted);
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', monospace;
  font-size: 16px;
  color: #ffffff;
}

.progress-fill {
  width: 60%;
  height: 100%;
  background: var(--chart-1);
  border-radius: calc(var(--radius) - 2px);
}

/* REPUTATION x ATTENTION - exact positioning from design.txt */
.branding-text {
  position: absolute;
  width: 360px;
  height: 61px;
  left: 194px;
  top: 30px;
  font-family: 'Inter', sans-serif;
  font-weight: var(--font-weight-normal);
  font-size: 20px;
  line-height: 42px;
  color: var(--foreground);
}

/* Arrow Line - exact positioning from design.txt */
.arrow-line {
  position: absolute;
  width: 339px;
  height: 2px;
  left: 546px;
  top: 50px;
  background: var(--foreground);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.arrow-line::after {
  content: '';
  position: absolute;
  right: -8px;
  top: -6px;
  width: 0;
  height: 0;
  border-left: 8px solid var(--foreground);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

/* SIGNAL - exact positioning from design.txt */
.signal-text {
  position: absolute;
  width: 69px;
  height: 30px;
  left: 931px;
  top: 30px;
  font-family: 'Inter', sans-serif;
  font-weight: var(--font-weight-normal);
  font-size: 20px;
  line-height: 42px;
  color: #68F6FB;
}

/* Error Message - Using design system styling */
.error-message {
  background: var(--destructive);
  color: var(--destructive-foreground);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--destructive);
  margin: 20px 0;
  text-align: center;
}

.error-message p {
  color: var(--destructive-foreground);
    font-size: 1rem;
}

/* Tablet Responsiveness */
@media (max-width: 1200px) and (min-width: 769px) {
  .main-card {
    width: 100%;
    max-width: 1161px;
    height: auto;
    min-height: 500px;
  }
  
  .baggu-info-section {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: none;
    margin: 20px 0;
    padding: 15px;
  }
  
  .baggu-role {
    font-size: 14px;
    line-height: 18px;
    gap: 8px;
  }
  
  .baggu-description {
    font-size: 12px;
    line-height: 16px;
    margin-top: 8px;
  }
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
  .main-card {
    width: 100%;
    max-width: 1161px;
    height: auto;
    min-height: 500px;
  }
  
  .profile-image-container {
    position: relative;
    width: 300px;
    height: 300px;
    left: auto;
    top: auto;
    margin: 20px auto;
    display: block;
  }
  
  .profile-image {
    width: 100%;
    height: 100%;
  }
  
  .profile-name,
  .profile-username {
    position: relative;
    left: auto;
    top: auto;
    margin: 10px 0;
    text-align: center;
  }
  
  .metrics-section {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
  }
  
  .metric {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
  }
  
  .wl-status {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin: 20px 0;
  }
  
  .wl-text {
    font-size: 36px;
  }
  
  .branding-section {
    width: 100%;
    max-width: 1073px;
    height: auto;
    min-height: 60px;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
  }
  
  .branding-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
  }
  
  .baggu-logo,
  .progress-bar,
  .branding-text,
  .arrow-line,
  .signal-text {
    position: relative;
    left: auto;
    top: auto;
    margin: 5px 0;
  }
  
  .arrow-line {
    width: 200px;
  }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .main-logo {
        height: 120px;
        max-width: 90%;
    }
    
    .header {
        margin-bottom: 20px;
    }
    
    .proof-of-signal-section {
        margin-top: 30px;
        gap: 15px;
    }
    
    .proof-text h2 {
        font-size: 1.3rem;
    }
    
    .proof-text p {
        font-size: 0.9rem;
    }
    
    .title {
    font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
    }
  
  .baggu-info-section {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin: 20px 0;
    padding: 15px;
  }
  
  .baggu-role {
    font-size: 12px;
    line-height: 16px;
    gap: 6px;
  }
  
  .baggu-description {
    font-size: 11px;
    line-height: 14px;
    }
    
    .wallet-input-group {
        flex-direction: column;
    width: 100%;
  }
  
  input[type="text"] {
    width: 100%;
    min-width: auto;
    }
    
    .button-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 0 15px;
    }
    
    .unified-button {
        font-size: 13px;
        padding: 10px 12px;
        min-height: 40px;
    }
}

/* Mint Info Section */
.mint-info-section {
  margin-top: 20px;
  width: 100%;
}

.mint-info-button {
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #68F6FB;
  border-radius: 8px;
  padding: 12px 20px;
  color: #68F6FB;
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(104, 246, 251, 0.2);
  position: relative;
}

.mint-info-button:hover {
  background: rgba(104, 246, 251, 0.1);
  box-shadow: 0 0 15px rgba(104, 246, 251, 0.4);
  transform: translateY(-1px);
}

.mint-info-arrow {
  transition: transform 0.3s ease;
  font-size: 12px;
  position: absolute;
  right: 20px;
}

.mint-info-button.active .mint-info-arrow {
  transform: rotate(180deg);
}

.mint-info-content {
  margin-top: 10px;
  animation: slideDown 0.3s ease-out;
}

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

.mint-info-terminal {
  background: #000000;
  border: 2px solid #68F6FB;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(104, 246, 251, 0.3);
}

.mint-terminal-header {
  background: #000000;
  padding: 10px 15px;
  border-bottom: 1px solid #68F6FB;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mint-terminal-title {
  color: #68F6FB;
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(104, 246, 251, 0.5);
}

.mint-terminal-body {
  padding: 20px;
  background: #000000;
}

.mint-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mint-section {
  background: rgba(104, 246, 251, 0.05);
  border: 1px solid rgba(104, 246, 251, 0.2);
  border-radius: 6px;
  padding: 15px;
}

.mint-section-title {
  color: #68F6FB;
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 0 0 5px rgba(104, 246, 251, 0.5);
}

.mint-detail {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(104, 246, 251, 0.1);
  gap: 10px;
}

.mint-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.mint-label {
  color: #68F6FB;
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
  flex-shrink: 0;
  min-width: 120px;
}

.mint-value {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  flex: 1;
  word-wrap: break-word;
}

.utility-list {
  display: flex;
        flex-direction: column;
  gap: 8px;
}

.utility-item {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  line-height: 1.4;
  padding: 4px 0;
  border-left: 2px solid rgba(104, 246, 251, 0.3);
  padding-left: 10px;
  transition: all 0.2s ease;
}

.utility-item:hover {
  border-left-color: #68F6FB;
  background: rgba(104, 246, 251, 0.05);
  padding-left: 12px;
}

.mint-phases-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.mint-phase-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(104, 246, 251, 0.2);
}

.phase-label {
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  color: #68F6FB;
  flex-shrink: 0;
  min-width: 80px;
  font-size: 0.9rem;
}

.phase-value {
  color: #cccccc;
  flex: 1;
  word-wrap: break-word;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Mobile responsiveness for mint info */
@media (max-width: 768px) {
  .mint-info-grid {
        grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .mint-terminal-body {
    padding: 15px;
  }
  
  .mint-section {
    padding: 12px;
  }
  
  .mint-section-title {
    font-size: 13px;
    margin-bottom: 12px;
  }
  
  .mint-detail {
    margin-bottom: 6px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .mint-label {
    font-size: 11px;
    min-width: auto;
  }
  
  .mint-value {
    font-size: 11px;
    text-align: left;
  }
  
  .utility-item {
    font-size: 10px;
    line-height: 1.3;
  }

  .mint-phase-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .phase-label {
    min-width: auto;
    font-size: 0.8rem;
  }

  .phase-value {
    font-size: 0.8rem;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .mint-info-button {
    padding: 10px 15px;
    font-size: 13px;
  }
  
  .mint-terminal-body {
    padding: 12px;
  }
  
  .mint-section {
    padding: 10px;
  }
  
  .mint-section-title {
    font-size: 12px;
    margin-bottom: 10px;
  }
  
  .mint-detail {
    margin-bottom: 5px;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  
  .mint-label {
    font-size: 10px;
    min-width: auto;
  }
  
  .mint-value {
    font-size: 10px;
    text-align: left;
  }
  
  .utility-item {
    font-size: 9px;
    line-height: 1.2;
    padding: 3px 0;
    padding-left: 8px;
  }

  .phase-label {
    font-size: 0.75rem;
  }

  .phase-value {
    font-size: 0.75rem;
  }
}


/* Extra small mobile devices */
@media (max-width: 480px) {
    .main-logo {
        height: 80px;
        max-width: 85%;
    }
    
    .header {
        margin-bottom: 15px;
    }
    
    .proof-of-signal-section {
        margin-top: 25px;
        gap: 12px;
    }
    
    .proof-text h2 {
        font-size: 1.2rem;
    }
    
    .proof-text p {
        font-size: 0.85rem;
    }
    
    .button-container {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 10px;
    }
    
    .unified-button {
        font-size: 12px;
        padding: 8px 10px;
        min-height: 36px;
    }
  
  .main-card {
    padding: 20px;
  }
  
  .profile-image-container {
    width: 250px;
    height: 250px;
  }
  
  .profile-image {
    width: 100%;
    height: 100%;
  }
  
  .metrics-section {
        grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .metric-label,
  .metric-value {
    font-size: 20px;
  }
  
  .wl-text {
    font-size: 28px;
  }
  
  .branding-text {
    font-size: 16px;
    text-align: center;
  }
  
  .signal-text {
    font-size: 16px;
  }
  
  .branding-section {
    min-height: 50px;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
  }
  
  .branding-content {
    padding: 10px;
    gap: 10px;
  }
}