        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
      
        .controls {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
            justify-content: center;
        }
        
        button {
            background: linear-gradient(45deg, #e74c3c, #c0392b);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 1em;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
        }
        
        .population-title {
            text-align: center;
            font-size: 1em;
            margin-bottom: 20px;
            font-weight: bold;
        }
        
        .population-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .biomorph-card {
            background: white;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            padding: 15px;
            transition: all 0.3s ease;
            cursor: pointer;
            text-align: center;
        }
        
        .biomorph-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            border-color: #3498db;
        }
        
        .biomorph-card.parent {
            border-color: #2ecc71;
            background: #f8fff8;
        }
        
        .biomorph-title {
            font-weight: bold;
			font-size: 1em;
            margin-bottom: 10px;
            color: #2c3e50;
        }
        
        .biomorph-svg {
            margin-bottom: 10px;
        }
        
        .biomorph-info {
            font-size: 1em;
            color: #7f8c8d;
        }
        
        .parent-badge {
            background: #2ecc71;
            color: white;
            padding: 3px 8px;
            border-radius: 10px;
            font-size: 1em;
            font-weight: bold;
            margin-bottom: 5px;
            display: inline-block;
        }
        
        .evolution-history {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            margin-top: 30px;
        }
        
        .evolution-history h3 {
            color: #2c3e50;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .history-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
        }
        
        .history-item {
            background: white;
            padding: 10px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .history-biomorph {
            margin-bottom: 8px;
        }
        
        .history-desc {
            font-size: 1em;
            color: #7f8c8d;
        }
        
        /* Стили для предка */
        .ancestor-section {
            background: linear-gradient(135deg, #fef7e0, #fff3cd);
            padding: 20px;
            border-radius: 15px;
            margin-bottom: 30px;
            border: 2px solid #f4a261;
        }
        
        .ancestor-section h3 {
            color: #e76f51;
            margin-bottom: 15px;
            text-align: center;
            font-size: 1em;
        }
        
        .ancestor-display {
            display: flex;
            justify-content: center;
        }
        
        .ancestor-card {
            background: white;
            border: 2px solid #f4a261;
            border-radius: 8px;
            padding: 10px;
            text-align: center;
            box-shadow: 0 2px 5px rgba(244, 162, 97, 0.3);
            max-width: 200px;
        }
        
        .ancestor-title {
            font-weight: bold;
            color: #e76f51;
            margin-bottom: 10px;
            font-size: 1em;
        }
        
        .ancestor-svg {
            margin-bottom: 10px;
        }
        
        .ancestor-info {
            font-size: 1em;
            color: #6f4e37;
        }
        
        @media (max-width: 768px) {
            .population-grid {
                grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            }
        }
