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

:root {
  --bg-primary: #09090b;
  --bg-secondary: #18181b;
  --bg-tertiary: #27272a;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent: #ffffff;
  --accent-hover: #e4e4e7;
  --border-radius: 6px;
  --transition: all 0.2s ease;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  margin: 0;
  line-height: 1.5;
}

main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 700px;
  text-align: center;
}

.header {
  margin-bottom: 40px;
}

.header h1 {
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

.header p {
  color: var(--text-secondary);
  font-size: 16px;
}

.controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.btn {
  background-color: var(--accent);
  color: var(--bg-primary);
  border: none;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.btn:hover {
  background-color: var(--accent-hover);
}

.secret-container {
  margin: 32px 0;
}

.secret-display {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  border: 1px solid var(--bg-tertiary);
  padding: 20px;
  text-align: left;
  border-radius: var(--border-radius);
}

pre {
  font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
  font-size: 14px;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  pre {
    font-size: 12px;
  }
}

.button-group {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
}

.icon-btn {
  background-color: rgba(39, 39, 42, 0.7);
  color: var(--text-primary);
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: var(--transition);
}

.icon-btn:hover {
  background-color: var(--bg-tertiary);
}

.usage-info {
  text-align: left;
  padding: 32px;
  background-color: var(--bg-secondary);
  margin: 32px auto;
  max-width: 700px;
  border-radius: var(--border-radius);
}

.usage-section {
  margin-bottom: 32px;
}

.usage-section:last-child {
  margin-bottom: 0;
}

.usage-info h2 {
  color: var(--text-primary);
  margin: 0 0 16px 0;
  font-size: 24px;
  border-bottom: 1px solid var(--bg-tertiary);
  padding-bottom: 8px;
}

.usage-info h3 {
  color: var(--text-primary);
  margin: 20px 0 12px 0;
  font-size: 18px;
}

.usage-info p {
  color: var(--text-secondary);
  margin: 12px 0;
  font-size: 15px;
}

.usage-info pre {
  background-color: var(--bg-tertiary);
  padding: 16px;
  margin: 16px 0;
  border-radius: 4px;
  overflow-x: auto;
}

.usage-info code {
  background-color: var(--bg-tertiary);
  padding: 3px 6px;
  font-size: 14px;
  border-radius: 3px;
  font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
}

.footer {
  margin-top: 40px;
  padding: 20px;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--text-primary);
}

.hidden {
  display: none;
}

/* File name badges */
.file-badge {
  display: inline-block;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
  margin-left: 6px;
}

/* Platform section spacing */
.platform-section {
  margin-bottom: 24px;
}

.platform-section:last-child {
  margin-bottom: 0;
}

/* Copy indicator */
.copy-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--bg-tertiary);
  color: white;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.copy-indicator.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  
  .usage-info {
    padding: 20px;
  }
  
  .btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}
