body {
  margin: 0;
  font-family: 'Roboto Mono', monospace;
  background-color: #0A0A0A;
  color: #E0E0E0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
}

#main-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  padding: 20px;
  gap: 20px;
}

@media (min-width: 900px) {
  #main-grid {
    grid-template-columns: 3fr 1fr; /* Adjusted for a narrower ticker pane */
  }
}

#content-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.view {
  display: none;
  width: 100%;
  max-width: 600px;
  text-align: left;
}

.view.active {
  display: block;
}

.main-header, .main-footer {
  width: 100%;
  background-color: #1A1A1A;
  padding: 20px 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #00FFFF;
  flex-shrink: 0;
}

.main-footer {
  border-top: 1px solid #00FFFF;
  border-bottom: none;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: #00FFFF;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.nav-menu a {
  color: #E0E0E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #FF00FF;
}

.scanline-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.3) 1px,
    transparent 1px,
    transparent 2px
  );
  animation: flicker 0.1s infinite;
  z-index: 9999;
}

@keyframes flicker {
  0% { opacity: 0.2; }
  50% { opacity: 0.5; }
  100% { opacity: 0.2; }
}

.glitch {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  color: #00FFFF;
  position: relative;
  display: inline-block;
  animation: main-glitch 3s infinite linear;
}


.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0A0A0A;
  overflow: hidden;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #FF00FF;
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 #FFFF00;
  animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% { clip-path: inset(10% 0 80% 0); }
  20% { clip-path: inset(50% 0 30% 0); }
  40% { clip-path: inset(20% 0 70% 0); }
  60% { clip-path: inset(60% 0 20% 0); }
  80% { clip-path: inset(30% 0 50% 0); }
  100% { clip-path: inset(70% 0 10% 0); }
}

@keyframes glitch-anim-2 {
  0% { clip-path: inset(80% 0 10% 0); }
  20% { clip-path: inset(40% 0 40% 0); }
  40% { clip-path: inset(90% 0 5% 0); }
  60% { clip-path: inset(15% 0 75% 0); }
  80% { clip-path: inset(55% 0 25% 0); }
  100% { clip-path: inset(5% 0 90% 0); }
}

.input-group {
  margin: 30px 0;
}

.input-group label {
  display: block;
  font-family: 'Roboto Mono', monospace;
  color: #E0E0E0;
  margin-bottom: 8px;
  text-align: left;
}

.input-group input, #support-form textarea {
  width: 100%;
  padding: 12px;
  background-color: #0A0A0A;
  border: 1px solid #E0E0E0;
  color: #E0E0E0;
  font-family: 'Roboto Mono', monospace;
  box-sizing: border-box;
}

.btn {
  font-family: 'Orbitron', sans-serif;
  padding: 12px 24px;
  border: 1px solid #00FFFF;
  background-color: transparent;
  color: #00FFFF;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  width: 100%;
}

.btn-primary:hover {
  background-color: #00FFFF;
  color: #0A0A0A;
  box-shadow: 0 0 15px #00FFFF;
}

.btn-secondary {
  border-color: #FF00FF;
  color: #FF00FF;
}

.btn-secondary:hover {
  background-color: #FF00FF;
  color: #0A0A0A;
  box-shadow: 0 0 15px #FF00FF;
}

.reward-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.reward-card {
  background-color: #1A1A1A;
  border: 1px solid #E0E0E0;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reward-card:hover {
  border-color: #00FFFF;
  box-shadow: 0 0 15px #00FFFF;
}

.reward-card.selected {
  border-color: #FF00FF;
  box-shadow: 0 0 15px #FF00FF;
}

.card-header h3 {
  font-family: 'Orbitron', sans-serif;
  color: #00FFFF;
  margin: 0;
}

.card-body p {
  font-family: 'Roboto Mono', monospace;
  color: #E0E0E0;
}

.status-tracker {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.status-step {
  display: flex;
  align-items: center;
  background-color: #1A1A1A;
  border: 1px solid #E0E0E0;
  padding: 20px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.status-step.active {
  opacity: 1;
  border-color: #00FFFF;
}

.status-step .glyph {
  font-family: 'VT323', monospace;
  font-size: 2rem;
  margin-right: 20px;
  color: #FF00FF;
}

.status-step.active .glyph {
  color: #00FFFF;
}

.confirmation-card, .static-content {
  text-align: left;
  background-color: #1A1A1A;
  border: 1px solid #E0E0E0;
  padding: 40px;
}

.transaction-details {
  margin: 30px 0;
  background-color: #0A0A0A;
  padding: 20px;
  border: 1px solid #E0E0E0;
}

#support-form textarea {
    resize: vertical;
}

/* Ticker Pane Styles */
.ticker-pane {
  background: #111;
  border: 1px solid #333;
  border-left: 1px solid #00FFFF;
  padding: 20px;
  height: fit-content;
  box-shadow: -5px 0 15px rgba(0, 255, 255, 0.1);
}

.ticker-pane h3 {
  font-family: 'Orbitron', sans-serif;
  color: #00FFFF;
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
}

.ticker-container {
    width: 100%;
}

.ticker-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto Mono', monospace;
}

.ticker-table th, .ticker-table td {
    padding: 8px 4px;
    text-align: left;
    border-bottom: 1px dashed #333;
}

.ticker-table th {
    color: #AAAAAA;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.ticker-table td.crypto {
    color: #E0E0E0;
    font-weight: bold;
}

.ticker-table td.price {
    color: #00FFFF;
    text-align: right;
}

.ticker-table td.trend {
    font-weight: bold;
    text-align: right;
}


.trend.positive {
    color: #00FF00;
}

.trend.negative {
    color: #FF0000;
}