Changed around line 1
+ :root {
+ --primary-color: #2c3e50;
+ --secondary-color: #e74c3c;
+ --bg-color: #f5f6fa;
+ --text-color: #2c3e50;
+ --border-radius: 8px;
+ --transition: all 0.3s ease;
+ }
+
+ .dark-mode {
+ --primary-color: #34495e;
+ --secondary-color: #e74c3c;
+ --bg-color: #2c3e50;
+ --text-color: #ecf0f1;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ line-height: 1.6;
+ background: var(--bg-color);
+ color: var(--text-color);
+ transition: var(--transition);
+ }
+
+ header {
+ background: var(--primary-color);
+ color: white;
+ padding: 1rem;
+ text-align: center;
+ position: relative;
+ }
+
+ h1 {
+ font-size: 2rem;
+ margin-bottom: 0.5rem;
+ font-weight: 700;
+ }
+
+ .theme-toggle {
+ position: absolute;
+ right: 1rem;
+ top: 1rem;
+ background: none;
+ border: none;
+ font-size: 1.5rem;
+ cursor: pointer;
+ color: white;
+ padding: 0.5rem;
+ border-radius: 50%;
+ transition: var(--transition);
+ }
+
+ .theme-toggle:hover {
+ transform: rotate(360deg);
+ }
+
+ .character-sheet {
+ max-width: 1200px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+ }
+
+ section {
+ background: white;
+ padding: 2rem;
+ border-radius: var(--border-radius);
+ margin-bottom: 2rem;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ }
+
+ h2 {
+ color: var(--secondary-color);
+ margin-bottom: 1.5rem;
+ border-bottom: 2px solid var(--secondary-color);
+ padding-bottom: 0.5rem;
+ }
+
+ .info-grid, .traits-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 1.5rem;
+ }
+
+ .input-group {
+ margin-bottom: 1rem;
+ }
+
+ label {
+ display: block;
+ margin-bottom: 0.5rem;
+ font-weight: 600;
+ }
+
+ input, select, textarea {
+ width: 100%;
+ padding: 0.8rem;
+ border: 2px solid #ddd;
+ border-radius: var(--border-radius);
+ font-size: 1rem;
+ transition: var(--transition);
+ }
+
+ input:focus, select:focus, textarea:focus {
+ outline: none;
+ border-color: var(--secondary-color);
+ box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
+ }
+
+ textarea {
+ resize: vertical;
+ }
+
+ footer {
+ text-align: center;
+ padding: 2rem;
+ background: var(--primary-color);
+ color: white;
+ }
+
+ @media (max-width: 768px) {
+ .character-sheet {
+ margin: 1rem auto;
+ }
+
+ section {
+ padding: 1rem;
+ }
+
+ h1 {
+ font-size: 1.5rem;
+ }
+
+ .info-grid, .traits-grid {
+ grid-template-columns: 1fr;
+ }
+ }