
:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --primary: #00ff8c;
  --primary-dim: rgba(0,255,140,0.1);
  --bg-dark: #0a0e1a;
  --bg-card: #131824;
  --border: rgba(255,255,255,0.1);
  --text: #e9eefc;
  --text-dim: rgba(233,238,252,0.7);
   --bg1:#070b13;
  --bg2:#0b1220;
  --card: rgba(255,255,255,.08);
  --card2: rgba(255,255,255,.10);
  --border: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted2: rgba(255,255,255,.55);

  --green: rgba(0,255,140,1);
  --greenSoft: rgba(0,255,140,.18);
  --blue: rgba(59,130,246,1);
  --red: rgba(239,68,68,1);
  --shadow: 0 18px 50px rgba(0,0,0,.35);
}

* {
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 100%);
  color: var(--text);
  margin: 0;
  padding: 20px;
  min-height: 100vh;
}

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

.header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.logo {
  flex-shrink: 0;
}

.header-text {
  flex: 1;
}

h1 {
  margin: 0 0 4px;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--text-dim);
}

h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
}

.card-header {
  margin-bottom: 24px;
}

.upload-area {
  margin: 24px 0;
}

.file-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.file-upload:hover {
  border-color: var(--primary);
  background: var(--primary-dim);
}

.file-upload svg {
  color: var(--primary);
  margin-bottom: 12px;
}

.upload-text {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.upload-hint {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
}

input[type="file"] {
  display: none;
}
.row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--primary) 0%, #00d4ff 100%);
  color: #0a0e1a;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,255,140,0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,255,140,0.4);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.mt { margin-top: 20px; }

.status {
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
  font-size: 14px;
  line-height: 1.6;
}

.status.ok {
  border-color: var(--primary);
  background: var(--primary-dim);
}

.status.bad {
  border-color: rgba(255,80,80,0.5);
  background: rgba(255,80,80,0.1);
}

.hint {
  margin-top: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--primary-dim);
  border: 2px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.download:hover {
  background: var(--primary);
  color: #0a0e1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,255,140,0.3);
}

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

.feature {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer {
  text-align: center;
  padding: 20px;
  color: var(--text-dim);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
  }
  
  h1 {
    font-size: 24px;
  }
  
  .card {
    padding: 24px;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
}


/* Force file input not to be killed by global CSS
.fileHidden{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
} */

/* In case style.css hides all file inputs, override it hard */
/* input[type="file"]{
  display:block !important;
  visibility:visible !important;
} */


