@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

:root {
  --cyberpink: #FF2A6D;
  --cyberteal: #05D9E8;
  --cyberpurple: #D300C5;
  --cyberyellow: #F9F002;
  --dark: #0C1618;
  --darker: #010718;
}

body {
  font-family: 'Share Tech Mono', monospace;
  background: var(--darker);
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cyber-input-group {
  margin-bottom: 1.5rem;
}

.cyber-input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--cyberteal);
  font-size: 0.9rem;
}
.cyber-input-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--cyberteal);
  color: white;
  font-family: 'Share Tech Mono', monospace;
  transition: all 0.3s ease;
}

/* Loading animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.processing {
  animation: pulse 1.5s infinite;
  position: relative;
}

.processing:after {
  content: '...';
  position: absolute;
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}
.cyber-input-group input:focus {
  outline: none;
  border-color: var(--cyberpink);
  box-shadow: 0 0 10px rgba(255,42,109,0.5);
}

.cyber-card {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--cyberteal);
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cyber-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(5,217,232,0.2);
  border-color: var(--cyberpink);
}

.cyber-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cyber-card h3 {
  color: var(--cyberteal);
  margin: 0;
}

.cyber-card p {
  color: rgba(255,255,255,0.7);
  margin: 0;
  font-size: 0.8rem;
}

.cyber-tabs {
  margin-top: 2rem;
}

.cyber-tab-header {
  display: flex;
  border-bottom: 1px solid rgba(5,217,232,0.3);
  margin-bottom: 1rem;
}

.cyber-tab {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.cyber-tab:hover {
  color: white;
}

.cyber-tab.active {
  color: var(--cyberteal);
  border-bottom: 2px solid var(--cyberpink);
}

.cyber-tab-content {
  display: none;
}

.cyber-tab-content.active {
  display: block;
}

.cyber-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.cyber-feature i {
  color: var(--cyberteal);
}

button {
  background: linear-gradient(45deg, var(--cyberpink), var(--cyberpurple));
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-family: 'Share Tech Mono', monospace;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255,42,109,0.4);
}

.main-container {
  background: rgba(12,22,24,0.7);
  border: 1px solid var(--cyberteal);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 0 30px rgba(5,217,232,0.1);
  margin: 2rem auto;
  max-width: 1200px;
}

h1, h2, h3 {
  color: var(--cyberteal);
  text-shadow: 0 0 10px rgba(5,217,232,0.5);
}

@keyframes glitch {
  0% { text-shadow: 0.05em 0 0 rgba(255,0,0,0.75), -0.05em -0.025em 0 rgba(0,255,0,0.75), -0.025em 0.05em 0 rgba(0,0,255,0.75); }
  14% { text-shadow: 0.05em 0 0 rgba(255,0,0,0.75), -0.05em -0.025em 0 rgba(0,255,0,0.75), -0.025em 0.05em 0 rgba(0,0,255,0.75); }
  15% { text-shadow: -0.05em -0.025em 0 rgba(255,0,0,0.75), 0.025em 0.025em 0 rgba(0,255,0,0.75), -0.05em -0.05em 0 rgba(0,0,255,0.75); }
  49% { text-shadow: -0.05em -0.025em 0 rgba(255,0,0,0.75), 0.025em 0.025em 0 rgba(0,255,0,0.75), -0.05em -0.05em 0 rgba(0,0,255,0.75); }
  50% { text-shadow: 0.025em 0.05em 0 rgba(255,0,0,0.75), 0.05em 0 0 rgba(0,255,0,0.75), 0 -0.05em 0 rgba(0,0,255,0.75); }
  99% { text-shadow: 0.025em 0.05em 0 rgba(255,0,0,0.75), 0.05em 0 0 rgba(0,255,0,0.75), 0 -0.05em 0 rgba(0,0,255,0.75); }
  100% { text-shadow: -0.025em 0 0 rgba(255,0,0,0.75), -0.025em -0.025em 0 rgba(0,255,0,0.75), -0.025em -0.05em 0 rgba(0,0,255,0.75); }
}

.glitch {
  animation: glitch 650ms infinite;
}

/* 3D Skeuomorphic Elements */
.cyber-panel {
  background: linear-gradient(145deg, #0a1214, #0e1a1d);
  border-radius: 8px;
  box-shadow: 
    5px 5px 15px rgba(0,0,0,0.5),
    -5px -5px 15px rgba(5,217,232,0.1);
  border: 1px solid rgba(5,217,232,0.2);
  position: relative;
  overflow: hidden;
}

.cyber-panel:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyberteal), transparent);
}

.cyber-button {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cyber-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.cyber-button:hover:after {
  transform: translateX(100%);
}
/* History section styles */
.history-item {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(5,217,232,0.1);
  padding: 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.history-item:hover {
  border-color: var(--cyberpink);
  background: rgba(255,42,109,0.05);
}

.history-url {
  color: var(--cyberteal);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-filename {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
}

.history-date {
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  margin-top: 0.3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cyber-tab-header {
    flex-wrap: wrap;
  }
  .cyber-tab {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}