Changed around line 1
+ :root {
+ --primary-color: #2c3e50;
+ --accent-color: #e74c3c;
+ --wood-color: #8b4513;
+ --book-height: 200px;
+ --book-depth: 40px;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ line-height: 1.6;
+ background: #f5f6fa;
+ color: var(--primary-color);
+ }
+
+ header {
+ text-align: center;
+ padding: 3rem 1rem;
+ background: linear-gradient(135deg, #fff 0%, #f5f6fa 100%);
+ box-shadow: 0 2px 15px rgba(0,0,0,0.1);
+ }
+
+ h1 {
+ font-size: 2.5rem;
+ margin-bottom: 0.5rem;
+ color: var(--primary-color);
+ }
+
+ .subtitle {
+ color: #666;
+ font-style: italic;
+ }
+
+ .bookshelf {
+ max-width: 1200px;
+ margin: 4rem auto;
+ padding: 0 2rem;
+ perspective: 1000px;
+ }
+
+ .shelf {
+ display: flex;
+ gap: 20px;
+ padding: 20px;
+ background: var(--wood-color);
+ border-radius: 5px 5px 0 0;
+ transform: rotateX(10deg);
+ transform-style: preserve-3d;
+ }
+
+ .book {
+ height: var(--book-height);
+ width: var(--book-depth);
+ position: relative;
+ transform-style: preserve-3d;
+ transition: transform 0.3s ease;
+ cursor: pointer;
+ }
+
+ .book:hover {
+ transform: translateY(-20px) rotateX(-10deg);
+ }
+
+ .spine {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ background: var(--accent-color);
+ padding: 20px 10px;
+ writing-mode: vertical-rl;
+ text-orientation: mixed;
+ color: white;
+ text-align: center;
+ box-shadow: -2px 0 10px rgba(0,0,0,0.2);
+ border-radius: 3px 0 0 3px;
+ }
+
+ .shelf-edge {
+ height: 20px;
+ background: linear-gradient(var(--wood-color), #5c2c0d);
+ margin-top: -1px;
+ transform: rotateX(-90deg);
+ transform-origin: top;
+ }
+
+ footer {
+ text-align: center;
+ padding: 2rem;
+ background: var(--primary-color);
+ color: white;
+ }
+
+ @media (max-width: 768px) {
+ .shelf {
+ flex-wrap: wrap;
+ justify-content: center;
+ }
+
+ .book {
+ margin: 10px;
+ }
+ }