/*
Theme Name: Hero Name Generator
Theme URI: https://example.com/hero-generator
Description: A WordPress theme for the Hero Name Generator application with cyberpunk dark design
Version: 1.0.0
Author: Your Name
Author URI: https://example.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hero-generator
Domain Path: /languages
*/

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

:root {
  --primary: #00ff88;
  --primary-rgb: 0, 255, 136;
  --primary-foreground: #1a1a1a;
  --background: #1a1a1a;
  --foreground: #f5f5f5;
  --card: #2d2d2d;
  --card-border: #404040;
  --muted-foreground: #a0a0a0;
  --border: #404040;
  --accent: #0066cc;
  --input-bg: #1a1a1a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--foreground);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

/* Site Header */
.site-header {
  background-color: rgba(26, 26, 26, 0.95);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-title {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin: 0;
  white-space: nowrap;
}

.site-title .highlight {
  color: var(--primary);
}

.primary-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.primary-navigation a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: 'Roboto', sans-serif;
}

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

/* Main Container */
.main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 2rem 0 3rem;
  margin-bottom: 2rem;
}

.hero-section h1 {
  margin-bottom: 1rem;
}

.hero-section h1 span {
  color: var(--primary);
}

.hero-section > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 800px;
  margin: 0 auto;
}

/* Card Styles */
.card {
  background-color: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.card-header {
  margin-bottom: 1.5rem;
}

.card-header h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.card-description {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: 'Orbitron', monospace;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--foreground);
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  border: 1px solid var(--card-border);
  border-radius: 0.375rem;
  background-color: var(--input-bg);
  color: var(--foreground);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-group input::placeholder {
  color: var(--muted-foreground);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Radio Group Styles */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-item input[type="radio"] {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.radio-item label {
  cursor: pointer;
  margin: 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 0.375rem;
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.9;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.btn.btn-block {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  min-height: 3rem;
}

.btn.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn.btn-secondary:hover {
  background-color: rgba(0, 255, 136, 0.1);
}

/* Results Card */
.results-card {
  background: linear-gradient(to bottom right, var(--card), rgba(45, 45, 45, 0.8));
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.results-card h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.result-field {
  margin-bottom: 1.5rem;
}

.result-field:last-child {
  margin-bottom: 0;
}

.result-label {
  font-family: 'Orbitron', monospace;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
  text-transform: uppercase;
}

.result-value {
  font-size: 1.25rem;
  color: var(--primary);
  word-break: break-word;
  font-weight: 600;
}

.result-value.secondary {
  font-size: 1.125rem;
  color: var(--foreground);
  font-weight: 500;
}

.result-value.muted {
  font-size: 1rem;
  color: var(--muted-foreground);
  font-weight: 400;
}

/* Content Section */
.content-section {
  background-color: var(--background);
  padding: 2rem 0;
}

.content-section h2 {
  color: var(--primary);
  font-size: 1.875rem;
  margin: 2rem 0 1rem 0;
}

.content-section h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin: 1.5rem 0 0.75rem 0;
}

.content-section p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 2rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-navigation ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-navigation a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Ad Placeholder */
.ad-placeholder {
  background-color: rgba(0, 255, 136, 0.05);
  border: 2px dashed var(--card-border);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  color: var(--muted-foreground);
  margin: 2rem 0;
  font-size: 0.875rem;
}

.ad-placeholder.large {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-header {
    padding: 1rem;
  }

  .header-container {
    gap: 1rem;
  }

  .site-title {
    font-size: 1.25rem;
  }

  .primary-navigation ul {
    gap: 1rem;
  }

  .primary-navigation a {
    font-size: 0.875rem;
  }

  .main-container {
    padding: 1rem 0.5rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-section h1 {
    margin-bottom: 0.5rem;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .card {
    padding: 1rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .btn.btn-block {
    padding: 0.75rem;
    min-height: 2.75rem;
  }

  .result-value {
    font-size: 1.1rem;
  }
}

/* Light mode support (optional) */
@media (prefers-color-scheme: light) {
  :root {
    --primary: #00cc6f;
    --background: #ffffff;
    --foreground: #1a1a1a;
    --card: #f5f5f5;
    --card-border: #e0e0e0;
    --muted-foreground: #606060;
    --border: #e0e0e0;
    --input-bg: #ffffff;
  }

  body {
    background-color: var(--background);
    color: var(--foreground);
  }

  .site-header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border);
  }

  .card {
    background-color: var(--card);
    border-color: var(--card-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .form-group input,
  .form-group select {
    border-color: var(--card-border);
    background-color: var(--input-bg);
    color: var(--foreground);
  }

  .results-card {
    border-color: rgba(0, 204, 111, 0.3);
  }
}

/* Utility Classes */
.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-foreground);
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}
